diff --git a/c-api/contextvars.po b/c-api/contextvars.po index 615bbab5..36ac798c 100644 --- a/c-api/contextvars.po +++ b/c-api/contextvars.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-08-03 23:47+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -124,8 +124,8 @@ msgstr "" #: c-api/contextvars.rst:109 msgid "" "Create a new ``ContextVar`` object. The *name* parameter is used for " -"introspection and debug purposes. The *def* parameter may optionally " -"specify the default value for the context variable. If an error has " +"introspection and debug purposes. The *def* parameter specifies a default " +"value for the context variable, or ``NULL`` for no default. If an error has " "occurred, this function returns ``NULL``." msgstr "" @@ -155,16 +155,16 @@ msgid "``NULL``" msgstr "``NULL``" #: c-api/contextvars.rst:127 -msgid "If the value was found, the function will create a new reference to it." +msgid "Except for ``NULL``, the function returns a new reference." msgstr "" #: c-api/contextvars.rst:131 msgid "" -"Set the value of *var* to *value* in the current context. Returns a pointer " -"to a :c:type:`PyObject` object, or ``NULL`` if an error has occurred." +"Set the value of *var* to *value* in the current context. Returns a new " +"token object for this change, or ``NULL`` if an error has occurred." msgstr "" -#: c-api/contextvars.rst:137 +#: c-api/contextvars.rst:136 msgid "" "Reset the state of the *var* context variable to that it was in before :c:" "func:`PyContextVar_Set` that returned the *token* was called. This function " diff --git a/faq/programming.po b/faq/programming.po index 3649aea1..1edece02 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-17 16:05+0100\n" -"PO-Revision-Date: 2021-05-19 08:44+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" +"PO-Revision-Date: 2021-05-19 22:42+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -70,13 +70,14 @@ msgstr "" "idle``) contient un débogueur graphique." #: faq/programming.rst:31 +#, fuzzy msgid "" "PythonWin is a Python IDE that includes a GUI debugger based on pdb. The " -"Pythonwin debugger colors breakpoints and has quite a few cool features such " -"as debugging non-Pythonwin programs. Pythonwin is available as part of the " -"`Python for Windows Extensions `__ project and as a part of the ActivePython distribution (see https://www." -"activestate.com/activepython\\ )." +"PythonWin debugger colors breakpoints and has quite a few cool features such " +"as debugging non-PythonWin programs. PythonWin is available as part of " +"`pywin32 `_ project and as a part of " +"the `ActivePython `_ " +"distribution." msgstr "" "*PythonWin* est un environnement de développement intégré (EDI) Python qui " "embarque un débogueur graphique basé sur ``pdb``. Le débogueur *PythonWin* " @@ -97,15 +98,15 @@ msgstr "" #: faq/programming.rst:41 msgid "" -"Pydb is a version of the standard Python debugger pdb, modified for use with " -"DDD (Data Display Debugger), a popular graphical debugger front end. Pydb " -"can be found at http://bashdb.sourceforge.net/pydb/ and DDD can be found at " -"https://www.gnu.org/software/ddd." +"`trepan3k `_ is a gdb-like " +"debugger." +msgstr "" + +#: faq/programming.rst:43 +msgid "" +"`Visual Studio Code `_ is an IDE with " +"debugging tools that integrates with version-control software." msgstr "" -"*Pydb* est une version du débogueur standard Python *pdb*, modifié pour être " -"utilisé avec DDD (Data Display Debugger), un célèbre débogueur graphique. " -"*Pydb* est disponible sur http://bashdb.sourceforge.net/pydb/ et DDD est " -"disponible sur https://www.gnu.org/software/ddd." #: faq/programming.rst:46 msgid "" @@ -116,15 +117,16 @@ msgstr "" "graphique. Notamment :" #: faq/programming.rst:49 -msgid "Wing IDE (https://wingware.com/)" -msgstr "*Wing IDE* (https://wingware.com/)" +msgid "`Wing IDE `_" +msgstr "`Wing IDE `_" #: faq/programming.rst:50 -msgid "Komodo IDE (https://komodoide.com/)" -msgstr "Komodo IDE (https://komodoide.com/)" +msgid "`Komodo IDE `_" +msgstr "" #: faq/programming.rst:51 -msgid "PyCharm (https://www.jetbrains.com/pycharm/)" +#, fuzzy +msgid "`PyCharm `_" msgstr "PyCharm (https://www.jetbrains.com/pycharm/)" #: faq/programming.rst:55 @@ -209,33 +211,37 @@ msgstr "" "autonome qui fait exactement la même chose que le script." #: faq/programming.rst:92 +#, fuzzy msgid "" "Obviously, freeze requires a C compiler. There are several other utilities " -"which don't. One is Thomas Heller's py2exe (Windows only) at" +"which don't:" msgstr "" "Bien évidemment, *freeze* nécessite un compilateur C. Il existe d'autres " "outils qui peuvent s'en passer. Un de ceux-ci est py2exe de Thomas Heller " "(pour Windows uniquement) disponible sur" #: faq/programming.rst:95 -msgid "http://www.py2exe.org/" -msgstr "http://www.py2exe.org/" +msgid "`py2exe `_ for Windows binaries" +msgstr "" + +#: faq/programming.rst:96 +msgid "" +"`py2app `_ for Mac OS X binaries" +msgstr "" #: faq/programming.rst:97 msgid "" -"Another tool is Anthony Tuininga's `cx_Freeze `_." +"`cx_Freeze `_ for cross-" +"platform binaries" msgstr "" -"Un autre de ces outils est `cx_Freeze `_ d'Anthony Tuininga." -#: faq/programming.rst:101 +#: faq/programming.rst:102 msgid "Are there coding standards or a style guide for Python programs?" msgstr "" "Existe-t-il des normes de développement ou un guide de style pour écrire des " "programmes Python ?" -#: faq/programming.rst:103 +#: faq/programming.rst:104 msgid "" "Yes. The coding style required for standard library modules is documented " "as :pep:`8`." @@ -243,16 +249,16 @@ msgstr "" "Oui. Le style de développement que les modules de la bibliothèque standard " "doivent obligatoirement respecter est documenté dans la :pep:`8`." -#: faq/programming.rst:108 +#: faq/programming.rst:109 msgid "Core Language" msgstr "Fondamentaux" -#: faq/programming.rst:111 +#: faq/programming.rst:112 msgid "Why am I getting an UnboundLocalError when the variable has a value?" msgstr "" "Pourquoi une UnboundLocalError est levée alors qu'une variable a une valeur ?" -#: faq/programming.rst:113 +#: faq/programming.rst:114 msgid "" "It can be a surprise to get the UnboundLocalError in previously working code " "when it is modified by adding an assignment statement somewhere in the body " @@ -262,19 +268,19 @@ msgstr "" "jusqu'à présent correct, quand celui-ci est modifié en ajoutant une " "instruction d'affectation quelque part dans le corps d'une fonction." -#: faq/programming.rst:117 +#: faq/programming.rst:118 msgid "This code:" msgstr "Le code suivant :" -#: faq/programming.rst:125 +#: faq/programming.rst:126 msgid "works, but this code:" msgstr "fonctionne, mais le suivant :" -#: faq/programming.rst:132 +#: faq/programming.rst:133 msgid "results in an UnboundLocalError:" msgstr "lève une UnboundLocalError :" -#: faq/programming.rst:139 +#: faq/programming.rst:140 msgid "" "This is because when you make an assignment to a variable in a scope, that " "variable becomes local to that scope and shadows any similarly named " @@ -290,7 +296,7 @@ msgstr "" "nouvelle variable. Par conséquent, quand le ``print(x)`` essaye d'afficher " "la variable non initialisée, une erreur se produit." -#: faq/programming.rst:146 +#: faq/programming.rst:147 msgid "" "In the example above you can access the outer scope variable by declaring it " "global:" @@ -298,7 +304,7 @@ msgstr "" "Dans l'exemple ci-dessus, la variable du contexte appelant reste accessible " "en la déclarant globale :" -#: faq/programming.rst:157 +#: faq/programming.rst:158 msgid "" "This explicit declaration is required in order to remind you that (unlike " "the superficially analogous situation with class and instance variables) you " @@ -309,7 +315,7 @@ msgstr "" "d'instance), c'est la valeur de la variable du contexte appelant qui est " "modifiée :" -#: faq/programming.rst:164 +#: faq/programming.rst:165 msgid "" "You can do a similar thing in a nested scope using the :keyword:`nonlocal` " "keyword:" @@ -317,12 +323,12 @@ msgstr "" "Une alternative dans un contexte imbriqué consiste à utiliser le mot-clé :" "keyword:`nonlocal` :" -#: faq/programming.rst:181 +#: faq/programming.rst:182 msgid "What are the rules for local and global variables in Python?" msgstr "" "Quelles sont les règles pour les variables locales et globales en Python ?" -#: faq/programming.rst:183 +#: faq/programming.rst:184 msgid "" "In Python, variables that are only referenced inside a function are " "implicitly global. If a variable is assigned a value anywhere within the " @@ -334,7 +340,7 @@ msgstr "" "valeur lui est affectée, elle est considérée locale (sauf si elle est " "explicitement déclarée globale)." -#: faq/programming.rst:187 +#: faq/programming.rst:188 msgid "" "Though a bit surprising at first, a moment's consideration explains this. " "On one hand, requiring :keyword:`global` for assigned variables provides a " @@ -353,7 +359,7 @@ msgstr "" "importé. Le codé serait alors truffé de déclarations ``global``, ce qui " "nuirait à leur raison d'être : identifier les effets de bords." -#: faq/programming.rst:197 +#: faq/programming.rst:198 msgid "" "Why do lambdas defined in a loop with different values all return the same " "result?" @@ -361,7 +367,7 @@ msgstr "" "Pourquoi des expressions lambda définies dans une boucle avec des valeurs " "différentes retournent-elles le même résultat ?" -#: faq/programming.rst:199 +#: faq/programming.rst:200 msgid "" "Assume you use a for loop to define a few different lambdas (or even plain " "functions), e.g.::" @@ -369,7 +375,7 @@ msgstr "" "Supposons que l'on utilise une boucle itérative pour définir des expressions " "lambda (voire même des fonctions) différentes, par exemple ::" -#: faq/programming.rst:206 +#: faq/programming.rst:207 msgid "" "This gives you a list that contains 5 lambdas that calculate ``x**2``. You " "might expect that, when called, they would return, respectively, ``0``, " @@ -380,7 +386,7 @@ msgstr "" "chacune ``x**2``. En les exécutant, on pourrait s'attendre à obtenir ``0``, " "``1``, ``4``, ``9`` et ``16``. Elles renvoient en réalité toutes ``16`` ::" -#: faq/programming.rst:216 +#: faq/programming.rst:217 msgid "" "This happens because ``x`` is not local to the lambdas, but is defined in " "the outer scope, and it is accessed when the lambda is called --- not when " @@ -395,7 +401,7 @@ msgstr "" "renvoient ``4*2``, c.-à-d. ``16``. Ceci se vérifie également en changeant la " "valeur de ``x`` et en constatant que les résultats sont modifiés ::" -#: faq/programming.rst:226 +#: faq/programming.rst:227 msgid "" "In order to avoid this, you need to save the values in variables local to " "the lambdas, so that they don't rely on the value of the global ``x``::" @@ -404,7 +410,7 @@ msgstr "" "variables locales aux expressions lambda pour que celles-ci ne se basent " "plus sur la variable globale ``x`` ::" -#: faq/programming.rst:233 +#: faq/programming.rst:234 msgid "" "Here, ``n=x`` creates a new variable ``n`` local to the lambda and computed " "when the lambda is defined so that it has the same value that ``x`` had at " @@ -419,7 +425,7 @@ msgstr "" "troisième et ainsi de suite. Chaque expression lambda renvoie donc le " "résultat correct ::" -#: faq/programming.rst:244 +#: faq/programming.rst:245 msgid "" "Note that this behaviour is not peculiar to lambdas, but applies to regular " "functions too." @@ -427,11 +433,11 @@ msgstr "" "Ce comportement n'est pas propre aux expressions lambda, mais s'applique " "aussi aux fonctions normales." -#: faq/programming.rst:249 +#: faq/programming.rst:250 msgid "How do I share global variables across modules?" msgstr "Comment partager des variables globales entre modules ?" -#: faq/programming.rst:251 +#: faq/programming.rst:252 msgid "" "The canonical way to share information across modules within a single " "program is to create a special module (often called config or cfg). Just " @@ -447,19 +453,19 @@ msgstr "" "de chaque module, tout changement dans l'instance est propagé partout. Par " "exemple :" -#: faq/programming.rst:257 +#: faq/programming.rst:258 msgid "config.py::" msgstr "*config.py* ::" -#: faq/programming.rst:261 +#: faq/programming.rst:262 msgid "mod.py::" msgstr "*mod.py* ::" -#: faq/programming.rst:266 +#: faq/programming.rst:267 msgid "main.py::" msgstr "*main.py* ::" -#: faq/programming.rst:272 +#: faq/programming.rst:273 msgid "" "Note that using a module is also the basis for implementing the Singleton " "design pattern, for the same reason." @@ -467,12 +473,12 @@ msgstr "" "Pour les mêmes raisons, l'utilisation d'un module est aussi à la base de " "l'implémentation du patron de conception singleton." -#: faq/programming.rst:277 +#: faq/programming.rst:278 msgid "What are the \"best practices\" for using import in a module?" msgstr "" "Quelles sont les « bonnes pratiques » pour utiliser import dans un module ?" -#: faq/programming.rst:279 +#: faq/programming.rst:280 msgid "" "In general, don't use ``from modulename import *``. Doing so clutters the " "importer's namespace, and makes it much harder for linters to detect " @@ -482,7 +488,7 @@ msgstr "" "encombre l'espace de nommage de l'importateur et rend la détection de noms " "non-définis beaucoup plus ardue pour les analyseurs de code." -#: faq/programming.rst:283 +#: faq/programming.rst:284 msgid "" "Import modules at the top of a file. Doing so makes it clear what other " "modules your code requires and avoids questions of whether the module name " @@ -495,17 +501,17 @@ msgstr "" "rend l'ajout et la suppression d'une importation de module plus aisé, mais " "importer plusieurs modules sur une même ligne prend moins d'espace." -#: faq/programming.rst:288 +#: faq/programming.rst:289 msgid "It's good practice if you import modules in the following order:" msgstr "Il est recommandé d'importer les modules dans l'ordre suivant :" -#: faq/programming.rst:290 +#: faq/programming.rst:291 msgid "standard library modules -- e.g. ``sys``, ``os``, ``getopt``, ``re``" msgstr "" "les modules de la bibliothèque standard — e.g. ``sys``, ``os``, ``getopt``, " "``re``" -#: faq/programming.rst:291 +#: faq/programming.rst:292 msgid "" "third-party library modules (anything installed in Python's site-packages " "directory) -- e.g. mx.DateTime, ZODB, PIL.Image, etc." @@ -513,11 +519,11 @@ msgstr "" "les modules externes (tout ce qui est installé dans le dossier *site-" "packages* de Python) — e.g. *mx.DateTime, ZODB, PIL.Image*, etc." -#: faq/programming.rst:293 +#: faq/programming.rst:294 msgid "locally-developed modules" msgstr "les modules développés en local" -#: faq/programming.rst:295 +#: faq/programming.rst:296 msgid "" "It is sometimes necessary to move imports to a function or class to avoid " "problems with circular imports. Gordon McMillan says:" @@ -526,7 +532,7 @@ msgstr "" "une classe pour éviter les problèmes d'importations circulaires. Comme le " "souligne Gordon McMillan :" -#: faq/programming.rst:298 +#: faq/programming.rst:299 msgid "" "Circular imports are fine where both modules use the \"import \" " "form of import. They fail when the 2nd module wants to grab a name out of " @@ -541,7 +547,7 @@ msgstr "" "fichier. Les noms du premier module ne sont en effet pas encore disponibles " "car le premier module est occupé à importer le second." -#: faq/programming.rst:304 +#: faq/programming.rst:305 msgid "" "In this case, if the second module is only used in one function, then the " "import can easily be moved into that function. By the time the import is " @@ -553,7 +559,7 @@ msgstr "" "où l'importation sera appelée, le premier module aura fini de s'initialiser " "et le second pourra faire son importation." -#: faq/programming.rst:309 +#: faq/programming.rst:310 msgid "" "It may also be necessary to move imports out of the top level of code if " "some of the modules are platform-specific. In that case, it may not even be " @@ -568,7 +574,7 @@ msgstr "" "recommandé d'importer les modules adéquats dans le code spécifique à la " "machine." -#: faq/programming.rst:314 +#: faq/programming.rst:315 msgid "" "Only move imports into a local scope, such as inside a function definition, " "if it's necessary to solve a problem such as avoiding a circular import or " @@ -594,11 +600,11 @@ msgstr "" "dictionnaire. Même si le nom du module est sorti du contexte courant, le " "module est probablement disponible dans :data:`sys.modules`." -#: faq/programming.rst:327 +#: faq/programming.rst:328 msgid "Why are default values shared between objects?" msgstr "Pourquoi les arguments par défaut sont-ils partagés entre les objets ?" -#: faq/programming.rst:329 +#: faq/programming.rst:330 msgid "" "This type of bug commonly bites neophyte programmers. Consider this " "function::" @@ -606,7 +612,7 @@ msgstr "" "C'est un problème que rencontrent souvent les programmeurs débutants. " "Examinons la fonction suivante ::" -#: faq/programming.rst:336 +#: faq/programming.rst:337 msgid "" "The first time you call this function, ``mydict`` contains a single item. " "The second time, ``mydict`` contains two items because when ``foo()`` begins " @@ -616,7 +622,7 @@ msgstr "" "élément. Au second appel, ``mydict`` contient deux éléments car quand " "``foo()`` commence son exécution, ``mydict`` contient déjà un élément." -#: faq/programming.rst:340 +#: faq/programming.rst:341 msgid "" "It is often expected that a function call creates new objects for default " "values. This is not what happens. Default values are created exactly once, " @@ -630,7 +636,7 @@ msgstr "" "définie. Si l'objet est modifié, comme le dictionnaire dans cet exemple, les " "appels suivants à cette fonction font référence à l'objet ainsi modifié." -#: faq/programming.rst:345 +#: faq/programming.rst:346 msgid "" "By definition, immutable objects such as numbers, strings, tuples, and " "``None``, are safe from change. Changes to mutable objects such as " @@ -641,7 +647,7 @@ msgstr "" "sur des objets modifiables comme les dictionnaires, les listes et les " "instances de classe peuvent porter à confusion." -#: faq/programming.rst:349 +#: faq/programming.rst:350 msgid "" "Because of this feature, it is good programming practice to not use mutable " "objects as default values. Instead, use ``None`` as the default value and " @@ -654,11 +660,11 @@ msgstr "" "est à ``None`` et créer une nouvelle liste, dictionnaire ou autre, le cas " "échéant. Par exemple, il ne faut pas écrire ::" -#: faq/programming.rst:357 +#: faq/programming.rst:358 msgid "but::" msgstr "mais plutôt ::" -#: faq/programming.rst:363 +#: faq/programming.rst:364 msgid "" "This feature can be useful. When you have a function that's time-consuming " "to compute, a common technique is to cache the parameters and the resulting " @@ -672,7 +678,7 @@ msgstr "" "appel est ré-effectué. C'est la technique dite de « mémoïsation », qui " "s'implémente de la manière suivante ::" -#: faq/programming.rst:378 +#: faq/programming.rst:379 msgid "" "You could use a global variable containing a dictionary instead of the " "default value; it's a matter of taste." @@ -680,13 +686,13 @@ msgstr "" "Il est possible d'utiliser une variable globale contenant un dictionnaire à " "la place de la valeur par défaut ; ce n'est qu'une question de goût." -#: faq/programming.rst:383 +#: faq/programming.rst:384 msgid "" "How can I pass optional or keyword parameters from one function to another?" msgstr "" "Comment passer des paramètres optionnels ou nommés d'une fonction à l'autre ?" -#: faq/programming.rst:385 +#: faq/programming.rst:386 msgid "" "Collect the arguments using the ``*`` and ``**`` specifiers in the " "function's parameter list; this gives you the positional arguments as a " @@ -699,11 +705,11 @@ msgstr "" "de dictionnaire. Ces arguments peuvent être passés à une autre fonction en " "utilisant ``*`` et ``**`` ::" -#: faq/programming.rst:404 +#: faq/programming.rst:405 msgid "What is the difference between arguments and parameters?" msgstr "Quelle est la différence entre les arguments et les paramètres ?" -#: faq/programming.rst:406 +#: faq/programming.rst:407 msgid "" ":term:`Parameters ` are defined by the names that appear in a " "function definition, whereas :term:`arguments ` are the values " @@ -717,7 +723,7 @@ msgstr "" "ci. Les paramètres définissent les types des arguments qu'une fonction " "accepte. Ainsi, avec la définition de fonction suivante ::" -#: faq/programming.rst:414 +#: faq/programming.rst:415 msgid "" "*foo*, *bar* and *kwargs* are parameters of ``func``. However, when calling " "``func``, for example::" @@ -725,30 +731,30 @@ msgstr "" "*foo*, *bar* et *kwargs* sont des paramètres de ``func``. Mais à l'appel de " "``func`` avec, par exemple ::" -#: faq/programming.rst:419 +#: faq/programming.rst:420 msgid "the values ``42``, ``314``, and ``somevar`` are arguments." msgstr "les valeurs ``42``, ``314``, et ``somevar`` sont des arguments." -#: faq/programming.rst:423 +#: faq/programming.rst:424 msgid "Why did changing list 'y' also change list 'x'?" msgstr "Pourquoi modifier la liste 'y' modifie aussi la liste 'x' ?" -#: faq/programming.rst:425 +#: faq/programming.rst:426 msgid "If you wrote code like::" msgstr "Si vous avez écrit du code comme ::" -#: faq/programming.rst:435 +#: faq/programming.rst:436 msgid "" "you might be wondering why appending an element to ``y`` changed ``x`` too." msgstr "" "vous vous demandez peut-être pourquoi l'ajout d'un élément à ``y`` a aussi " "changé ``x``." -#: faq/programming.rst:437 +#: faq/programming.rst:438 msgid "There are two factors that produce this result:" msgstr "Il y a deux raisons qui conduisent à ce comportement :" -#: faq/programming.rst:439 +#: faq/programming.rst:440 msgid "" "Variables are simply names that refer to objects. Doing ``y = x`` doesn't " "create a copy of the list -- it creates a new variable ``y`` that refers to " @@ -760,14 +766,14 @@ msgstr "" "variable ``y`` qui pointe sur le même objet que ``x``. Ceci signifie qu'il " "n'existe qu'un seul objet (la liste) auquel ``x`` et ``y`` font référence." -#: faq/programming.rst:443 +#: faq/programming.rst:444 msgid "" "Lists are :term:`mutable`, which means that you can change their content." msgstr "" "Les listes sont des :term:`muable`, ce qui signifie que leur contenu peut " "être modifié." -#: faq/programming.rst:445 +#: faq/programming.rst:446 msgid "" "After the call to :meth:`~list.append`, the content of the mutable object " "has changed from ``[]`` to ``[10]``. Since both the variables refer to the " @@ -778,11 +784,11 @@ msgstr "" "objet, il est possible d'accéder à la valeur modifiée ``[10]`` avec chacun " "des noms." -#: faq/programming.rst:449 +#: faq/programming.rst:450 msgid "If we instead assign an immutable object to ``x``::" msgstr "Si au contraire, on affecte un objet immuable à ``x`` ::" -#: faq/programming.rst:459 +#: faq/programming.rst:460 msgid "" "we can see that in this case ``x`` and ``y`` are not equal anymore. This is " "because integers are :term:`immutable`, and when we do ``x = x + 1`` we are " @@ -801,7 +807,7 @@ msgstr "" "(``x`` fait désormais référence à ``6`` mais ``y`` fait toujours référence à " "``5``)." -#: faq/programming.rst:467 +#: faq/programming.rst:468 msgid "" "Some operations (for example ``y.append(10)`` and ``y.sort()``) mutate the " "object, whereas superficially similar operations (for example ``y = y + " @@ -821,7 +827,7 @@ msgstr "" "obtenir une copie triée de ``y`` donne ``None``, ce qui conduit très souvent " "le programme à générer une erreur facile à diagnostiquer." -#: faq/programming.rst:476 +#: faq/programming.rst:477 msgid "" "However, there is one class of operations where the same operation sometimes " "has different behaviors with different types: the augmented assignment " @@ -837,11 +843,11 @@ msgstr "" "alors que ``some_tuple += (1, 2, 3)`` et ``some_int += 1`` créent de " "nouveaux objets)." -#: faq/programming.rst:483 +#: faq/programming.rst:484 msgid "In other words:" msgstr "En d'autres termes :" -#: faq/programming.rst:485 +#: faq/programming.rst:486 msgid "" "If we have a mutable object (:class:`list`, :class:`dict`, :class:`set`, " "etc.), we can use some specific operations to mutate it and all the " @@ -851,7 +857,7 @@ msgstr "" "class:`list`, :class:`dict`, :class:`set`, etc.) et toutes les variables qui " "y font référence verront le changement." -#: faq/programming.rst:488 +#: faq/programming.rst:489 msgid "" "If we have an immutable object (:class:`str`, :class:`int`, :class:`tuple`, " "etc.), all the variables that refer to it will always see the same value, " @@ -863,7 +869,7 @@ msgstr "" "opérations qui transforment cette valeur en une nouvelle valeur renvoient " "toujours un nouvel objet." -#: faq/programming.rst:493 +#: faq/programming.rst:494 msgid "" "If you want to know if two variables refer to the same object or not, you " "can use the :keyword:`is` operator, or the built-in function :func:`id`." @@ -871,13 +877,13 @@ msgstr "" "L'opérateur :keyword:`is` ou la fonction native :func:`id` permettent de " "savoir si deux variables font référence au même objet." -#: faq/programming.rst:498 +#: faq/programming.rst:499 msgid "How do I write a function with output parameters (call by reference)?" msgstr "" "Comment écrire une fonction qui modifie ses paramètres ? (passage par " "référence)" -#: faq/programming.rst:500 +#: faq/programming.rst:501 msgid "" "Remember that arguments are passed by assignment in Python. Since " "assignment just creates references to objects, there's no alias between an " @@ -890,15 +896,15 @@ msgstr "" "de passage par référence en soi. Il y a cependant plusieurs façons d'en " "émuler un." -#: faq/programming.rst:505 +#: faq/programming.rst:506 msgid "By returning a tuple of the results::" msgstr "En renvoyant un *n*-uplet de résultats ::" -#: faq/programming.rst:516 +#: faq/programming.rst:517 msgid "This is almost always the clearest solution." msgstr "C'est presque toujours la meilleure solution." -#: faq/programming.rst:518 +#: faq/programming.rst:519 msgid "" "By using global variables. This isn't thread-safe, and is not recommended." msgstr "" @@ -906,33 +912,33 @@ msgstr "" "des contextes à plusieurs fils d'exécution (elle n'est pas *thread-safe*), " "et n'est donc pas recommandée." -#: faq/programming.rst:520 +#: faq/programming.rst:521 msgid "By passing a mutable (changeable in-place) object::" msgstr "En passant un objet muable (modifiable sur place) ::" -#: faq/programming.rst:531 +#: faq/programming.rst:532 msgid "By passing in a dictionary that gets mutated::" msgstr "En passant un dictionnaire, qui sera modifié ::" -#: faq/programming.rst:542 +#: faq/programming.rst:543 msgid "Or bundle up values in a class instance::" msgstr "Ou regrouper les valeurs dans une instance de classe ::" -#: faq/programming.rst:559 +#: faq/programming.rst:560 msgid "There's almost never a good reason to get this complicated." msgstr "Faire quelque chose d'aussi compliqué est rarement une bonne idée." -#: faq/programming.rst:561 +#: faq/programming.rst:562 msgid "Your best choice is to return a tuple containing the multiple results." msgstr "" "La meilleure option reste de renvoyer un *n*-uplet contenant les différents " "résultats." -#: faq/programming.rst:565 +#: faq/programming.rst:566 msgid "How do you make a higher order function in Python?" msgstr "Comment construire une fonction d'ordre supérieur en Python ?" -#: faq/programming.rst:567 +#: faq/programming.rst:568 msgid "" "You have two choices: you can use nested scopes or you can use callable " "objects. For example, suppose you wanted to define ``linear(a,b)`` which " @@ -944,19 +950,19 @@ msgstr "" "``linear(a, b)`` qui renvoie une fonction ``f(x)`` qui calcule la valeur " "``a*x+b``. En utilisant les portées imbriquées ::" -#: faq/programming.rst:576 +#: faq/programming.rst:577 msgid "Or using a callable object::" msgstr "Ou en utilisant un objet appelable ::" -#: faq/programming.rst:586 +#: faq/programming.rst:587 msgid "In both cases, ::" msgstr "Dans les deux cas ::" -#: faq/programming.rst:590 +#: faq/programming.rst:591 msgid "gives a callable object where ``taxes(10e6) == 0.3 * 10e6 + 2``." msgstr "donne un objet appelable où ``taxes(10e6) == 0.3 * 10e6 + 2``." -#: faq/programming.rst:592 +#: faq/programming.rst:593 msgid "" "The callable object approach has the disadvantage that it is a bit slower " "and results in slightly longer code. However, note that a collection of " @@ -967,11 +973,11 @@ msgstr "" "collection d'objet appelables peuvent partager leurs signatures par " "héritage ::" -#: faq/programming.rst:601 +#: faq/programming.rst:602 msgid "Object can encapsulate state for several methods::" msgstr "Les objets peuvent encapsuler un état pour plusieurs méthodes ::" -#: faq/programming.rst:619 +#: faq/programming.rst:620 msgid "" "Here ``inc()``, ``dec()`` and ``reset()`` act like functions which share the " "same counting variable." @@ -979,11 +985,11 @@ msgstr "" "Ici ``inc()``, ``dec()`` et ``reset()`` agissent comme des fonctions " "partageant une même variable compteur." -#: faq/programming.rst:624 +#: faq/programming.rst:625 msgid "How do I copy an object in Python?" msgstr "Comment copier un objet en Python ?" -#: faq/programming.rst:626 +#: faq/programming.rst:627 msgid "" "In general, try :func:`copy.copy` or :func:`copy.deepcopy` for the general " "case. Not all objects can be copied, but most can." @@ -991,7 +997,7 @@ msgstr "" "En général, essayez :func:`copy.copy` ou :func:`copy.deepcopy`. Tous les " "objets ne peuvent pas être copiés, mais la plupart le peuvent." -#: faq/programming.rst:629 +#: faq/programming.rst:630 msgid "" "Some objects can be copied more easily. Dictionaries have a :meth:`~dict." "copy` method::" @@ -999,15 +1005,15 @@ msgstr "" "Certains objets peuvent être copiés plus facilement que d'autres. Les " "dictionnaires ont une méthode :meth:`~dict.copy` ::" -#: faq/programming.rst:634 +#: faq/programming.rst:635 msgid "Sequences can be copied by slicing::" msgstr "Les séquences peuvent être copiées via la syntaxe des tranches ::" -#: faq/programming.rst:640 +#: faq/programming.rst:641 msgid "How can I find the methods or attributes of an object?" msgstr "Comment récupérer les méthodes ou les attributs d'un objet ?" -#: faq/programming.rst:642 +#: faq/programming.rst:643 msgid "" "For an instance x of a user-defined class, ``dir(x)`` returns an " "alphabetized list of the names containing the instance attributes and " @@ -1017,11 +1023,11 @@ msgstr "" "renvoie une liste alphabétique des noms contenants les attributs de " "l'instance, et les attributs et méthodes définies par sa classe." -#: faq/programming.rst:648 +#: faq/programming.rst:649 msgid "How can my code discover the name of an object?" msgstr "Comment un code peut-il obtenir le nom d'un objet ?" -#: faq/programming.rst:650 +#: faq/programming.rst:651 msgid "" "Generally speaking, it can't, because objects don't really have names. " "Essentially, assignment always binds a name to a value; the same is true of " @@ -1034,7 +1040,7 @@ msgstr "" "différence près que, dans ce cas, la valeur est un appelable. Par exemple, " "dans le code suivant ::" -#: faq/programming.rst:666 +#: faq/programming.rst:667 msgid "" "Arguably the class has a name: even though it is bound to two names and " "invoked through the name B the created instance is still reported as an " @@ -1047,7 +1053,7 @@ msgstr "" "dire si le nom de l'instance est a ou b, les deux noms étant attachés à la " "même valeur." -#: faq/programming.rst:671 +#: faq/programming.rst:672 msgid "" "Generally speaking it should not be necessary for your code to \"know the " "names\" of particular values. Unless you are deliberately writing " @@ -1059,7 +1065,7 @@ msgstr "" "train d'écrire un programme introspectif, c'est souvent l'indication qu'un " "changement d'approche serait bénéfique." -#: faq/programming.rst:676 +#: faq/programming.rst:677 msgid "" "In comp.lang.python, Fredrik Lundh once gave an excellent analogy in answer " "to this question:" @@ -1067,7 +1073,7 @@ msgstr "" "Sur *comp.lang.python*, Fredrik Lundh a donné un jour une excellente " "analogie pour répondre à cette question :" -#: faq/programming.rst:679 +#: faq/programming.rst:680 msgid "" "The same way as you get the name of that cat you found on your porch: the " "cat (object) itself cannot tell you its name, and it doesn't really care -- " @@ -1079,7 +1085,7 @@ msgstr "" "­– alors le meilleur moyen de savoir comment il s'appelle est de demander à " "tous vos voisins (espaces de nommage) si c'est leur chat (objet)…" -#: faq/programming.rst:684 +#: faq/programming.rst:685 msgid "" "....and don't be surprised if you'll find that it's known by many names, or " "no name at all!" @@ -1087,16 +1093,16 @@ msgstr "" "…et ne soyez pas surpris si vous découvrez qu'il est connu sous plusieurs " "noms, ou s'il n'a pas de nom du tout !" -#: faq/programming.rst:689 +#: faq/programming.rst:690 msgid "What's up with the comma operator's precedence?" msgstr "Qu'en est-il de la précédence de l'opérateur virgule ?" -#: faq/programming.rst:691 +#: faq/programming.rst:692 msgid "Comma is not an operator in Python. Consider this session::" msgstr "" "La virgule n'est pas un opérateur en Python. Observez le code suivant ::" -#: faq/programming.rst:696 +#: faq/programming.rst:697 msgid "" "Since the comma is not an operator, but a separator between expressions the " "above is evaluated as if you had entered::" @@ -1105,11 +1111,11 @@ msgstr "" "expressions, l'expression ci-dessus est évaluée de la même façon que si vous " "aviez écrit ::" -#: faq/programming.rst:701 +#: faq/programming.rst:702 msgid "not::" msgstr "et non ::" -#: faq/programming.rst:705 +#: faq/programming.rst:706 msgid "" "The same is true of the various assignment operators (``=``, ``+=`` etc). " "They are not truly operators but syntactic delimiters in assignment " @@ -1119,15 +1125,15 @@ msgstr "" "ne sont pas vraiment des opérateurs mais plutôt des délimiteurs syntaxiques " "dans les instructions d'affectation." -#: faq/programming.rst:710 +#: faq/programming.rst:711 msgid "Is there an equivalent of C's \"?:\" ternary operator?" msgstr "Existe-t-il un équivalent à l'opérateur ternaire \"?:\" du C ?" -#: faq/programming.rst:712 +#: faq/programming.rst:713 msgid "Yes, there is. The syntax is as follows::" msgstr "Oui. Sa syntaxe est la suivante ::" -#: faq/programming.rst:719 +#: faq/programming.rst:720 msgid "" "Before this syntax was introduced in Python 2.5, a common idiom was to use " "logical operators::" @@ -1135,7 +1141,7 @@ msgstr "" "Avant l'introduction de cette syntaxe dans Python 2.5, il était courant " "d'utiliser les opérateurs de logique ::" -#: faq/programming.rst:724 +#: faq/programming.rst:725 msgid "" "However, this idiom is unsafe, as it can give wrong results when *on_true* " "has a false boolean value. Therefore, it is always better to use the ``... " @@ -1145,13 +1151,13 @@ msgstr "" "la valeur booléenne fausse. Il faut donc toujours utiliser la forme ``... " "if ... else ...``." -#: faq/programming.rst:730 +#: faq/programming.rst:731 msgid "Is it possible to write obfuscated one-liners in Python?" msgstr "" "Est-il possible d'écrire des programmes obscurcis (*obfuscated*) d'une ligne " "en Python ?" -#: faq/programming.rst:732 +#: faq/programming.rst:733 msgid "" "Yes. Usually this is done by nesting :keyword:`lambda` within :keyword:`!" "lambda`. See the following three examples, due to Ulf Bartelt::" @@ -1160,17 +1166,17 @@ msgstr "" "keyword:`!lambda`. Par exemple les trois morceaux de code suivants, créés " "par Ulf Bartelt ::" -#: faq/programming.rst:759 +#: faq/programming.rst:760 msgid "Don't try this at home, kids!" msgstr "Les enfants, ne faites pas ça chez vous !" -#: faq/programming.rst:765 +#: faq/programming.rst:766 msgid "What does the slash(/) in the parameter list of a function mean?" msgstr "" "Que signifie la barre oblique (/) dans la liste des paramètres d'une " "fonction ?" -#: faq/programming.rst:767 +#: faq/programming.rst:768 msgid "" "A slash in the argument list of a function denotes that the parameters prior " "to it are positional-only. Positional-only parameters are the ones without " @@ -1188,7 +1194,7 @@ msgstr "" "que des paramètres uniquement positionnels. Sa documentation est la " "suivante ::" -#: faq/programming.rst:780 +#: faq/programming.rst:781 msgid "" "The slash at the end of the parameter list means that both parameters are " "positional-only. Thus, calling :func:`divmod` with keyword arguments would " @@ -1198,15 +1204,15 @@ msgstr "" "paramètres sont uniquement positionnels. Et donc, appeler :func:`divmod` " "avec des arguments nommés provoque une erreur ::" -#: faq/programming.rst:791 +#: faq/programming.rst:792 msgid "Numbers and strings" msgstr "Nombres et chaînes de caractères" -#: faq/programming.rst:794 +#: faq/programming.rst:795 msgid "How do I specify hexadecimal and octal integers?" msgstr "Comment écrire des entiers hexadécimaux ou octaux ?" -#: faq/programming.rst:796 +#: faq/programming.rst:797 msgid "" "To specify an octal digit, precede the octal value with a zero, and then a " "lower or uppercase \"o\". For example, to set the variable \"a\" to the " @@ -1216,7 +1222,7 @@ msgstr "" "puis un \"o\" majuscule ou minuscule. Par exemple pour affecter la valeur " "octale \"10\" (8 en décimal) à la variable \"a\", tapez ::" -#: faq/programming.rst:804 +#: faq/programming.rst:805 msgid "" "Hexadecimal is just as easy. Simply precede the hexadecimal number with a " "zero, and then a lower or uppercase \"x\". Hexadecimal digits can be " @@ -1227,11 +1233,11 @@ msgstr "" "peuvent être écrits en majuscules ou en minuscules. Par exemple, dans " "l'interpréteur Python ::" -#: faq/programming.rst:817 +#: faq/programming.rst:818 msgid "Why does -22 // 10 return -3?" msgstr "Pourquoi ``-22 // 10`` donne-t-il ``-3`` ?" -#: faq/programming.rst:819 +#: faq/programming.rst:820 msgid "" "It's primarily driven by the desire that ``i % j`` have the same sign as " "``j``. If you want that, and also want::" @@ -1239,7 +1245,7 @@ msgstr "" "Cela est principalement dû à la volonté que ``i % j`` ait le même signe que " "j. Si vous voulez en plus que ::" -#: faq/programming.rst:824 +#: faq/programming.rst:825 msgid "" "then integer division has to return the floor. C also requires that " "identity to hold, and then compilers that truncate ``i // j`` need to make " @@ -1249,7 +1255,7 @@ msgstr "" "également que cette égalité soit vérifiée, et donc les compilateurs qui " "tronquent ``i // j`` ont besoin que ``i % j`` ait le même signe que ``i``." -#: faq/programming.rst:828 +#: faq/programming.rst:829 msgid "" "There are few real use cases for ``i % j`` when ``j`` is negative. When " "``j`` is positive, there are many, and in virtually all of them it's more " @@ -1263,11 +1269,11 @@ msgstr "" "10 h maintenant, qu'affichait-elle il y a 200 heures ? ``-190 % 12 == 2`` " "est utile ; ``-190 % 12 == -10`` est un bogue en puissance." -#: faq/programming.rst:836 +#: faq/programming.rst:837 msgid "How do I convert a string to a number?" msgstr "Comment convertir une chaîne de caractères en nombre ?" -#: faq/programming.rst:838 +#: faq/programming.rst:839 msgid "" "For integers, use the built-in :func:`int` type constructor, e.g. " "``int('144') == 144``. Similarly, :func:`float` converts to floating-point, " @@ -1277,7 +1283,7 @@ msgstr "" "``int('144') == 144``. De façon similaire, :func:`float` donne la valeur " "flottante, par exemple ``float('144') == 144.0``." -#: faq/programming.rst:842 +#: faq/programming.rst:843 msgid "" "By default, these interpret the number as decimal, so that ``int('0144') == " "144`` holds true, and ``int('0x144')`` raises :exc:`ValueError`. " @@ -1293,7 +1299,7 @@ msgstr "" "donnée est 0, le nombre est interprété selon les règles Python : un préfixe " "``0o`` indique de l'octal et ``0x`` indique de l'hexadécimal." -#: faq/programming.rst:849 +#: faq/programming.rst:850 msgid "" "Do not use the built-in function :func:`eval` if all you need is to convert " "strings to numbers. :func:`eval` will be significantly slower and it " @@ -1309,7 +1315,7 @@ msgstr "" "pourrait passer ``__import__('os').system(\"rm -rf $HOME\")`` ce qui " "effacerait votre répertoire personnel." -#: faq/programming.rst:856 +#: faq/programming.rst:857 msgid "" ":func:`eval` also has the effect of interpreting numbers as Python " "expressions, so that e.g. ``eval('09')`` gives a syntax error because Python " @@ -1320,11 +1326,11 @@ msgstr "" "parce que Python ne permet pas les '0' en tête d'un nombre décimal (à " "l'exception du nombre '0')." -#: faq/programming.rst:862 +#: faq/programming.rst:863 msgid "How do I convert a number to a string?" msgstr "Comment convertir un nombre en chaîne de caractères ?" -#: faq/programming.rst:864 +#: faq/programming.rst:865 msgid "" "To convert, e.g., the number 144 to the string '144', use the built-in type " "constructor :func:`str`. If you want a hexadecimal or octal representation, " @@ -1341,11 +1347,11 @@ msgstr "" "`formatstrings`, e.g. ``\"{:04d}\".format(144)`` produit ``'0144'`` et ``" "\"{:.3f}\".format(1.0/3.0)`` produit ``'0.333'``." -#: faq/programming.rst:873 +#: faq/programming.rst:874 msgid "How do I modify a string in place?" msgstr "Comment modifier une chaîne de caractères « sur place » ?" -#: faq/programming.rst:875 +#: faq/programming.rst:876 msgid "" "You can't, because strings are immutable. In most situations, you should " "simply construct a new string from the various parts you want to assemble it " @@ -1359,17 +1365,17 @@ msgstr "" "capable de modifier de la donnée Unicode « sur place », essayez d'utiliser " "un objet :class:`io.StringIO` ou le module :mod:`array` ::" -#: faq/programming.rst:905 +#: faq/programming.rst:906 msgid "How do I use strings to call functions/methods?" msgstr "" "Comment utiliser des chaînes de caractères pour appeler des fonctions/" "méthodes ?" -#: faq/programming.rst:907 +#: faq/programming.rst:908 msgid "There are various techniques." msgstr "Il y a plusieurs façons de faire." -#: faq/programming.rst:909 +#: faq/programming.rst:910 msgid "" "The best is to use a dictionary that maps strings to functions. The primary " "advantage of this technique is that the strings do not need to match the " @@ -1382,11 +1388,11 @@ msgstr "" "fonctions. C'est aussi la façon principale d'imiter la construction \"case" "\" ::" -#: faq/programming.rst:924 +#: faq/programming.rst:925 msgid "Use the built-in function :func:`getattr`::" msgstr "Utiliser la fonction :func:`getattr` ::" -#: faq/programming.rst:929 +#: faq/programming.rst:930 msgid "" "Note that :func:`getattr` works on any object, including classes, class " "instances, modules, and so on." @@ -1394,17 +1400,17 @@ msgstr "" "Notez que :func:`getattr` marche sur n'importe quel objet, ceci inclut les " "classes, les instances de classes, les modules et ainsi de suite." -#: faq/programming.rst:932 +#: faq/programming.rst:933 msgid "This is used in several places in the standard library, like this::" msgstr "" "Ceci est utilisé à plusieurs reprises dans la bibliothèque standard, de " "cette façon ::" -#: faq/programming.rst:945 +#: faq/programming.rst:946 msgid "Use :func:`locals` to resolve the function name::" msgstr "Utilisez :func:`locals` pour résoudre le nom de la fonction ::" -#: faq/programming.rst:957 +#: faq/programming.rst:958 msgid "" "Is there an equivalent to Perl's chomp() for removing trailing newlines from " "strings?" @@ -1412,7 +1418,7 @@ msgstr "" "Existe-t-il un équivalent à la fonction ``chomp()`` de Perl, pour retirer " "les caractères de fin de ligne d'une chaîne de caractères ?" -#: faq/programming.rst:959 +#: faq/programming.rst:960 msgid "" "You can use ``S.rstrip(\"\\r\\n\")`` to remove all occurrences of any line " "terminator from the end of the string ``S`` without removing other trailing " @@ -1426,7 +1432,7 @@ msgstr "" "représente plus d'une ligne, avec plusieurs lignes vides, les marqueurs de " "fin de ligne de chaque ligne vide seront retirés ::" -#: faq/programming.rst:971 +#: faq/programming.rst:972 msgid "" "Since this is typically only desired when reading text one line at a time, " "using ``S.rstrip()`` this way works well." @@ -1434,15 +1440,15 @@ msgstr "" "Vu que cela ne sert presque qu'à lire un texte ligne à ligne, utiliser ``S." "rstrip()`` de cette manière fonctionne correctement." -#: faq/programming.rst:976 +#: faq/programming.rst:977 msgid "Is there a scanf() or sscanf() equivalent?" msgstr "Existe-t-il un équivalent à ``scanf()`` ou ``sscanf()`` ?" -#: faq/programming.rst:978 +#: faq/programming.rst:979 msgid "Not as such." msgstr "Pas exactement." -#: faq/programming.rst:980 +#: faq/programming.rst:981 msgid "" "For simple input parsing, the easiest approach is usually to split the line " "into whitespace-delimited words using the :meth:`~str.split` method of " @@ -1459,7 +1465,7 @@ msgstr "" "paramètre optionnel \"sep\" qui est utile si la ligne utilise autre chose " "que des espaces comme séparateurs." -#: faq/programming.rst:986 +#: faq/programming.rst:987 msgid "" "For more complicated input parsing, regular expressions are more powerful " "than C's :c:func:`sscanf` and better suited for the task." @@ -1468,24 +1474,24 @@ msgstr "" "puissantes que la fonction :c:func:`sscanf` de C et mieux adaptées à la " "tâche." -#: faq/programming.rst:991 +#: faq/programming.rst:992 msgid "What does 'UnicodeDecodeError' or 'UnicodeEncodeError' error mean?" msgstr "" "Que signifient les erreurs ``UnicodeDecodeError`` ou ``UnicodeEncodeError`` ?" -#: faq/programming.rst:993 +#: faq/programming.rst:994 msgid "See the :ref:`unicode-howto`." msgstr "Voir :ref:`unicode-howto`." -#: faq/programming.rst:997 +#: faq/programming.rst:998 msgid "Performance" msgstr "Performances" -#: faq/programming.rst:1000 +#: faq/programming.rst:1001 msgid "My program is too slow. How do I speed it up?" msgstr "Mon programme est trop lent. Comment l'accélérer ?" -#: faq/programming.rst:1002 +#: faq/programming.rst:1003 msgid "" "That's a tough one, in general. First, here are a list of things to " "remember before diving further:" @@ -1493,7 +1499,7 @@ msgstr "" "Question difficile en général. Il faut garder en tête les points suivants " "avant d'aller plus loin :" -#: faq/programming.rst:1005 +#: faq/programming.rst:1006 msgid "" "Performance characteristics vary across Python implementations. This FAQ " "focuses on :term:`CPython`." @@ -1501,7 +1507,7 @@ msgstr "" "Les performances varient en fonction des implémentations de Python. Cette " "FAQ ne traite que de :term:`CPython`." -#: faq/programming.rst:1007 +#: faq/programming.rst:1008 msgid "" "Behaviour can vary across operating systems, especially when talking about I/" "O or multi-threading." @@ -1510,7 +1516,7 @@ msgstr "" "tout particulièrement quand il s'agit d'entrée/sortie ou de fils d'exécution " "multiples." -#: faq/programming.rst:1009 +#: faq/programming.rst:1010 msgid "" "You should always find the hot spots in your program *before* attempting to " "optimize any code (see the :mod:`profile` module)." @@ -1519,7 +1525,7 @@ msgstr "" "programme *avant* d'essayer d'optimiser du code (voir le module :mod:" "`profile`)." -#: faq/programming.rst:1011 +#: faq/programming.rst:1012 msgid "" "Writing benchmark scripts will allow you to iterate quickly when searching " "for improvements (see the :mod:`timeit` module)." @@ -1527,7 +1533,7 @@ msgstr "" "Écrire des scripts d'évaluation de performances permet de progresser " "rapidement dans la recherche d'améliorations (voir le module :mod:`timeit`)." -#: faq/programming.rst:1013 +#: faq/programming.rst:1014 msgid "" "It is highly recommended to have good code coverage (through unit testing or " "any other technique) before potentially introducing regressions hidden in " @@ -1537,7 +1543,7 @@ msgstr "" "des tests unitaires ou autre) avant d'ajouter des erreurs dans des " "optimisations sophistiquées." -#: faq/programming.rst:1017 +#: faq/programming.rst:1018 msgid "" "That being said, there are many tricks to speed up Python code. Here are " "some general principles which go a long way towards reaching acceptable " @@ -1547,7 +1553,7 @@ msgstr "" "Voici quelques principes généraux qui peuvent aider à atteindre des niveaux " "de performance satisfaisants :" -#: faq/programming.rst:1021 +#: faq/programming.rst:1022 msgid "" "Making your algorithms faster (or changing to faster ones) can yield much " "larger benefits than trying to sprinkle micro-optimization tricks all over " @@ -1557,7 +1563,7 @@ msgstr "" "produire de bien meilleurs résultats que d'optimiser ça et là de petites " "portions du code." -#: faq/programming.rst:1025 +#: faq/programming.rst:1026 msgid "" "Use the right data structures. Study documentation for the :ref:`bltin-" "types` and the :mod:`collections` module." @@ -1565,7 +1571,7 @@ msgstr "" "Utiliser les structures de données adaptées. Se référer à la documentation " "des :ref:`bltin-types` et du module :mod:`collections`." -#: faq/programming.rst:1028 +#: faq/programming.rst:1029 msgid "" "When the standard library provides a primitive for doing something, it is " "likely (although not guaranteed) to be faster than any alternative you may " @@ -1584,7 +1590,7 @@ msgstr "" "référer à la section :ref:`sortinghowto` pour des exemples d'utilisation " "courante)." -#: faq/programming.rst:1036 +#: faq/programming.rst:1037 msgid "" "Abstractions tend to create indirections and force the interpreter to work " "more. If the levels of indirection outweigh the amount of useful work done, " @@ -1598,7 +1604,7 @@ msgstr "" "éviter trop d'indirections, en particulier sous la forme de fonctions ou " "méthodes trop petites (qui nuisent aussi souvent à la clarté du code)." -#: faq/programming.rst:1042 +#: faq/programming.rst:1043 msgid "" "If you have reached the limit of what pure Python can allow, there are tools " "to take you further away. For example, `Cython `_ can " @@ -1619,7 +1625,7 @@ msgstr "" "vous pouvez aussi :ref:`écrire un module d'extension en C` " "vous-même." -#: faq/programming.rst:1052 +#: faq/programming.rst:1053 msgid "" "The wiki page devoted to `performance tips `_." @@ -1627,13 +1633,13 @@ msgstr "" "La page wiki dédiée aux `astuces de performance `_." -#: faq/programming.rst:1058 +#: faq/programming.rst:1059 msgid "What is the most efficient way to concatenate many strings together?" msgstr "" "Quelle est la manière la plus efficace de concaténer un grand nombre de " "chaînes de caractères ?" -#: faq/programming.rst:1060 +#: faq/programming.rst:1061 msgid "" ":class:`str` and :class:`bytes` objects are immutable, therefore " "concatenating many strings together is inefficient as each concatenation " @@ -1646,7 +1652,7 @@ msgstr "" "général, la complexité est quadratique par rapport à la taille totale de la " "chaîne." -#: faq/programming.rst:1065 +#: faq/programming.rst:1066 msgid "" "To accumulate many :class:`str` objects, the recommended idiom is to place " "them into a list and call :meth:`str.join` at the end::" @@ -1655,13 +1661,13 @@ msgstr "" "recommandée consiste à toutes les mettre dans une liste et appeler la " "méthode :meth:`str.join` à la fin ::" -#: faq/programming.rst:1073 +#: faq/programming.rst:1074 msgid "(another reasonably efficient idiom is to use :class:`io.StringIO`)" msgstr "" "(une autre technique relativement efficace consiste à utiliser :class:`io." "StringIO`)" -#: faq/programming.rst:1075 +#: faq/programming.rst:1076 msgid "" "To accumulate many :class:`bytes` objects, the recommended idiom is to " "extend a :class:`bytearray` object using in-place concatenation (the ``+=`` " @@ -1671,15 +1677,15 @@ msgstr "" "recommandée consiste à étendre un objet :class:`bytearray` en utilisant la " "concaténation en-place (l'opérateur ``+=``) ::" -#: faq/programming.rst:1084 +#: faq/programming.rst:1085 msgid "Sequences (Tuples/Lists)" msgstr "Séquences (*n*-uplets / listes)" -#: faq/programming.rst:1087 +#: faq/programming.rst:1088 msgid "How do I convert between tuples and lists?" msgstr "Comment convertir les listes en *n*-uplets et inversement ?" -#: faq/programming.rst:1089 +#: faq/programming.rst:1090 msgid "" "The type constructor ``tuple(seq)`` converts any sequence (actually, any " "iterable) into a tuple with the same items in the same order." @@ -1688,7 +1694,7 @@ msgstr "" "précisément, tout itérable) en un *n*-uplet avec les mêmes éléments dans le " "même ordre." -#: faq/programming.rst:1092 +#: faq/programming.rst:1093 msgid "" "For example, ``tuple([1, 2, 3])`` yields ``(1, 2, 3)`` and ``tuple('abc')`` " "yields ``('a', 'b', 'c')``. If the argument is a tuple, it does not make a " @@ -1701,7 +1707,7 @@ msgstr "" "fonction économique à appeler quand vous ne savez pas si votre objet est " "déjà un *n*-uplet." -#: faq/programming.rst:1097 +#: faq/programming.rst:1098 msgid "" "The type constructor ``list(seq)`` converts any sequence or iterable into a " "list with the same items in the same order. For example, ``list((1, 2, " @@ -1714,11 +1720,11 @@ msgstr "" "``['a','b','c']``. Si l'argument est une liste, il renvoie une copie, de la " "même façon que ``seq[:]``." -#: faq/programming.rst:1104 +#: faq/programming.rst:1105 msgid "What's a negative index?" msgstr "Qu'est-ce qu'un index négatif ?" -#: faq/programming.rst:1106 +#: faq/programming.rst:1107 msgid "" "Python sequences are indexed with positive numbers and negative numbers. " "For positive numbers 0 is the first index 1 is the second index and so " @@ -1732,7 +1738,7 @@ msgstr "" "dernier index, ``-2`` est le pénultième (avant-dernier), et ainsi de suite. " "On peut aussi dire que ``seq[-n]`` est équivalent à ``seq[len(seq)-n]``." -#: faq/programming.rst:1111 +#: faq/programming.rst:1112 msgid "" "Using negative indices can be very convenient. For example ``S[:-1]`` is " "all of the string except for its last character, which is useful for " @@ -1743,15 +1749,15 @@ msgstr "" "caractère, ce qui est pratique pour retirer un caractère de fin de ligne à " "la fin d'une chaîne." -#: faq/programming.rst:1117 +#: faq/programming.rst:1118 msgid "How do I iterate over a sequence in reverse order?" msgstr "Comment itérer à rebours sur une séquence ?" -#: faq/programming.rst:1119 +#: faq/programming.rst:1120 msgid "Use the :func:`reversed` built-in function::" msgstr "Utilisez la fonction native :func:`reversed` ::" -#: faq/programming.rst:1124 +#: faq/programming.rst:1125 msgid "" "This won't touch your original sequence, but build a new copy with reversed " "order to iterate over." @@ -1759,21 +1765,21 @@ msgstr "" "Cela ne modifie pas la séquence initiale, mais construit à la place une " "copie en ordre inverse pour itérer dessus." -#: faq/programming.rst:1129 +#: faq/programming.rst:1130 msgid "How do you remove duplicates from a list?" msgstr "Comment retirer les doublons d'une liste ?" -#: faq/programming.rst:1131 +#: faq/programming.rst:1132 msgid "See the Python Cookbook for a long discussion of many ways to do this:" msgstr "" "Lisez le « livre de recettes » Python pour trouver une longue discussion sur " "les nombreuses approches possibles :" -#: faq/programming.rst:1133 +#: faq/programming.rst:1134 msgid "https://code.activestate.com/recipes/52560/" msgstr "https://code.activestate.com/recipes/52560/" -#: faq/programming.rst:1135 +#: faq/programming.rst:1136 msgid "" "If you don't mind reordering the list, sort it and then scan from the end of " "the list, deleting duplicates as you go::" @@ -1782,7 +1788,7 @@ msgstr "" "celle-ci, puis parcourez-la d'un bout à l'autre, en supprimant les doublons " "trouvés en chemin ::" -#: faq/programming.rst:1147 +#: faq/programming.rst:1148 msgid "" "If all elements of the list may be used as set keys (i.e. they are all :term:" "`hashable`) this is often faster ::" @@ -1791,7 +1797,7 @@ msgstr "" "dictionnaire (c'est à dire, qu'elles sont toutes :term:`hachables " "`) ceci est souvent plus rapide ::" -#: faq/programming.rst:1152 +#: faq/programming.rst:1153 msgid "" "This converts the list into a set, thereby removing duplicates, and then " "back into a list." @@ -1799,11 +1805,11 @@ msgstr "" "Ceci convertit la liste en un ensemble, ce qui supprime automatiquement les " "doublons, puis la transforme à nouveau en liste." -#: faq/programming.rst:1157 +#: faq/programming.rst:1158 msgid "How do you remove multiple items from a list" msgstr "Comment retirer les doublons d'une liste" -#: faq/programming.rst:1159 +#: faq/programming.rst:1160 msgid "" "As with removing duplicates, explicitly iterating in reverse with a delete " "condition is one possibility. However, it is easier and faster to use slice " @@ -1815,19 +1821,19 @@ msgstr "" "plus rapide d’utiliser le remplacement des tranches par une itération avant, " "implicite ou explicite. Voici trois variantes. ::" -#: faq/programming.rst:1168 +#: faq/programming.rst:1169 msgid "The list comprehension may be fastest." msgstr "La liste en compréhension est peut-être la plus rapide ::" -#: faq/programming.rst:1172 +#: faq/programming.rst:1173 msgid "How do you make an array in Python?" msgstr "Comment construire un tableau en Python ?" -#: faq/programming.rst:1174 +#: faq/programming.rst:1175 msgid "Use a list::" msgstr "Utilisez une liste ::" -#: faq/programming.rst:1178 +#: faq/programming.rst:1179 msgid "" "Lists are equivalent to C or Pascal arrays in their time complexity; the " "primary difference is that a Python list can contain objects of many " @@ -1837,7 +1843,7 @@ msgstr "" "principale différence est qu'une liste Python peut contenir des objets de " "différents types." -#: faq/programming.rst:1181 +#: faq/programming.rst:1182 msgid "" "The ``array`` module also provides methods for creating arrays of fixed " "types with compact representations, but they are slower to index than " @@ -1850,14 +1856,14 @@ msgstr "" "fournissent différentes structures de type tableaux, avec des " "caractéristiques différentes." -#: faq/programming.rst:1186 +#: faq/programming.rst:1187 msgid "" "To get Lisp-style linked lists, you can emulate cons cells using tuples::" msgstr "" "Pour obtenir des listes chaînées à la sauce Lisp, vous pouvez émuler les " "*cons cells* en utilisant des *n*-uplets ::" -#: faq/programming.rst:1190 +#: faq/programming.rst:1191 msgid "" "If mutability is desired, you could use lists instead of tuples. Here the " "analogue of lisp car is ``lisp_list[0]`` and the analogue of cdr is " @@ -1870,27 +1876,27 @@ msgstr "" "ceci que si vous êtes réellement sûr d'en avoir besoin, cette méthode est en " "général bien plus lente que les listes Python." -#: faq/programming.rst:1199 +#: faq/programming.rst:1200 msgid "How do I create a multidimensional list?" msgstr "Comment créer une liste à plusieurs dimensions ?" -#: faq/programming.rst:1201 +#: faq/programming.rst:1202 msgid "You probably tried to make a multidimensional array like this::" msgstr "" "Vous avez probablement essayé de créer une liste à plusieurs dimensions de " "cette façon ::" -#: faq/programming.rst:1205 +#: faq/programming.rst:1206 msgid "This looks correct if you print it:" msgstr "Elle semble correcte si on l'affiche :" -#: faq/programming.rst:1216 +#: faq/programming.rst:1217 msgid "But when you assign a value, it shows up in multiple places:" msgstr "" "Mais quand vous affectez une valeur, celle-ci apparaît à plusieurs " "endroits ::" -#: faq/programming.rst:1228 +#: faq/programming.rst:1229 msgid "" "The reason is that replicating a list with ``*`` doesn't create copies, it " "only creates references to the existing objects. The ``*3`` creates a list " @@ -1903,7 +1909,7 @@ msgstr "" "dans une colonne apparaîtra donc dans toutes les colonnes, ce qui n'est très " "probablement pas ce que vous souhaitiez." -#: faq/programming.rst:1233 +#: faq/programming.rst:1234 msgid "" "The suggested approach is to create a list of the desired length first and " "then fill in each element with a newly created list::" @@ -1911,7 +1917,7 @@ msgstr "" "L'approche suggérée est d'abord de créer une liste de la longueur désirée, " "puis de remplir tous les éléments avec une nouvelle chaîne ::" -#: faq/programming.rst:1240 +#: faq/programming.rst:1241 msgid "" "This generates a list containing 3 different lists of length two. You can " "also use a list comprehension::" @@ -1920,7 +1926,7 @@ msgstr "" "longueur deux. Vous pouvez aussi utiliser la syntaxe des listes en " "compréhension ::" -#: faq/programming.rst:1246 +#: faq/programming.rst:1247 msgid "" "Or, you can use an extension that provides a matrix datatype; `NumPy `_ is the best known." @@ -1928,22 +1934,22 @@ msgstr "" "Vous pouvez aussi utiliser une extension qui fournit un type matriciel " "natif ; `NumPy `_ est la plus répandue." -#: faq/programming.rst:1251 +#: faq/programming.rst:1252 msgid "How do I apply a method to a sequence of objects?" msgstr "Comment appliquer une méthode à une séquence d'objets ?" -#: faq/programming.rst:1253 +#: faq/programming.rst:1254 msgid "Use a list comprehension::" msgstr "Utilisez une liste en compréhension ::" -#: faq/programming.rst:1260 +#: faq/programming.rst:1261 msgid "" "Why does a_tuple[i] += ['item'] raise an exception when the addition works?" msgstr "" "Pourquoi ``a_tuple[i] += ['item']`` lève-t-il une exception alors que " "l'addition fonctionne ?" -#: faq/programming.rst:1262 +#: faq/programming.rst:1263 msgid "" "This is because of a combination of the fact that augmented assignment " "operators are *assignment* operators, and the difference between mutable and " @@ -1953,7 +1959,7 @@ msgstr "" "d'affectation incrémentaux sont des opérateurs d'*affectation* et à la " "différence entre les objets muables et immuables en Python." -#: faq/programming.rst:1266 +#: faq/programming.rst:1267 msgid "" "This discussion applies in general when augmented assignment operators are " "applied to elements of a tuple that point to mutable objects, but we'll use " @@ -1963,11 +1969,11 @@ msgstr "" "incrémentale sont appliqués aux éléments d'un *n*-uplet qui pointe sur des " "objets muables, mais on prendra ``list`` et ``+=`` comme exemple." -#: faq/programming.rst:1270 +#: faq/programming.rst:1271 msgid "If you wrote::" msgstr "Si vous écrivez ::" -#: faq/programming.rst:1278 +#: faq/programming.rst:1279 msgid "" "The reason for the exception should be immediately clear: ``1`` is added to " "the object ``a_tuple[0]`` points to (``1``), producing the result object, " @@ -1981,7 +1987,7 @@ msgstr "" "l'élément ``0`` du *n*-uplet, on obtient une erreur car il est impossible de " "modifier la cible sur laquelle pointe un élément d'un *n*-uplet." -#: faq/programming.rst:1284 +#: faq/programming.rst:1285 msgid "" "Under the covers, what this augmented assignment statement is doing is " "approximately this::" @@ -1989,7 +1995,7 @@ msgstr "" "Sous le capot, une instruction d'affectation incrémentale fait à peu près " "ceci ::" -#: faq/programming.rst:1293 +#: faq/programming.rst:1294 msgid "" "It is the assignment part of the operation that produces the error, since a " "tuple is immutable." @@ -1997,11 +2003,11 @@ msgstr "" "C'est la partie de l'affectation de l'opération qui génère l'erreur, vu " "qu'un *n*-uplet est immuable." -#: faq/programming.rst:1296 +#: faq/programming.rst:1297 msgid "When you write something like::" msgstr "Quand vous écrivez un code du style ::" -#: faq/programming.rst:1304 +#: faq/programming.rst:1305 msgid "" "The exception is a bit more surprising, and even more surprising is the fact " "that even though there was an error, the append worked::" @@ -2009,7 +2015,7 @@ msgstr "" "L'exception est un peu plus surprenante et, chose encore plus étrange, " "malgré l'erreur, l'ajout a fonctionné ::" -#: faq/programming.rst:1310 +#: faq/programming.rst:1311 msgid "" "To see why this happens, you need to know that (a) if an object implements " "an ``__iadd__`` magic method, it gets called when the ``+=`` augmented " @@ -2026,11 +2032,11 @@ msgstr "" "renvoyer celle-ci. C'est pour cette raison que l'on dit que pour les listes, " "``+=`` est un \"raccourci\" pour ``list.extend`` ::" -#: faq/programming.rst:1322 +#: faq/programming.rst:1323 msgid "This is equivalent to::" msgstr "C’est équivalent à ::" -#: faq/programming.rst:1327 +#: faq/programming.rst:1328 msgid "" "The object pointed to by a_list has been mutated, and the pointer to the " "mutated object is assigned back to ``a_list``. The end result of the " @@ -2042,13 +2048,13 @@ msgstr "" "change rien, puisque c'est un pointeur vers le même objet que sur lequel " "pointait ``a_list``, mais l'affectation a tout de même lieu." -#: faq/programming.rst:1332 +#: faq/programming.rst:1333 msgid "Thus, in our tuple example what is happening is equivalent to::" msgstr "" "Donc, dans notre exemple avec un *n*-uplet, il se passe quelque chose " "équivalent à ::" -#: faq/programming.rst:1340 +#: faq/programming.rst:1341 msgid "" "The ``__iadd__`` succeeds, and thus the list is extended, but even though " "``result`` points to the same object that ``a_tuple[0]`` already points to, " @@ -2059,7 +2065,7 @@ msgstr "" "``result`` pointe sur le même objet que ``a_tuple[0]``, l'affectation finale " "échoue car les *n*-uplets ne sont pas muables." -#: faq/programming.rst:1346 +#: faq/programming.rst:1347 msgid "" "I want to do a complicated sort: can you do a Schwartzian Transform in " "Python?" @@ -2067,7 +2073,7 @@ msgstr "" "Je souhaite faire un classement compliqué : peut on faire une transformation " "de Schwartz en Python ?" -#: faq/programming.rst:1348 +#: faq/programming.rst:1349 msgid "" "The technique, attributed to Randal Schwartz of the Perl community, sorts " "the elements of a list by a metric which maps each element to its \"sort " @@ -2079,11 +2085,11 @@ msgstr "" "chaque élément à sa \"valeur de tri\". En Python, ceci est géré par " "l'argument ``key`` de la méthode :meth:`list.sort` ::" -#: faq/programming.rst:1357 +#: faq/programming.rst:1358 msgid "How can I sort one list by values from another list?" msgstr "Comment ordonner une liste en fonction des valeurs d'une autre liste ?" -#: faq/programming.rst:1359 +#: faq/programming.rst:1360 msgid "" "Merge them into an iterator of tuples, sort the resulting list, and then " "pick out the element you want. ::" @@ -2091,15 +2097,15 @@ msgstr "" "Fusionnez-les dans un itérateur de *n*-uplets, ordonnez la liste obtenue, " "puis choisissez l'élément que vous voulez ::" -#: faq/programming.rst:1374 +#: faq/programming.rst:1375 msgid "Objects" msgstr "Objets" -#: faq/programming.rst:1377 +#: faq/programming.rst:1378 msgid "What is a class?" msgstr "Qu'est-ce qu'une classe ?" -#: faq/programming.rst:1379 +#: faq/programming.rst:1380 msgid "" "A class is the particular object type created by executing a class " "statement. Class objects are used as templates to create instance objects, " @@ -2111,7 +2117,7 @@ msgstr "" "créer des objets, qui incarnent à la fois les données (attributs) et le code " "(méthodes) spécifiques à un type de données." -#: faq/programming.rst:1383 +#: faq/programming.rst:1384 msgid "" "A class can be based on one or more other classes, called its base " "class(es). It then inherits the attributes and methods of its base classes. " @@ -2129,11 +2135,11 @@ msgstr "" "``MaildirMailbox``, ``OutlookMailbox`` qui gèrent les plusieurs formats " "spécifiques de boîtes aux lettres." -#: faq/programming.rst:1392 +#: faq/programming.rst:1393 msgid "What is a method?" msgstr "Qu'est-ce qu'une méthode ?" -#: faq/programming.rst:1394 +#: faq/programming.rst:1395 msgid "" "A method is a function on some object ``x`` that you normally call as ``x." "name(arguments...)``. Methods are defined as functions inside the class " @@ -2143,11 +2149,11 @@ msgstr "" "générale sous la forme ``x.name(arguments…)``. Les méthodes sont définies " "comme des fonctions à l'intérieur de la définition de classe ::" -#: faq/programming.rst:1404 +#: faq/programming.rst:1405 msgid "What is self?" msgstr "Qu'est-ce que self ?" -#: faq/programming.rst:1406 +#: faq/programming.rst:1407 msgid "" "Self is merely a conventional name for the first argument of a method. A " "method defined as ``meth(self, a, b, c)`` should be called as ``x.meth(a, b, " @@ -2160,11 +2166,11 @@ msgstr "" "est définie ; tout se passe comme si la méthode était appelée comme " "``meth(x, a, b, c)``." -#: faq/programming.rst:1411 +#: faq/programming.rst:1412 msgid "See also :ref:`why-self`." msgstr "Voir aussi :ref:`why-self`." -#: faq/programming.rst:1415 +#: faq/programming.rst:1416 msgid "" "How do I check if an object is an instance of a given class or of a subclass " "of it?" @@ -2172,7 +2178,7 @@ msgstr "" "Comment vérifier si un objet est une instance d'une classe donnée ou d'une " "sous-classe de celle-ci ?" -#: faq/programming.rst:1417 +#: faq/programming.rst:1418 msgid "" "Use the built-in function ``isinstance(obj, cls)``. You can check if an " "object is an instance of any of a number of classes by providing a tuple " @@ -2187,7 +2193,15 @@ msgstr "" "l'un des types natifs de Python, par exemple ``isinstance(obj, str)`` ou " "``isinstance(obj, (int, float, complex))``." -#: faq/programming.rst:1423 +#: faq/programming.rst:1424 +msgid "" +"Note that :func:`isinstance` also checks for virtual inheritance from an :" +"term:`abstract base class`. So, the test will return ``True`` for a " +"registered class even if hasn't directly or indirectly inherited from it. " +"To test for \"true inheritance\", scan the :term:`MRO` of the class:" +msgstr "" + +#: faq/programming.rst:1459 msgid "" "Note that most programs do not use :func:`isinstance` on user-defined " "classes very often. If you are developing the classes yourself, a more " @@ -2203,7 +2217,7 @@ msgstr "" "plutôt que de vérifier la classe de l'objet et de faire un traitement ad-" "hoc. Par exemple, si vous avez une fonction qui fait quelque chose ::" -#: faq/programming.rst:1437 +#: faq/programming.rst:1473 msgid "" "A better approach is to define a ``search()`` method on all the classes and " "just call it::" @@ -2211,11 +2225,11 @@ msgstr "" "Une meilleure approche est de définir une méthode ``search()`` dans toutes " "les classes et qu'il suffit d'appeler de la manière suivante ::" -#: faq/programming.rst:1452 +#: faq/programming.rst:1488 msgid "What is delegation?" msgstr "Qu'est-ce que la délégation ?" -#: faq/programming.rst:1454 +#: faq/programming.rst:1490 msgid "" "Delegation is an object oriented technique (also called a design pattern). " "Let's say you have an object ``x`` and want to change the behaviour of just " @@ -2230,7 +2244,7 @@ msgstr "" "dans l'évolution et qui délègue toute autre méthode à la méthode " "correspondante de ``x``." -#: faq/programming.rst:1460 +#: faq/programming.rst:1496 msgid "" "Python programmers can easily implement delegation. For example, the " "following class implements a class that behaves like a file but converts all " @@ -2240,7 +2254,7 @@ msgstr "" "Par exemple, la classe suivante implémente une classe qui se comporte comme " "un fichier, mais convertit toutes les données écrites en majuscules ::" -#: faq/programming.rst:1475 +#: faq/programming.rst:1511 msgid "" "Here the ``UpperOut`` class redefines the ``write()`` method to convert the " "argument string to uppercase before calling the underlying ``self._outfile." @@ -2257,7 +2271,7 @@ msgstr "" "` pour plus d'informations sur la personnalisation de " "l’accès aux attributs." -#: faq/programming.rst:1482 +#: faq/programming.rst:1518 msgid "" "Note that for more general cases delegation can get trickier. When " "attributes must be set as well as retrieved, the class must define a :meth:" @@ -2271,7 +2285,7 @@ msgstr "" "et il doit le faire avec soin. La mise en œuvre basique de la méthode :meth:" "`__setattr__` est à peu près équivalent à ce qui suit ::" -#: faq/programming.rst:1493 +#: faq/programming.rst:1529 msgid "" "Most :meth:`__setattr__` implementations must modify ``self.__dict__`` to " "store local state for self without causing an infinite recursion." @@ -2280,7 +2294,7 @@ msgstr "" "``self.__dict__`` pour stocker l'état local de self sans provoquer une " "récursion infinie." -#: faq/programming.rst:1498 +#: faq/programming.rst:1534 msgid "" "How do I call a method defined in a base class from a derived class that " "overrides it?" @@ -2288,11 +2302,11 @@ msgstr "" "Comment appeler une méthode définie dans une classe de base depuis une " "classe dérivée qui la surcharge ?" -#: faq/programming.rst:1500 +#: faq/programming.rst:1536 msgid "Use the built-in :func:`super` function::" msgstr "Utilisez la fonction native :func:`super` ::" -#: faq/programming.rst:1506 +#: faq/programming.rst:1542 msgid "" "For version prior to 3.0, you may be using classic classes: For a class " "definition such as ``class Derived(Base): ...`` you can call method " @@ -2307,13 +2321,13 @@ msgstr "" "arguments...)``. Ici, ``Base.meth`` est une méthode non liée, il faut donc " "fournir l'argument ``self``." -#: faq/programming.rst:1514 +#: faq/programming.rst:1550 msgid "How can I organize my code to make it easier to change the base class?" msgstr "" "Comment organiser un code pour permettre de changer la classe de base plus " "facilement ?" -#: faq/programming.rst:1516 +#: faq/programming.rst:1552 msgid "" "You could assign the base class to an alias and derive from the alias. Then " "all you have to change is the value assigned to the alias. Incidentally, " @@ -2326,13 +2340,13 @@ msgstr "" "dynamiquement (par exemple en fonction de la disponibilité de certaines " "ressources) la classe de base à utiliser. Exemple ::" -#: faq/programming.rst:1531 +#: faq/programming.rst:1567 msgid "How do I create static class data and static class methods?" msgstr "" "Comment créer des données statiques de classe et des méthodes statiques de " "classe ?" -#: faq/programming.rst:1533 +#: faq/programming.rst:1569 msgid "" "Both static data and static methods (in the sense of C++ or Java) are " "supported in Python." @@ -2340,7 +2354,7 @@ msgstr "" "Les données statiques et les méthodes statiques (au sens C++ ou Java) sont " "prises en charge en Python." -#: faq/programming.rst:1536 +#: faq/programming.rst:1572 msgid "" "For static data, simply define a class attribute. To assign a new value to " "the attribute, you have to explicitly use the class name in the assignment::" @@ -2349,7 +2363,7 @@ msgstr "" "attribuer une nouvelle valeur à l'attribut, vous devez explicitement " "utiliser le nom de classe dans l'affectation ::" -#: faq/programming.rst:1548 +#: faq/programming.rst:1584 msgid "" "``c.count`` also refers to ``C.count`` for any ``c`` such that " "``isinstance(c, C)`` holds, unless overridden by ``c`` itself or by some " @@ -2360,7 +2374,7 @@ msgstr "" "une classe sur le chemin de recherche de classe de base de ``c.__class__`` " "jusqu'à ``C``." -#: faq/programming.rst:1552 +#: faq/programming.rst:1588 msgid "" "Caution: within a method of C, an assignment like ``self.count = 42`` " "creates a new and unrelated instance named \"count\" in ``self``'s own " @@ -2373,11 +2387,11 @@ msgstr "" "de classe doit toujours spécifier la classe, que l'on soit à l'intérieur " "d'une méthode ou non ::" -#: faq/programming.rst:1559 +#: faq/programming.rst:1595 msgid "Static methods are possible::" msgstr "Il est possible d'utiliser des méthodes statiques ::" -#: faq/programming.rst:1567 +#: faq/programming.rst:1603 msgid "" "However, a far more straightforward way to get the effect of a static method " "is via a simple module-level function::" @@ -2385,7 +2399,7 @@ msgstr "" "Cependant, d'une manière beaucoup plus simple pour obtenir l'effet d'une " "méthode statique se fait par une simple fonction au niveau du module ::" -#: faq/programming.rst:1573 +#: faq/programming.rst:1609 msgid "" "If your code is structured so as to define one class (or tightly related " "class hierarchy) per module, this supplies the desired encapsulation." @@ -2394,11 +2408,11 @@ msgstr "" "hiérarchie des classes connexes) par module, ceci fournira l'encapsulation " "souhaitée." -#: faq/programming.rst:1578 +#: faq/programming.rst:1614 msgid "How can I overload constructors (or methods) in Python?" msgstr "Comment surcharger les constructeurs (ou méthodes) en Python ?" -#: faq/programming.rst:1580 +#: faq/programming.rst:1616 msgid "" "This answer actually applies to all methods, but the question usually comes " "up first in the context of constructors." @@ -2406,11 +2420,11 @@ msgstr "" "Cette réponse s'applique en fait à toutes les méthodes, mais la question se " "pose généralement dans le contexte des constructeurs." -#: faq/programming.rst:1583 +#: faq/programming.rst:1619 msgid "In C++ you'd write" msgstr "En C++, on écrirait" -#: faq/programming.rst:1592 +#: faq/programming.rst:1628 msgid "" "In Python you have to write a single constructor that catches all cases " "using default arguments. For example::" @@ -2418,29 +2432,29 @@ msgstr "" "En Python, vous devez écrire un constructeur unique qui considère tous les " "cas en utilisant des arguments par défaut. Par exemple ::" -#: faq/programming.rst:1602 +#: faq/programming.rst:1638 msgid "This is not entirely equivalent, but close enough in practice." msgstr "" "Ce n'est pas tout à fait équivalent, mais suffisamment proche dans la " "pratique." -#: faq/programming.rst:1604 +#: faq/programming.rst:1640 msgid "You could also try a variable-length argument list, e.g. ::" msgstr "" "Vous pouvez aussi utiliser une liste d'arguments de longueur variable, par " "exemple ::" -#: faq/programming.rst:1609 +#: faq/programming.rst:1645 msgid "The same approach works for all method definitions." msgstr "La même approche fonctionne pour toutes les définitions de méthode." -#: faq/programming.rst:1613 +#: faq/programming.rst:1649 msgid "I try to use __spam and I get an error about _SomeClassName__spam." msgstr "" "J'essaie d'utiliser ``__spam`` et j'obtiens une erreur à propos de " "``_SomeClassName__spam``." -#: faq/programming.rst:1615 +#: faq/programming.rst:1651 msgid "" "Variable names with double leading underscores are \"mangled\" to provide a " "simple but effective way to define class private variables. Any identifier " @@ -2456,7 +2470,7 @@ msgstr "" "remplacé par ``_classname__spam``, où ``classname`` est le nom de la classe " "en cours sans les éventuels tirets bas du début." -#: faq/programming.rst:1621 +#: faq/programming.rst:1657 msgid "" "This doesn't guarantee privacy: an outside user can still deliberately " "access the \"_classname__spam\" attribute, and private values are visible in " @@ -2468,17 +2482,17 @@ msgstr "" "privées sont visibles dans l'objet ``__dict__``. De nombreux programmeurs " "Python ne prennent jamais la peine d'utiliser des noms de variable privés." -#: faq/programming.rst:1628 +#: faq/programming.rst:1664 msgid "My class defines __del__ but it is not called when I delete the object." msgstr "" "Ma classe définit ``__del__`` mais elle n'est pas appelée lorsque je " "supprime l'objet." -#: faq/programming.rst:1630 +#: faq/programming.rst:1666 msgid "There are several possible reasons for this." msgstr "Il y a plusieurs explications possibles." -#: faq/programming.rst:1632 +#: faq/programming.rst:1668 msgid "" "The del statement does not necessarily call :meth:`__del__` -- it simply " "decrements the object's reference count, and if this reaches zero :meth:" @@ -2488,7 +2502,7 @@ msgstr "" "simplement le compteur de références de l'objet et, si celui-ci arrive à " "zéro, :meth:`__del__` est appelée." -#: faq/programming.rst:1636 +#: faq/programming.rst:1672 msgid "" "If your data structures contain circular links (e.g. a tree where each child " "has a parent reference and each parent has a list of children) the reference " @@ -2514,7 +2528,7 @@ msgstr "" "miettes avec la fonction :func:`gc.collect`, mais il existe certains cas où " "les objets ne seront jamais nettoyés." -#: faq/programming.rst:1647 +#: faq/programming.rst:1683 msgid "" "Despite the cycle collector, it's still a good idea to define an explicit " "``close()`` method on objects to be called whenever you're done with them. " @@ -2531,7 +2545,7 @@ msgstr "" "`__del__` devrait appeler la méthode ``close()`` et ``close()`` doit pouvoir " "être appelée plusieurs fois sur le même objet." -#: faq/programming.rst:1654 +#: faq/programming.rst:1690 msgid "" "Another way to avoid cyclical references is to use the :mod:`weakref` " "module, which allows you to point to objects without incrementing their " @@ -2544,7 +2558,7 @@ msgstr "" "d'arbres devraient utiliser des références faibles entre pères et fils (si " "nécessaire !)." -#: faq/programming.rst:1667 +#: faq/programming.rst:1703 msgid "" "Finally, if your :meth:`__del__` method raises an exception, a warning " "message is printed to :data:`sys.stderr`." @@ -2552,11 +2566,11 @@ msgstr "" "Enfin, si la méthode :meth:`__del__` lève une exception, un message " "d'avertissement s'affiche dans :data:`sys.stderr`." -#: faq/programming.rst:1672 +#: faq/programming.rst:1708 msgid "How do I get a list of all instances of a given class?" msgstr "Comment obtenir toutes les instances d'une classe ?" -#: faq/programming.rst:1674 +#: faq/programming.rst:1710 msgid "" "Python does not keep track of all instances of a class (or of a built-in " "type). You can program the class's constructor to keep track of all " @@ -2567,13 +2581,13 @@ msgstr "" "constructeur de la classe de façon à tenir un tel registre, en maintenant " "une liste de références faibles vers chaque instance." -#: faq/programming.rst:1680 +#: faq/programming.rst:1716 msgid "Why does the result of ``id()`` appear to be not unique?" msgstr "" "Pourquoi le résultat de ``id()`` peut-il être le même pour deux objets " "différents ?" -#: faq/programming.rst:1682 +#: faq/programming.rst:1718 msgid "" "The :func:`id` builtin returns an integer that is guaranteed to be unique " "during the lifetime of the object. Since in CPython, this is the object's " @@ -2587,7 +2601,7 @@ msgstr "" "à une adresse mémoire identique à celle d'un objet venant d'être supprimé. " "Comme l'illustre le code suivant :" -#: faq/programming.rst:1693 +#: faq/programming.rst:1729 msgid "" "The two ids belong to different integer objects that are created before, and " "deleted immediately after execution of the ``id()`` call. To be sure that " @@ -2599,15 +2613,107 @@ msgstr "" "objets dont on veut examiner les identifiants sont toujours en vie, créons " "une nouvelle référence à l'objet :" -#: faq/programming.rst:1706 +#: faq/programming.rst:1742 +msgid "When can I rely on identity tests with the *is* operator?" +msgstr "" + +#: faq/programming.rst:1744 +msgid "" +"The ``is`` operator tests for object identity. The test ``a is b`` is " +"equivalent to ``id(a) == id(b)``." +msgstr "" + +#: faq/programming.rst:1747 +msgid "" +"The most important property of an identity test is that an object is always " +"identical to itself, ``a is a`` always returns ``True``. Identity tests are " +"usually faster than equality tests. And unlike equality tests, identity " +"tests are guaranteed to return a boolean ``True`` or ``False``." +msgstr "" + +#: faq/programming.rst:1752 +msgid "" +"However, identity tests can *only* be substituted for equality tests when " +"object identity is assured. Generally, there are three circumstances where " +"identity is guaranteed:" +msgstr "" + +#: faq/programming.rst:1756 +msgid "" +"1) Assignments create new names but do not change object identity. After " +"the assignment ``new = old``, it is guaranteed that ``new is old``." +msgstr "" + +#: faq/programming.rst:1759 +msgid "" +"2) Putting an object in a container that stores object references does not " +"change object identity. After the list assignment ``s[0] = x``, it is " +"guaranteed that ``s[0] is x``." +msgstr "" + +#: faq/programming.rst:1763 +msgid "" +"3) If an object is a singleton, it means that only one instance of that " +"object can exist. After the assignments ``a = None`` and ``b = None``, it " +"is guaranteed that ``a is b`` because ``None`` is a singleton." +msgstr "" + +#: faq/programming.rst:1767 +msgid "" +"In most other circumstances, identity tests are inadvisable and equality " +"tests are preferred. In particular, identity tests should not be used to " +"check constants such as :class:`int` and :class:`str` which aren't " +"guaranteed to be singletons::" +msgstr "" + +#: faq/programming.rst:1784 +msgid "Likewise, new instances of mutable containers are never identical::" +msgstr "" + +#: faq/programming.rst:1791 +msgid "" +"In the standard library code, you will see several common patterns for " +"correctly using identity tests:" +msgstr "" + +#: faq/programming.rst:1794 +msgid "" +"1) As recommended by :pep:`8`, an identity test is the preferred way to " +"check for ``None``. This reads like plain English in code and avoids " +"confusion with other objects that may have boolean values that evaluate to " +"false." +msgstr "" + +#: faq/programming.rst:1798 +msgid "" +"2) Detecting optional arguments can be tricky when ``None`` is a valid input " +"value. In those situations, you can create an singleton sentinel object " +"guaranteed to be distinct from other objects. For example, here is how to " +"implement a method that behaves like :meth:`dict.pop`::" +msgstr "" + +#: faq/programming.rst:1814 +msgid "" +"3) Container implementations sometimes need to augment equality tests with " +"identity tests. This prevents the code from being confused by objects such " +"as ``float('NaN')`` that are not equal to themselves." +msgstr "" + +#: faq/programming.rst:1818 +msgid "" +"For example, here is the implementation of :meth:`collections.abc.Sequence." +"__contains__`::" +msgstr "" + +#: faq/programming.rst:1829 msgid "Modules" msgstr "Modules" -#: faq/programming.rst:1709 +#: faq/programming.rst:1832 msgid "How do I create a .pyc file?" msgstr "Comment créer des fichiers ``.pyc`` ?" -#: faq/programming.rst:1711 +#: faq/programming.rst:1834 msgid "" "When a module is imported for the first time (or when the source file has " "changed since the current compiled file was created) a ``.pyc`` file " @@ -2625,7 +2731,7 @@ msgstr "" "centrale qui dépend du binaire ``python`` qui l'a créé (voir la :pep:`3147` " "pour de plus amples précisions)." -#: faq/programming.rst:1719 +#: faq/programming.rst:1842 msgid "" "One reason that a ``.pyc`` file may not be created is a permissions problem " "with the directory containing the source file, meaning that the " @@ -2640,7 +2746,7 @@ msgstr "" "utilisateur, mais que le code est exécuté en tant qu'un autre utilisateur, " "par exemple pour tester un serveur Web." -#: faq/programming.rst:1724 +#: faq/programming.rst:1847 msgid "" "Unless the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable is set, " "creation of a .pyc file is automatic if you're importing a module and Python " @@ -2654,7 +2760,7 @@ msgstr "" "sous-répertoire, à moins que la variable d'environnement :envvar:" "`PYTHONDONTWRITEBYTECODE` soit définie." -#: faq/programming.rst:1729 +#: faq/programming.rst:1852 msgid "" "Running Python on a top level script is not considered an import and no ``." "pyc`` will be created. For example, if you have a top-level module ``foo." @@ -2670,7 +2776,7 @@ msgstr "" "console), un fichier ``.pyc`` est créé pour ``xyz`` mais pas pour ``foo`` " "car ``foo.py`` n'est pas importé." -#: faq/programming.rst:1736 +#: faq/programming.rst:1859 msgid "" "If you need to create a ``.pyc`` file for ``foo`` -- that is, to create a ``." "pyc`` file for a module that is not imported -- you can, using the :mod:" @@ -2680,7 +2786,7 @@ msgstr "" "``.pyc`` pour un module qui n'est pas importé — il existe les modules :mod:" "`py_compile` et :mod:`compileall`." -#: faq/programming.rst:1740 +#: faq/programming.rst:1863 msgid "" "The :mod:`py_compile` module can manually compile any module. One way is to " "use the ``compile()`` function in that module interactively::" @@ -2689,7 +2795,7 @@ msgstr "" "manuellement. Il est ainsi possible d'appeler la fonction ``compile()`` de " "manière interactive ::" -#: faq/programming.rst:1746 +#: faq/programming.rst:1869 msgid "" "This will write the ``.pyc`` to a ``__pycache__`` subdirectory in the same " "location as ``foo.py`` (or you can override that with the optional parameter " @@ -2699,7 +2805,7 @@ msgstr "" "de ``foo.py`` (le paramètre optionnel ``cfile`` permet de changer ce " "comportement)." -#: faq/programming.rst:1750 +#: faq/programming.rst:1873 msgid "" "You can also automatically compile all files in a directory or directories " "using the :mod:`compileall` module. You can do it from the shell prompt by " @@ -2711,11 +2817,11 @@ msgstr "" "en exécutant ``compileall.py`` avec le chemin du dossier contenant les " "fichiers Python à compiler ::" -#: faq/programming.rst:1759 +#: faq/programming.rst:1882 msgid "How do I find the current module name?" msgstr "Comment obtenir le nom du module actuel ?" -#: faq/programming.rst:1761 +#: faq/programming.rst:1884 msgid "" "A module can find out its own module name by looking at the predefined " "global variable ``__name__``. If this has the value ``'__main__'``, the " @@ -2730,62 +2836,62 @@ msgstr "" "interface en ligne de commande ou un test automatique. Ils n'exécutent cette " "portion du code qu'après avoir vérifié la valeur de ``__name__`` ::" -#: faq/programming.rst:1776 +#: faq/programming.rst:1899 msgid "How can I have modules that mutually import each other?" msgstr "Comment avoir des modules qui s'importent mutuellement ?" -#: faq/programming.rst:1778 +#: faq/programming.rst:1901 msgid "Suppose you have the following modules:" msgstr "Considérons les modules suivants :" -#: faq/programming.rst:1780 +#: faq/programming.rst:1903 msgid "foo.py::" msgstr "*foo.py* ::" -#: faq/programming.rst:1785 +#: faq/programming.rst:1908 msgid "bar.py::" msgstr "*bar.py* ::" -#: faq/programming.rst:1790 +#: faq/programming.rst:1913 msgid "The problem is that the interpreter will perform the following steps:" msgstr "Le problème réside dans les étapes que l'interpréteur va réaliser :" -#: faq/programming.rst:1792 +#: faq/programming.rst:1915 msgid "main imports foo" msgstr "*main* importe *foo*" -#: faq/programming.rst:1793 +#: faq/programming.rst:1916 msgid "Empty globals for foo are created" msgstr "Les variables globales (vides) de *foo* sont créées" -#: faq/programming.rst:1794 +#: faq/programming.rst:1917 msgid "foo is compiled and starts executing" msgstr "*foo* est compilé et commence à s'exécuter" -#: faq/programming.rst:1795 +#: faq/programming.rst:1918 msgid "foo imports bar" msgstr "*foo* importe *bar*" -#: faq/programming.rst:1796 +#: faq/programming.rst:1919 msgid "Empty globals for bar are created" msgstr "Les variables globales (vides) de *bar* sont créées" -#: faq/programming.rst:1797 +#: faq/programming.rst:1920 msgid "bar is compiled and starts executing" msgstr "*bar* est compilé et commence à s'exécuter" -#: faq/programming.rst:1798 +#: faq/programming.rst:1921 msgid "" "bar imports foo (which is a no-op since there already is a module named foo)" msgstr "" "*bar* importe *foo* (en réalité, rien ne passe car il y a déjà un module " "appelé *foo*)" -#: faq/programming.rst:1799 +#: faq/programming.rst:1922 msgid "bar.foo_var = foo.foo_var" msgstr "bar.foo_var = foo.foo_var" -#: faq/programming.rst:1801 +#: faq/programming.rst:1924 msgid "" "The last step fails, because Python isn't done with interpreting ``foo`` yet " "and the global symbol dictionary for ``foo`` is still empty." @@ -2793,7 +2899,7 @@ msgstr "" "La dernière étape échoue car Python n'a pas fini d'interpréter ``foo`` et le " "dictionnaire global des symboles de ``foo`` est encore vide." -#: faq/programming.rst:1804 +#: faq/programming.rst:1927 msgid "" "The same thing happens when you use ``import foo``, and then try to access " "``foo.foo_var`` in global code." @@ -2801,11 +2907,11 @@ msgstr "" "Le même phénomène arrive quand on utilise ``import foo``, et qu'on essaye " "ensuite d'accéder à ``foo.foo_var`` dans le code global." -#: faq/programming.rst:1807 +#: faq/programming.rst:1930 msgid "There are (at least) three possible workarounds for this problem." msgstr "Il y a (au moins) trois façons de contourner ce problème." -#: faq/programming.rst:1809 +#: faq/programming.rst:1932 msgid "" "Guido van Rossum recommends avoiding all uses of ``from import ..." "``, and placing all code inside functions. Initializations of global " @@ -2819,14 +2925,14 @@ msgstr "" "des fonctions natives. Ceci implique que tout ce qui est fourni par un " "module soit référencé par ``.``." -#: faq/programming.rst:1814 +#: faq/programming.rst:1937 msgid "" "Jim Roskind suggests performing steps in the following order in each module:" msgstr "" "Jim Roskind recommande d'effectuer les étapes suivantes dans cet ordre dans " "chaque module :" -#: faq/programming.rst:1816 +#: faq/programming.rst:1939 msgid "" "exports (globals, functions, and classes that don't need imported base " "classes)" @@ -2834,18 +2940,18 @@ msgstr "" "les exportations (variables globales, fonctions et les classes qui ne " "nécessitent d'importer des classes de base)" -#: faq/programming.rst:1818 +#: faq/programming.rst:1941 msgid "``import`` statements" msgstr "les instructions ``import``" -#: faq/programming.rst:1819 +#: faq/programming.rst:1942 msgid "" "active code (including globals that are initialized from imported values)." msgstr "" "le code (avec les variables globales qui sont initialisées à partir de " "valeurs importées)." -#: faq/programming.rst:1821 +#: faq/programming.rst:1944 msgid "" "van Rossum doesn't like this approach much because the imports appear in a " "strange place, but it does work." @@ -2853,7 +2959,7 @@ msgstr "" "van Rossum désapprouve cette approche car les importations se trouvent à un " "endroit bizarre, mais cela fonctionne." -#: faq/programming.rst:1824 +#: faq/programming.rst:1947 msgid "" "Matthias Urlichs recommends restructuring your code so that the recursive " "import is not necessary in the first place." @@ -2861,16 +2967,16 @@ msgstr "" "Matthias Urlichs conseille de restructurer le code pour éviter les " "importations récursives." -#: faq/programming.rst:1827 +#: faq/programming.rst:1950 msgid "These solutions are not mutually exclusive." msgstr "Ces solutions peuvent être combinées." -#: faq/programming.rst:1831 +#: faq/programming.rst:1954 msgid "__import__('x.y.z') returns ; how do I get z?" msgstr "" "``__import__('x.y.z')`` renvoie ```` ; comment accéder à ``z`` ?" -#: faq/programming.rst:1833 +#: faq/programming.rst:1956 msgid "" "Consider using the convenience function :func:`~importlib.import_module` " "from :mod:`importlib` instead::" @@ -2878,7 +2984,7 @@ msgstr "" "Utilisez plutôt la fonction :func:`~importlib.import_module` de :mod:" "`importlib` ::" -#: faq/programming.rst:1840 +#: faq/programming.rst:1963 msgid "" "When I edit an imported module and reimport it, the changes don't show up. " "Why does this happen?" @@ -2886,7 +2992,7 @@ msgstr "" "Quand j'édite un module et que je le réimporte, je ne vois pas les " "changements. Pourquoi ?" -#: faq/programming.rst:1842 +#: faq/programming.rst:1965 msgid "" "For reasons of efficiency as well as consistency, Python only reads the " "module file on the first time a module is imported. If it didn't, in a " @@ -2901,7 +3007,7 @@ msgstr "" "ré-analysé un très grand nombre de fois. Pour forcer la relecture d'un " "module, il faut faire ::" -#: faq/programming.rst:1852 +#: faq/programming.rst:1975 msgid "" "Warning: this technique is not 100% fool-proof. In particular, modules " "containing statements like ::" @@ -2909,7 +3015,7 @@ msgstr "" "Attention, cette technique ne marche pas systématiquement. En particulier, " "les modules qui contiennent des instructions comme ::" -#: faq/programming.rst:1857 +#: faq/programming.rst:1980 msgid "" "will continue to work with the old version of the imported objects. If the " "module contains class definitions, existing class instances will *not* be " @@ -2921,7 +3027,7 @@ msgstr "" "celle-ci ne sont *pas* mises à jour avec la nouvelle définition de la " "classe. Ceci peut conduire au comportement paradoxal suivant ::" -#: faq/programming.rst:1870 +#: faq/programming.rst:1993 msgid "" "The nature of the problem is made clear if you print out the \"identity\" of " "the class objects::" @@ -2929,6 +3035,30 @@ msgstr "" "La nature du problème apparaît clairement en affichant « l'identité » des " "objets de la classe ::" +#~ msgid "" +#~ "Pydb is a version of the standard Python debugger pdb, modified for use " +#~ "with DDD (Data Display Debugger), a popular graphical debugger front " +#~ "end. Pydb can be found at http://bashdb.sourceforge.net/pydb/ and DDD " +#~ "can be found at https://www.gnu.org/software/ddd." +#~ msgstr "" +#~ "*Pydb* est une version du débogueur standard Python *pdb*, modifié pour " +#~ "être utilisé avec DDD (Data Display Debugger), un célèbre débogueur " +#~ "graphique. *Pydb* est disponible sur http://bashdb.sourceforge.net/pydb/ " +#~ "et DDD est disponible sur https://www.gnu.org/software/ddd." + +#~ msgid "Komodo IDE (https://komodoide.com/)" +#~ msgstr "Komodo IDE (https://komodoide.com/)" + +#~ msgid "http://www.py2exe.org/" +#~ msgstr "http://www.py2exe.org/" + +#~ msgid "" +#~ "Another tool is Anthony Tuininga's `cx_Freeze `_." +#~ msgstr "" +#~ "Un autre de ces outils est `cx_Freeze `_ d'Anthony Tuininga." + #~ msgid "" #~ "Note: Using :func:`eval` is slow and dangerous. If you don't have " #~ "absolute control over the contents of the string, someone could pass a " diff --git a/faq/windows.po b/faq/windows.po index 24289002..8e2077ad 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-17 16:05+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-01-28 16:02+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -230,24 +230,16 @@ msgstr "Comment construire un exécutable depuis un script Python ?" #: faq/windows.rst:143 msgid "" -"See `cx_Freeze `_ for a " -"distutils extension that allows you to create console and GUI executables " -"from Python code. `py2exe `_, the most popular " -"extension for building Python 2.x-based executables, does not yet support " -"Python 3 but a version that does is in development." +"See `cx_Freeze `_ and `py2exe " +"`_, both are distutils extensions that allow you to " +"create console and GUI executables from Python code." msgstr "" -"Regardez `cx_Freeze `_ pour une " -"extension *distutils* qui permet de créer des exécutables console et IUG à " -"partir de code Python. `py2exe `_ est l'extension la " -"plus populaire pour transformer du code Python 2 en exécutable, mais ne elle " -"prend pas en charge Python 3 (l'implémentation est en cours de " -"développement)." -#: faq/windows.rst:151 +#: faq/windows.rst:149 msgid "Is a ``*.pyd`` file the same as a DLL?" msgstr "Est-ce qu'un fichier ``*.pyd`` est la même chose qu'une DLL ?" -#: faq/windows.rst:153 +#: faq/windows.rst:151 msgid "" "Yes, .pyd files are dll's, but there are a few differences. If you have a " "DLL named ``foo.pyd``, then it must have a function ``PyInit_foo()``. You " @@ -264,7 +256,7 @@ msgstr "" "l'initialiser. Ne liez pas votre *.exe* avec *foo.lib* car dans ce cas " "Windows aura besoin de la DLL." -#: faq/windows.rst:160 +#: faq/windows.rst:158 msgid "" "Note that the search path for foo.pyd is PYTHONPATH, not the same as the " "path that Windows uses to search for foo.dll. Also, foo.pyd need not be " @@ -283,11 +275,11 @@ msgstr "" "``__declspec(dllexport)``. Dans un *.pyd* la liaison est définie dans une " "liste de fonctions disponibles." -#: faq/windows.rst:169 +#: faq/windows.rst:167 msgid "How can I embed Python into a Windows application?" msgstr "Comment puis-je intégrer Python dans une application Windows ?" -#: faq/windows.rst:171 +#: faq/windows.rst:169 msgid "" "Embedding the Python interpreter in a Windows app can be summarized as " "follows:" @@ -295,7 +287,7 @@ msgstr "" "L'intégration de l'interpréteur Python dans une application Windows peut se " "résumer comme suit :" -#: faq/windows.rst:173 +#: faq/windows.rst:171 msgid "" "Do _not_ build Python into your .exe file directly. On Windows, Python must " "be a DLL to handle importing modules that are themselves DLL's. (This is " @@ -310,7 +302,7 @@ msgstr "" "est généralement placé dans ``C:\\Windows\\System``. *NN* étant la version " "Python, par exemple « 33 » pour Python 3.3." -#: faq/windows.rst:179 +#: faq/windows.rst:177 msgid "" "You can link to Python in two different ways. Load-time linking means " "linking against :file:`python{NN}.lib`, while run-time linking means linking " @@ -325,7 +317,7 @@ msgstr "" "lib* » correspondant à :file:`python{NN}.dll`. Il définit simplement des " "liens symboliques pour l'éditeur de liens.)" -#: faq/windows.rst:185 +#: faq/windows.rst:183 msgid "" "Run-time linking greatly simplifies link options; everything happens at run " "time. Your code must load :file:`python{NN}.dll` using the Windows " @@ -344,7 +336,7 @@ msgstr "" "peuvent rendre l'utilisation de ces pointeurs transparente à tout code C qui " "appelle des routines dans l'API C de Python." -#: faq/windows.rst:192 +#: faq/windows.rst:190 msgid "" "Borland note: convert :file:`python{NN}.lib` to OMF format using Coff2Omf." "exe first." @@ -352,7 +344,7 @@ msgstr "" "Note Borland : convertir :file:`python{NN}.lib` au format OMF en utilisant " "*Coff2Omf.exe* en premier." -#: faq/windows.rst:197 +#: faq/windows.rst:195 msgid "" "If you use SWIG, it is easy to create a Python \"extension module\" that " "will make the app's data and methods available to Python. SWIG will handle " @@ -367,7 +359,7 @@ msgstr "" "n'avez **pas** besoin de créer un fichier DLL, et cela simplifie également " "la liaison." -#: faq/windows.rst:203 +#: faq/windows.rst:201 msgid "" "SWIG will create an init function (a C function) whose name depends on the " "name of the extension module. For example, if the name of the module is " @@ -382,7 +374,7 @@ msgstr "" "appelée *initleoc()*. Ceci initialise une classe auxiliaire invisible " "utilisée par la classe *shadow*." -#: faq/windows.rst:209 +#: faq/windows.rst:207 msgid "" "The reason you can link the C code in step 2 into your .exe file is that " "calling the initialization function is equivalent to importing the module " @@ -392,7 +384,7 @@ msgstr "" "*fichier.exe* est que l'appel de la fonction d'initialisation équivaut à " "importer le module dans Python ! (C'est le deuxième fait clé non documenté.)" -#: faq/windows.rst:213 +#: faq/windows.rst:211 msgid "" "In short, you can use the following code to initialize the Python " "interpreter with your extension module." @@ -400,7 +392,7 @@ msgstr "" "En bref, vous pouvez utiliser le code suivant pour initialiser " "l'interpréteur Python avec votre module d'extension." -#: faq/windows.rst:224 +#: faq/windows.rst:222 msgid "" "There are two problems with Python's C API which will become apparent if you " "use a compiler other than MSVC, the compiler used to build pythonNN.dll." @@ -409,7 +401,7 @@ msgstr "" "utilisez un compilateur autre que MSVC, le compilateur utilisé pour " "construire *pythonNN.dll*." -#: faq/windows.rst:227 +#: faq/windows.rst:225 msgid "" "Problem 1: The so-called \"Very High Level\" functions that take FILE * " "arguments will not work in a multi-compiler environment because each " @@ -422,7 +414,7 @@ msgstr "" "structure de FILE. Du point de vue de l'implémentation, il s'agit de " "fonctions de très bas niveau." -#: faq/windows.rst:232 +#: faq/windows.rst:230 msgid "" "Problem 2: SWIG generates the following code when generating wrappers to " "void functions:" @@ -430,7 +422,7 @@ msgstr "" "Problème 2 : SWIG génère le code suivant lors de la génération " "*d'encapsuleurs* pour annuler les fonctions :" -#: faq/windows.rst:241 +#: faq/windows.rst:239 msgid "" "Alas, Py_None is a macro that expands to a reference to a complex data " "structure called _Py_NoneStruct inside pythonNN.dll. Again, this code will " @@ -441,7 +433,7 @@ msgstr "" "une fois, ce code échouera dans un environnement multi-compilateur. " "Remplacez ce code par :" -#: faq/windows.rst:249 +#: faq/windows.rst:247 msgid "" "It may be possible to use SWIG's ``%typemap`` command to make the change " "automatically, though I have not been able to get this to work (I'm a " @@ -451,7 +443,7 @@ msgstr "" "le changement automatiquement, bien que je n'ai pas réussi à le faire " "fonctionner (je suis un débutant complet avec SWIG)." -#: faq/windows.rst:253 +#: faq/windows.rst:251 msgid "" "Using a Python shell script to put up a Python interpreter window from " "inside your Windows app is not a good idea; the resulting window will be " @@ -472,13 +464,13 @@ msgstr "" "dont vous avez besoin est un objet Python (défini dans votre module " "d'extension) qui contient les méthodes *read()* et *write()*." -#: faq/windows.rst:262 +#: faq/windows.rst:260 msgid "How do I keep editors from inserting tabs into my Python source?" msgstr "" "Comment empêcher mon éditeur d'utiliser des tabulations dans mes fichiers " "Python ?" -#: faq/windows.rst:264 +#: faq/windows.rst:262 msgid "" "The FAQ does not recommend using tabs, and the Python style guide, :pep:`8`, " "recommends 4 spaces for distributed Python code; this is also the Emacs " @@ -489,7 +481,7 @@ msgstr "" "dans les codes Python. C'est aussi le comportement par défaut d'Emacs avec " "Python." -#: faq/windows.rst:268 +#: faq/windows.rst:266 msgid "" "Under any editor, mixing tabs and spaces is a bad idea. MSVC is no " "different in this respect, and is easily configured to use spaces: Take :" @@ -503,7 +495,7 @@ msgstr "" "Tabs` et pour le type de fichier par défaut, vous devez mettre *Tab size* et " "*Indent size* à 4, puis sélectionner *Insert spaces*." -#: faq/windows.rst:273 +#: faq/windows.rst:271 msgid "" "Python raises :exc:`IndentationError` or :exc:`TabError` if mixed tabs and " "spaces are causing problems in leading whitespace. You may also run the :mod:" @@ -513,13 +505,13 @@ msgstr "" "tabulation et d’indentation pose problème en début de ligne. Vous pouvez " "aussi utiliser le module :mod:`tabnanny` pour détecter ces erreurs." -#: faq/windows.rst:280 +#: faq/windows.rst:278 msgid "How do I check for a keypress without blocking?" msgstr "" "Comment puis-je vérifier de manière non bloquante qu'une touche a été " "pressée ?" -#: faq/windows.rst:282 +#: faq/windows.rst:280 msgid "" "Use the :mod:`msvcrt` module. This is a standard Windows-specific extension " "module. It defines a function ``kbhit()`` which checks whether a keyboard " @@ -529,3 +521,17 @@ msgstr "" "Windows, qui définit une fonction ``kbhit()`` qui vérifie si une pression de " "touche s'est produite, et ``getch()`` qui récupère le caractère sans " "l'afficher." + +#~ msgid "" +#~ "See `cx_Freeze `_ for a " +#~ "distutils extension that allows you to create console and GUI executables " +#~ "from Python code. `py2exe `_, the most popular " +#~ "extension for building Python 2.x-based executables, does not yet support " +#~ "Python 3 but a version that does is in development." +#~ msgstr "" +#~ "Regardez `cx_Freeze `_ pour " +#~ "une extension *distutils* qui permet de créer des exécutables console et " +#~ "IUG à partir de code Python. `py2exe `_ est " +#~ "l'extension la plus populaire pour transformer du code Python 2 en " +#~ "exécutable, mais ne elle prend pas en charge Python 3 (l'implémentation " +#~ "est en cours de développement)." diff --git a/howto/descriptor.po b/howto/descriptor.po index 907073bb..6abdbe88 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-12-17 21:41+0100\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -224,20 +224,20 @@ msgid "The new class now logs access to both *name* and *age*:" msgstr "" #: howto/descriptor.rst:284 -msgid "The two *Person* instances contain only the private names::" -msgstr "" - -#: howto/descriptor.rst:293 -msgid "Closing thoughts" +msgid "The two *Person* instances contain only the private names:" msgstr "" #: howto/descriptor.rst:295 +msgid "Closing thoughts" +msgstr "" + +#: howto/descriptor.rst:297 msgid "" "A :term:`descriptor` is what we call any object that defines :meth:" "`__get__`, :meth:`__set__`, or :meth:`__delete__`." msgstr "" -#: howto/descriptor.rst:298 +#: howto/descriptor.rst:300 msgid "" "Optionally, descriptors can have a :meth:`__set_name__` method. This is " "only used in cases where a descriptor needs to know either the class where " @@ -245,33 +245,33 @@ msgid "" "method, if present, is called even if the class is not a descriptor.)" msgstr "" -#: howto/descriptor.rst:303 +#: howto/descriptor.rst:305 msgid "" "Descriptors get invoked by the dot \"operator\" during attribute lookup. If " "a descriptor is accessed indirectly with ``vars(some_class)" "[descriptor_name]``, the descriptor instance is returned without invoking it." msgstr "" -#: howto/descriptor.rst:307 +#: howto/descriptor.rst:309 msgid "" "Descriptors only work when used as class variables. When put in instances, " "they have no effect." msgstr "" -#: howto/descriptor.rst:310 +#: howto/descriptor.rst:312 msgid "" "The main motivation for descriptors is to provide a hook allowing objects " "stored in class variables to control what happens during attribute lookup." msgstr "" -#: howto/descriptor.rst:313 +#: howto/descriptor.rst:315 msgid "" "Traditionally, the calling class controls what happens during lookup. " "Descriptors invert that relationship and allow the data being looked-up to " "have a say in the matter." msgstr "" -#: howto/descriptor.rst:317 +#: howto/descriptor.rst:319 msgid "" "Descriptors are used throughout the language. It is how functions turn into " "bound methods. Common tools like :func:`classmethod`, :func:" @@ -279,21 +279,21 @@ msgid "" "all implemented as descriptors." msgstr "" -#: howto/descriptor.rst:324 +#: howto/descriptor.rst:326 msgid "Complete Practical Example" msgstr "" -#: howto/descriptor.rst:326 +#: howto/descriptor.rst:328 msgid "" "In this example, we create a practical and powerful tool for locating " "notoriously hard to find data corruption bugs." msgstr "" -#: howto/descriptor.rst:331 +#: howto/descriptor.rst:333 msgid "Validator class" msgstr "" -#: howto/descriptor.rst:333 +#: howto/descriptor.rst:335 msgid "" "A validator is a descriptor for managed attribute access. Prior to storing " "any data, it verifies that the new value meets various type and range " @@ -301,39 +301,39 @@ msgid "" "prevent data corruption at its source." msgstr "" -#: howto/descriptor.rst:338 +#: howto/descriptor.rst:340 msgid "" "This :class:`Validator` class is both an :term:`abstract base class` and a " "managed attribute descriptor:" msgstr "" -#: howto/descriptor.rst:361 +#: howto/descriptor.rst:363 msgid "" "Custom validators need to inherit from :class:`Validator` and must supply a :" "meth:`validate` method to test various restrictions as needed." msgstr "" -#: howto/descriptor.rst:366 +#: howto/descriptor.rst:368 msgid "Custom validators" msgstr "" -#: howto/descriptor.rst:368 +#: howto/descriptor.rst:370 msgid "Here are three practical data validation utilities:" msgstr "" -#: howto/descriptor.rst:370 +#: howto/descriptor.rst:372 msgid "" ":class:`OneOf` verifies that a value is one of a restricted set of options." msgstr "" -#: howto/descriptor.rst:372 +#: howto/descriptor.rst:374 msgid "" ":class:`Number` verifies that a value is either an :class:`int` or :class:" "`float`. Optionally, it verifies that a value is between a given minimum or " "maximum." msgstr "" -#: howto/descriptor.rst:376 +#: howto/descriptor.rst:378 msgid "" ":class:`String` verifies that a value is a :class:`str`. Optionally, it " "validates a given minimum or maximum length. It can validate a user-defined " @@ -341,39 +341,39 @@ msgid "" "as well." msgstr "" -#: howto/descriptor.rst:435 +#: howto/descriptor.rst:437 msgid "Practical application" msgstr "" -#: howto/descriptor.rst:437 +#: howto/descriptor.rst:439 msgid "Here's how the data validators can be used in a real class:" msgstr "" -#: howto/descriptor.rst:452 +#: howto/descriptor.rst:454 msgid "The descriptors prevent invalid instances from being created:" msgstr "" -#: howto/descriptor.rst:479 +#: howto/descriptor.rst:481 msgid "Technical Tutorial" msgstr "" -#: howto/descriptor.rst:481 +#: howto/descriptor.rst:483 msgid "" "What follows is a more technical tutorial for the mechanics and details of " "how descriptors work." msgstr "" -#: howto/descriptor.rst:486 +#: howto/descriptor.rst:488 msgid "Abstract" msgstr "Résumé" -#: howto/descriptor.rst:488 +#: howto/descriptor.rst:490 msgid "" "Defines descriptors, summarizes the protocol, and shows how descriptors are " "called. Provides an example showing how object relational mappings work." msgstr "" -#: howto/descriptor.rst:491 +#: howto/descriptor.rst:493 #, fuzzy msgid "" "Learning about descriptors not only provides access to a larger toolset, it " @@ -383,12 +383,12 @@ msgstr "" "ensemble d'outils plus vaste, mais aussi de mieux comprendre le " "fonctionnement de Python et d'apprécier l'élégance de sa conception." -#: howto/descriptor.rst:496 +#: howto/descriptor.rst:498 #, fuzzy msgid "Definition and introduction" msgstr "Définition et introduction" -#: howto/descriptor.rst:498 +#: howto/descriptor.rst:500 #, fuzzy msgid "" "In general, a descriptor is an attribute value that has one of the methods " @@ -402,7 +402,7 @@ msgstr "" "meth:`__set__`, et :meth:`__delete__`. Si l'une de ces méthodes est définie " "pour un objet, il s'agit d'un descripteur." -#: howto/descriptor.rst:503 +#: howto/descriptor.rst:505 #, fuzzy msgid "" "The default behavior for attribute access is to get, set, or delete the " @@ -424,7 +424,7 @@ msgstr "" "Descriptor. Lorsque cela se produit dans la chaîne de précédence dépend de " "quelles méthodes descripteur ont été définies." -#: howto/descriptor.rst:512 +#: howto/descriptor.rst:514 #, fuzzy msgid "" "Descriptors are a powerful, general purpose protocol. They are the " @@ -441,24 +441,24 @@ msgstr "" "un ensemble flexible de nouveaux outils pour les programmes Python " "quotidiens." -#: howto/descriptor.rst:520 +#: howto/descriptor.rst:522 #, fuzzy msgid "Descriptor protocol" msgstr "Protocole descripteur" -#: howto/descriptor.rst:522 +#: howto/descriptor.rst:524 msgid "``descr.__get__(self, obj, type=None) -> value``" msgstr "``descr.__get__(self, obj, type=None) -> value``" -#: howto/descriptor.rst:524 +#: howto/descriptor.rst:526 msgid "``descr.__set__(self, obj, value) -> None``" msgstr "``descr.__set__(self, obj, value) -> None``" -#: howto/descriptor.rst:526 +#: howto/descriptor.rst:528 msgid "``descr.__delete__(self, obj) -> None``" msgstr "``descr.__delete__(self, obj) -> None``" -#: howto/descriptor.rst:528 +#: howto/descriptor.rst:530 msgid "" "That is all there is to it. Define any of these methods and an object is " "considered a descriptor and can override default behavior upon being looked " @@ -468,7 +468,7 @@ msgstr "" "méthodes et un objet est considéré comme un descripteur et peut remplacer le " "comportement par défaut lorsqu'il est recherché comme un attribut." -#: howto/descriptor.rst:532 +#: howto/descriptor.rst:534 #, fuzzy msgid "" "If an object defines :meth:`__set__` or :meth:`__delete__`, it is considered " @@ -481,7 +481,7 @@ msgstr "" "meth:`__get__` sont appelés descripteurs *non-data* (ils sont généralement " "utilisés pour des méthodes mais d'autres utilisations sont possibles)." -#: howto/descriptor.rst:537 +#: howto/descriptor.rst:539 msgid "" "Data and non-data descriptors differ in how overrides are calculated with " "respect to entries in an instance's dictionary. If an instance's dictionary " @@ -497,7 +497,7 @@ msgstr "" "entrée portant le même nom qu'un descripteur *non-data*, l'entrée du " "dictionnaire a la priorité." -#: howto/descriptor.rst:543 +#: howto/descriptor.rst:545 msgid "" "To make a read-only data descriptor, define both :meth:`__get__` and :meth:" "`__set__` with the :meth:`__set__` raising an :exc:`AttributeError` when " @@ -510,11 +510,11 @@ msgstr "" "`__set__set__` avec une exception élevant le caractère générique est " "suffisant pour en faire un descripteur de données." -#: howto/descriptor.rst:550 +#: howto/descriptor.rst:552 msgid "Overview of descriptor invocation" msgstr "" -#: howto/descriptor.rst:552 +#: howto/descriptor.rst:554 #, fuzzy msgid "" "A descriptor can be called directly with ``desc.__get__(obj)`` or ``desc." @@ -523,13 +523,13 @@ msgstr "" "Un descripteur peut être appelé directement par son nom de méthode. Par " "exemple, ``d.__get__(obj)``." -#: howto/descriptor.rst:555 +#: howto/descriptor.rst:557 msgid "" "But it is more common for a descriptor to be invoked automatically from " "attribute access." msgstr "" -#: howto/descriptor.rst:558 +#: howto/descriptor.rst:560 msgid "" "The expression ``obj.x`` looks up the attribute ``x`` in the chain of " "namespaces for ``obj``. If the search finds a descriptor outside of the " @@ -537,7 +537,7 @@ msgid "" "the precedence rules listed below." msgstr "" -#: howto/descriptor.rst:563 +#: howto/descriptor.rst:565 #, fuzzy msgid "" "The details of invocation depend on whether ``obj`` is an object, class, or " @@ -546,11 +546,11 @@ msgstr "" "Les détails de l'invocation dépendent du fait que ``obj`` est un objet ou " "une classe." -#: howto/descriptor.rst:568 +#: howto/descriptor.rst:570 msgid "Invocation from an instance" msgstr "" -#: howto/descriptor.rst:570 +#: howto/descriptor.rst:572 msgid "" "Instance lookup scans through a chain of namespaces giving data descriptors " "the highest priority, followed by instance variables, then non-data " @@ -558,44 +558,44 @@ msgid "" "provided." msgstr "" -#: howto/descriptor.rst:575 +#: howto/descriptor.rst:577 msgid "" "If a descriptor is found for ``a.x``, then it is invoked with: ``desc." "__get__(a, type(a))``." msgstr "" -#: howto/descriptor.rst:578 +#: howto/descriptor.rst:580 msgid "" "The logic for a dotted lookup is in :meth:`object.__getattribute__`. Here " "is a pure Python equivalent:" msgstr "" -#: howto/descriptor.rst:698 +#: howto/descriptor.rst:700 msgid "" "Interestingly, attribute lookup doesn't call :meth:`object.__getattribute__` " "directly. Instead, both the dot operator and the :func:`getattr` function " "perform attribute lookup by way of a helper function:" msgstr "" -#: howto/descriptor.rst:713 +#: howto/descriptor.rst:747 msgid "" "So if :meth:`__getattr__` exists, it is called whenever :meth:" "`__getattribute__` raises :exc:`AttributeError` (either directly or in one " "of the descriptor calls)." msgstr "" -#: howto/descriptor.rst:716 +#: howto/descriptor.rst:750 msgid "" "Also, if a user calls :meth:`object.__getattribute__` directly, the :meth:" "`__getattr__` hook is bypassed entirely." msgstr "" -#: howto/descriptor.rst:721 +#: howto/descriptor.rst:755 #, fuzzy msgid "Invocation from a class" msgstr "Appelé depuis un Classe" -#: howto/descriptor.rst:723 +#: howto/descriptor.rst:757 msgid "" "The logic for a dotted lookup such as ``A.x`` is in :meth:`type." "__getattribute__`. The steps are similar to those for :meth:`object." @@ -603,27 +603,27 @@ msgid "" "through the class's :term:`method resolution order`." msgstr "" -#: howto/descriptor.rst:728 +#: howto/descriptor.rst:762 msgid "If a descriptor is found, it is invoked with ``desc.__get__(None, A)``." msgstr "" -#: howto/descriptor.rst:730 +#: howto/descriptor.rst:764 msgid "" "The full C implementation can be found in :c:func:`type_getattro()` and :c:" "func:`_PyType_Lookup()` in :source:`Objects/typeobject.c`." msgstr "" -#: howto/descriptor.rst:735 +#: howto/descriptor.rst:769 msgid "Invocation from super" msgstr "" -#: howto/descriptor.rst:737 +#: howto/descriptor.rst:771 msgid "" "The logic for super's dotted lookup is in the :meth:`__getattribute__` " "method for object returned by :class:`super()`." msgstr "" -#: howto/descriptor.rst:740 +#: howto/descriptor.rst:774 #, fuzzy msgid "" "A dotted lookup such as ``super(A, obj).m`` searches ``obj.__class__." @@ -639,7 +639,7 @@ msgstr "" "inchangé. S'il n'est pas dans le dictionnaire, la recherche de ``m`` revient " "à une recherche utilisant :meth:`object.__getattribute__`." -#: howto/descriptor.rst:745 +#: howto/descriptor.rst:779 #, fuzzy msgid "" "The full C implementation can be found in :c:func:`super_getattro()` in :" @@ -651,32 +651,32 @@ msgstr "" "source:`Objects/typeobject.c` et un équivalent Python pur peut être trouvé " "dans `Guido's Tutorial`_." -#: howto/descriptor.rst:752 +#: howto/descriptor.rst:786 msgid "Summary of invocation logic" msgstr "" -#: howto/descriptor.rst:754 +#: howto/descriptor.rst:788 msgid "" "The mechanism for descriptors is embedded in the :meth:`__getattribute__()` " "methods for :class:`object`, :class:`type`, and :func:`super`." msgstr "" -#: howto/descriptor.rst:757 +#: howto/descriptor.rst:791 msgid "The important points to remember are:" msgstr "Les points importants à retenir sont :" -#: howto/descriptor.rst:759 +#: howto/descriptor.rst:793 #, fuzzy msgid "Descriptors are invoked by the :meth:`__getattribute__` method." msgstr "les descripteurs sont appelés par la méthode :meth:`__getattribute__`" -#: howto/descriptor.rst:761 +#: howto/descriptor.rst:795 msgid "" "Classes inherit this machinery from :class:`object`, :class:`type`, or :func:" "`super`." msgstr "" -#: howto/descriptor.rst:764 +#: howto/descriptor.rst:798 #, fuzzy msgid "" "Overriding :meth:`__getattribute__` prevents automatic descriptor calls " @@ -685,7 +685,7 @@ msgstr "" "redéfinir :meth:`__getattribute____` empêche les appels automatiques de " "descripteurs" -#: howto/descriptor.rst:767 +#: howto/descriptor.rst:801 #, fuzzy msgid "" ":meth:`object.__getattribute__` and :meth:`type.__getattribute__` make " @@ -696,25 +696,25 @@ msgstr "" ":meth:`objet.__getattribute__` et :meth:`type.__getattribute__` font " "différents appels à :meth:`__get__`." -#: howto/descriptor.rst:772 +#: howto/descriptor.rst:806 #, fuzzy msgid "Data descriptors always override instance dictionaries." msgstr "" "les descripteurs de données remplacent toujours les dictionnaires " "d'instances." -#: howto/descriptor.rst:774 +#: howto/descriptor.rst:808 #, fuzzy msgid "Non-data descriptors may be overridden by instance dictionaries." msgstr "" "les descripteurs *non-data* peuvent être remplacés par des dictionnaires " "d'instance." -#: howto/descriptor.rst:778 +#: howto/descriptor.rst:812 msgid "Automatic name notification" msgstr "" -#: howto/descriptor.rst:780 +#: howto/descriptor.rst:814 msgid "" "Sometimes it is desirable for a descriptor to know what class variable name " "it was assigned to. When a new class is created, the :class:`type` " @@ -724,7 +724,7 @@ msgid "" "and the *name* is the class variable the descriptor was assigned to." msgstr "" -#: howto/descriptor.rst:787 +#: howto/descriptor.rst:821 #, fuzzy msgid "" "The implementation details are in :c:func:`type_new()` and :c:func:" @@ -734,53 +734,53 @@ msgstr "" "source:`Objects/typeobject.c` et un équivalent Python pur peut être trouvé " "dans `Guido's Tutorial`_." -#: howto/descriptor.rst:790 +#: howto/descriptor.rst:824 msgid "" "Since the update logic is in :meth:`type.__new__`, notifications only take " "place at the time of class creation. If descriptors are added to the class " "afterwards, :meth:`__set_name__` will need to be called manually." msgstr "" -#: howto/descriptor.rst:796 +#: howto/descriptor.rst:830 msgid "ORM example" msgstr "" -#: howto/descriptor.rst:798 +#: howto/descriptor.rst:832 msgid "" "The following code is simplified skeleton showing how data descriptors could " "be used to implement an `object relational mapping `_." msgstr "" -#: howto/descriptor.rst:802 +#: howto/descriptor.rst:836 msgid "" "The essential idea is that the data is stored in an external database. The " "Python instances only hold keys to the database's tables. Descriptors take " "care of lookups or updates:" msgstr "" -#: howto/descriptor.rst:821 +#: howto/descriptor.rst:855 msgid "" "We can use the :class:`Field` class to define `models `_ that describe the schema for each table in a " "database:" msgstr "" -#: howto/descriptor.rst:846 +#: howto/descriptor.rst:880 msgid "To use the models, first connect to the database::" msgstr "" -#: howto/descriptor.rst:851 +#: howto/descriptor.rst:885 msgid "" "An interactive session shows how data is retrieved from the database and how " "it can be updated:" msgstr "" -#: howto/descriptor.rst:896 +#: howto/descriptor.rst:930 msgid "Pure Python Equivalents" msgstr "" -#: howto/descriptor.rst:898 +#: howto/descriptor.rst:932 #, fuzzy msgid "" "The descriptor protocol is simple and offers exciting possibilities. " @@ -794,11 +794,11 @@ msgstr "" "statiques et les méthodes de classe sont toutes basées sur le protocole du " "descripteur." -#: howto/descriptor.rst:905 +#: howto/descriptor.rst:939 msgid "Properties" msgstr "Propriétés" -#: howto/descriptor.rst:907 +#: howto/descriptor.rst:941 #, fuzzy msgid "" "Calling :func:`property` is a succinct way of building a data descriptor " @@ -809,7 +809,7 @@ msgstr "" "descripteur de données qui déclenche des appels de fonction lors de l'accès " "à un attribut. Sa signature est ::" -#: howto/descriptor.rst:912 +#: howto/descriptor.rst:946 #, fuzzy msgid "" "The documentation shows a typical use to define a managed attribute ``x``:" @@ -817,7 +817,7 @@ msgstr "" "La documentation montre une utilisation typique pour définir un attribut " "géré ``x`` ::" -#: howto/descriptor.rst:922 +#: howto/descriptor.rst:970 #, fuzzy msgid "" "To see how :func:`property` is implemented in terms of the descriptor " @@ -826,7 +826,7 @@ msgstr "" "Pour voir comment :func:`property` est implémenté dans le protocole du " "descripteur, voici un un équivalent Python pur ::" -#: howto/descriptor.rst:1015 +#: howto/descriptor.rst:1063 msgid "" "The :func:`property` builtin helps whenever a user interface has granted " "attribute access and then subsequent changes require the intervention of a " @@ -836,7 +836,7 @@ msgstr "" "utilisateur a accordé l'accès à un attribut et que des modifications " "ultérieures nécessitent l'intervention d'une méthode." -#: howto/descriptor.rst:1019 +#: howto/descriptor.rst:1067 #, fuzzy msgid "" "For instance, a spreadsheet class may grant access to a cell value through " @@ -853,18 +853,18 @@ msgstr "" "directement à l'attribut. La solution consiste à envelopper l'accès à " "l'attribut de valeur dans un descripteur de données de propriété ::" -#: howto/descriptor.rst:1036 +#: howto/descriptor.rst:1084 msgid "" "Either the built-in :func:`property` or our :func:`Property` equivalent " "would work in this example." msgstr "" -#: howto/descriptor.rst:1041 +#: howto/descriptor.rst:1089 #, fuzzy msgid "Functions and methods" msgstr "Fonctions et méthodes" -#: howto/descriptor.rst:1043 +#: howto/descriptor.rst:1091 msgid "" "Python's object oriented features are built upon a function based " "environment. Using non-data descriptors, the two are merged seamlessly." @@ -873,7 +873,7 @@ msgstr "" "environnement basé sur des fonctions. À l'aide de descripteurs *non-data*, " "les deux sont fusionnés de façon transparente." -#: howto/descriptor.rst:1046 +#: howto/descriptor.rst:1094 #, fuzzy msgid "" "Functions stored in class dictionaries get turned into methods when invoked. " @@ -889,13 +889,13 @@ msgstr "" "convention Python, la référence de l'instance est appelée *self* mais peut " "être appelée *this* ou tout autre nom de variable." -#: howto/descriptor.rst:1051 +#: howto/descriptor.rst:1099 msgid "" "Methods can be created manually with :class:`types.MethodType` which is " "roughly equivalent to:" msgstr "" -#: howto/descriptor.rst:1068 +#: howto/descriptor.rst:1116 #, fuzzy msgid "" "To support automatic creation of methods, functions include the :meth:" @@ -909,7 +909,7 @@ msgstr "" "*non-data* qui renvoient des méthodes liées lorsqu'elles sont appelées " "depuis un objet. En Python pur, il fonctionne comme ceci ::" -#: howto/descriptor.rst:1084 +#: howto/descriptor.rst:1132 #, fuzzy msgid "" "Running the following class in the interpreter shows how the function " @@ -918,47 +918,47 @@ msgstr "" "L'exécution de l'interpréteur montre comment le descripteur de fonction se " "comporte dans la pratique ::" -#: howto/descriptor.rst:1093 +#: howto/descriptor.rst:1141 msgid "" "The function has a :term:`qualified name` attribute to support introspection:" msgstr "" -#: howto/descriptor.rst:1100 +#: howto/descriptor.rst:1148 msgid "" "Accessing the function through the class dictionary does not invoke :meth:" "`__get__`. Instead, it just returns the underlying function object::" msgstr "" -#: howto/descriptor.rst:1106 +#: howto/descriptor.rst:1154 msgid "" "Dotted access from a class calls :meth:`__get__` which just returns the " "underlying function unchanged::" msgstr "" -#: howto/descriptor.rst:1112 +#: howto/descriptor.rst:1160 msgid "" "The interesting behavior occurs during dotted access from an instance. The " "dotted lookup calls :meth:`__get__` which returns a bound method object::" msgstr "" -#: howto/descriptor.rst:1119 +#: howto/descriptor.rst:1167 msgid "" "Internally, the bound method stores the underlying function and the bound " "instance::" msgstr "" -#: howto/descriptor.rst:1128 +#: howto/descriptor.rst:1176 msgid "" "If you have ever wondered where *self* comes from in regular methods or " "where *cls* comes from in class methods, this is it!" msgstr "" -#: howto/descriptor.rst:1133 +#: howto/descriptor.rst:1181 #, fuzzy -msgid "Other kinds of methods" +msgid "Kinds of methods" msgstr "Fonctions et méthodes" -#: howto/descriptor.rst:1135 +#: howto/descriptor.rst:1183 msgid "" "Non-data descriptors provide a simple mechanism for variations on the usual " "patterns of binding functions into methods." @@ -966,7 +966,7 @@ msgstr "" "Les descripteurs *non-data* fournissent un mécanisme simple pour les " "variations des patrons habituels des fonctions de liaison dans les méthodes." -#: howto/descriptor.rst:1138 +#: howto/descriptor.rst:1186 #, fuzzy msgid "" "To recap, functions have a :meth:`__get__` method so that they can be " @@ -979,60 +979,60 @@ msgstr "" "descripteur *non-data* transforme un appel ``obj.f(*args)``en ``f(obj, " "*args)``. Appeler ``klass.f(*args)`` devient ``f(*args)``." -#: howto/descriptor.rst:1143 +#: howto/descriptor.rst:1191 msgid "This chart summarizes the binding and its two most useful variants:" msgstr "" "Ce tableau résume le lien (*binding*) et ses deux variantes les plus " "utiles ::" -#: howto/descriptor.rst:1146 +#: howto/descriptor.rst:1194 msgid "Transformation" msgstr "Transformation" -#: howto/descriptor.rst:1146 +#: howto/descriptor.rst:1194 #, fuzzy msgid "Called from an object" msgstr "Appelé depuis un Objet" -#: howto/descriptor.rst:1146 +#: howto/descriptor.rst:1194 #, fuzzy msgid "Called from a class" msgstr "Appelé depuis un Classe" -#: howto/descriptor.rst:1149 +#: howto/descriptor.rst:1197 msgid "function" msgstr "fonction" -#: howto/descriptor.rst:1149 +#: howto/descriptor.rst:1197 msgid "f(obj, \\*args)" msgstr "f(obj, \\*args)" -#: howto/descriptor.rst:1151 +#: howto/descriptor.rst:1199 msgid "f(\\*args)" msgstr "f(\\*args)" -#: howto/descriptor.rst:1151 +#: howto/descriptor.rst:1199 msgid "staticmethod" msgstr "méthode statique" -#: howto/descriptor.rst:1153 +#: howto/descriptor.rst:1201 msgid "classmethod" msgstr "méthode de classe" -#: howto/descriptor.rst:1153 +#: howto/descriptor.rst:1201 msgid "f(type(obj), \\*args)" msgstr "f(type(obj), \\*args)" -#: howto/descriptor.rst:1153 +#: howto/descriptor.rst:1201 msgid "f(cls, \\*args)" msgstr "f(cls, \\*args)" -#: howto/descriptor.rst:1158 +#: howto/descriptor.rst:1206 #, fuzzy msgid "Static methods" msgstr "méthode statique" -#: howto/descriptor.rst:1160 +#: howto/descriptor.rst:1208 msgid "" "Static methods return the underlying function without changes. Calling " "either ``c.f`` or ``C.f`` is the equivalent of a direct lookup into ``object." @@ -1046,7 +1046,7 @@ msgstr "" "__getattribute__(C, \"f\")``. Par conséquent, la fonction devient accessible " "de manière identique à partir d'un objet ou d'une classe." -#: howto/descriptor.rst:1166 +#: howto/descriptor.rst:1214 msgid "" "Good candidates for static methods are methods that do not reference the " "``self`` variable." @@ -1054,7 +1054,7 @@ msgstr "" "Les bonnes candidates pour être méthode statique sont des méthodes qui ne " "font pas référence à la variable ``self``." -#: howto/descriptor.rst:1169 +#: howto/descriptor.rst:1217 msgid "" "For instance, a statistics package may include a container class for " "experimental data. The class provides normal methods for computing the " @@ -1076,7 +1076,7 @@ msgstr "" "appelée à partir d'un objet ou de la classe : ``s.erf(1.5) --> .9332``` ou " "``Sample.erf(1.5) --> .9332``." -#: howto/descriptor.rst:1178 +#: howto/descriptor.rst:1226 #, fuzzy msgid "" "Since static methods return the underlying function with no changes, the " @@ -1085,7 +1085,7 @@ msgstr "" "Depuis que les méthodes statiques renvoient la fonction sous-jacente sans " "changement, les exemples d’appels ne sont pas excitants ::" -#: howto/descriptor.rst:1195 +#: howto/descriptor.rst:1243 #, fuzzy msgid "" "Using the non-data descriptor protocol, a pure Python version of :func:" @@ -1094,12 +1094,12 @@ msgstr "" "En utilisant le protocole de descripteur *non-data*, une version Python pure " "de :func:`staticmethod` ressemblerait à ceci ::" -#: howto/descriptor.rst:1211 +#: howto/descriptor.rst:1275 #, fuzzy msgid "Class methods" msgstr "méthode de classe" -#: howto/descriptor.rst:1213 +#: howto/descriptor.rst:1277 #, fuzzy msgid "" "Unlike static methods, class methods prepend the class reference to the " @@ -1110,7 +1110,7 @@ msgstr "" "référence de classe dans la liste d'arguments avant d'appeler la fonction. " "Ce format est le même que l'appelant soit un objet ou une classe ::" -#: howto/descriptor.rst:1231 +#: howto/descriptor.rst:1295 #, fuzzy msgid "" "This behavior is useful whenever the method only needs to have a class " @@ -1126,14 +1126,14 @@ msgstr "" "nouveau dictionnaire à partir d'une liste de clés. L'équivalent Python pur " "est ::" -#: howto/descriptor.rst:1248 +#: howto/descriptor.rst:1312 #, fuzzy msgid "Now a new dictionary of unique keys can be constructed like this:" msgstr "" "Maintenant un nouveau dictionnaire de clés uniques peut être construit comme " "ceci ::" -#: howto/descriptor.rst:1258 +#: howto/descriptor.rst:1322 #, fuzzy msgid "" "Using the non-data descriptor protocol, a pure Python version of :func:" @@ -1142,37 +1142,38 @@ msgstr "" "En utilisant le protocole de descripteur *non-data*, une version Python pure " "de :func:`classmethod` ressemblerait à ceci ::" -#: howto/descriptor.rst:1296 +#: howto/descriptor.rst:1371 msgid "" -"The code path for ``hasattr(obj, '__get__')`` was added in Python 3.9 and " -"makes it possible for :func:`classmethod` to support chained decorators. For " -"example, a classmethod and property could be chained together:" +"The code path for ``hasattr(type(self.f), '__get__')`` was added in Python " +"3.9 and makes it possible for :func:`classmethod` to support chained " +"decorators. For example, a classmethod and property could be chained " +"together:" msgstr "" -#: howto/descriptor.rst:1315 +#: howto/descriptor.rst:1391 msgid "Member objects and __slots__" msgstr "" -#: howto/descriptor.rst:1317 +#: howto/descriptor.rst:1393 msgid "" "When a class defines ``__slots__``, it replaces instance dictionaries with a " "fixed-length array of slot values. From a user point of view that has " "several effects:" msgstr "" -#: howto/descriptor.rst:1321 +#: howto/descriptor.rst:1397 msgid "" "1. Provides immediate detection of bugs due to misspelled attribute " "assignments. Only attribute names specified in ``__slots__`` are allowed:" msgstr "" -#: howto/descriptor.rst:1337 +#: howto/descriptor.rst:1413 msgid "" "2. Helps create immutable objects where descriptors manage access to private " "attributes stored in ``__slots__``:" msgstr "" -#: howto/descriptor.rst:1372 +#: howto/descriptor.rst:1448 msgid "" "3. Saves memory. On a 64-bit Linux build, an instance with two attributes " "takes 48 bytes with ``__slots__`` and 152 bytes without. This `flyweight " @@ -1180,13 +1181,13 @@ msgid "" "only matters when a large number of instances are going to be created." msgstr "" -#: howto/descriptor.rst:1377 +#: howto/descriptor.rst:1453 msgid "" "4. Blocks tools like :func:`functools.cached_property` which require an " "instance dictionary to function correctly:" msgstr "" -#: howto/descriptor.rst:1399 +#: howto/descriptor.rst:1475 msgid "" "It is not possible to create an exact drop-in pure Python version of " "``__slots__`` because it requires direct access to C structures and control " @@ -1196,37 +1197,37 @@ msgid "" "managed by member descriptors:" msgstr "" -#: howto/descriptor.rst:1442 +#: howto/descriptor.rst:1518 msgid "" "The :meth:`type.__new__` method takes care of adding member objects to class " "variables:" msgstr "" -#: howto/descriptor.rst:1458 +#: howto/descriptor.rst:1534 msgid "" "The :meth:`object.__new__` method takes care of creating instances that have " "slots instead of an instance dictionary. Here is a rough simulation in pure " "Python:" msgstr "" -#: howto/descriptor.rst:1493 +#: howto/descriptor.rst:1569 msgid "" "To use the simulation in a real class, just inherit from :class:`Object` and " "set the :term:`metaclass` to :class:`Type`:" msgstr "" -#: howto/descriptor.rst:1507 +#: howto/descriptor.rst:1583 msgid "" "At this point, the metaclass has loaded member objects for *x* and *y*::" msgstr "" -#: howto/descriptor.rst:1528 +#: howto/descriptor.rst:1604 msgid "" "When instances are created, they have a ``slot_values`` list where the " "attributes are stored:" msgstr "" -#: howto/descriptor.rst:1540 +#: howto/descriptor.rst:1616 msgid "Misspelled or unassigned attributes will raise an exception:" msgstr "" diff --git a/library/argparse.po b/library/argparse.po index f1f1cab8..0b6ca187 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-27 19:26+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-03-29 15:50+0200\n" "Last-Translator: Yannick Gingras \n" "Language-Team: FRENCH \n" @@ -762,9 +762,10 @@ msgstr "" "class:`ArgumentParser`, l'exécution se termine avec un message d'erreur." #: library/argparse.rst:662 +#, fuzzy msgid "" -"If the user would like catch errors manually, the feature can be enable by " -"setting ``exit_on_error`` to ``False``::" +"If the user would like to catch errors manually, the feature can be enabled " +"by setting ``exit_on_error`` to ``False``::" msgstr "" "Si vous souhaitez intercepter les erreurs manuellement, la fonctionnalité " "peut être activée en assignant ``False`` à ``exit_on_error`` ::" diff --git a/library/array.po b/library/array.po index 4de11699..4adc40f9 100644 --- a/library/array.po +++ b/library/array.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2019-10-31 12:47+0100\n" "Last-Translator: Cléo Buck \n" "Language-Team: FRENCH \n" @@ -371,12 +371,12 @@ msgstr "" ":meth:`fromstring` est renommée en :meth:`frombytes` pour plus de lisibilité." #: library/array.rst:160 +#, fuzzy msgid "" "Read *n* items (as machine values) from the :term:`file object` *f* and " "append them to the end of the array. If less than *n* items are available, :" "exc:`EOFError` is raised, but the items that were available are still " -"inserted into the array. *f* must be a real built-in file object; something " -"else with a :meth:`read` method won't do." +"inserted into the array." msgstr "" "Lit *n* éléments (en tant que valeurs machine) du :term:`file object` *f* et " "les ajouter à la fin du tableau. Si moins de *n* éléments sont disponibles, :" @@ -384,7 +384,7 @@ msgstr "" "tout de même insérés dans le tableau. *f* doit être un objet fichier natif ; " "quelque chose d'autre avec une méthode :meth:`read` ne suffit pas." -#: library/array.rst:169 +#: library/array.rst:168 msgid "" "Append items from the list. This is equivalent to ``for x in list: a." "append(x)`` except that if there is a type error, the array is unchanged." @@ -392,7 +392,7 @@ msgstr "" "Ajoute les éléments de la liste. C'est l'équivalent de ``for x in list: a." "append(x)`` sauf que s'il y a une erreur de type, le tableau est inchangé." -#: library/array.rst:175 +#: library/array.rst:174 msgid "" "Extends this array with data from the given unicode string. The array must " "be a type ``'u'`` array; otherwise a :exc:`ValueError` is raised. Use " @@ -404,7 +404,7 @@ msgstr "" "``array.frombytes(unicodestring.encode(enc))`` pour ajouter des données " "Unicode à un tableau d'un autre type." -#: library/array.rst:183 +#: library/array.rst:182 msgid "" "Return the smallest *i* such that *i* is the index of the first occurrence " "of *x* in the array." @@ -412,7 +412,7 @@ msgstr "" "Renvoie le plus petit *i* tel que *i* est l'index de la première occurrence " "de *x* dans le tableau." -#: library/array.rst:189 +#: library/array.rst:188 msgid "" "Insert a new item with value *x* in the array before position *i*. Negative " "values are treated as being relative to the end of the array." @@ -421,7 +421,7 @@ msgstr "" "position *i*. Les valeurs négatives sont traitées relativement à la fin du " "tableau." -#: library/array.rst:195 +#: library/array.rst:194 msgid "" "Removes the item with the index *i* from the array and returns it. The " "optional argument defaults to ``-1``, so that by default the last item is " @@ -431,15 +431,15 @@ msgstr "" "optionnel par défaut est à ``-1``, de sorte que par défaut le dernier " "élément est supprimé et renvoyé." -#: library/array.rst:202 +#: library/array.rst:201 msgid "Remove the first occurrence of *x* from the array." msgstr "Supprime la première occurrence de *x* du tableau." -#: library/array.rst:207 +#: library/array.rst:206 msgid "Reverse the order of the items in the array." msgstr "Inverse l'ordre des éléments du tableau." -#: library/array.rst:212 +#: library/array.rst:211 msgid "" "Convert the array to an array of machine values and return the bytes " "representation (the same sequence of bytes that would be written to a file " @@ -449,22 +449,22 @@ msgstr "" "représentation en octets (la même séquence d'octets qui serait écrite par la " "méthode :meth:`tofile`)." -#: library/array.rst:216 +#: library/array.rst:215 msgid ":meth:`tostring` is renamed to :meth:`tobytes` for clarity." msgstr "" ":meth:`tostring` est renommé en :meth:`tobytes` pour plus de lisibilité." -#: library/array.rst:222 +#: library/array.rst:221 msgid "Write all items (as machine values) to the :term:`file object` *f*." msgstr "" "Écrit tous les éléments (en tant que valeurs machine) du :term:`file object` " "*f*." -#: library/array.rst:227 +#: library/array.rst:226 msgid "Convert the array to an ordinary list with the same items." msgstr "Convertit le tableau en une liste ordinaire avec les mêmes éléments." -#: library/array.rst:232 +#: library/array.rst:231 msgid "" "Convert the array to a unicode string. The array must be a type ``'u'`` " "array; otherwise a :exc:`ValueError` is raised. Use ``array.tobytes()." @@ -475,7 +475,7 @@ msgstr "" "tobytes().decode(enc)`` pour obtenir une chaîne Unicode depuis un tableau de " "tout autre type." -#: library/array.rst:237 +#: library/array.rst:236 msgid "" "When an array object is printed or converted to a string, it is represented " "as ``array(typecode, initializer)``. The *initializer* is omitted if the " @@ -493,19 +493,19 @@ msgstr "" "func:`eval`, tant que la classe :class:`~array.array` a été importée en " "utilisant ``from array import array``. Exemples ::" -#: library/array.rst:254 +#: library/array.rst:253 msgid "Module :mod:`struct`" msgstr "Module :mod:`struct`" -#: library/array.rst:254 +#: library/array.rst:253 msgid "Packing and unpacking of heterogeneous binary data." msgstr "Empaquetage et dépaquetage de données binaires hétérogènes." -#: library/array.rst:258 +#: library/array.rst:257 msgid "Module :mod:`xdrlib`" msgstr "Module :mod:`xdrlib`" -#: library/array.rst:257 +#: library/array.rst:256 msgid "" "Packing and unpacking of External Data Representation (XDR) data as used in " "some remote procedure call systems." @@ -514,11 +514,11 @@ msgstr "" "telles qu'elles sont utilisées dans certains systèmes d'appels de procédures " "à distance (ou RPC pour *remote procedure call* en anglais)." -#: library/array.rst:261 +#: library/array.rst:260 msgid "`The Numerical Python Documentation `_" msgstr "`La documentation de *Numerical Python* `" -#: library/array.rst:261 +#: library/array.rst:260 msgid "" "The Numeric Python extension (NumPy) defines another array type; see http://" "www.numpy.org/ for further information about Numerical Python." diff --git a/library/asyncio-protocol.po b/library/asyncio-protocol.po index 02b8cca9..0385cf04 100644 --- a/library/asyncio-protocol.po +++ b/library/asyncio-protocol.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2019-06-18 22:29+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -897,7 +897,7 @@ msgstr "Protocoles liés aux sous-processus" #: library/asyncio-protocol.rst:686 msgid "" -"Datagram Protocol instances should be constructed by protocol factories " +"Subprocess Protocol instances should be constructed by protocol factories " "passed to the :meth:`loop.subprocess_exec` and :meth:`loop.subprocess_shell` " "methods." msgstr "" diff --git a/library/asyncio-subprocess.po b/library/asyncio-subprocess.po index 7a635ef8..e5f7edab 100644 --- a/library/asyncio-subprocess.po +++ b/library/asyncio-subprocess.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-17 16:05+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-10-15 00:37+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -313,8 +313,9 @@ msgid "" msgstr "" #: library/asyncio-subprocess.rst:254 -msgid "Kill the child." -msgstr "" +#, fuzzy +msgid "Kill the child process." +msgstr "Arrête le sous-processus." #: library/asyncio-subprocess.rst:256 #, fuzzy diff --git a/library/asyncio-task.po b/library/asyncio-task.po index b039e21a..1d50f6fc 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-17 16:05+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-09-22 17:11+0200\n" "Last-Translator: Philippe GALVAN \n" "Language-Team: FRENCH \n" @@ -267,7 +267,7 @@ msgstr "" "fin. Elle doit être utilisée comme point d'entrée principal des programmes " "*asyncio* et ne doit être idéalement appelée qu'une seule fois." -#: library/asyncio-task.rst:356 library/asyncio-task.rst:606 +#: library/asyncio-task.rst:360 library/asyncio-task.rst:613 msgid "Example::" msgstr "Exemple ::" @@ -321,7 +321,7 @@ msgstr "" "antérieures à la 3.7, la fonction de bas-niveau :func:`asyncio." "ensure_future` peut-être utilisée ::" -#: library/asyncio-task.rst:788 +#: library/asyncio-task.rst:795 msgid "Added the ``name`` parameter." msgstr "ajout du paramètre ``name``." @@ -348,23 +348,30 @@ msgstr "" "``sleep()`` suspend systématiquement la tâche courante, ce qui permet aux " "autres tâches de s'exécuter." -#: library/asyncio-task.rst:353 library/asyncio-task.rst:471 -#: library/asyncio-task.rst:605 library/asyncio-task.rst:793 +#: library/asyncio-task.rst:296 +msgid "" +"Setting the delay to 0 provides an optimized path to allow other tasks to " +"run. This can be used by long-running functions to avoid blocking the event " +"loop for the full duration of the function call." +msgstr "" + +#: library/asyncio-task.rst:357 library/asyncio-task.rst:478 +#: library/asyncio-task.rst:612 library/asyncio-task.rst:800 msgid "The *loop* parameter." msgstr "Le paramètre *loop*." -#: library/asyncio-task.rst:301 +#: library/asyncio-task.rst:305 msgid "" "Example of coroutine displaying the current date every second for 5 seconds::" msgstr "" "Exemple d'une coroutine affichant la date toutes les secondes pendant 5 " "secondes ::" -#: library/asyncio-task.rst:320 +#: library/asyncio-task.rst:324 msgid "Running Tasks Concurrently" msgstr "Exécution de tâches de manière concurrente" -#: library/asyncio-task.rst:324 +#: library/asyncio-task.rst:328 msgid "" "Run :ref:`awaitable objects ` in the *aws* sequence " "*concurrently*." @@ -372,7 +379,7 @@ msgstr "" "Exécute les objets :ref:`awaitable ` de la séquence " "*aws*, *de manière concurrente*." -#: library/asyncio-task.rst:327 +#: library/asyncio-task.rst:331 msgid "" "If any awaitable in *aws* is a coroutine, it is automatically scheduled as a " "Task." @@ -380,7 +387,7 @@ msgstr "" "Si un *attendable* de *aws* est une coroutine, celui-ci est automatiquement " "planifié comme une tâche *Task*." -#: library/asyncio-task.rst:330 +#: library/asyncio-task.rst:334 msgid "" "If all awaitables are completed successfully, the result is an aggregate " "list of returned values. The order of result values corresponds to the " @@ -390,7 +397,7 @@ msgstr "" "des valeurs renvoyées. L'ordre de cette liste correspond à l'ordre des " "*awaitables* dans *aws*." -#: library/asyncio-task.rst:334 +#: library/asyncio-task.rst:338 msgid "" "If *return_exceptions* is ``False`` (default), the first raised exception is " "immediately propagated to the task that awaits on ``gather()``. Other " @@ -402,7 +409,7 @@ msgstr "" "``gather()``. Les autres *attendables* dans la séquence *aws* **ne sont pas " "annulés** et poursuivent leur exécution." -#: library/asyncio-task.rst:339 +#: library/asyncio-task.rst:343 msgid "" "If *return_exceptions* is ``True``, exceptions are treated the same as " "successful results, and aggregated in the result list." @@ -411,7 +418,7 @@ msgstr "" "même manière que les exécutions normales, et incluses dans la liste des " "résultats." -#: library/asyncio-task.rst:342 +#: library/asyncio-task.rst:346 msgid "" "If ``gather()`` is *cancelled*, all submitted awaitables (that have not " "completed yet) are also *cancelled*." @@ -419,7 +426,7 @@ msgstr "" "Si ``gather()`` est *annulé*, tous les *awaitables* en cours (ceux qui n'ont " "pas encore fini de s'exécuter) sont également *annulés*." -#: library/asyncio-task.rst:345 +#: library/asyncio-task.rst:349 msgid "" "If any Task or Future from the *aws* sequence is *cancelled*, it is treated " "as if it raised :exc:`CancelledError` -- the ``gather()`` call is **not** " @@ -432,7 +439,7 @@ msgstr "" "l'annulation d'une tâche ou d'un futur entraîne l'annulation des autres " "tâches ou futurs." -#: library/asyncio-task.rst:391 +#: library/asyncio-task.rst:398 msgid "" "If *return_exceptions* is False, cancelling gather() after it has been " "marked done won't cancel any submitted awaitables. For instance, gather can " @@ -441,7 +448,7 @@ msgid "" "the awaitables) from gather won't cancel any other awaitables." msgstr "" -#: library/asyncio-task.rst:398 +#: library/asyncio-task.rst:405 msgid "" "If the *gather* itself is cancelled, the cancellation is propagated " "regardless of *return_exceptions*." @@ -449,11 +456,11 @@ msgstr "" "Si *gather* est lui-même annulé, l'annulation est propagée indépendamment de " "*return_exceptions*." -#: library/asyncio-task.rst:404 +#: library/asyncio-task.rst:411 msgid "Shielding From Cancellation" msgstr "Protection contre l'annulation" -#: library/asyncio-task.rst:408 +#: library/asyncio-task.rst:415 msgid "" "Protect an :ref:`awaitable object ` from being :meth:" "`cancelled `." @@ -461,21 +468,21 @@ msgstr "" "Empêche qu'un objet :ref:`awaitable ` puisse être :meth:" "`annulé `." -#: library/asyncio-task.rst:451 +#: library/asyncio-task.rst:458 msgid "If *aw* is a coroutine it is automatically scheduled as a Task." msgstr "" "Si *aw* est une coroutine, elle est planifiée automatiquement comme une " "tâche." -#: library/asyncio-task.rst:413 +#: library/asyncio-task.rst:420 msgid "The statement::" msgstr "L'instruction ::" -#: library/asyncio-task.rst:417 +#: library/asyncio-task.rst:424 msgid "is equivalent to::" msgstr "est équivalente à ::" -#: library/asyncio-task.rst:421 +#: library/asyncio-task.rst:428 msgid "" "*except* that if the coroutine containing it is cancelled, the Task running " "in ``something()`` is not cancelled. From the point of view of " @@ -488,7 +495,7 @@ msgstr "" "``something()``, il n'y a pas eu d'annulation. Cependant, son appelant est " "bien annulé, donc l'expression *await* lève bien une :exc:`CancelledError`." -#: library/asyncio-task.rst:427 +#: library/asyncio-task.rst:434 msgid "" "If ``something()`` is cancelled by other means (i.e. from within itself) " "that would also cancel ``shield()``." @@ -496,7 +503,7 @@ msgstr "" "Si ``something()`` est annulée d'une autre façon (c.-à-d. depuis elle-même) " "ceci annule également ``shield()``." -#: library/asyncio-task.rst:430 +#: library/asyncio-task.rst:437 msgid "" "If it is desired to completely ignore cancellation (not recommended) the " "``shield()`` function should be combined with a try/except clause, as " @@ -506,11 +513,11 @@ msgstr "" "``shield()`` peut être combinée à une clause *try* / *except*, comme dans le " "code ci-dessous ::" -#: library/asyncio-task.rst:444 +#: library/asyncio-task.rst:451 msgid "Timeouts" msgstr "Délais d'attente" -#: library/asyncio-task.rst:448 +#: library/asyncio-task.rst:455 msgid "" "Wait for the *aw* :ref:`awaitable ` to complete with a " "timeout." @@ -518,7 +525,7 @@ msgstr "" "Attend la fin de l':ref:`awaitable ` *aw* avec délai " "d'attente." -#: library/asyncio-task.rst:453 +#: library/asyncio-task.rst:460 msgid "" "*timeout* can either be ``None`` or a float or int number of seconds to wait " "for. If *timeout* is ``None``, block until the future completes." @@ -527,7 +534,7 @@ msgstr "" "décimal) d'attente. Si *timeout* vaut ``None``, la fonction s'interrompt " "jusqu'à ce que le futur s'achève." -#: library/asyncio-task.rst:457 +#: library/asyncio-task.rst:464 msgid "" "If a timeout occurs, it cancels the task and raises :exc:`asyncio." "TimeoutError`." @@ -535,7 +542,7 @@ msgstr "" "Si le délai d'attente maximal est dépassé, la tâche est annulée et " "l'exception :exc:`asyncio.TimeoutError` est levée." -#: library/asyncio-task.rst:460 +#: library/asyncio-task.rst:467 msgid "" "To avoid the task :meth:`cancellation `, wrap it in :func:" "`shield`." @@ -543,7 +550,7 @@ msgstr "" "Pour empêcher :meth:`l'annulation ` de la tâche, il est " "nécessaire de l'encapsuler dans une fonction :func:`shield`." -#: library/asyncio-task.rst:463 +#: library/asyncio-task.rst:470 #, fuzzy msgid "" "The function will wait until the future is actually cancelled, so the total " @@ -553,11 +560,11 @@ msgstr "" "Cette fonction attend que le futur soit réellement annulé, donc le temps " "d'attente total peut être supérieur à *timeout*." -#: library/asyncio-task.rst:467 +#: library/asyncio-task.rst:474 msgid "If the wait is cancelled, the future *aw* is also cancelled." msgstr "Si l'attente est annulée, le futur *aw* est également annulé." -#: library/asyncio-task.rst:494 +#: library/asyncio-task.rst:501 msgid "" "When *aw* is cancelled due to a timeout, ``wait_for`` waits for *aw* to be " "cancelled. Previously, it raised :exc:`asyncio.TimeoutError` immediately." @@ -566,11 +573,11 @@ msgstr "" "``wait_for`` attend que *aw* soit annulée. Auparavant, l'exception :exc:" "`asyncio.TimeoutError` était immédiatement levée." -#: library/asyncio-task.rst:501 +#: library/asyncio-task.rst:508 msgid "Waiting Primitives" msgstr "Primitives d'attente" -#: library/asyncio-task.rst:506 +#: library/asyncio-task.rst:513 #, fuzzy msgid "" "Run :ref:`awaitable objects ` in the *aws* iterable " @@ -580,19 +587,19 @@ msgstr "" "*aws* de manière concurrente, et s'interrompt jusqu'à ce que la condition " "décrite dans *return_when* soit vraie." -#: library/asyncio-task.rst:510 +#: library/asyncio-task.rst:517 msgid "The *aws* iterable must not be empty." msgstr "" -#: library/asyncio-task.rst:512 +#: library/asyncio-task.rst:519 msgid "Returns two sets of Tasks/Futures: ``(done, pending)``." msgstr "Renvoie deux ensembles de *Tasks* / *Futures* : ``(done, pending)``." -#: library/asyncio-task.rst:514 +#: library/asyncio-task.rst:521 msgid "Usage::" msgstr "Utilisation ::" -#: library/asyncio-task.rst:518 +#: library/asyncio-task.rst:525 msgid "" "*timeout* (a float or int), if specified, can be used to control the maximum " "number of seconds to wait before returning." @@ -600,7 +607,7 @@ msgstr "" "*timeout* (entier ou décimal), si précisé, peut-être utilisé pour contrôler " "le nombre maximal de secondes d'attente avant de se terminer." -#: library/asyncio-task.rst:521 +#: library/asyncio-task.rst:528 msgid "" "Note that this function does not raise :exc:`asyncio.TimeoutError`. Futures " "or Tasks that aren't done when the timeout occurs are simply returned in the " @@ -610,7 +617,7 @@ msgstr "" "tâches qui ne sont pas finis quand le délai d'attente maximal est dépassé " "sont tout simplement renvoyés dans le second ensemble." -#: library/asyncio-task.rst:525 +#: library/asyncio-task.rst:532 msgid "" "*return_when* indicates when this function should return. It must be one of " "the following constants:" @@ -618,28 +625,28 @@ msgstr "" "*return_when* indique quand la fonction doit se terminer. Il peut prendre " "les valeurs suivantes :" -#: library/asyncio-task.rst:531 +#: library/asyncio-task.rst:538 msgid "Constant" msgstr "Constante" -#: library/asyncio-task.rst:531 +#: library/asyncio-task.rst:538 msgid "Description" msgstr "Description" -#: library/asyncio-task.rst:533 +#: library/asyncio-task.rst:540 msgid ":const:`FIRST_COMPLETED`" msgstr ":const:`FIRST_COMPLETED`" -#: library/asyncio-task.rst:533 +#: library/asyncio-task.rst:540 msgid "The function will return when any future finishes or is cancelled." msgstr "" "La fonction se termine lorsque n'importe quel futur se termine ou est annulé." -#: library/asyncio-task.rst:536 +#: library/asyncio-task.rst:543 msgid ":const:`FIRST_EXCEPTION`" msgstr ":const:`FIRST_EXCEPTION`" -#: library/asyncio-task.rst:536 +#: library/asyncio-task.rst:543 msgid "" "The function will return when any future finishes by raising an exception. " "If no future raises an exception then it is equivalent to :const:" @@ -649,16 +656,16 @@ msgstr "" "exception. Si aucun *futur* ne lève d'exception, équivaut à :const:" "`ALL_COMPLETED`." -#: library/asyncio-task.rst:542 +#: library/asyncio-task.rst:549 msgid ":const:`ALL_COMPLETED`" msgstr ":const:`ALL_COMPLETED`" -#: library/asyncio-task.rst:542 +#: library/asyncio-task.rst:549 msgid "The function will return when all futures finish or are cancelled." msgstr "" "La fonction se termine lorsque les *futurs* sont tous finis ou annulés." -#: library/asyncio-task.rst:546 +#: library/asyncio-task.rst:553 msgid "" "Unlike :func:`~asyncio.wait_for`, ``wait()`` does not cancel the futures " "when a timeout occurs." @@ -666,7 +673,7 @@ msgstr "" "À la différence de :func:`~asyncio.wait_for`, ``wait()`` n'annule pas les " "futurs quand le délai d'attente est dépassé." -#: library/asyncio-task.rst:551 +#: library/asyncio-task.rst:558 msgid "" "If any awaitable in *aws* is a coroutine, it is automatically scheduled as a " "Task. Passing coroutines objects to ``wait()`` directly is deprecated as it " @@ -677,7 +684,7 @@ msgstr "" "``wait()`` est obsolète, car ceci conduisait :ref:`à un comportement portant " "à confusion `." -#: library/asyncio-task.rst:563 +#: library/asyncio-task.rst:570 msgid "" "``wait()`` schedules coroutines as Tasks automatically and later returns " "those implicitly created Task objects in ``(done, pending)`` sets. " @@ -687,15 +694,15 @@ msgstr "" "renvoie les objets *Task* ainsi créés dans les ensembles ``(done, " "pending)``. Le code suivant ne fonctionne donc pas comme voulu ::" -#: library/asyncio-task.rst:576 +#: library/asyncio-task.rst:583 msgid "Here is how the above snippet can be fixed::" msgstr "Voici comment corriger le morceau de code ci-dessus ::" -#: library/asyncio-task.rst:589 +#: library/asyncio-task.rst:596 msgid "Passing coroutine objects to ``wait()`` directly is deprecated." msgstr "Passer directement des objets coroutines à ``wait()`` est obsolète." -#: library/asyncio-task.rst:595 +#: library/asyncio-task.rst:602 #, fuzzy msgid "" "Run :ref:`awaitable objects ` in the *aws* iterable " @@ -708,7 +715,7 @@ msgstr "" "`Future`. Chaque objet *futur* renvoyé représente le résultat le plus récent " "de l'ensemble des *awaitables* restants." -#: library/asyncio-task.rst:600 +#: library/asyncio-task.rst:607 msgid "" "Raises :exc:`asyncio.TimeoutError` if the timeout occurs before all Futures " "are done." @@ -716,15 +723,15 @@ msgstr "" "Lève une exception :exc:`asyncio.TimeoutError` si le délai d'attente est " "dépassé avant que tous les futurs ne soient achevés." -#: library/asyncio-task.rst:614 +#: library/asyncio-task.rst:621 msgid "Running in Threads" msgstr "" -#: library/asyncio-task.rst:618 +#: library/asyncio-task.rst:625 msgid "Asynchronously run function *func* in a separate thread." msgstr "" -#: library/asyncio-task.rst:620 +#: library/asyncio-task.rst:627 msgid "" "Any \\*args and \\*\\*kwargs supplied for this function are directly passed " "to *func*. Also, the current :class:`contextvars.Context` is propagated, " @@ -732,19 +739,19 @@ msgid "" "separate thread." msgstr "" -#: library/asyncio-task.rst:625 +#: library/asyncio-task.rst:632 msgid "" "Return a coroutine that can be awaited to get the eventual result of *func*." msgstr "" -#: library/asyncio-task.rst:627 +#: library/asyncio-task.rst:634 msgid "" "This coroutine function is primarily intended to be used for executing IO-" "bound functions/methods that would otherwise block the event loop if they " "were ran in the main thread. For example::" msgstr "" -#: library/asyncio-task.rst:657 +#: library/asyncio-task.rst:664 msgid "" "Directly calling `blocking_io()` in any coroutine would block the event loop " "for its duration, resulting in an additional 1 second of run time. Instead, " @@ -752,7 +759,7 @@ msgid "" "blocking the event loop." msgstr "" -#: library/asyncio-task.rst:664 +#: library/asyncio-task.rst:671 msgid "" "Due to the :term:`GIL`, `asyncio.to_thread()` can typically only be used to " "make IO-bound functions non-blocking. However, for extension modules that " @@ -760,18 +767,18 @@ msgid "" "`asyncio.to_thread()` can also be used for CPU-bound functions." msgstr "" -#: library/asyncio-task.rst:673 +#: library/asyncio-task.rst:680 msgid "Scheduling From Other Threads" msgstr "Planification depuis d'autres fils d'exécution" -#: library/asyncio-task.rst:677 +#: library/asyncio-task.rst:684 msgid "Submit a coroutine to the given event loop. Thread-safe." msgstr "" "Enregistre une coroutine dans la boucle d'exécution actuelle. Cette " "opération est compatible avec les programmes à multiples fils d'exécution " "(*thread-safe*)." -#: library/asyncio-task.rst:679 +#: library/asyncio-task.rst:686 msgid "" "Return a :class:`concurrent.futures.Future` to wait for the result from " "another OS thread." @@ -779,7 +786,7 @@ msgstr "" "Renvoie un :class:`concurrent.futures.Future` pour attendre le résultat d'un " "autre fil d'exécution du système d'exploitation." -#: library/asyncio-task.rst:682 +#: library/asyncio-task.rst:689 msgid "" "This function is meant to be called from a different OS thread than the one " "where the event loop is running. Example::" @@ -787,7 +794,7 @@ msgstr "" "Cette fonction est faite pour être appelée par un fil d'exécution distinct " "de celui dans laquelle la boucle d'événement s'exécute. Exemple ::" -#: library/asyncio-task.rst:694 +#: library/asyncio-task.rst:701 msgid "" "If an exception is raised in the coroutine, the returned Future will be " "notified. It can also be used to cancel the task in the event loop::" @@ -796,7 +803,7 @@ msgstr "" "averti. Elle peut également être utilisée pour annuler la tâche de la boucle " "d'événement ::" -#: library/asyncio-task.rst:708 +#: library/asyncio-task.rst:715 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." @@ -804,7 +811,7 @@ msgstr "" "Voir la section :ref:`exécution concurrente et multi-fils d'exécution " "` de la documentation." -#: library/asyncio-task.rst:711 +#: library/asyncio-task.rst:718 msgid "" "Unlike other asyncio functions this function requires the *loop* argument to " "be passed explicitly." @@ -812,11 +819,11 @@ msgstr "" "À la différence des autres fonctions d'*asyncio*, cette fonction requiert " "que *loop* soit passé de manière explicite." -#: library/asyncio-task.rst:718 +#: library/asyncio-task.rst:725 msgid "Introspection" msgstr "Introspection" -#: library/asyncio-task.rst:723 +#: library/asyncio-task.rst:730 msgid "" "Return the currently running :class:`Task` instance, or ``None`` if no task " "is running." @@ -824,7 +831,7 @@ msgstr "" "Renvoie l'instance de la :class:`Task` en cours d'exécution, ou ``None`` " "s'il n'y a pas de tâche en cours." -#: library/asyncio-task.rst:726 +#: library/asyncio-task.rst:733 msgid "" "If *loop* is ``None`` :func:`get_running_loop` is used to get the current " "loop." @@ -832,13 +839,13 @@ msgstr "" "Si *loop* vaut ``None``, :func:`get_running_loop` est appelée pour récupérer " "la boucle en cours d'exécution." -#: library/asyncio-task.rst:734 +#: library/asyncio-task.rst:741 msgid "Return a set of not yet finished :class:`Task` objects run by the loop." msgstr "" "Renvoie l'ensemble des :class:`Task` non terminés en cours d'exécution dans " "la boucle." -#: library/asyncio-task.rst:737 +#: library/asyncio-task.rst:744 msgid "" "If *loop* is ``None``, :func:`get_running_loop` is used for getting current " "loop." @@ -846,11 +853,11 @@ msgstr "" "Si *loop* vaut ``None``, :func:`get_running_loop` est appelée pour récupérer " "la boucle en cours d'exécution." -#: library/asyncio-task.rst:744 +#: library/asyncio-task.rst:751 msgid "Task Object" msgstr "Objets *Task*" -#: library/asyncio-task.rst:748 +#: library/asyncio-task.rst:755 msgid "" "A :class:`Future-like ` object that runs a Python :ref:`coroutine " "`. Not thread-safe." @@ -859,7 +866,7 @@ msgstr "" "`coroutine ` Python. Cet objet n'est pas utilisable dans des " "programmes à fils d'exécution multiples." -#: library/asyncio-task.rst:751 +#: library/asyncio-task.rst:758 msgid "" "Tasks are used to run coroutines in event loops. If a coroutine awaits on a " "Future, the Task suspends the execution of the coroutine and waits for the " @@ -871,7 +878,7 @@ msgstr "" "attend la fin de ce *futur*. Quand celui-ci est terminé, l'exécution de la " "coroutine encapsulée reprend." -#: library/asyncio-task.rst:757 +#: library/asyncio-task.rst:764 msgid "" "Event loops use cooperative scheduling: an event loop runs one Task at a " "time. While a Task awaits for the completion of a Future, the event loop " @@ -882,7 +889,7 @@ msgstr "" "futur, la boucle d'événement exécute d'autres tâches, des fonctions de " "rappel, ou effectue des opérations d'entrées-sorties." -#: library/asyncio-task.rst:762 +#: library/asyncio-task.rst:769 msgid "" "Use the high-level :func:`asyncio.create_task` function to create Tasks, or " "the low-level :meth:`loop.create_task` or :func:`ensure_future` functions. " @@ -893,7 +900,7 @@ msgstr "" "créer des tâches. Il est déconseillé d'instancier manuellement des objets " "*Task*." -#: library/asyncio-task.rst:767 +#: library/asyncio-task.rst:774 msgid "" "To cancel a running Task use the :meth:`cancel` method. Calling it will " "cause the Task to throw a :exc:`CancelledError` exception into the wrapped " @@ -905,7 +912,7 @@ msgstr "" "`CancelledError` dans la coroutine encapsulée. Si la coroutine attendait un " "*futur* au moment de l'annulation, celui-ci est annulé." -#: library/asyncio-task.rst:772 +#: library/asyncio-task.rst:779 msgid "" ":meth:`cancelled` can be used to check if the Task was cancelled. The method " "returns ``True`` if the wrapped coroutine did not suppress the :exc:" @@ -915,7 +922,7 @@ msgstr "" "Elle renvoie ``True`` si la coroutine encapsulée n'a pas ignoré l'exception :" "exc:`CancelledError` et a bien été annulée." -#: library/asyncio-task.rst:777 +#: library/asyncio-task.rst:784 msgid "" ":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except :" "meth:`Future.set_result` and :meth:`Future.set_exception`." @@ -923,7 +930,7 @@ msgstr "" ":class:`asyncio.Task` hérite de :class:`Future`, de toute son API, à " "l'exception de :meth:`Future.set_result` et de :meth:`Future.set_exception`." -#: library/asyncio-task.rst:781 +#: library/asyncio-task.rst:788 msgid "" "Tasks support the :mod:`contextvars` module. When a Task is created it " "copies the current context and later runs its coroutine in the copied " @@ -933,15 +940,15 @@ msgstr "" "tâche effectue une copie du contexte actuel et exécutera ses coroutines dans " "cette copie." -#: library/asyncio-task.rst:785 +#: library/asyncio-task.rst:792 msgid "Added support for the :mod:`contextvars` module." msgstr "Ajout du support du module :mod:`contextvars`." -#: library/asyncio-task.rst:796 +#: library/asyncio-task.rst:803 msgid "Request the Task to be cancelled." msgstr "Demande l'annulation d'une tâche." -#: library/asyncio-task.rst:798 +#: library/asyncio-task.rst:805 msgid "" "This arranges for a :exc:`CancelledError` exception to be thrown into the " "wrapped coroutine on the next cycle of the event loop." @@ -950,7 +957,7 @@ msgstr "" "encapsulée. L'exception sera levée au prochain cycle de la boucle " "d'exécution." -#: library/asyncio-task.rst:801 +#: library/asyncio-task.rst:808 msgid "" "The coroutine then has a chance to clean up or even deny the request by " "suppressing the exception with a :keyword:`try` ... ... ``except " @@ -966,11 +973,11 @@ msgstr "" "annulée, bien qu'ignorer totalement une annulation ne soit ni une pratique " "courante, ni encouragé." -#: library/asyncio-task.rst:809 +#: library/asyncio-task.rst:816 msgid "Added the ``msg`` parameter." msgstr "" -#: library/asyncio-task.rst:814 +#: library/asyncio-task.rst:821 msgid "" "The following example illustrates how coroutines can intercept the " "cancellation request::" @@ -978,11 +985,11 @@ msgstr "" "L'exemple ci-dessous illustre comment une coroutine peut intercepter une " "requête d'annulation ::" -#: library/asyncio-task.rst:853 +#: library/asyncio-task.rst:860 msgid "Return ``True`` if the Task is *cancelled*." msgstr "Renvoie ``True`` si la tâche est *annulée*." -#: library/asyncio-task.rst:855 +#: library/asyncio-task.rst:862 msgid "" "The Task is *cancelled* when the cancellation was requested with :meth:" "`cancel` and the wrapped coroutine propagated the :exc:`CancelledError` " @@ -992,11 +999,11 @@ msgstr "" "et la coroutine encapsulée a propagé l'exception :exc:`CancelledError` qui a " "été levée en son sein." -#: library/asyncio-task.rst:861 +#: library/asyncio-task.rst:868 msgid "Return ``True`` if the Task is *done*." msgstr "Renvoie ``True`` si la tâche est *achevée*." -#: library/asyncio-task.rst:863 +#: library/asyncio-task.rst:870 msgid "" "A Task is *done* when the wrapped coroutine either returned a value, raised " "an exception, or the Task was cancelled." @@ -1004,11 +1011,11 @@ msgstr "" "Une tâche est dite *achevée* quand la coroutine encapsulée a soit renvoyé " "une valeur, soit levé une exception, ou que la tâche a été annulée." -#: library/asyncio-task.rst:868 +#: library/asyncio-task.rst:875 msgid "Return the result of the Task." msgstr "Renvoie le résultat de la tâche." -#: library/asyncio-task.rst:870 +#: library/asyncio-task.rst:877 msgid "" "If the Task is *done*, the result of the wrapped coroutine is returned (or " "if the coroutine raised an exception, that exception is re-raised.)" @@ -1017,7 +1024,7 @@ msgstr "" "renvoyé (sinon, dans le cas où la coroutine a levé une exception, cette " "exception est de nouveau levée)." -#: library/asyncio-task.rst:888 +#: library/asyncio-task.rst:895 msgid "" "If the Task has been *cancelled*, this method raises a :exc:`CancelledError` " "exception." @@ -1025,7 +1032,7 @@ msgstr "" "Si la tâche a été *annulée*, cette méthode lève une exception :exc:" "`CancelledError`." -#: library/asyncio-task.rst:877 +#: library/asyncio-task.rst:884 msgid "" "If the Task's result isn't yet available, this method raises a :exc:" "`InvalidStateError` exception." @@ -1033,11 +1040,11 @@ msgstr "" "Si le résultat de la tâche n'est pas encore disponible, cette méthode lève " "une exception :exc:`InvalidStateError`." -#: library/asyncio-task.rst:882 +#: library/asyncio-task.rst:889 msgid "Return the exception of the Task." msgstr "Renvoie l'exception de la tâche." -#: library/asyncio-task.rst:884 +#: library/asyncio-task.rst:891 msgid "" "If the wrapped coroutine raised an exception that exception is returned. If " "the wrapped coroutine returned normally this method returns ``None``." @@ -1045,7 +1052,7 @@ msgstr "" "Si la coroutine encapsulée lève une exception, cette exception est renvoyée. " "Si la coroutine s'est exécutée normalement, cette méthode renvoie ``None``." -#: library/asyncio-task.rst:891 +#: library/asyncio-task.rst:898 msgid "" "If the Task isn't *done* yet, this method raises an :exc:`InvalidStateError` " "exception." @@ -1053,30 +1060,30 @@ msgstr "" "Si la tâche n'est pas encore *achevée*, cette méthode lève une exception :" "exc:`InvalidStateError`." -#: library/asyncio-task.rst:896 +#: library/asyncio-task.rst:903 msgid "Add a callback to be run when the Task is *done*." msgstr "" "Ajoute une fonction de rappel qui sera exécutée quand la tâche sera " "*achevée*." -#: library/asyncio-task.rst:907 +#: library/asyncio-task.rst:914 msgid "This method should only be used in low-level callback-based code." msgstr "" "Cette méthode ne doit être utilisée que dans du code basé sur les fonctions " "de rappel de bas-niveau." -#: library/asyncio-task.rst:900 +#: library/asyncio-task.rst:907 msgid "" "See the documentation of :meth:`Future.add_done_callback` for more details." msgstr "" "Se référer à la documentation de :meth:`Future.add_done_callback` pour plus " "de détails." -#: library/asyncio-task.rst:905 +#: library/asyncio-task.rst:912 msgid "Remove *callback* from the callbacks list." msgstr "Retire *callback* de la liste de fonctions de rappel." -#: library/asyncio-task.rst:909 +#: library/asyncio-task.rst:916 msgid "" "See the documentation of :meth:`Future.remove_done_callback` for more " "details." @@ -1084,11 +1091,11 @@ msgstr "" "Se référer à la documentation de :meth:`Future.remove_done_callback` pour " "plus de détails." -#: library/asyncio-task.rst:914 +#: library/asyncio-task.rst:921 msgid "Return the list of stack frames for this Task." msgstr "Renvoie une liste représentant la pile d'appels de la tâche." -#: library/asyncio-task.rst:916 +#: library/asyncio-task.rst:923 msgid "" "If the wrapped coroutine is not done, this returns the stack where it is " "suspended. If the coroutine has completed successfully or was cancelled, " @@ -1101,15 +1108,15 @@ msgstr "" "renvoie une liste vide. Si la coroutine a été terminée par une exception, " "ceci renvoie la pile d'erreurs." -#: library/asyncio-task.rst:922 +#: library/asyncio-task.rst:929 msgid "The frames are always ordered from oldest to newest." msgstr "La pile est toujours affichée de l'appelant à l'appelé." -#: library/asyncio-task.rst:924 +#: library/asyncio-task.rst:931 msgid "Only one stack frame is returned for a suspended coroutine." msgstr "Une seule ligne est renvoyée si la coroutine est suspendue." -#: library/asyncio-task.rst:926 +#: library/asyncio-task.rst:933 msgid "" "The optional *limit* argument sets the maximum number of frames to return; " "by default all available frames are returned. The ordering of the returned " @@ -1123,11 +1130,11 @@ msgstr "" "renvoyés, si la pile est une pile d'erreurs, ce sont les appels les plus " "anciens qui le sont (dans un souci de cohérence avec le module *traceback*)." -#: library/asyncio-task.rst:935 +#: library/asyncio-task.rst:942 msgid "Print the stack or traceback for this Task." msgstr "Affiche la pile d'appels ou d'erreurs de la tâche." -#: library/asyncio-task.rst:937 +#: library/asyncio-task.rst:944 msgid "" "This produces output similar to that of the traceback module for the frames " "retrieved by :meth:`get_stack`." @@ -1135,11 +1142,11 @@ msgstr "" "Le format de sortie des appels produits par :meth:`get_stack` est similaire " "à celui du module *traceback*." -#: library/asyncio-task.rst:940 +#: library/asyncio-task.rst:947 msgid "The *limit* argument is passed to :meth:`get_stack` directly." msgstr "Le paramètre *limit* est directement passé à :meth:`get_stack`." -#: library/asyncio-task.rst:942 +#: library/asyncio-task.rst:949 msgid "" "The *file* argument is an I/O stream to which the output is written; by " "default output is written to :data:`sys.stderr`." @@ -1147,15 +1154,15 @@ msgstr "" "Le paramètre *file* est un flux d'entrées-sorties sur lequel le résultat est " "écrit ; par défaut, :data:`sys.stderr`." -#: library/asyncio-task.rst:947 +#: library/asyncio-task.rst:954 msgid "Return the coroutine object wrapped by the :class:`Task`." msgstr "Renvoie l’objet *coroutine* encapsulé par la :class:`Task`." -#: library/asyncio-task.rst:953 +#: library/asyncio-task.rst:960 msgid "Return the name of the Task." msgstr "Renvoie le nom de la tâche." -#: library/asyncio-task.rst:955 +#: library/asyncio-task.rst:962 msgid "" "If no name has been explicitly assigned to the Task, the default asyncio " "Task implementation generates a default name during instantiation." @@ -1164,18 +1171,18 @@ msgstr "" "défaut d’une *Task* *asyncio* génère un nom par défaut durant " "l’instanciation." -#: library/asyncio-task.rst:963 +#: library/asyncio-task.rst:970 msgid "Set the name of the Task." msgstr "Définit le nom de la tâche." -#: library/asyncio-task.rst:965 +#: library/asyncio-task.rst:972 msgid "" "The *value* argument can be any object, which is then converted to a string." msgstr "" "L’argument *value* peut être n’importe quel objet qui sera ensuite converti " "en chaine de caractères." -#: library/asyncio-task.rst:968 +#: library/asyncio-task.rst:975 msgid "" "In the default Task implementation, the name will be visible in the :func:" "`repr` output of a task object." @@ -1183,11 +1190,11 @@ msgstr "" "Dans l’implémentation par défaut de *Task*, le nom sera visible dans le " "résultat de :func:`repr` d’un objet *Task*." -#: library/asyncio-task.rst:977 +#: library/asyncio-task.rst:984 msgid "Generator-based Coroutines" msgstr "Coroutines basées sur des générateurs" -#: library/asyncio-task.rst:981 +#: library/asyncio-task.rst:988 msgid "" "Support for generator-based coroutines is **deprecated** and is scheduled " "for removal in Python 3.10." @@ -1195,7 +1202,7 @@ msgstr "" "Les coroutines basées sur des générateurs sont **obsolètes** et il est prévu " "de les supprimer en Python 3.10." -#: library/asyncio-task.rst:984 +#: library/asyncio-task.rst:991 msgid "" "Generator-based coroutines predate async/await syntax. They are Python " "generators that use ``yield from`` expressions to await on Futures and other " @@ -1205,7 +1212,7 @@ msgstr "" "*async* / *await*. Il existe des générateurs *Python* qui utilisent les " "expressions ``yield from`` pour attendre des *futurs* et autres coroutines." -#: library/asyncio-task.rst:988 +#: library/asyncio-task.rst:995 msgid "" "Generator-based coroutines should be decorated with :func:`@asyncio." "coroutine `, although this is not enforced." @@ -1214,11 +1221,11 @@ msgstr "" "`@asyncio.coroutine `, même si ce n'est pas vérifié par " "l'interpréteur." -#: library/asyncio-task.rst:995 +#: library/asyncio-task.rst:1002 msgid "Decorator to mark generator-based coroutines." msgstr "Décorateur pour coroutines basées sur des générateurs." -#: library/asyncio-task.rst:997 +#: library/asyncio-task.rst:1004 msgid "" "This decorator enables legacy generator-based coroutines to be compatible " "with async/await code::" @@ -1226,22 +1233,22 @@ msgstr "" "Ce décorateur rend compatibles les coroutines basées sur des générateurs " "avec le code *async* / *await* ::" -#: library/asyncio-task.rst:1007 +#: library/asyncio-task.rst:1014 msgid "This decorator should not be used for :keyword:`async def` coroutines." msgstr "" "Ce décorateur ne doit pas être utilisé avec des coroutines :keyword:`async " "def`." # pas de majuscule car suit un deux-points -#: library/asyncio-task.rst:1012 +#: library/asyncio-task.rst:1019 msgid "Use :keyword:`async def` instead." msgstr "utilisez :keyword:`async def` à la place." -#: library/asyncio-task.rst:1016 +#: library/asyncio-task.rst:1023 msgid "Return ``True`` if *obj* is a :ref:`coroutine object `." msgstr "Renvoie ``True`` si *obj* est un :ref:`objet coroutine `." -#: library/asyncio-task.rst:1018 +#: library/asyncio-task.rst:1025 msgid "" "This method is different from :func:`inspect.iscoroutine` because it returns " "``True`` for generator-based coroutines." @@ -1249,12 +1256,12 @@ msgstr "" "Cette méthode est différente de :func:`inspect.iscoroutine` car elle renvoie " "``True`` pour des coroutines basées sur des générateurs." -#: library/asyncio-task.rst:1023 +#: library/asyncio-task.rst:1030 msgid "Return ``True`` if *func* is a :ref:`coroutine function `." msgstr "" "Renvoie ``True`` si *func* est une :ref:`fonction coroutine `." -#: library/asyncio-task.rst:1026 +#: library/asyncio-task.rst:1033 msgid "" "This method is different from :func:`inspect.iscoroutinefunction` because it " "returns ``True`` for generator-based coroutine functions decorated with :" diff --git a/library/audit_events.po b/library/audit_events.po index 489147ee..e9f46a14 100644 --- a/library/audit_events.po +++ b/library/audit_events.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-17 16:05+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-03-03 21:32+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -20,10 +20,11 @@ msgid "Audit events table" msgstr "Table des évènements d'audit" #: library/audit_events.rst:8 +#, fuzzy msgid "" "This table contains all events raised by :func:`sys.audit` or :c:func:" "`PySys_Audit` calls throughout the CPython runtime and the standard " -"library. These calls were added in 3.8.0 or later." +"library. These calls were added in 3.8.0 or later (see :pep:`578`)." msgstr "" "Cette table contient tous les évènements levés par les appels de :func:`sys." "audit` ou :c:func:`PySys_Audit` durant l'exécution de CPython et de la " diff --git a/library/cgi.po b/library/cgi.po index 03d97274..ac84ad37 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 17:33+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -369,7 +369,7 @@ msgstr "" #: library/cgi.rst:318 msgid "" "Robust test CGI script, usable as main program. Writes minimal HTTP headers " -"and formats all information provided to the script in HTML form." +"and formats all information provided to the script in HTML format." msgstr "" #: library/cgi.rst:324 @@ -394,13 +394,13 @@ msgstr "" #: library/cgi.rst:349 msgid "" -"There's one important rule: if you invoke an external program (via the :func:" -"`os.system` or :func:`os.popen` functions. or others with similar " -"functionality), make very sure you don't pass arbitrary strings received " -"from the client to the shell. This is a well-known security hole whereby " -"clever hackers anywhere on the Web can exploit a gullible CGI script to " -"invoke arbitrary shell commands. Even parts of the URL or field names " -"cannot be trusted, since the request doesn't have to come from your form!" +"There's one important rule: if you invoke an external program (via :func:`os." +"system`, :func:`os.popen` or other functions with similar functionality), " +"make very sure you don't pass arbitrary strings received from the client to " +"the shell. This is a well-known security hole whereby clever hackers " +"anywhere on the Web can exploit a gullible CGI script to invoke arbitrary " +"shell commands. Even parts of the URL or field names cannot be trusted, " +"since the request doesn't have to come from your form!" msgstr "" #: library/cgi.rst:357 @@ -497,8 +497,8 @@ msgid "" "If you wonder whether you have understood the installation procedure " "correctly, try installing a copy of this module file (:file:`cgi.py`) as a " "CGI script. When invoked as a script, the file will dump its environment " -"and the contents of the form in HTML form. Give it the right mode etc, and " -"send it a request. If it's installed in the standard :file:`cgi-bin` " +"and the contents of the form in HTML format. Give it the right mode etc., " +"and send it a request. If it's installed in the standard :file:`cgi-bin` " "directory, it should be possible to send it a request by entering a URL into " "your browser of the form:" msgstr "" diff --git a/library/codecs.po b/library/codecs.po index 2e38ecfb..ea22b15a 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-27 19:26+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-10-15 09:15+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -252,11 +252,13 @@ msgstr "" "de recherche de codecs adaptée :" #: library/codecs.rst:161 +#, fuzzy msgid "" "Register a codec search function. Search functions are expected to take one " -"argument, being the encoding name in all lower case letters, and return a :" -"class:`CodecInfo` object. In case a search function cannot find a given " -"encoding, it should return ``None``." +"argument, being the encoding name in all lower case letters with hyphens and " +"spaces converted to underscores, and return a :class:`CodecInfo` object. In " +"case a search function cannot find a given encoding, it should return " +"``None``." msgstr "" "Enregistre une fonction de recherche de codec. Il convient qu'une fonction " "de recherche prenne un argument, le nom de l'encodage écrit en lettres " @@ -264,8 +266,12 @@ msgstr "" "recherche ne trouve pas un encodage donné, il convient qu'elle renvoie `` " "None``." +#: library/codecs.rst:167 +msgid "Hyphens and spaces are converted to underscore." +msgstr "" + # Pas de majuscule en début car suit un deux-points. -#: library/codecs.rst:168 +#: library/codecs.rst:172 msgid "" "Search function registration is not currently reversible, which may cause " "problems in some cases, such as unit testing or module reloading." @@ -274,7 +280,7 @@ msgstr "" "réversible, ce qui peut entraîner des problèmes dans certains cas, par " "exemple pour les tests unitaires ou le rechargement de module." -#: library/codecs.rst:172 +#: library/codecs.rst:176 msgid "" "While the builtin :func:`open` and the associated :mod:`io` module are the " "recommended approach for working with encoded text files, this module " @@ -287,7 +293,7 @@ msgstr "" "qui permettent l'utilisation d'une plus large gamme de codecs si vous " "travaillez avec des fichiers binaires :" -#: library/codecs.rst:179 +#: library/codecs.rst:183 msgid "" "Open an encoded file using the given *mode* and return an instance of :class:" "`StreamReaderWriter`, providing transparent encoding/decoding. The default " @@ -299,7 +305,7 @@ msgstr "" "est ouvert en lecture." # Pas de majuscule en début car suit un deux-points. -#: library/codecs.rst:185 +#: library/codecs.rst:189 msgid "" "Underlying encoded files are always opened in binary mode. No automatic " "conversion of ``'\\n'`` is done on reading and writing. The *mode* argument " @@ -312,7 +318,7 @@ msgstr "" "acceptable pour la fonction native :func:`open` ; le ``'b'`` est " "automatiquement ajouté." -#: library/codecs.rst:190 +#: library/codecs.rst:194 msgid "" "*encoding* specifies the encoding which is to be used for the file. Any " "encoding that encodes to and decodes from bytes is allowed, and the data " @@ -323,7 +329,7 @@ msgstr "" "données pris en charge par les méthodes relatives aux fichiers dépendent du " "codec utilisé." -#: library/codecs.rst:194 +#: library/codecs.rst:198 msgid "" "*errors* may be given to define the error handling. It defaults to " "``'strict'`` which causes a :exc:`ValueError` to be raised in case an " @@ -333,7 +339,7 @@ msgstr "" "par défaut est ``'strict'``, ce qui lève une :exc:`ValueError` en cas " "d'erreur lors du codage." -#: library/codecs.rst:197 +#: library/codecs.rst:201 msgid "" "*buffering* has the same meaning as for the built-in :func:`open` function. " "It defaults to -1 which means that the default buffer size will be used." @@ -342,7 +348,7 @@ msgstr "" "`open`. Il vaut `-1` par défaut, ce qui signifie que la taille par défaut du " "tampon est utilisée." -#: library/codecs.rst:203 +#: library/codecs.rst:207 msgid "" "Return a :class:`StreamRecoder` instance, a wrapped version of *file* which " "provides transparent transcoding. The original file is closed when the " @@ -352,7 +358,7 @@ msgstr "" "qui fournit un transcodage transparent. Le fichier original est fermé quand " "la version encapsulée est fermée." -#: library/codecs.rst:207 +#: library/codecs.rst:211 msgid "" "Data written to the wrapped file is decoded according to the given " "*data_encoding* and then written to the original file as bytes using " @@ -365,13 +371,13 @@ msgstr "" "original sont décodés conformément à *file_encoding* et le résultat est " "encodé en utilisant *data_encoding*." -#: library/codecs.rst:213 +#: library/codecs.rst:217 msgid "If *file_encoding* is not given, it defaults to *data_encoding*." msgstr "" "Si *file_encoding* n'est pas spécifié, la valeur par défaut est " "*data_encoding*." -#: library/codecs.rst:215 +#: library/codecs.rst:219 msgid "" "*errors* may be given to define the error handling. It defaults to " "``'strict'``, which causes :exc:`ValueError` to be raised in case an " @@ -381,7 +387,7 @@ msgstr "" "par défaut est ``'strict'``, ce qui lève une :exc:`ValueError` en cas " "d'erreur lors du codage." -#: library/codecs.rst:222 +#: library/codecs.rst:226 msgid "" "Uses an incremental encoder to iteratively encode the input provided by " "*iterator*. This function is a :term:`generator`. The *errors* argument (as " @@ -393,7 +399,7 @@ msgstr "" "`. L'argument *errors* (ainsi que tout autre argument passé par " "son nom) est transmis à l'encodeur incrémental." -#: library/codecs.rst:227 +#: library/codecs.rst:231 msgid "" "This function requires that the codec accept text :class:`str` objects to " "encode. Therefore it does not support bytes-to-bytes encoders such as " @@ -403,7 +409,7 @@ msgstr "" "class:`str`) en entrée. Par conséquent, il ne prend pas en charge les " "encodeurs *bytes* vers *bytes* tels que ``base64_codec``." -#: library/codecs.rst:234 +#: library/codecs.rst:238 msgid "" "Uses an incremental decoder to iteratively decode the input provided by " "*iterator*. This function is a :term:`generator`. The *errors* argument (as " @@ -415,7 +421,7 @@ msgstr "" "*errors* (ainsi que tout autre argument passé par son nom) est transmis au " "décodeur incrémental." -#: library/codecs.rst:239 +#: library/codecs.rst:243 msgid "" "This function requires that the codec accept :class:`bytes` objects to " "decode. Therefore it does not support text-to-text encoders such as " @@ -427,7 +433,7 @@ msgstr "" "vers texte tels que ``rot_13``, bien que ``rot_13`` puisse être utilisé de " "manière équivalente avec :func:`iterencode`." -#: library/codecs.rst:245 +#: library/codecs.rst:249 msgid "" "The module also provides the following constants which are useful for " "reading and writing to platform dependent files:" @@ -435,7 +441,7 @@ msgstr "" "Le module fournit également les constantes suivantes qui sont utiles pour " "lire et écrire les fichiers dépendants de la plateforme :" -#: library/codecs.rst:260 +#: library/codecs.rst:264 msgid "" "These constants define various byte sequences, being Unicode byte order " "marks (BOMs) for several encodings. They are used in UTF-16 and UTF-32 data " @@ -456,11 +462,11 @@ msgstr "" "et :const:`BOM_BE` pour :const:`BOM_UTF16_BE`. Les autres sont les marques " "BOM dans les encodages UTF-8 et UTF-32." -#: library/codecs.rst:274 +#: library/codecs.rst:278 msgid "Codec Base Classes" msgstr "Classes de base de codecs" -#: library/codecs.rst:276 +#: library/codecs.rst:280 msgid "" "The :mod:`codecs` module defines a set of base classes which define the " "interfaces for working with codec objects, and can also be used as the basis " @@ -471,7 +477,7 @@ msgstr "" "peuvent également être utilisées comme base pour des implémentations de " "codecs personnalisés." -#: library/codecs.rst:280 +#: library/codecs.rst:284 msgid "" "Each codec has to define four interfaces to make it usable as codec in " "Python: stateless encoder, stateless decoder, stream reader and stream " @@ -486,11 +492,11 @@ msgstr "" "Les auteurs de codecs doivent également définir comment le codec gère les " "erreurs d'encodage et de décodage." -#: library/codecs.rst:291 +#: library/codecs.rst:295 msgid "Error Handlers" msgstr "Gestionnaires d'erreurs" -#: library/codecs.rst:293 +#: library/codecs.rst:297 msgid "" "To simplify and standardize error handling, codecs may implement different " "error handling schemes by accepting the *errors* string argument. The " @@ -503,19 +509,19 @@ msgstr "" "les gestionnaires correspondants implémentés par tous les codecs Python " "standards :" -#: library/codecs.rst:324 library/codecs.rst:357 +#: library/codecs.rst:328 library/codecs.rst:361 msgid "Value" msgstr "Valeur" -#: library/codecs.rst:324 library/codecs.rst:1269 library/codecs.rst:1391 +#: library/codecs.rst:328 library/codecs.rst:1273 library/codecs.rst:1395 msgid "Meaning" msgstr "Signification" -#: library/codecs.rst:303 +#: library/codecs.rst:307 msgid "``'strict'``" msgstr "``'strict'``" -#: library/codecs.rst:303 +#: library/codecs.rst:307 msgid "" "Raise :exc:`UnicodeError` (or a subclass); this is the default. Implemented " "in :func:`strict_errors`." @@ -523,11 +529,11 @@ msgstr "" "Lève :exc:`UnicodeError` (ou une sous-classe) ; c'est la valeur par défaut. " "Implémenté dans :func:`strict_errors`." -#: library/codecs.rst:307 +#: library/codecs.rst:311 msgid "``'ignore'``" msgstr "``'ignore'``" -#: library/codecs.rst:307 +#: library/codecs.rst:311 msgid "" "Ignore the malformed data and continue without further notice. Implemented " "in :func:`ignore_errors`." @@ -535,7 +541,7 @@ msgstr "" "Ignore les données incorrectement formatées et continue sans rien signaler. " "Implémenté dans :func:`ignore_errors`." -#: library/codecs.rst:312 +#: library/codecs.rst:316 msgid "" "The following error handlers are only applicable to :term:`text encodings " "`:" @@ -543,11 +549,11 @@ msgstr "" "Les gestionnaires d'erreurs suivants ne s'appliquent que pour les :term:" "`encodeurs de texte ` :" -#: library/codecs.rst:326 +#: library/codecs.rst:330 msgid "``'replace'``" msgstr "``'replace'``" -#: library/codecs.rst:326 +#: library/codecs.rst:330 msgid "" "Replace with a suitable replacement marker; Python will use the official ``U" "+FFFD`` REPLACEMENT CHARACTER for the built-in codecs on decoding, and '?' " @@ -557,11 +563,11 @@ msgstr "" "caractère de substitution officiel ``U+FFFD`` pour les codecs natifs lors du " "décodage et `'?'` lors de l'encodage. Implémenté dans :func:`replace_errors`." -#: library/codecs.rst:333 +#: library/codecs.rst:337 msgid "``'xmlcharrefreplace'``" msgstr "``'xmlcharrefreplace'``" -#: library/codecs.rst:333 +#: library/codecs.rst:337 msgid "" "Replace with the appropriate XML character reference (only for encoding). " "Implemented in :func:`xmlcharrefreplace_errors`." @@ -569,11 +575,11 @@ msgstr "" "Remplace avec la référence de caractère XML adaptée (uniquement pour " "l'encodage). Implémenté dans :func:`xmlcharrefreplace_errors`." -#: library/codecs.rst:337 +#: library/codecs.rst:341 msgid "``'backslashreplace'``" msgstr "``'backslashreplace'``" -#: library/codecs.rst:337 +#: library/codecs.rst:341 msgid "" "Replace with backslashed escape sequences. Implemented in :func:" "`backslashreplace_errors`." @@ -581,11 +587,11 @@ msgstr "" "Remplace avec une séquence échappée par des antislashs. Implémenté dans :" "func:`backslashreplace_errors`." -#: library/codecs.rst:341 +#: library/codecs.rst:345 msgid "``'namereplace'``" msgstr "``'namereplace'``" -#: library/codecs.rst:341 +#: library/codecs.rst:345 msgid "" "Replace with ``\\N{...}`` escape sequences (only for encoding). Implemented " "in :func:`namereplace_errors`." @@ -593,11 +599,11 @@ msgstr "" "Remplace avec des séquences échappées par ``\\N{...}`` (uniquement pour " "l'encodage). Implémenté dans :func:`namereplace_errors`." -#: library/codecs.rst:345 +#: library/codecs.rst:349 msgid "``'surrogateescape'``" msgstr "``'surrogateescape'``" -#: library/codecs.rst:345 +#: library/codecs.rst:349 msgid "" "On decoding, replace byte with individual surrogate code ranging from ``U" "+DC80`` to ``U+DCFF``. This code will then be turned back into the same byte " @@ -609,26 +615,26 @@ msgstr "" "départ quand le gestionnaire d'erreurs ``'surrogateescape'`` est utilisé " "pour l'encodage des données (voir la :pep:`383` pour plus de détails)." -#: library/codecs.rst:354 +#: library/codecs.rst:358 msgid "" "In addition, the following error handler is specific to the given codecs:" msgstr "" "En plus, le gestionnaire d'erreurs suivant est spécifique aux codecs " "suivants :" -#: library/codecs.rst:357 +#: library/codecs.rst:361 msgid "Codecs" msgstr "Codecs" -#: library/codecs.rst:359 +#: library/codecs.rst:363 msgid "``'surrogatepass'``" msgstr "``'surrogatepass'``" -#: library/codecs.rst:359 +#: library/codecs.rst:363 msgid "utf-8, utf-16, utf-32, utf-16-be, utf-16-le, utf-32-be, utf-32-le" msgstr "utf-8, utf-16, utf-32, utf-16-be, utf-16-le, utf-32-be, utf-32-le" -#: library/codecs.rst:359 +#: library/codecs.rst:363 msgid "" "Allow encoding and decoding of surrogate codes. These codecs normally treat " "the presence of surrogates as an error." @@ -637,13 +643,13 @@ msgstr "" "traitent normalement la présence d'un code de substitution comme une erreur." # pas de majuscule en début de phrase car suit un deux-points. -#: library/codecs.rst:364 +#: library/codecs.rst:368 msgid "The ``'surrogateescape'`` and ``'surrogatepass'`` error handlers." msgstr "" "les gestionnaires d'erreurs ``'surrogateescape'`` et ``'surrogatepass'``." # pas de majuscule en début de phrase car suit un deux-points. -#: library/codecs.rst:367 +#: library/codecs.rst:371 msgid "" "The ``'surrogatepass'`` error handlers now works with utf-16\\* and " "utf-32\\* codecs." @@ -652,12 +658,12 @@ msgstr "" "codecs utf-16\\* et utf-32\\*." # pas de majuscule en début de phrase car suit un deux-points. -#: library/codecs.rst:370 +#: library/codecs.rst:374 msgid "The ``'namereplace'`` error handler." msgstr "le gestionnaire d'erreurs ``'namereplace'``." # pas de majuscule en début de phrase car suit un deux-points. -#: library/codecs.rst:373 +#: library/codecs.rst:377 msgid "" "The ``'backslashreplace'`` error handlers now works with decoding and " "translating." @@ -665,7 +671,7 @@ msgstr "" "le gestionnaire d'erreurs ``'backslashreplace'`` fonctionne maintenant pour " "le décodage et la traduction." -#: library/codecs.rst:377 +#: library/codecs.rst:381 msgid "" "The set of allowed values can be extended by registering a new named error " "handler:" @@ -673,14 +679,14 @@ msgstr "" "L'ensemble des valeurs autorisées peut être étendu en enregistrant un " "nouveau gestionnaire d'erreurs nommé :" -#: library/codecs.rst:382 +#: library/codecs.rst:386 msgid "" "Register the error handling function *error_handler* under the name *name*. " "The *error_handler* argument will be called during encoding and decoding in " "case of an error, when *name* is specified as the errors parameter." msgstr "" -#: library/codecs.rst:386 +#: library/codecs.rst:390 msgid "" "For encoding, *error_handler* will be called with a :exc:" "`UnicodeEncodeError` instance, which contains information about the location " @@ -695,40 +701,40 @@ msgid "" "position is out of bound an :exc:`IndexError` will be raised." msgstr "" -#: library/codecs.rst:398 +#: library/codecs.rst:402 msgid "" "Decoding and translating works similarly, except :exc:`UnicodeDecodeError` " "or :exc:`UnicodeTranslateError` will be passed to the handler and that the " "replacement from the error handler will be put into the output directly." msgstr "" -#: library/codecs.rst:403 +#: library/codecs.rst:407 msgid "" "Previously registered error handlers (including the standard error handlers) " "can be looked up by name:" msgstr "" -#: library/codecs.rst:408 +#: library/codecs.rst:412 msgid "Return the error handler previously registered under the name *name*." msgstr "" -#: library/codecs.rst:410 +#: library/codecs.rst:414 msgid "Raises a :exc:`LookupError` in case the handler cannot be found." msgstr "" -#: library/codecs.rst:412 +#: library/codecs.rst:416 msgid "" "The following standard error handlers are also made available as module " "level functions:" msgstr "" -#: library/codecs.rst:417 +#: library/codecs.rst:421 msgid "" "Implements the ``'strict'`` error handling: each encoding or decoding error " "raises a :exc:`UnicodeError`." msgstr "" -#: library/codecs.rst:423 +#: library/codecs.rst:427 msgid "" "Implements the ``'replace'`` error handling (for :term:`text encodings ` only): substitutes ``'?'`` for encoding errors (to be encoded by " @@ -736,44 +742,44 @@ msgid "" "decoding errors." msgstr "" -#: library/codecs.rst:431 +#: library/codecs.rst:435 msgid "" "Implements the ``'ignore'`` error handling: malformed data is ignored and " "encoding or decoding is continued without further notice." msgstr "" -#: library/codecs.rst:437 +#: library/codecs.rst:441 msgid "" "Implements the ``'xmlcharrefreplace'`` error handling (for encoding with :" "term:`text encodings ` only): the unencodable character is " "replaced by an appropriate XML character reference." msgstr "" -#: library/codecs.rst:444 +#: library/codecs.rst:448 msgid "" "Implements the ``'backslashreplace'`` error handling (for :term:`text " "encodings ` only): malformed data is replaced by a " "backslashed escape sequence." msgstr "" -#: library/codecs.rst:450 +#: library/codecs.rst:454 msgid "" "Implements the ``'namereplace'`` error handling (for encoding with :term:" "`text encodings ` only): the unencodable character is " "replaced by a ``\\N{...}`` escape sequence." msgstr "" -#: library/codecs.rst:460 +#: library/codecs.rst:464 msgid "Stateless Encoding and Decoding" msgstr "" -#: library/codecs.rst:462 +#: library/codecs.rst:466 msgid "" "The base :class:`Codec` class defines these methods which also define the " "function interfaces of the stateless encoder and decoder:" msgstr "" -#: library/codecs.rst:468 +#: library/codecs.rst:472 msgid "" "Encodes the object *input* and returns a tuple (output object, length " "consumed). For instance, :term:`text encoding` converts a string object to a " @@ -781,26 +787,26 @@ msgid "" "``iso-8859-1``)." msgstr "" -#: library/codecs.rst:495 +#: library/codecs.rst:499 msgid "" "The *errors* argument defines the error handling to apply. It defaults to " "``'strict'`` handling." msgstr "" -#: library/codecs.rst:476 +#: library/codecs.rst:480 msgid "" "The method may not store state in the :class:`Codec` instance. Use :class:" "`StreamWriter` for codecs which have to keep state in order to make encoding " "efficient." msgstr "" -#: library/codecs.rst:480 +#: library/codecs.rst:484 msgid "" "The encoder must be able to handle zero length input and return an empty " "object of the output object type in this situation." msgstr "" -#: library/codecs.rst:486 +#: library/codecs.rst:490 msgid "" "Decodes the object *input* and returns a tuple (output object, length " "consumed). For instance, for a :term:`text encoding`, decoding converts a " @@ -808,31 +814,31 @@ msgid "" "object." msgstr "" -#: library/codecs.rst:491 +#: library/codecs.rst:495 msgid "" "For text encodings and bytes-to-bytes codecs, *input* must be a bytes object " "or one which provides the read-only buffer interface -- for example, buffer " "objects and memory mapped files." msgstr "" -#: library/codecs.rst:498 +#: library/codecs.rst:502 msgid "" "The method may not store state in the :class:`Codec` instance. Use :class:" "`StreamReader` for codecs which have to keep state in order to make decoding " "efficient." msgstr "" -#: library/codecs.rst:502 +#: library/codecs.rst:506 msgid "" "The decoder must be able to handle zero length input and return an empty " "object of the output object type in this situation." msgstr "" -#: library/codecs.rst:507 +#: library/codecs.rst:511 msgid "Incremental Encoding and Decoding" msgstr "" -#: library/codecs.rst:509 +#: library/codecs.rst:513 msgid "" "The :class:`IncrementalEncoder` and :class:`IncrementalDecoder` classes " "provide the basic interface for incremental encoding and decoding. Encoding/" @@ -843,7 +849,7 @@ msgid "" "during method calls." msgstr "" -#: library/codecs.rst:517 +#: library/codecs.rst:521 msgid "" "The joined output of calls to the :meth:`~IncrementalEncoder.encode`/:meth:" "`~IncrementalDecoder.decode` method is the same as if all the single inputs " @@ -851,36 +857,36 @@ msgid "" "encoder/decoder." msgstr "" -#: library/codecs.rst:526 +#: library/codecs.rst:530 msgid "IncrementalEncoder Objects" msgstr "" -#: library/codecs.rst:528 +#: library/codecs.rst:532 msgid "" "The :class:`IncrementalEncoder` class is used for encoding an input in " "multiple steps. It defines the following methods which every incremental " "encoder must define in order to be compatible with the Python codec registry." msgstr "" -#: library/codecs.rst:535 +#: library/codecs.rst:539 msgid "Constructor for an :class:`IncrementalEncoder` instance." msgstr "" -#: library/codecs.rst:537 +#: library/codecs.rst:541 msgid "" "All incremental encoders must provide this constructor interface. They are " "free to add additional keyword arguments, but only the ones defined here are " "used by the Python codec registry." msgstr "" -#: library/codecs.rst:541 +#: library/codecs.rst:545 msgid "" "The :class:`IncrementalEncoder` may implement different error handling " "schemes by providing the *errors* keyword argument. See :ref:`error-" "handlers` for possible values." msgstr "" -#: library/codecs.rst:545 +#: library/codecs.rst:549 msgid "" "The *errors* argument will be assigned to an attribute of the same name. " "Assigning to this attribute makes it possible to switch between different " @@ -888,21 +894,21 @@ msgid "" "`IncrementalEncoder` object." msgstr "" -#: library/codecs.rst:553 +#: library/codecs.rst:557 msgid "" "Encodes *object* (taking the current state of the encoder into account) and " "returns the resulting encoded object. If this is the last call to :meth:" "`encode` *final* must be true (the default is false)." msgstr "" -#: library/codecs.rst:560 +#: library/codecs.rst:564 msgid "" "Reset the encoder to the initial state. The output is discarded: call ``." "encode(object, final=True)``, passing an empty byte or text string if " "necessary, to reset the encoder and to get the output." msgstr "" -#: library/codecs.rst:567 +#: library/codecs.rst:571 msgid "" "Return the current state of the encoder which must be an integer. The " "implementation should make sure that ``0`` is the most common state. (States " @@ -911,42 +917,42 @@ msgid "" "into an integer.)" msgstr "" -#: library/codecs.rst:576 +#: library/codecs.rst:580 msgid "" "Set the state of the encoder to *state*. *state* must be an encoder state " "returned by :meth:`getstate`." msgstr "" -#: library/codecs.rst:583 +#: library/codecs.rst:587 msgid "IncrementalDecoder Objects" msgstr "" -#: library/codecs.rst:585 +#: library/codecs.rst:589 msgid "" "The :class:`IncrementalDecoder` class is used for decoding an input in " "multiple steps. It defines the following methods which every incremental " "decoder must define in order to be compatible with the Python codec registry." msgstr "" -#: library/codecs.rst:592 +#: library/codecs.rst:596 msgid "Constructor for an :class:`IncrementalDecoder` instance." msgstr "" -#: library/codecs.rst:594 +#: library/codecs.rst:598 msgid "" "All incremental decoders must provide this constructor interface. They are " "free to add additional keyword arguments, but only the ones defined here are " "used by the Python codec registry." msgstr "" -#: library/codecs.rst:598 +#: library/codecs.rst:602 msgid "" "The :class:`IncrementalDecoder` may implement different error handling " "schemes by providing the *errors* keyword argument. See :ref:`error-" "handlers` for possible values." msgstr "" -#: library/codecs.rst:602 +#: library/codecs.rst:606 msgid "" "The *errors* argument will be assigned to an attribute of the same name. " "Assigning to this attribute makes it possible to switch between different " @@ -954,7 +960,7 @@ msgid "" "`IncrementalDecoder` object." msgstr "" -#: library/codecs.rst:610 +#: library/codecs.rst:614 msgid "" "Decodes *object* (taking the current state of the decoder into account) and " "returns the resulting decoded object. If this is the last call to :meth:" @@ -965,11 +971,11 @@ msgid "" "(which might raise an exception)." msgstr "" -#: library/codecs.rst:621 +#: library/codecs.rst:625 msgid "Reset the decoder to the initial state." msgstr "" -#: library/codecs.rst:626 +#: library/codecs.rst:630 msgid "" "Return the current state of the decoder. This must be a tuple with two " "items, the first must be the buffer containing the still undecoded input. " @@ -984,59 +990,59 @@ msgid "" "bytes of the resulting string into an integer.)" msgstr "" -#: library/codecs.rst:641 +#: library/codecs.rst:645 msgid "" "Set the state of the decoder to *state*. *state* must be a decoder state " "returned by :meth:`getstate`." msgstr "" -#: library/codecs.rst:646 +#: library/codecs.rst:650 msgid "Stream Encoding and Decoding" msgstr "" -#: library/codecs.rst:649 +#: library/codecs.rst:653 msgid "" "The :class:`StreamWriter` and :class:`StreamReader` classes provide generic " "working interfaces which can be used to implement new encoding submodules " "very easily. See :mod:`encodings.utf_8` for an example of how this is done." msgstr "" -#: library/codecs.rst:657 +#: library/codecs.rst:661 msgid "StreamWriter Objects" msgstr "" -#: library/codecs.rst:659 +#: library/codecs.rst:663 msgid "" "The :class:`StreamWriter` class is a subclass of :class:`Codec` and defines " "the following methods which every stream writer must define in order to be " "compatible with the Python codec registry." msgstr "" -#: library/codecs.rst:666 +#: library/codecs.rst:670 msgid "Constructor for a :class:`StreamWriter` instance." msgstr "" -#: library/codecs.rst:668 +#: library/codecs.rst:672 msgid "" "All stream writers must provide this constructor interface. They are free to " "add additional keyword arguments, but only the ones defined here are used by " "the Python codec registry." msgstr "" -#: library/codecs.rst:672 +#: library/codecs.rst:676 msgid "" "The *stream* argument must be a file-like object open for writing text or " "binary data, as appropriate for the specific codec." msgstr "" -#: library/codecs.rst:675 +#: library/codecs.rst:679 msgid "" "The :class:`StreamWriter` may implement different error handling schemes by " "providing the *errors* keyword argument. See :ref:`error-handlers` for the " "standard error handlers the underlying stream codec may support." msgstr "" -#: library/codecs.rst:679 +#: library/codecs.rst:683 msgid "" "The *errors* argument will be assigned to an attribute of the same name. " "Assigning to this attribute makes it possible to switch between different " @@ -1044,70 +1050,70 @@ msgid "" "object." msgstr "" -#: library/codecs.rst:685 +#: library/codecs.rst:689 msgid "Writes the object's contents encoded to the stream." msgstr "" -#: library/codecs.rst:690 +#: library/codecs.rst:694 msgid "" "Writes the concatenated list of strings to the stream (possibly by reusing " "the :meth:`write` method). The standard bytes-to-bytes codecs do not support " "this method." msgstr "" -#: library/codecs.rst:792 +#: library/codecs.rst:796 msgid "Resets the codec buffers used for keeping internal state." msgstr "" -#: library/codecs.rst:699 +#: library/codecs.rst:703 msgid "" "Calling this method should ensure that the data on the output is put into a " "clean state that allows appending of new fresh data without having to rescan " "the whole stream to recover state." msgstr "" -#: library/codecs.rst:704 +#: library/codecs.rst:708 msgid "" "In addition to the above methods, the :class:`StreamWriter` must also " "inherit all other methods and attributes from the underlying stream." msgstr "" -#: library/codecs.rst:711 +#: library/codecs.rst:715 msgid "StreamReader Objects" msgstr "" -#: library/codecs.rst:713 +#: library/codecs.rst:717 msgid "" "The :class:`StreamReader` class is a subclass of :class:`Codec` and defines " "the following methods which every stream reader must define in order to be " "compatible with the Python codec registry." msgstr "" -#: library/codecs.rst:720 +#: library/codecs.rst:724 msgid "Constructor for a :class:`StreamReader` instance." msgstr "" -#: library/codecs.rst:722 +#: library/codecs.rst:726 msgid "" "All stream readers must provide this constructor interface. They are free to " "add additional keyword arguments, but only the ones defined here are used by " "the Python codec registry." msgstr "" -#: library/codecs.rst:726 +#: library/codecs.rst:730 msgid "" "The *stream* argument must be a file-like object open for reading text or " "binary data, as appropriate for the specific codec." msgstr "" -#: library/codecs.rst:729 +#: library/codecs.rst:733 msgid "" "The :class:`StreamReader` may implement different error handling schemes by " "providing the *errors* keyword argument. See :ref:`error-handlers` for the " "standard error handlers the underlying stream codec may support." msgstr "" -#: library/codecs.rst:733 +#: library/codecs.rst:737 msgid "" "The *errors* argument will be assigned to an attribute of the same name. " "Assigning to this attribute makes it possible to switch between different " @@ -1115,24 +1121,24 @@ msgid "" "object." msgstr "" -#: library/codecs.rst:737 +#: library/codecs.rst:741 msgid "" "The set of allowed values for the *errors* argument can be extended with :" "func:`register_error`." msgstr "" -#: library/codecs.rst:743 +#: library/codecs.rst:747 msgid "Decodes data from the stream and returns the resulting object." msgstr "" -#: library/codecs.rst:745 +#: library/codecs.rst:749 msgid "" "The *chars* argument indicates the number of decoded code points or bytes to " "return. The :func:`read` method will never return more data than requested, " "but it might return less, if there is not enough available." msgstr "" -#: library/codecs.rst:750 +#: library/codecs.rst:754 msgid "" "The *size* argument indicates the approximate maximum number of encoded " "bytes or code points to read for decoding. The decoder can modify this " @@ -1141,13 +1147,13 @@ msgid "" "huge files in one step." msgstr "" -#: library/codecs.rst:757 +#: library/codecs.rst:761 msgid "" "The *firstline* flag indicates that it would be sufficient to only return " "the first line, if there are decoding errors on later lines." msgstr "" -#: library/codecs.rst:761 +#: library/codecs.rst:765 msgid "" "The method should use a greedy read strategy meaning that it should read as " "much data as is allowed within the definition of the encoding and the given " @@ -1155,68 +1161,68 @@ msgid "" "the stream, these should be read too." msgstr "" -#: library/codecs.rst:769 +#: library/codecs.rst:773 msgid "Read one line from the input stream and return the decoded data." msgstr "" -#: library/codecs.rst:771 +#: library/codecs.rst:775 msgid "" "*size*, if given, is passed as size argument to the stream's :meth:`read` " "method." msgstr "" -#: library/codecs.rst:774 +#: library/codecs.rst:778 msgid "" "If *keepends* is false line-endings will be stripped from the lines returned." msgstr "" -#: library/codecs.rst:780 +#: library/codecs.rst:784 msgid "" "Read all lines available on the input stream and return them as a list of " "lines." msgstr "" -#: library/codecs.rst:783 +#: library/codecs.rst:787 msgid "" "Line-endings are implemented using the codec's :meth:`decode` method and are " "included in the list entries if *keepends* is true." msgstr "" -#: library/codecs.rst:786 +#: library/codecs.rst:790 msgid "" "*sizehint*, if given, is passed as the *size* argument to the stream's :meth:" "`read` method." msgstr "" -#: library/codecs.rst:794 +#: library/codecs.rst:798 msgid "" "Note that no stream repositioning should take place. This method is " "primarily intended to be able to recover from decoding errors." msgstr "" -#: library/codecs.rst:798 +#: library/codecs.rst:802 msgid "" "In addition to the above methods, the :class:`StreamReader` must also " "inherit all other methods and attributes from the underlying stream." msgstr "" -#: library/codecs.rst:804 +#: library/codecs.rst:808 msgid "StreamReaderWriter Objects" msgstr "" -#: library/codecs.rst:806 +#: library/codecs.rst:810 msgid "" "The :class:`StreamReaderWriter` is a convenience class that allows wrapping " "streams which work in both read and write modes." msgstr "" -#: library/codecs.rst:833 +#: library/codecs.rst:837 msgid "" "The design is such that one can use the factory functions returned by the :" "func:`lookup` function to construct the instance." msgstr "" -#: library/codecs.rst:815 +#: library/codecs.rst:819 msgid "" "Creates a :class:`StreamReaderWriter` instance. *stream* must be a file-like " "object. *Reader* and *Writer* must be factory functions or classes providing " @@ -1225,24 +1231,24 @@ msgid "" "writers." msgstr "" -#: library/codecs.rst:820 +#: library/codecs.rst:824 msgid "" ":class:`StreamReaderWriter` instances define the combined interfaces of :" "class:`StreamReader` and :class:`StreamWriter` classes. They inherit all " "other methods and attributes from the underlying stream." msgstr "" -#: library/codecs.rst:828 +#: library/codecs.rst:832 msgid "StreamRecoder Objects" msgstr "" -#: library/codecs.rst:830 +#: library/codecs.rst:834 msgid "" "The :class:`StreamRecoder` translates data from one encoding to another, " "which is sometimes useful when dealing with different encoding environments." msgstr "" -#: library/codecs.rst:839 +#: library/codecs.rst:843 msgid "" "Creates a :class:`StreamRecoder` instance which implements a two-way " "conversion: *encode* and *decode* work on the frontend — the data visible to " @@ -1250,17 +1256,17 @@ msgid "" "work on the backend — the data in *stream*." msgstr "" -#: library/codecs.rst:844 +#: library/codecs.rst:848 msgid "" "You can use these objects to do transparent transcodings, e.g., from Latin-1 " "to UTF-8 and back." msgstr "" -#: library/codecs.rst:847 +#: library/codecs.rst:851 msgid "The *stream* argument must be a file-like object." msgstr "" -#: library/codecs.rst:849 +#: library/codecs.rst:853 msgid "" "The *encode* and *decode* arguments must adhere to the :class:`Codec` " "interface. *Reader* and *Writer* must be factory functions or classes " @@ -1268,24 +1274,24 @@ msgid "" "interface respectively." msgstr "" -#: library/codecs.rst:854 +#: library/codecs.rst:858 msgid "" "Error handling is done in the same way as defined for the stream readers and " "writers." msgstr "" -#: library/codecs.rst:858 +#: library/codecs.rst:862 msgid "" ":class:`StreamRecoder` instances define the combined interfaces of :class:" "`StreamReader` and :class:`StreamWriter` classes. They inherit all other " "methods and attributes from the underlying stream." msgstr "" -#: library/codecs.rst:866 +#: library/codecs.rst:870 msgid "Encodings and Unicode" msgstr "" -#: library/codecs.rst:868 +#: library/codecs.rst:872 msgid "" "Strings are stored internally as sequences of code points in range ``0x0``--" "``0x10FFFF``. (See :pep:`393` for more details about the implementation.) " @@ -1297,7 +1303,7 @@ msgid "" "collectivity referred to as :term:`text encodings `." msgstr "" -#: library/codecs.rst:878 +#: library/codecs.rst:882 msgid "" "The simplest text encoding (called ``'latin-1'`` or ``'iso-8859-1'``) maps " "the code points 0--255 to the bytes ``0x0``--``0xff``, which means that a " @@ -1308,7 +1314,7 @@ msgid "" "position 3: ordinal not in range(256)``." msgstr "" -#: library/codecs.rst:886 +#: library/codecs.rst:890 msgid "" "There's another group of encodings (the so called charmap encodings) that " "choose a different subset of all Unicode code points and how these code " @@ -1318,7 +1324,7 @@ msgid "" "that shows you which character is mapped to which byte value." msgstr "" -#: library/codecs.rst:893 +#: library/codecs.rst:897 msgid "" "All of these encodings can only encode 256 of the 1114112 code points " "defined in Unicode. A simple and straightforward way that can store each " @@ -1348,7 +1354,7 @@ msgid "" "normal character that will be decoded like any other." msgstr "" -#: library/codecs.rst:919 +#: library/codecs.rst:923 msgid "" "There's another encoding that is able to encoding the full range of Unicode " "characters: UTF-8. UTF-8 is an 8-bit encoding, which means there are no " @@ -1359,60 +1365,60 @@ msgid "" "which when concatenated give the Unicode character):" msgstr "" -#: library/codecs.rst:928 +#: library/codecs.rst:932 msgid "Range" msgstr "*Range*" -#: library/codecs.rst:928 +#: library/codecs.rst:932 #, fuzzy msgid "Encoding" msgstr "Encodages" -#: library/codecs.rst:930 +#: library/codecs.rst:934 msgid "``U-00000000`` ... ``U-0000007F``" msgstr "``U-00000000`` ... ``U-0000007F``" -#: library/codecs.rst:930 +#: library/codecs.rst:934 msgid "0xxxxxxx" msgstr "0xxxxxxx" -#: library/codecs.rst:932 +#: library/codecs.rst:936 msgid "``U-00000080`` ... ``U-000007FF``" msgstr "``U-00000080`` ... ``U-000007FF``" -#: library/codecs.rst:932 +#: library/codecs.rst:936 msgid "110xxxxx 10xxxxxx" msgstr "110xxxxx 10xxxxxx" -#: library/codecs.rst:934 +#: library/codecs.rst:938 msgid "``U-00000800`` ... ``U-0000FFFF``" msgstr "``U-00000800`` ... ``U-0000FFFF``" -#: library/codecs.rst:934 +#: library/codecs.rst:938 msgid "1110xxxx 10xxxxxx 10xxxxxx" msgstr "1110xxxx 10xxxxxx 10xxxxxx" -#: library/codecs.rst:936 +#: library/codecs.rst:940 msgid "``U-00010000`` ... ``U-0010FFFF``" msgstr "``U-00010000`` ... ``U-0010FFFF``" -#: library/codecs.rst:936 +#: library/codecs.rst:940 msgid "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx" msgstr "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx" -#: library/codecs.rst:939 +#: library/codecs.rst:943 msgid "" "The least significant bit of the Unicode character is the rightmost x bit." msgstr "" -#: library/codecs.rst:941 +#: library/codecs.rst:945 msgid "" "As UTF-8 is an 8-bit encoding no BOM is required and any ``U+FEFF`` " "character in the decoded string (even if it's the first character) is " "treated as a ``ZERO WIDTH NO-BREAK SPACE``." msgstr "" -#: library/codecs.rst:945 +#: library/codecs.rst:949 msgid "" "Without external information it's impossible to reliably determine which " "encoding was used for encoding a string. Each charmap encoding can decode " @@ -1439,7 +1445,7 @@ msgstr "RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK" msgid "INVERTED QUESTION MARK" msgstr "INVERTED QUESTION MARK" -#: library/codecs.rst:961 +#: library/codecs.rst:965 msgid "" "in iso-8859-1), this increases the probability that a ``utf-8-sig`` encoding " "can be correctly guessed from the byte sequence. So here the BOM is not used " @@ -1451,11 +1457,11 @@ msgid "" "the use of the BOM is discouraged and should generally be avoided." msgstr "" -#: library/codecs.rst:974 +#: library/codecs.rst:978 msgid "Standard Encodings" msgstr "" -#: library/codecs.rst:976 +#: library/codecs.rst:980 msgid "" "Python comes with a number of codecs built-in, either implemented as C " "functions or with dictionaries as mapping tables. The following table lists " @@ -1467,7 +1473,7 @@ msgid "" "alias for the ``'utf_8'`` codec." msgstr "" -#: library/codecs.rst:986 +#: library/codecs.rst:990 msgid "" "Some common encodings can bypass the codecs lookup machinery to improve " "performance. These optimization opportunities are only recognized by CPython " @@ -1477,11 +1483,11 @@ msgid "" "Using alternative aliases for these encodings may result in slower execution." msgstr "" -#: library/codecs.rst:994 +#: library/codecs.rst:998 msgid "Optimization opportunity recognized for us-ascii." msgstr "" -#: library/codecs.rst:997 +#: library/codecs.rst:1001 msgid "" "Many of the character sets support the same languages. They vary in " "individual characters (e.g. whether the EURO SIGN is supported or not), and " @@ -1489,485 +1495,485 @@ msgid "" "languages in particular, the following variants typically exist:" msgstr "" -#: library/codecs.rst:1002 +#: library/codecs.rst:1006 msgid "an ISO 8859 codeset" msgstr "" -#: library/codecs.rst:1004 +#: library/codecs.rst:1008 msgid "" "a Microsoft Windows code page, which is typically derived from an 8859 " "codeset, but replaces control characters with additional graphic characters" msgstr "" -#: library/codecs.rst:1007 +#: library/codecs.rst:1011 msgid "an IBM EBCDIC code page" msgstr "" -#: library/codecs.rst:1009 +#: library/codecs.rst:1013 msgid "an IBM PC code page, which is ASCII compatible" msgstr "" -#: library/codecs.rst:1269 library/codecs.rst:1391 +#: library/codecs.rst:1273 library/codecs.rst:1395 msgid "Codec" msgstr "" -#: library/codecs.rst:1269 library/codecs.rst:1391 +#: library/codecs.rst:1273 library/codecs.rst:1395 msgid "Aliases" msgstr "" -#: library/codecs.rst:1014 +#: library/codecs.rst:1018 msgid "Languages" msgstr "" -#: library/codecs.rst:1016 +#: library/codecs.rst:1020 msgid "ascii" msgstr "*ascii*" -#: library/codecs.rst:1016 +#: library/codecs.rst:1020 msgid "646, us-ascii" msgstr "*646*, *us-ascii*" -#: library/codecs.rst:1022 library/codecs.rst:1030 +#: library/codecs.rst:1026 library/codecs.rst:1034 msgid "English" msgstr "Anglais" -#: library/codecs.rst:1018 +#: library/codecs.rst:1022 msgid "big5" msgstr "*big5*" -#: library/codecs.rst:1018 +#: library/codecs.rst:1022 msgid "big5-tw, csbig5" msgstr "*big5-tw*, *csbig5*" -#: library/codecs.rst:1020 library/codecs.rst:1078 +#: library/codecs.rst:1024 library/codecs.rst:1082 msgid "Traditional Chinese" msgstr "Chinois Traditionnel" -#: library/codecs.rst:1020 +#: library/codecs.rst:1024 msgid "big5hkscs" msgstr "*big5hkscs*" -#: library/codecs.rst:1020 +#: library/codecs.rst:1024 msgid "big5-hkscs, hkscs" msgstr "*big5-hkscs*, *hkscs*" -#: library/codecs.rst:1022 +#: library/codecs.rst:1026 msgid "cp037" msgstr "*cp037*" -#: library/codecs.rst:1022 +#: library/codecs.rst:1026 msgid "IBM037, IBM039" msgstr "*IBM037*, *IBM039*" -#: library/codecs.rst:1024 +#: library/codecs.rst:1028 msgid "cp273" msgstr "*cp273*" -#: library/codecs.rst:1024 +#: library/codecs.rst:1028 msgid "273, IBM273, csIBM273" msgstr "*273*, *IBM273*, *csIBM273*" -#: library/codecs.rst:1024 +#: library/codecs.rst:1028 msgid "German" msgstr "Allemand" -#: library/codecs.rst:1028 +#: library/codecs.rst:1032 msgid "cp424" msgstr "*cp424*" -#: library/codecs.rst:1028 +#: library/codecs.rst:1032 msgid "EBCDIC-CP-HE, IBM424" msgstr "*EBCDIC-CP-HE*, *IBM424*" -#: library/codecs.rst:1048 library/codecs.rst:1101 library/codecs.rst:1164 +#: library/codecs.rst:1052 library/codecs.rst:1105 library/codecs.rst:1168 msgid "Hebrew" msgstr "Hébreux" -#: library/codecs.rst:1030 +#: library/codecs.rst:1034 msgid "cp437" msgstr "*cp437*" -#: library/codecs.rst:1030 +#: library/codecs.rst:1034 msgid "437, IBM437" msgstr "*437*, *IBM437*" -#: library/codecs.rst:1032 +#: library/codecs.rst:1036 msgid "cp500" msgstr "*cp500*" -#: library/codecs.rst:1032 +#: library/codecs.rst:1036 msgid "EBCDIC-CP-BE, EBCDIC-CP-CH, IBM500" msgstr "*EBCDIC-CP-BE*, *EBCDIC-CP-CH*, *IBM500*" -#: library/codecs.rst:1041 library/codecs.rst:1088 library/codecs.rst:1148 -#: library/codecs.rst:1204 +#: library/codecs.rst:1045 library/codecs.rst:1092 library/codecs.rst:1152 +#: library/codecs.rst:1208 msgid "Western Europe" msgstr "Europe de l'ouest" -#: library/codecs.rst:1035 +#: library/codecs.rst:1039 msgid "cp720" msgstr "*cp720*" -#: library/codecs.rst:1062 library/codecs.rst:1160 +#: library/codecs.rst:1066 library/codecs.rst:1164 msgid "Arabic" msgstr "Arabe" -#: library/codecs.rst:1037 +#: library/codecs.rst:1041 msgid "cp737" msgstr "*cp737*" -#: library/codecs.rst:1068 library/codecs.rst:1097 library/codecs.rst:1197 +#: library/codecs.rst:1072 library/codecs.rst:1101 library/codecs.rst:1201 msgid "Greek" msgstr "Grec" -#: library/codecs.rst:1039 +#: library/codecs.rst:1043 msgid "cp775" msgstr "*cp775*" -#: library/codecs.rst:1039 +#: library/codecs.rst:1043 msgid "IBM775" msgstr "*IBM775*" -#: library/codecs.rst:1105 library/codecs.rst:1172 +#: library/codecs.rst:1109 library/codecs.rst:1176 msgid "Baltic languages" msgstr "Langues Baltiques" -#: library/codecs.rst:1041 +#: library/codecs.rst:1045 msgid "cp850" msgstr "*cp850*" -#: library/codecs.rst:1041 +#: library/codecs.rst:1045 msgid "850, IBM850" msgstr "*850*, *IBM850*" -#: library/codecs.rst:1043 +#: library/codecs.rst:1047 msgid "cp852" msgstr "*cp852*" -#: library/codecs.rst:1043 +#: library/codecs.rst:1047 msgid "852, IBM852" msgstr "*852*, *IBM852*" -#: library/codecs.rst:1090 library/codecs.rst:1201 +#: library/codecs.rst:1094 library/codecs.rst:1205 msgid "Central and Eastern Europe" msgstr "Europe centrale et Europe de l'Est" -#: library/codecs.rst:1045 +#: library/codecs.rst:1049 msgid "cp855" msgstr "*cp855*" -#: library/codecs.rst:1045 +#: library/codecs.rst:1049 msgid "855, IBM855" msgstr "*855*, *IBM855*" -#: library/codecs.rst:1092 library/codecs.rst:1194 +#: library/codecs.rst:1096 library/codecs.rst:1198 msgid "Bulgarian, Byelorussian, Macedonian, Russian, Serbian" msgstr "Bulgare, Biélorusse, Macédonien, Russe, Serbe" -#: library/codecs.rst:1048 +#: library/codecs.rst:1052 msgid "cp856" msgstr "*cp856*" -#: library/codecs.rst:1050 +#: library/codecs.rst:1054 msgid "cp857" msgstr "*cp857*" -#: library/codecs.rst:1050 +#: library/codecs.rst:1054 msgid "857, IBM857" msgstr "*857*, *IBM857*" -#: library/codecs.rst:1082 library/codecs.rst:1166 library/codecs.rst:1206 +#: library/codecs.rst:1086 library/codecs.rst:1170 library/codecs.rst:1210 msgid "Turkish" msgstr "Turc" -#: library/codecs.rst:1052 +#: library/codecs.rst:1056 msgid "cp858" msgstr "*cp858*" -#: library/codecs.rst:1052 +#: library/codecs.rst:1056 msgid "858, IBM858" msgstr "*858*, *IBM858*" -#: library/codecs.rst:1054 +#: library/codecs.rst:1058 msgid "cp860" msgstr "*cp860*" -#: library/codecs.rst:1054 +#: library/codecs.rst:1058 msgid "860, IBM860" msgstr "*860*, *IBM860*" -#: library/codecs.rst:1054 +#: library/codecs.rst:1058 msgid "Portuguese" msgstr "Portugais" -#: library/codecs.rst:1056 +#: library/codecs.rst:1060 msgid "cp861" msgstr "*cp861*" -#: library/codecs.rst:1056 +#: library/codecs.rst:1060 msgid "861, CP-IS, IBM861" msgstr "*861*, *CP-IS*, *IBM861*" -#: library/codecs.rst:1199 +#: library/codecs.rst:1203 msgid "Icelandic" msgstr "Islandais" -#: library/codecs.rst:1058 +#: library/codecs.rst:1062 msgid "cp862" msgstr "*cp862*" -#: library/codecs.rst:1058 +#: library/codecs.rst:1062 msgid "862, IBM862" msgstr "*862*, *IBM862*" -#: library/codecs.rst:1060 +#: library/codecs.rst:1064 msgid "cp863" msgstr "*cp863*" -#: library/codecs.rst:1060 +#: library/codecs.rst:1064 msgid "863, IBM863" msgstr "*863*, *IBM863*" -#: library/codecs.rst:1060 +#: library/codecs.rst:1064 msgid "Canadian" msgstr "Canadien" -#: library/codecs.rst:1062 +#: library/codecs.rst:1066 msgid "cp864" msgstr "*cp864*" -#: library/codecs.rst:1062 +#: library/codecs.rst:1066 msgid "IBM864" msgstr "*IBM864*" -#: library/codecs.rst:1064 +#: library/codecs.rst:1068 msgid "cp865" msgstr "*cp865*" -#: library/codecs.rst:1064 +#: library/codecs.rst:1068 msgid "865, IBM865" msgstr "*865*, *IBM865*" -#: library/codecs.rst:1064 +#: library/codecs.rst:1068 msgid "Danish, Norwegian" msgstr "" -#: library/codecs.rst:1066 +#: library/codecs.rst:1070 msgid "cp866" msgstr "*cp866*" -#: library/codecs.rst:1066 +#: library/codecs.rst:1070 msgid "866, IBM866" msgstr "*866*, *IBM866*" -#: library/codecs.rst:1182 +#: library/codecs.rst:1186 msgid "Russian" msgstr "Russe" -#: library/codecs.rst:1068 +#: library/codecs.rst:1072 msgid "cp869" msgstr "*cp869*" -#: library/codecs.rst:1068 +#: library/codecs.rst:1072 msgid "869, CP-GR, IBM869" msgstr "*869*, *CP-GR*, *IBM869*" -#: library/codecs.rst:1070 +#: library/codecs.rst:1074 msgid "cp874" msgstr "*cp874*" -#: library/codecs.rst:1070 +#: library/codecs.rst:1074 msgid "Thai" msgstr "" -#: library/codecs.rst:1072 +#: library/codecs.rst:1076 msgid "cp875" msgstr "*cp875*" -#: library/codecs.rst:1074 +#: library/codecs.rst:1078 msgid "cp932" msgstr "*cp932*" -#: library/codecs.rst:1074 +#: library/codecs.rst:1078 msgid "932, ms932, mskanji, ms-kanji" msgstr "*932*, *ms932*, *mskanji*, *ms-kanji*" -#: library/codecs.rst:1109 library/codecs.rst:1113 library/codecs.rst:1133 -#: library/codecs.rst:1141 library/codecs.rst:1211 library/codecs.rst:1217 +#: library/codecs.rst:1113 library/codecs.rst:1117 library/codecs.rst:1137 +#: library/codecs.rst:1145 library/codecs.rst:1215 library/codecs.rst:1221 msgid "Japanese" msgstr "" -#: library/codecs.rst:1076 +#: library/codecs.rst:1080 msgid "cp949" msgstr "*cp949*" -#: library/codecs.rst:1076 +#: library/codecs.rst:1080 msgid "949, ms949, uhc" msgstr "*949*, *ms949*, *uhc*" -#: library/codecs.rst:1115 library/codecs.rst:1180 +#: library/codecs.rst:1119 library/codecs.rst:1184 msgid "Korean" msgstr "" -#: library/codecs.rst:1078 +#: library/codecs.rst:1082 msgid "cp950" msgstr "*cp950*" -#: library/codecs.rst:1078 +#: library/codecs.rst:1082 msgid "950, ms950" msgstr "*950*, *ms950*" -#: library/codecs.rst:1080 +#: library/codecs.rst:1084 msgid "cp1006" msgstr "*cp1006*" -#: library/codecs.rst:1080 +#: library/codecs.rst:1084 msgid "Urdu" msgstr "" -#: library/codecs.rst:1082 +#: library/codecs.rst:1086 msgid "cp1026" msgstr "*cp1026*" -#: library/codecs.rst:1082 +#: library/codecs.rst:1086 msgid "ibm1026" msgstr "*ibm1026*" -#: library/codecs.rst:1084 +#: library/codecs.rst:1088 msgid "cp1125" msgstr "*cp1125*" -#: library/codecs.rst:1084 +#: library/codecs.rst:1088 msgid "1125, ibm1125, cp866u, ruscii" msgstr "*1125*, *ibm1125*, *cp866u*, *ruscii*" -#: library/codecs.rst:1188 +#: library/codecs.rst:1192 msgid "Ukrainian" msgstr "" -#: library/codecs.rst:1088 +#: library/codecs.rst:1092 msgid "cp1140" msgstr "*cp1140*" -#: library/codecs.rst:1088 +#: library/codecs.rst:1092 msgid "ibm1140" msgstr "*ibm1140*" -#: library/codecs.rst:1090 +#: library/codecs.rst:1094 msgid "cp1250" msgstr "*cp1250*" -#: library/codecs.rst:1090 +#: library/codecs.rst:1094 msgid "windows-1250" msgstr "*windows-1250*" -#: library/codecs.rst:1092 +#: library/codecs.rst:1096 msgid "cp1251" msgstr "*cp1251*" -#: library/codecs.rst:1092 +#: library/codecs.rst:1096 msgid "windows-1251" msgstr "*windows-1251*" -#: library/codecs.rst:1095 +#: library/codecs.rst:1099 msgid "cp1252" msgstr "*cp1252*" -#: library/codecs.rst:1095 +#: library/codecs.rst:1099 msgid "windows-1252" msgstr "*windows-1252*" -#: library/codecs.rst:1097 +#: library/codecs.rst:1101 msgid "cp1253" msgstr "*cp1253*" -#: library/codecs.rst:1097 +#: library/codecs.rst:1101 msgid "windows-1253" msgstr "*windows-1253*" -#: library/codecs.rst:1099 +#: library/codecs.rst:1103 msgid "cp1254" msgstr "*cp1254*" -#: library/codecs.rst:1099 +#: library/codecs.rst:1103 msgid "windows-1254" msgstr "*windows-1254*" -#: library/codecs.rst:1101 +#: library/codecs.rst:1105 msgid "cp1255" msgstr "*cp1255*" -#: library/codecs.rst:1101 +#: library/codecs.rst:1105 msgid "windows-1255" msgstr "*windows-1255*" -#: library/codecs.rst:1103 +#: library/codecs.rst:1107 msgid "cp1256" msgstr "*cp1256*" -#: library/codecs.rst:1103 +#: library/codecs.rst:1107 msgid "windows-1256" msgstr "*windows-1256*" -#: library/codecs.rst:1105 +#: library/codecs.rst:1109 msgid "cp1257" msgstr "*cp1257*" -#: library/codecs.rst:1105 +#: library/codecs.rst:1109 msgid "windows-1257" msgstr "*windows-1257*" -#: library/codecs.rst:1107 +#: library/codecs.rst:1111 msgid "cp1258" msgstr "*cp1258*" -#: library/codecs.rst:1107 +#: library/codecs.rst:1111 msgid "windows-1258" msgstr "*windows-1258*" -#: library/codecs.rst:1107 +#: library/codecs.rst:1111 msgid "Vietnamese" msgstr "" -#: library/codecs.rst:1109 +#: library/codecs.rst:1113 msgid "euc_jp" msgstr "*euc_jp*" -#: library/codecs.rst:1109 +#: library/codecs.rst:1113 msgid "eucjp, ujis, u-jis" msgstr "*eucjp*, *ujis*, *u-jis*" -#: library/codecs.rst:1111 +#: library/codecs.rst:1115 msgid "euc_jis_2004" msgstr "*euc_jis_2004*" -#: library/codecs.rst:1111 +#: library/codecs.rst:1115 msgid "jisx0213, eucjis2004" msgstr "*jisx0213*, *eucjis2004*" -#: library/codecs.rst:1113 +#: library/codecs.rst:1117 msgid "euc_jisx0213" msgstr "*euc_jisx0213*" -#: library/codecs.rst:1113 +#: library/codecs.rst:1117 msgid "eucjisx0213" msgstr "*eucjisx0213*" -#: library/codecs.rst:1115 +#: library/codecs.rst:1119 msgid "euc_kr" msgstr "*euc_kr*" -#: library/codecs.rst:1115 +#: library/codecs.rst:1119 msgid "euckr, korean, ksc5601, ks_c-5601, ks_c-5601-1987, ksx1001, ks_x-1001" msgstr "" "*euckr*, *korean*, *ksc5601*, *ks_c-5601*, *ks_c-5601-1987*, *ksx1001*, " "*ks_x-1001*" -#: library/codecs.rst:1119 +#: library/codecs.rst:1123 msgid "gb2312" msgstr "*gb2312*" -#: library/codecs.rst:1119 +#: library/codecs.rst:1123 msgid "" "chinese, csiso58gb231280, euc-cn, euccn, eucgb2312-cn, gb2312-1980, " "gb2312-80, iso-ir-58" @@ -1975,445 +1981,445 @@ msgstr "" "*chinese*, *csiso58gb231280*, *euc-cn*, *euccn*, *eucgb2312-cn*, " "*gb2312-1980*, *gb2312-80*, *iso-ir-58*" -#: library/codecs.rst:1128 +#: library/codecs.rst:1132 msgid "Simplified Chinese" msgstr "" -#: library/codecs.rst:1124 +#: library/codecs.rst:1128 msgid "gbk" msgstr "*gbk*" -#: library/codecs.rst:1124 +#: library/codecs.rst:1128 msgid "936, cp936, ms936" msgstr "*936*, *cp936*, *ms936*" -#: library/codecs.rst:1126 +#: library/codecs.rst:1130 msgid "Unified Chinese" msgstr "" -#: library/codecs.rst:1126 +#: library/codecs.rst:1130 msgid "gb18030" msgstr "*gb18030*" -#: library/codecs.rst:1126 +#: library/codecs.rst:1130 msgid "gb18030-2000" msgstr "*gb18030-2000*" -#: library/codecs.rst:1128 +#: library/codecs.rst:1132 msgid "hz" msgstr "*hz*" -#: library/codecs.rst:1128 +#: library/codecs.rst:1132 msgid "hzgb, hz-gb, hz-gb-2312" msgstr "*hzgb*, *hz-gb*, *hz-gb-2312*" -#: library/codecs.rst:1130 +#: library/codecs.rst:1134 msgid "iso2022_jp" msgstr "*iso2022_jp*" -#: library/codecs.rst:1130 +#: library/codecs.rst:1134 msgid "csiso2022jp, iso2022jp, iso-2022-jp" msgstr "*csiso2022jp*, *iso2022jp*, *iso-2022-jp*" -#: library/codecs.rst:1133 +#: library/codecs.rst:1137 msgid "iso2022_jp_1" msgstr "*iso2022_jp_1*" -#: library/codecs.rst:1133 +#: library/codecs.rst:1137 msgid "iso2022jp-1, iso-2022-jp-1" msgstr "*iso2022jp-1*, *iso-2022-jp-1*" -#: library/codecs.rst:1135 +#: library/codecs.rst:1139 msgid "iso2022_jp_2" msgstr "*iso2022_jp_2*" -#: library/codecs.rst:1135 +#: library/codecs.rst:1139 msgid "iso2022jp-2, iso-2022-jp-2" msgstr "*iso2022jp-2*, *iso-2022-jp-2*" -#: library/codecs.rst:1135 +#: library/codecs.rst:1139 msgid "Japanese, Korean, Simplified Chinese, Western Europe, Greek" msgstr "" -#: library/codecs.rst:1138 +#: library/codecs.rst:1142 msgid "iso2022_jp_2004" msgstr "*iso2022_jp_2004*" -#: library/codecs.rst:1138 +#: library/codecs.rst:1142 msgid "iso2022jp-2004, iso-2022-jp-2004" msgstr "*iso2022jp-2004*, *iso-2022-jp-2004*" -#: library/codecs.rst:1141 +#: library/codecs.rst:1145 msgid "iso2022_jp_3" msgstr "*iso2022_jp_3*" -#: library/codecs.rst:1141 +#: library/codecs.rst:1145 msgid "iso2022jp-3, iso-2022-jp-3" msgstr "*iso2022jp-3*, *iso-2022-jp-3*" -#: library/codecs.rst:1143 +#: library/codecs.rst:1147 msgid "iso2022_jp_ext" msgstr "*iso2022_jp_ext*" -#: library/codecs.rst:1143 +#: library/codecs.rst:1147 msgid "iso2022jp-ext, iso-2022-jp-ext" msgstr "*iso2022jp-ext*, *iso-2022-jp-ext*" -#: library/codecs.rst:1145 +#: library/codecs.rst:1149 msgid "iso2022_kr" msgstr "*iso2022_kr*" -#: library/codecs.rst:1145 +#: library/codecs.rst:1149 msgid "csiso2022kr, iso2022kr, iso-2022-kr" msgstr "*csiso2022kr*, *iso2022kr*, *iso-2022-kr*" -#: library/codecs.rst:1148 +#: library/codecs.rst:1152 msgid "latin_1" msgstr "*latin_1*" -#: library/codecs.rst:1148 +#: library/codecs.rst:1152 msgid "iso-8859-1, iso8859-1, 8859, cp819, latin, latin1, L1" msgstr "*iso-8859-1*, *iso8859-1*, *8859*, *cp819*, *latin*, *latin1*, *L1*" -#: library/codecs.rst:1151 +#: library/codecs.rst:1155 msgid "iso8859_2" msgstr "*iso8859_2*" -#: library/codecs.rst:1151 +#: library/codecs.rst:1155 msgid "iso-8859-2, latin2, L2" msgstr "*iso-8859-2*, *latin2*, *L2*" -#: library/codecs.rst:1153 +#: library/codecs.rst:1157 msgid "iso8859_3" msgstr "*iso8859_3*" -#: library/codecs.rst:1153 +#: library/codecs.rst:1157 msgid "iso-8859-3, latin3, L3" msgstr "*iso-8859-3*, *latin3*, *L3*" -#: library/codecs.rst:1153 +#: library/codecs.rst:1157 msgid "Esperanto, Maltese" msgstr "" -#: library/codecs.rst:1155 +#: library/codecs.rst:1159 msgid "iso8859_4" msgstr "*iso8859_4*" -#: library/codecs.rst:1155 +#: library/codecs.rst:1159 msgid "iso-8859-4, latin4, L4" msgstr "*iso-8859-4*, *latin4*, *L4*" -#: library/codecs.rst:1157 +#: library/codecs.rst:1161 msgid "iso8859_5" msgstr "*iso8859_5*" -#: library/codecs.rst:1157 +#: library/codecs.rst:1161 msgid "iso-8859-5, cyrillic" msgstr "*iso-8859-5*, *cyrillic*" -#: library/codecs.rst:1160 +#: library/codecs.rst:1164 msgid "iso8859_6" msgstr "*iso8859_6*" -#: library/codecs.rst:1160 +#: library/codecs.rst:1164 msgid "iso-8859-6, arabic" msgstr "*iso-8859-6*, *arabic*" -#: library/codecs.rst:1162 +#: library/codecs.rst:1166 msgid "iso8859_7" msgstr "*iso8859_7*" -#: library/codecs.rst:1162 +#: library/codecs.rst:1166 msgid "iso-8859-7, greek, greek8" msgstr "*iso-8859-7*, *greek*, *greek8*" -#: library/codecs.rst:1164 +#: library/codecs.rst:1168 msgid "iso8859_8" msgstr "*iso8859_8*" -#: library/codecs.rst:1164 +#: library/codecs.rst:1168 msgid "iso-8859-8, hebrew" msgstr "*iso-8859-8*, *hebrew*" -#: library/codecs.rst:1166 +#: library/codecs.rst:1170 msgid "iso8859_9" msgstr "*iso8859_9*" -#: library/codecs.rst:1166 +#: library/codecs.rst:1170 msgid "iso-8859-9, latin5, L5" msgstr "*iso-8859-9*, *latin5*, *L5*" -#: library/codecs.rst:1168 +#: library/codecs.rst:1172 msgid "iso8859_10" msgstr "*iso8859_10*" -#: library/codecs.rst:1168 +#: library/codecs.rst:1172 msgid "iso-8859-10, latin6, L6" msgstr "*iso-8859-10*, *latin6*, *L6*" -#: library/codecs.rst:1168 +#: library/codecs.rst:1172 msgid "Nordic languages" msgstr "" -#: library/codecs.rst:1170 +#: library/codecs.rst:1174 msgid "iso8859_11" msgstr "*iso8859_11*" -#: library/codecs.rst:1170 +#: library/codecs.rst:1174 msgid "iso-8859-11, thai" msgstr "*iso-8859-11*, *thai*" -#: library/codecs.rst:1170 +#: library/codecs.rst:1174 msgid "Thai languages" msgstr "" -#: library/codecs.rst:1172 +#: library/codecs.rst:1176 msgid "iso8859_13" msgstr "*iso8859_13*" -#: library/codecs.rst:1172 +#: library/codecs.rst:1176 msgid "iso-8859-13, latin7, L7" msgstr "*iso-8859-13*, *latin7*, *L7*" -#: library/codecs.rst:1174 +#: library/codecs.rst:1178 msgid "iso8859_14" msgstr "*iso8859_14*" -#: library/codecs.rst:1174 +#: library/codecs.rst:1178 msgid "iso-8859-14, latin8, L8" msgstr "*iso-8859-14*, *latin8*, *L8*" -#: library/codecs.rst:1174 +#: library/codecs.rst:1178 msgid "Celtic languages" msgstr "" -#: library/codecs.rst:1176 +#: library/codecs.rst:1180 msgid "iso8859_15" msgstr "*iso8859_15*" -#: library/codecs.rst:1176 +#: library/codecs.rst:1180 msgid "iso-8859-15, latin9, L9" msgstr "*iso-8859-15*, *latin9*, *L9*" -#: library/codecs.rst:1178 +#: library/codecs.rst:1182 msgid "iso8859_16" msgstr "*iso8859_16*" -#: library/codecs.rst:1178 +#: library/codecs.rst:1182 msgid "iso-8859-16, latin10, L10" msgstr "*iso-8859-16*, *latin10*, *L10*" -#: library/codecs.rst:1178 +#: library/codecs.rst:1182 msgid "South-Eastern Europe" msgstr "" -#: library/codecs.rst:1180 +#: library/codecs.rst:1184 msgid "johab" msgstr "*johab*" -#: library/codecs.rst:1180 +#: library/codecs.rst:1184 msgid "cp1361, ms1361" msgstr "*cp1361*, *ms1361*" -#: library/codecs.rst:1182 +#: library/codecs.rst:1186 msgid "koi8_r" msgstr "*koi8_r*" -#: library/codecs.rst:1184 +#: library/codecs.rst:1188 msgid "koi8_t" msgstr "*koi8_t*" -#: library/codecs.rst:1184 +#: library/codecs.rst:1188 msgid "Tajik" msgstr "*Tajik*" -#: library/codecs.rst:1188 +#: library/codecs.rst:1192 msgid "koi8_u" msgstr "*koi8_u*" -#: library/codecs.rst:1190 +#: library/codecs.rst:1194 msgid "kz1048" msgstr "*kz1048*" -#: library/codecs.rst:1190 +#: library/codecs.rst:1194 msgid "kz_1048, strk1048_2002, rk1048" msgstr "*kz_1048*, *strk1048_2002*, *rk1048*" -#: library/codecs.rst:1208 +#: library/codecs.rst:1212 msgid "Kazakh" msgstr "" -#: library/codecs.rst:1194 +#: library/codecs.rst:1198 msgid "mac_cyrillic" msgstr "*mac_cyrillic*" -#: library/codecs.rst:1194 +#: library/codecs.rst:1198 msgid "maccyrillic" msgstr "*maccyrillic*" -#: library/codecs.rst:1197 +#: library/codecs.rst:1201 msgid "mac_greek" msgstr "*mac_greek*" -#: library/codecs.rst:1197 +#: library/codecs.rst:1201 msgid "macgreek" msgstr "*macgreek*" -#: library/codecs.rst:1199 +#: library/codecs.rst:1203 msgid "mac_iceland" msgstr "*mac_iceland*" -#: library/codecs.rst:1199 +#: library/codecs.rst:1203 msgid "maciceland" msgstr "*maciceland*" -#: library/codecs.rst:1201 +#: library/codecs.rst:1205 msgid "mac_latin2" msgstr "*mac_latin2*" -#: library/codecs.rst:1201 +#: library/codecs.rst:1205 #, fuzzy msgid "maclatin2, maccentraleurope, mac_centeuro" msgstr "*maclatin2*, *maccentraleurope*" -#: library/codecs.rst:1204 +#: library/codecs.rst:1208 msgid "mac_roman" msgstr "*mac_roman*" -#: library/codecs.rst:1204 +#: library/codecs.rst:1208 msgid "macroman, macintosh" msgstr "*macroman*, *macintosh*" -#: library/codecs.rst:1206 +#: library/codecs.rst:1210 msgid "mac_turkish" msgstr "*mac_turkish*" -#: library/codecs.rst:1206 +#: library/codecs.rst:1210 msgid "macturkish" msgstr "*macturkish*" -#: library/codecs.rst:1208 +#: library/codecs.rst:1212 msgid "ptcp154" msgstr "*ptcp154*" -#: library/codecs.rst:1208 +#: library/codecs.rst:1212 msgid "csptcp154, pt154, cp154, cyrillic-asian" msgstr "*csptcp154*, *pt154*, *cp154*, *cyrillic-asian*" -#: library/codecs.rst:1211 +#: library/codecs.rst:1215 msgid "shift_jis" msgstr "*shift_jis*" -#: library/codecs.rst:1211 +#: library/codecs.rst:1215 msgid "csshiftjis, shiftjis, sjis, s_jis" msgstr "*csshiftjis*, *shiftjis*, *sjis*, *s_jis*" -#: library/codecs.rst:1214 +#: library/codecs.rst:1218 msgid "shift_jis_2004" msgstr "*shift_jis_2004*" -#: library/codecs.rst:1214 +#: library/codecs.rst:1218 msgid "shiftjis2004, sjis_2004, sjis2004" msgstr "*shiftjis2004*, *sjis_2004*, *sjis2004*" -#: library/codecs.rst:1217 +#: library/codecs.rst:1221 msgid "shift_jisx0213" msgstr "*shift_jisx0213*" -#: library/codecs.rst:1217 +#: library/codecs.rst:1221 msgid "shiftjisx0213, sjisx0213, s_jisx0213" msgstr "*shiftjisx0213*, *sjisx0213*, *s_jisx0213*" -#: library/codecs.rst:1220 +#: library/codecs.rst:1224 msgid "utf_32" msgstr "*utf_32*" -#: library/codecs.rst:1220 +#: library/codecs.rst:1224 msgid "U32, utf32" msgstr "*U32*, *utf32*" -#: library/codecs.rst:1222 library/codecs.rst:1226 library/codecs.rst:1230 -#: library/codecs.rst:1234 library/codecs.rst:1236 +#: library/codecs.rst:1226 library/codecs.rst:1230 library/codecs.rst:1234 +#: library/codecs.rst:1238 library/codecs.rst:1240 msgid "all languages" msgstr "" -#: library/codecs.rst:1222 +#: library/codecs.rst:1226 msgid "utf_32_be" msgstr "*utf_32_be*" -#: library/codecs.rst:1222 +#: library/codecs.rst:1226 msgid "UTF-32BE" msgstr "*UTF-32BE*" -#: library/codecs.rst:1224 +#: library/codecs.rst:1228 msgid "utf_32_le" msgstr "*utf_32_le*" -#: library/codecs.rst:1224 +#: library/codecs.rst:1228 msgid "UTF-32LE" msgstr "*UTF-32LE*" -#: library/codecs.rst:1226 +#: library/codecs.rst:1230 msgid "utf_16" msgstr "*utf_16*" -#: library/codecs.rst:1226 +#: library/codecs.rst:1230 msgid "U16, utf16" msgstr "*U16*, *utf16*" -#: library/codecs.rst:1228 +#: library/codecs.rst:1232 msgid "utf_16_be" msgstr "*utf_16_be*" -#: library/codecs.rst:1228 +#: library/codecs.rst:1232 msgid "UTF-16BE" msgstr "*UTF-16BE*" -#: library/codecs.rst:1230 +#: library/codecs.rst:1234 msgid "utf_16_le" msgstr "*utf_16_le*" -#: library/codecs.rst:1230 +#: library/codecs.rst:1234 msgid "UTF-16LE" msgstr "*UTF-16LE*" -#: library/codecs.rst:1232 +#: library/codecs.rst:1236 msgid "utf_7" msgstr "*utf_7*" -#: library/codecs.rst:1232 +#: library/codecs.rst:1236 msgid "U7, unicode-1-1-utf-7" msgstr "*U7*, *unicode-1-1-utf-7*" -#: library/codecs.rst:1234 +#: library/codecs.rst:1238 msgid "utf_8" msgstr "*utf_8*" -#: library/codecs.rst:1234 +#: library/codecs.rst:1238 #, fuzzy msgid "U8, UTF, utf8, cp65001" msgstr "*U8*, *UTF*, *utf8*" -#: library/codecs.rst:1236 +#: library/codecs.rst:1240 msgid "utf_8_sig" msgstr "*utf_8_sig*" -#: library/codecs.rst:1239 +#: library/codecs.rst:1243 msgid "" "The utf-16\\* and utf-32\\* encoders no longer allow surrogate code points " "(``U+D800``--``U+DFFF``) to be encoded. The utf-32\\* decoders no longer " "decode byte sequences that correspond to surrogate code points." msgstr "" -#: library/codecs.rst:1245 +#: library/codecs.rst:1249 msgid "``cp65001`` is now an alias to ``utf_8``." msgstr "" -#: library/codecs.rst:1250 +#: library/codecs.rst:1254 msgid "Python Specific Encodings" msgstr "" -#: library/codecs.rst:1252 +#: library/codecs.rst:1256 msgid "" "A number of predefined codecs are specific to Python, so their codec names " "have no meaning outside Python. These are listed in the tables below based " @@ -2423,272 +2429,272 @@ msgid "" "asymmetric codecs, the stated meaning describes the encoding direction." msgstr "" -#: library/codecs.rst:1260 +#: library/codecs.rst:1264 msgid "Text Encodings" msgstr "" -#: library/codecs.rst:1262 +#: library/codecs.rst:1266 msgid "" "The following codecs provide :class:`str` to :class:`bytes` encoding and :" "term:`bytes-like object` to :class:`str` decoding, similar to the Unicode " "text encodings." msgstr "" -#: library/codecs.rst:1271 +#: library/codecs.rst:1275 msgid "idna" msgstr "idna" -#: library/codecs.rst:1271 +#: library/codecs.rst:1275 msgid "" "Implement :rfc:`3490`, see also :mod:`encodings.idna`. Only " "``errors='strict'`` is supported." msgstr "" -#: library/codecs.rst:1277 +#: library/codecs.rst:1281 msgid "mbcs" msgstr "mbcs" -#: library/codecs.rst:1277 +#: library/codecs.rst:1281 msgid "ansi, dbcs" msgstr "" -#: library/codecs.rst:1277 +#: library/codecs.rst:1281 msgid "" "Windows only: Encode the operand according to the ANSI codepage (CP_ACP)." msgstr "" -#: library/codecs.rst:1281 +#: library/codecs.rst:1285 msgid "oem" msgstr "" -#: library/codecs.rst:1281 +#: library/codecs.rst:1285 msgid "" "Windows only: Encode the operand according to the OEM codepage (CP_OEMCP)." msgstr "" -#: library/codecs.rst:1287 +#: library/codecs.rst:1291 msgid "palmos" msgstr "palmos" -#: library/codecs.rst:1287 +#: library/codecs.rst:1291 msgid "Encoding of PalmOS 3.5." msgstr "" -#: library/codecs.rst:1289 +#: library/codecs.rst:1293 msgid "punycode" msgstr "punycode" -#: library/codecs.rst:1289 +#: library/codecs.rst:1293 msgid "Implement :rfc:`3492`. Stateful codecs are not supported." msgstr "" -#: library/codecs.rst:1293 +#: library/codecs.rst:1297 msgid "raw_unicode_escape" msgstr "raw_unicode_escape" -#: library/codecs.rst:1293 +#: library/codecs.rst:1297 msgid "" "Latin-1 encoding with ``\\uXXXX`` and ``\\UXXXXXXXX`` for other code points. " "Existing backslashes are not escaped in any way. It is used in the Python " "pickle protocol." msgstr "" -#: library/codecs.rst:1302 +#: library/codecs.rst:1306 msgid "undefined" msgstr "undefined" -#: library/codecs.rst:1302 +#: library/codecs.rst:1306 msgid "" "Raise an exception for all conversions, even empty strings. The error " "handler is ignored." msgstr "" -#: library/codecs.rst:1307 +#: library/codecs.rst:1311 msgid "unicode_escape" msgstr "unicode_escape" -#: library/codecs.rst:1307 +#: library/codecs.rst:1311 msgid "" "Encoding suitable as the contents of a Unicode literal in ASCII-encoded " "Python source code, except that quotes are not escaped. Decode from Latin-1 " "source code. Beware that Python source code actually uses UTF-8 by default." msgstr "" -#: library/codecs.rst:1319 +#: library/codecs.rst:1323 msgid "\"unicode_internal\" codec is removed." msgstr "" -#: library/codecs.rst:1326 +#: library/codecs.rst:1330 msgid "Binary Transforms" msgstr "" -#: library/codecs.rst:1328 +#: library/codecs.rst:1332 msgid "" "The following codecs provide binary transforms: :term:`bytes-like object` " "to :class:`bytes` mappings. They are not supported by :meth:`bytes.decode` " "(which only produces :class:`str` output)." msgstr "" -#: library/codecs.rst:1336 +#: library/codecs.rst:1340 msgid "Encoder / decoder" msgstr "" -#: library/codecs.rst:1338 +#: library/codecs.rst:1342 msgid "base64_codec [#b64]_" msgstr "base64_codec [#b64]_" -#: library/codecs.rst:1338 +#: library/codecs.rst:1342 msgid "base64, base_64" msgstr "base64, base_64" -#: library/codecs.rst:1338 +#: library/codecs.rst:1342 msgid "" "Convert the operand to multiline MIME base64 (the result always includes a " "trailing ``'\\n'``)." msgstr "" -#: library/codecs.rst:1343 +#: library/codecs.rst:1347 msgid "" "accepts any :term:`bytes-like object` as input for encoding and decoding" msgstr "" -#: library/codecs.rst:1338 +#: library/codecs.rst:1342 msgid ":meth:`base64.encodebytes` / :meth:`base64.decodebytes`" msgstr "" -#: library/codecs.rst:1349 +#: library/codecs.rst:1353 msgid "bz2_codec" msgstr "bz2_codec" -#: library/codecs.rst:1349 +#: library/codecs.rst:1353 msgid "bz2" msgstr "bz2" -#: library/codecs.rst:1349 +#: library/codecs.rst:1353 msgid "Compress the operand using bz2." msgstr "" -#: library/codecs.rst:1349 +#: library/codecs.rst:1353 msgid ":meth:`bz2.compress` / :meth:`bz2.decompress`" msgstr "" -#: library/codecs.rst:1352 +#: library/codecs.rst:1356 msgid "hex_codec" msgstr "hex_codec" -#: library/codecs.rst:1352 +#: library/codecs.rst:1356 msgid "hex" msgstr "hex" -#: library/codecs.rst:1352 +#: library/codecs.rst:1356 msgid "" "Convert the operand to hexadecimal representation, with two digits per byte." msgstr "" -#: library/codecs.rst:1352 +#: library/codecs.rst:1356 msgid ":meth:`binascii.b2a_hex` / :meth:`binascii.a2b_hex`" msgstr "" -#: library/codecs.rst:1357 +#: library/codecs.rst:1361 msgid "quopri_codec" msgstr "quopri_codec" -#: library/codecs.rst:1357 +#: library/codecs.rst:1361 msgid "quopri, quotedprintable, quoted_printable" msgstr "" -#: library/codecs.rst:1357 +#: library/codecs.rst:1361 msgid "Convert the operand to MIME quoted printable." msgstr "" -#: library/codecs.rst:1357 +#: library/codecs.rst:1361 msgid ":meth:`quopri.encode` with ``quotetabs=True`` / :meth:`quopri.decode`" msgstr "" -#: library/codecs.rst:1361 +#: library/codecs.rst:1365 msgid "uu_codec" msgstr "uu_codec" -#: library/codecs.rst:1361 +#: library/codecs.rst:1365 msgid "uu" msgstr "uu" -#: library/codecs.rst:1361 +#: library/codecs.rst:1365 msgid "Convert the operand using uuencode." msgstr "" -#: library/codecs.rst:1361 +#: library/codecs.rst:1365 msgid ":meth:`uu.encode` / :meth:`uu.decode`" msgstr "" -#: library/codecs.rst:1364 +#: library/codecs.rst:1368 msgid "zlib_codec" msgstr "zlib_codec" -#: library/codecs.rst:1364 +#: library/codecs.rst:1368 msgid "zip, zlib" msgstr "zip, zlib" -#: library/codecs.rst:1364 +#: library/codecs.rst:1368 msgid "Compress the operand using gzip." msgstr "" -#: library/codecs.rst:1364 +#: library/codecs.rst:1368 msgid ":meth:`zlib.compress` / :meth:`zlib.decompress`" msgstr ":meth:`zlib.compress` / :meth:`zlib.decompress`" -#: library/codecs.rst:1368 +#: library/codecs.rst:1372 msgid "" "In addition to :term:`bytes-like objects `, " "``'base64_codec'`` also accepts ASCII-only instances of :class:`str` for " "decoding" msgstr "" -#: library/codecs.rst:1372 +#: library/codecs.rst:1376 msgid "Restoration of the binary transforms." msgstr "" -#: library/codecs.rst:1375 +#: library/codecs.rst:1379 msgid "Restoration of the aliases for the binary transforms." msgstr "" -#: library/codecs.rst:1382 +#: library/codecs.rst:1386 msgid "Text Transforms" msgstr "" -#: library/codecs.rst:1384 +#: library/codecs.rst:1388 msgid "" "The following codec provides a text transform: a :class:`str` to :class:" "`str` mapping. It is not supported by :meth:`str.encode` (which only " "produces :class:`bytes` output)." msgstr "" -#: library/codecs.rst:1393 +#: library/codecs.rst:1397 msgid "rot_13" msgstr "rot_13" -#: library/codecs.rst:1393 +#: library/codecs.rst:1397 msgid "rot13" msgstr "rot13" -#: library/codecs.rst:1393 +#: library/codecs.rst:1397 msgid "Return the Caesar-cypher encryption of the operand." msgstr "" -#: library/codecs.rst:1398 +#: library/codecs.rst:1402 msgid "Restoration of the ``rot_13`` text transform." msgstr "" -#: library/codecs.rst:1401 +#: library/codecs.rst:1405 msgid "Restoration of the ``rot13`` alias." msgstr "" -#: library/codecs.rst:1406 +#: library/codecs.rst:1410 msgid "" ":mod:`encodings.idna` --- Internationalized Domain Names in Applications" msgstr "" -#: library/codecs.rst:1412 +#: library/codecs.rst:1416 msgid "" "This module implements :rfc:`3490` (Internationalized Domain Names in " "Applications) and :rfc:`3492` (Nameprep: A Stringprep Profile for " @@ -2696,7 +2702,13 @@ msgid "" "encoding and :mod:`stringprep`." msgstr "" -#: library/codecs.rst:1417 +#: library/codecs.rst:1421 +msgid "" +"If you need the IDNA 2008 standard from :rfc:`5891` and :rfc:`5895`, use the " +"third-party `idna module _`." +msgstr "" + +#: library/codecs.rst:1424 msgid "" "These RFCs together define a protocol to support non-ASCII characters in " "domain names. A domain name containing non-ASCII characters (such as ``www." @@ -2710,7 +2722,7 @@ msgid "" "presenting them to the user." msgstr "" -#: library/codecs.rst:1428 +#: library/codecs.rst:1435 msgid "" "Python supports this conversion in several ways: the ``idna`` codec " "performs conversion between Unicode and ACE, separating an input string into " @@ -2727,14 +2739,14 @@ msgid "" "sends that field at all)." msgstr "" -#: library/codecs.rst:1441 +#: library/codecs.rst:1448 msgid "" "When receiving host names from the wire (such as in reverse name lookup), no " "automatic conversion to Unicode is performed: applications wishing to " "present such host names to the user should decode them to Unicode." msgstr "" -#: library/codecs.rst:1445 +#: library/codecs.rst:1452 msgid "" "The module :mod:`encodings.idna` also implements the nameprep procedure, " "which performs certain normalizations on host names, to achieve case-" @@ -2742,49 +2754,49 @@ msgid "" "characters. The nameprep functions can be used directly if desired." msgstr "" -#: library/codecs.rst:1453 +#: library/codecs.rst:1460 msgid "" "Return the nameprepped version of *label*. The implementation currently " "assumes query strings, so ``AllowUnassigned`` is true." msgstr "" -#: library/codecs.rst:1459 +#: library/codecs.rst:1466 msgid "" "Convert a label to ASCII, as specified in :rfc:`3490`. ``UseSTD3ASCIIRules`` " "is assumed to be false." msgstr "" -#: library/codecs.rst:1465 +#: library/codecs.rst:1472 msgid "Convert a label to Unicode, as specified in :rfc:`3490`." msgstr "" -#: library/codecs.rst:1469 +#: library/codecs.rst:1476 msgid ":mod:`encodings.mbcs` --- Windows ANSI codepage" msgstr "" -#: library/codecs.rst:1474 +#: library/codecs.rst:1481 msgid "This module implements the ANSI codepage (CP_ACP)." msgstr "" -#: library/codecs.rst:1477 +#: library/codecs.rst:1484 msgid ":ref:`Availability `: Windows only." msgstr ":ref:`Disponibilité ` : Windows uniquement." -#: library/codecs.rst:1478 +#: library/codecs.rst:1485 msgid "Support any error handler." msgstr "" -#: library/codecs.rst:1481 +#: library/codecs.rst:1488 msgid "" "Before 3.2, the *errors* argument was ignored; ``'replace'`` was always used " "to encode, and ``'ignore'`` to decode." msgstr "" -#: library/codecs.rst:1487 +#: library/codecs.rst:1494 msgid ":mod:`encodings.utf_8_sig` --- UTF-8 codec with BOM signature" msgstr "" -#: library/codecs.rst:1493 +#: library/codecs.rst:1500 msgid "" "This module implements a variant of the UTF-8 codec. On encoding, a UTF-8 " "encoded BOM will be prepended to the UTF-8 encoded bytes. For the stateful " diff --git a/library/compileall.po b/library/compileall.po index 88b14712..16cde840 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-05-04 21:26+0200\n" +"Last-Translator: Jean Abou Samra \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: Jean Abou Samra \n" "X-Generator: Poedit 2.4.1\n" #: library/compileall.rst:2 @@ -303,17 +303,19 @@ msgstr "" "sont à jour." #: library/compileall.rst:169 +#, fuzzy msgid "" -"If *rx* is given, its search method is called on the complete path to each " -"file considered for compilation, and if it returns a true value, the file is " -"skipped." +"If *rx* is given, its ``search`` method is called on the complete path to " +"each file considered for compilation, and if it returns a true value, the " +"file is skipped. This can be used to exclude files matching a regular " +"expression, given as a :ref:`re.Pattern ` object." msgstr "" "Si *rx* est donné, sa méthode ``search`` est appelée sur le chemin complet " "de chaque fichier source, et si elle renvoie une valeur vraie, le fichier " "est sauté. *rx* sera habituellement une expression régulière (objet ``re." "Pattern``)." -#: library/compileall.rst:249 +#: library/compileall.rst:251 msgid "" "If *quiet* is ``False`` or ``0`` (the default), the filenames and other " "information are printed to standard out. Set to ``1``, only errors are " @@ -324,7 +326,7 @@ msgstr "" "``1``, seules les erreurs sont affichées. Avec ``2``, aucune sortie n'est " "émise." -#: library/compileall.rst:253 +#: library/compileall.rst:255 msgid "" "If *legacy* is true, byte-code files are written to their legacy locations " "and names, which may overwrite byte-code files created by another version of " @@ -339,7 +341,7 @@ msgstr "" "l'interpréteur Python de coexister en conservant chacune ses propres " "fichiers ``.pyc``." -#: library/compileall.rst:259 +#: library/compileall.rst:261 msgid "" "*optimize* specifies the optimization level for the compiler. It is passed " "to the built-in :func:`compile` function. Accepts also a sequence of " @@ -352,7 +354,7 @@ msgstr "" "d'optimisation, ce qui permet de compiler chaque fichier :file:`.py` " "plusieurs fois en appliquant divers niveaux d'optimisation." -#: library/compileall.rst:187 +#: library/compileall.rst:188 msgid "" "The argument *workers* specifies how many workers are used to compile files " "in parallel. The default is to not use multiple workers. If the platform " @@ -368,7 +370,7 @@ msgstr "" "tâches sont lancées que le système comporte de cœurs. Si *workers* est " "strictement négatif, une exception de type :exc:`ValueError` est levée." -#: library/compileall.rst:263 +#: library/compileall.rst:265 msgid "" "*invalidation_mode* should be a member of the :class:`py_compile." "PycInvalidationMode` enum and controls how the generated pycs are " @@ -378,7 +380,7 @@ msgstr "" "PycInvalidationMode` et détermine la manière dont les fichiers :file:`.pyc` " "sont invalidés lorsque l'interpréteur tente de les utiliser." -#: library/compileall.rst:267 +#: library/compileall.rst:269 msgid "" "The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the " "``-s``, ``-p`` and ``-e`` options described above. They may be specified as " @@ -388,7 +390,7 @@ msgstr "" "options ``-s``, ``-p`` et ``-e`` décrites plus haut. Ils peuvent être de " "type ``str``, ``bytes`` ou :py:class:`os.PathLike`." -#: library/compileall.rst:271 +#: library/compileall.rst:273 msgid "" "If *hardlink_dupes* is true and two ``.pyc`` files with different " "optimization level have the same content, use hard links to consolidate " @@ -397,19 +399,19 @@ msgstr "" "Un argument *hardlink_dupes* vrai correspond à l'utilisation de l'option ``--" "hardlink-dupes``." -#: library/compileall.rst:302 +#: library/compileall.rst:304 msgid "Added the *legacy* and *optimize* parameter." msgstr "ajout des paramètres *legacy* et *optimize*." -#: library/compileall.rst:208 +#: library/compileall.rst:209 msgid "Added the *workers* parameter." msgstr "ajout du paramètre *workers*." -#: library/compileall.rst:276 library/compileall.rst:305 +#: library/compileall.rst:278 library/compileall.rst:307 msgid "*quiet* parameter was changed to a multilevel value." msgstr "le paramètre *quiet* peut prendre plusieurs niveaux." -#: library/compileall.rst:279 library/compileall.rst:308 +#: library/compileall.rst:281 library/compileall.rst:310 msgid "" "The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no " "matter what the value of *optimize* is." @@ -417,26 +419,26 @@ msgstr "" "Lorsque le paramètre *legacy* est vrai, des fichiers ``.pyc``, et jamais ``." "pyo``, sont générés, quel que soit le niveau d'optimisation." -#: library/compileall.rst:218 +#: library/compileall.rst:219 msgid "Accepts a :term:`path-like object`." msgstr "accepte un :term:`objet simili-chemin `." -#: library/compileall.rst:283 library/compileall.rst:312 +#: library/compileall.rst:285 library/compileall.rst:314 msgid "The *invalidation_mode* parameter was added." msgstr "ajout du paramètre *invalidation_mode*." -#: library/compileall.rst:286 library/compileall.rst:315 +#: library/compileall.rst:288 library/compileall.rst:317 msgid "The *invalidation_mode* parameter's default value is updated to None." msgstr "" "La valeur par défaut du paramètre *invalidation_mode* est changée à ``None``." -#: library/compileall.rst:227 +#: library/compileall.rst:228 msgid "Setting *workers* to 0 now chooses the optimal number of cores." msgstr "" "Un nombre de processus adapté à la machine est choisi lorsque *workers* vaut " "0." -#: library/compileall.rst:230 +#: library/compileall.rst:231 msgid "" "Added *stripdir*, *prependdir*, *limit_sl_dest* and *hardlink_dupes* " "arguments. Default value of *maxlevels* was changed from ``10`` to ``sys." @@ -446,7 +448,7 @@ msgstr "" "*hardlink_dupes*. La valeur par défaut de *maxlevels* a été changée pour " "``sys.getrecursionlimit()`` (elle était de 10 auparavant)." -#: library/compileall.rst:236 +#: library/compileall.rst:237 msgid "" "Compile the file with path *fullname*. Return a true value if the file " "compiled successfully, and a false value otherwise." @@ -454,7 +456,7 @@ msgstr "" "Compile le fichier dont le chemin est donné par *fullname*. Renvoie une " "valeur vraie si et seulement si le fichier est compilé sans erreur." -#: library/compileall.rst:239 +#: library/compileall.rst:240 msgid "" "If *ddir* is given, it is prepended to the path to the file being compiled " "for use in compilation time tracebacks, and is also compiled in to the byte-" @@ -468,18 +470,21 @@ msgstr "" "code intermédiaire, pour utilisation dans les traces et autres messages si " "le fichier source n'existe pas au moment de l'exécution." -#: library/compileall.rst:245 +#: library/compileall.rst:246 +#, fuzzy msgid "" -"If *rx* is given, its search method is passed the full path name to the file " -"being compiled, and if it returns a true value, the file is not compiled and " -"``True`` is returned." +"If *rx* is given, its ``search`` method is passed the full path name to the " +"file being compiled, and if it returns a true value, the file is not " +"compiled and ``True`` is returned. This can be used to exclude files " +"matching a regular expression, given as a :ref:`re.Pattern ` " +"object." msgstr "" "Si *rx* est donné, sa méthode ``search`` est appelée sur le chemin complet " "de chaque fichier source, et si elle renvoie une valeur vraie, le fichier " "est sauté. *rx* sera habituellement une expression régulière (objet ``re." "Pattern``)." -#: library/compileall.rst:289 +#: library/compileall.rst:291 msgid "" "Added *stripdir*, *prependdir*, *limit_sl_dest* and *hardlink_dupes* " "arguments." @@ -487,7 +492,7 @@ msgstr "" "Ajout des arguments *stripdir*, *prependdir*, *limit_sl_dest* et " "*hardlink_dupes*." -#: library/compileall.rst:294 +#: library/compileall.rst:296 msgid "" "Byte-compile all the :file:`.py` files found along ``sys.path``. Return a " "true value if all the files compiled successfully, and a false value " @@ -497,7 +502,7 @@ msgstr "" "path``. Renvoie une valeur vraie s'ils ont tous été compilés sans erreur, et " "une valeur fausse dans le cas contraire." -#: library/compileall.rst:297 +#: library/compileall.rst:299 msgid "" "If *skip_curdir* is true (the default), the current directory is not " "included in the search. All other parameters are passed to the :func:" @@ -509,7 +514,7 @@ msgstr "" "`compile_dir`. Notez que contrairement aux autres fonctions de ce module, la " "valeur par défaut de ``maxlevels`` est ``0``." -#: library/compileall.rst:318 +#: library/compileall.rst:320 msgid "" "To force a recompile of all the :file:`.py` files in the :file:`Lib/` " "subdirectory and all its subdirectories::" @@ -517,10 +522,10 @@ msgstr "" "Pour forcer la recompilation de tous les fichiers :file:`.py` dans le " "dossier :file:`Lib/` et tous ses sous-dossiers ::" -#: library/compileall.rst:335 +#: library/compileall.rst:337 msgid "Module :mod:`py_compile`" msgstr "Module :mod:`py_compile`" -#: library/compileall.rst:336 +#: library/compileall.rst:338 msgid "Byte-compile a single source file." msgstr "Compiler un fichier source unique." diff --git a/library/configparser.po b/library/configparser.po index da018116..eb8dd844 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -729,7 +729,7 @@ msgid "" "implicitly converted to strings." msgstr "" -#: library/configparser.rst:1214 +#: library/configparser.rst:1221 msgid "" "The default *dict_type* is :class:`dict`, since it now preserves insertion " "order." @@ -948,20 +948,27 @@ msgid "" "surrounded by spaces." msgstr "" -#: library/configparser.rst:1135 +#: library/configparser.rst:1134 +msgid "" +"Comments in the original configuration file are not preserved when writing " +"the configuration back. What is considered a comment, depends on the given " +"values for *comment_prefix* and *inline_comment_prefix*." +msgstr "" + +#: library/configparser.rst:1142 msgid "" "Remove the specified *option* from the specified *section*. If the section " "does not exist, raise :exc:`NoSectionError`. If the option existed to be " "removed, return :const:`True`; otherwise return :const:`False`." msgstr "" -#: library/configparser.rst:1143 +#: library/configparser.rst:1150 msgid "" "Remove the specified *section* from the configuration. If the section in " "fact existed, return ``True``. Otherwise return ``False``." msgstr "" -#: library/configparser.rst:1149 +#: library/configparser.rst:1156 msgid "" "Transforms the option name *option* as found in an input file or as passed " "in by client code to the form that should be used in the internal " @@ -970,7 +977,7 @@ msgid "" "of this name on instances to affect this behavior." msgstr "" -#: library/configparser.rst:1155 +#: library/configparser.rst:1162 msgid "" "You don't need to subclass the parser to use this method, you can also set " "it on an instance, to a function that takes a string argument and returns a " @@ -978,46 +985,46 @@ msgid "" "sensitive::" msgstr "" -#: library/configparser.rst:1163 +#: library/configparser.rst:1170 msgid "" "Note that when reading configuration files, whitespace around the option " "names is stripped before :meth:`optionxform` is called." msgstr "" -#: library/configparser.rst:1169 +#: library/configparser.rst:1176 msgid "Use :meth:`read_file` instead." msgstr "" -#: library/configparser.rst:1172 +#: library/configparser.rst:1179 msgid "" ":meth:`readfp` now iterates on *fp* instead of calling ``fp.readline()``." msgstr "" -#: library/configparser.rst:1175 +#: library/configparser.rst:1182 msgid "" "For existing code calling :meth:`readfp` with arguments which don't support " "iteration, the following generator may be used as a wrapper around the file-" "like object::" msgstr "" -#: library/configparser.rst:1185 +#: library/configparser.rst:1192 msgid "" "Instead of ``parser.readfp(fp)`` use ``parser." "read_file(readline_generator(fp))``." msgstr "" -#: library/configparser.rst:1191 +#: library/configparser.rst:1198 msgid "" "The maximum depth for recursive interpolation for :meth:`get` when the *raw* " "parameter is false. This is relevant only when the default *interpolation* " "is used." msgstr "" -#: library/configparser.rst:1199 +#: library/configparser.rst:1206 msgid "RawConfigParser Objects" msgstr "" -#: library/configparser.rst:1209 +#: library/configparser.rst:1216 msgid "" "Legacy variant of the :class:`ConfigParser`. It has interpolation disabled " "by default and allows for non-string section names, option names, and values " @@ -1025,27 +1032,27 @@ msgid "" "``defaults=`` keyword argument handling." msgstr "" -#: library/configparser.rst:1219 +#: library/configparser.rst:1226 msgid "" "Consider using :class:`ConfigParser` instead which checks types of the " "values to be stored internally. If you don't want interpolation, you can " "use ``ConfigParser(interpolation=None)``." msgstr "" -#: library/configparser.rst:1226 +#: library/configparser.rst:1233 msgid "" "Add a section named *section* to the instance. If a section by the given " "name already exists, :exc:`DuplicateSectionError` is raised. If the " "*default section* name is passed, :exc:`ValueError` is raised." msgstr "" -#: library/configparser.rst:1230 +#: library/configparser.rst:1237 msgid "" "Type of *section* is not checked which lets users create non-string named " "sections. This behaviour is unsupported and may cause internal errors." msgstr "" -#: library/configparser.rst:1236 +#: library/configparser.rst:1243 msgid "" "If the given section exists, set the given option to the specified value; " "otherwise raise :exc:`NoSectionError`. While it is possible to use :class:" @@ -1055,7 +1062,7 @@ msgid "" "string values." msgstr "" -#: library/configparser.rst:1243 +#: library/configparser.rst:1250 msgid "" "This method lets users assign non-string values to keys internally. This " "behaviour is unsupported and will cause errors when attempting to write to a " @@ -1063,32 +1070,32 @@ msgid "" "not allow such assignments to take place." msgstr "" -#: library/configparser.rst:1250 +#: library/configparser.rst:1257 msgid "Exceptions" msgstr "Exceptions" -#: library/configparser.rst:1254 +#: library/configparser.rst:1261 msgid "Base class for all other :mod:`configparser` exceptions." msgstr "" -#: library/configparser.rst:1259 +#: library/configparser.rst:1266 msgid "Exception raised when a specified section is not found." msgstr "" -#: library/configparser.rst:1264 +#: library/configparser.rst:1271 msgid "" "Exception raised if :meth:`add_section` is called with the name of a section " "that is already present or in strict parsers when a section if found more " "than once in a single input file, string or dictionary." msgstr "" -#: library/configparser.rst:1268 +#: library/configparser.rst:1275 msgid "" "Optional ``source`` and ``lineno`` attributes and arguments to :meth:" "`__init__` were added." msgstr "" -#: library/configparser.rst:1275 +#: library/configparser.rst:1282 msgid "" "Exception raised by strict parsers if a single option appears twice during " "reading from a single file, string or dictionary. This catches misspellings " @@ -1096,58 +1103,58 @@ msgid "" "representing the same case-insensitive configuration key." msgstr "" -#: library/configparser.rst:1283 +#: library/configparser.rst:1290 msgid "" "Exception raised when a specified option is not found in the specified " "section." msgstr "" -#: library/configparser.rst:1289 +#: library/configparser.rst:1296 msgid "" "Base class for exceptions raised when problems occur performing string " "interpolation." msgstr "" -#: library/configparser.rst:1295 +#: library/configparser.rst:1302 msgid "" "Exception raised when string interpolation cannot be completed because the " "number of iterations exceeds :const:`MAX_INTERPOLATION_DEPTH`. Subclass of :" "exc:`InterpolationError`." msgstr "" -#: library/configparser.rst:1302 +#: library/configparser.rst:1309 msgid "" "Exception raised when an option referenced from a value does not exist. " "Subclass of :exc:`InterpolationError`." msgstr "" -#: library/configparser.rst:1308 +#: library/configparser.rst:1315 msgid "" "Exception raised when the source text into which substitutions are made does " "not conform to the required syntax. Subclass of :exc:`InterpolationError`." msgstr "" -#: library/configparser.rst:1314 +#: library/configparser.rst:1321 msgid "" "Exception raised when attempting to parse a file which has no section " "headers." msgstr "" -#: library/configparser.rst:1320 +#: library/configparser.rst:1327 msgid "Exception raised when errors occur attempting to parse a file." msgstr "" -#: library/configparser.rst:1322 +#: library/configparser.rst:1329 msgid "" "The ``filename`` attribute and :meth:`__init__` argument were renamed to " "``source`` for consistency." msgstr "" -#: library/configparser.rst:1328 +#: library/configparser.rst:1335 msgid "Footnotes" msgstr "Notes" -#: library/configparser.rst:1329 +#: library/configparser.rst:1336 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/dataclasses.po b/library/dataclasses.po index 8af15d19..174c818a 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-12-24 14:53+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -36,15 +36,17 @@ msgstr "" "l’utilisateur. Ces classes ont été décrites dans la :pep:`557`." #: library/dataclasses.rst:19 +#, fuzzy msgid "" "The member variables to use in these generated methods are defined using :" -"pep:`526` type annotations. For example this code::" +"pep:`526` type annotations. For example, this code::" msgstr "" "Les variables membres à utiliser dans ces méthodes générées sont définies en " "utilisant les annotations de type :pep:`526`. Par exemple, ce code ::" #: library/dataclasses.rst:34 -msgid "Will add, among other things, a :meth:`__init__` that looks like::" +#, fuzzy +msgid "will add, among other things, a :meth:`__init__` that looks like::" msgstr "" "Ajoute, entre autres choses, une méthode :meth:`__init__` qui ressemble à ::" @@ -71,9 +73,10 @@ msgstr "" "décrit ci-dessous." #: library/dataclasses.rst:54 +#, fuzzy msgid "" "The :func:`dataclass` decorator examines the class to find ``field``\\s. A " -"``field`` is defined as class variable that has a :term:`type annotation " +"``field`` is defined as a class variable that has a :term:`type annotation " "`. With two exceptions described below, nothing in :" "func:`dataclass` examines the type specified in the variable annotation." msgstr "" @@ -95,9 +98,10 @@ msgstr "" #, fuzzy msgid "" "The :func:`dataclass` decorator will add various \"dunder\" methods to the " -"class, described below. If any of the added methods already exist on the " +"class, described below. If any of the added methods already exist in the " "class, the behavior depends on the parameter, as documented below. The " -"decorator returns the same class that is called on; no new class is created." +"decorator returns the same class that it is called on; no new class is " +"created." msgstr "" "Le décorateur :func:`dataclass` ajoute diverses méthodes « spéciales » à la " "classe, décrites ci-après. Si l’une des méthodes ajoutées existe déjà dans " @@ -318,10 +322,11 @@ msgstr "" "la méthode générée :meth:`__init__`, qui est définie comme suit ::" #: library/dataclasses.rst:177 +#, fuzzy msgid "" ":exc:`TypeError` will be raised if a field without a default value follows a " -"field with a default value. This is true either when this occurs in a " -"single class, or as a result of class inheritance." +"field with a default value. This is true whether this occurs in a single " +"class, or as a result of class inheritance." msgstr "" "Une :exc:`TypeError` est levée si un champ sans valeur par défaut est défini " "après un champ avec une valeur par défaut. C’est le cas que ce soit dans " @@ -514,7 +519,7 @@ msgstr "" #: library/dataclasses.rst:364 msgid "" -"Creates a new object of the same type of ``instance``, replacing fields with " +"Creates a new object of the same type as ``instance``, replacing fields with " "values from ``changes``. If ``instance`` is not a Data Class, raises :exc:" "`TypeError`. If values in ``changes`` do not specify fields, raises :exc:" "`TypeError`." @@ -586,16 +591,31 @@ msgstr "" #: library/dataclasses.rst:425 msgid "" +"The :meth:`__init__` method generated by :func:`dataclass` does not call " +"base class :meth:`__init__` methods. If the base class has an :meth:" +"`__init__` method that has to be called, it is common to call this method in " +"a :meth:`__post_init__` method::" +msgstr "" + +#: library/dataclasses.rst:442 +msgid "" +"Note, however, that in general the dataclass-generated :meth:`__init__` " +"methods don't need to be called, since the derived dataclass will take care " +"of initializing all fields of any base class that is a dataclass itself." +msgstr "" + +#: library/dataclasses.rst:446 +msgid "" "See the section below on init-only variables for ways to pass parameters to :" "meth:`__post_init__`. Also see the warning about how :func:`replace` " "handles ``init=False`` fields." msgstr "" -#: library/dataclasses.rst:430 +#: library/dataclasses.rst:451 msgid "Class variables" msgstr "" -#: library/dataclasses.rst:432 +#: library/dataclasses.rst:453 msgid "" "One of two places where :func:`dataclass` actually inspects the type of a " "field is to determine if a field is a class variable as defined in :pep:" @@ -605,11 +625,11 @@ msgid "" "pseudo-fields are not returned by the module-level :func:`fields` function." msgstr "" -#: library/dataclasses.rst:441 +#: library/dataclasses.rst:462 msgid "Init-only variables" msgstr "" -#: library/dataclasses.rst:443 +#: library/dataclasses.rst:464 msgid "" "The other place where :func:`dataclass` inspects a type annotation is to " "determine if a field is an init-only variable. It does this by seeing if " @@ -621,23 +641,23 @@ msgid "" "`__post_init__` method. They are not otherwise used by dataclasses." msgstr "" -#: library/dataclasses.rst:453 +#: library/dataclasses.rst:474 msgid "" "For example, suppose a field will be initialized from a database, if a value " "is not provided when creating the class::" msgstr "" -#: library/dataclasses.rst:468 +#: library/dataclasses.rst:489 msgid "" "In this case, :func:`fields` will return :class:`Field` objects for ``i`` " "and ``j``, but not for ``database``." msgstr "" -#: library/dataclasses.rst:472 +#: library/dataclasses.rst:493 msgid "Frozen instances" msgstr "" -#: library/dataclasses.rst:474 +#: library/dataclasses.rst:495 msgid "" "It is not possible to create truly immutable Python objects. However, by " "passing ``frozen=True`` to the :meth:`dataclass` decorator you can emulate " @@ -646,18 +666,18 @@ msgid "" "`FrozenInstanceError` when invoked." msgstr "" -#: library/dataclasses.rst:480 +#: library/dataclasses.rst:501 msgid "" "There is a tiny performance penalty when using ``frozen=True``: :meth:" "`__init__` cannot use simple assignment to initialize fields, and must use :" "meth:`object.__setattr__`." msgstr "" -#: library/dataclasses.rst:485 +#: library/dataclasses.rst:506 msgid "Inheritance" msgstr "Héritage" -#: library/dataclasses.rst:487 +#: library/dataclasses.rst:508 msgid "" "When the dataclass is being created by the :meth:`dataclass` decorator, it " "looks through all of the class's base classes in reverse MRO (that is, " @@ -669,28 +689,28 @@ msgid "" "derived classes override base classes. An example::" msgstr "" -#: library/dataclasses.rst:507 +#: library/dataclasses.rst:528 msgid "" "The final list of fields is, in order, ``x``, ``y``, ``z``. The final type " "of ``x`` is ``int``, as specified in class ``C``." msgstr "" -#: library/dataclasses.rst:510 +#: library/dataclasses.rst:531 msgid "The generated :meth:`__init__` method for ``C`` will look like::" msgstr "" -#: library/dataclasses.rst:515 +#: library/dataclasses.rst:536 msgid "Default factory functions" msgstr "" -#: library/dataclasses.rst:517 +#: library/dataclasses.rst:538 msgid "" "If a :func:`field` specifies a ``default_factory``, it is called with zero " "arguments when a default value for the field is needed. For example, to " "create a new instance of a list, use::" msgstr "" -#: library/dataclasses.rst:523 +#: library/dataclasses.rst:544 msgid "" "If a field is excluded from :meth:`__init__` (using ``init=False``) and the " "field also specifies ``default_factory``, then the default factory function " @@ -698,31 +718,31 @@ msgid "" "happens because there is no other way to give the field an initial value." msgstr "" -#: library/dataclasses.rst:530 +#: library/dataclasses.rst:551 msgid "Mutable default values" msgstr "" -#: library/dataclasses.rst:532 +#: library/dataclasses.rst:553 msgid "" "Python stores default member variable values in class attributes. Consider " "this example, not using dataclasses::" msgstr "" -#: library/dataclasses.rst:547 +#: library/dataclasses.rst:568 msgid "" "Note that the two instances of class ``C`` share the same class variable " "``x``, as expected." msgstr "" -#: library/dataclasses.rst:550 +#: library/dataclasses.rst:571 msgid "Using dataclasses, *if* this code was valid::" msgstr "" -#: library/dataclasses.rst:558 +#: library/dataclasses.rst:579 msgid "it would generate code similar to::" msgstr "" -#: library/dataclasses.rst:569 +#: library/dataclasses.rst:590 msgid "" "This has the same issue as the original example using class ``C``. That is, " "two instances of class ``D`` that do not specify a value for ``x`` when " @@ -734,18 +754,19 @@ msgid "" "partial solution, but it does protect against many common errors." msgstr "" -#: library/dataclasses.rst:579 +#: library/dataclasses.rst:600 msgid "" "Using default factory functions is a way to create new instances of mutable " "types as default values for fields::" msgstr "" -#: library/dataclasses.rst:589 +#: library/dataclasses.rst:610 msgid "Exceptions" msgstr "Exceptions" -#: library/dataclasses.rst:593 +#: library/dataclasses.rst:614 msgid "" "Raised when an implicitly defined :meth:`__setattr__` or :meth:`__delattr__` " -"is called on a dataclass which was defined with ``frozen=True``." +"is called on a dataclass which was defined with ``frozen=True``. It is a " +"subclass of :exc:`AttributeError`." msgstr "" diff --git a/library/email.compat32-message.po b/library/email.compat32-message.po index 5e704ab3..01ef0937 100644 --- a/library/email.compat32-message.po +++ b/library/email.compat32-message.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -45,7 +45,7 @@ msgstr "" #: library/email.compat32-message.rst:25 msgid "" "An email message consists of *headers* and a *payload*. Headers must be :" -"rfc:`5233` style names and values, where the field name and value are " +"rfc:`5322` style names and values, where the field name and value are " "separated by a colon. The colon is not part of either the field name or the " "field value. The payload may be a simple text message, or a binary object, " "or a structured sequence of sub-messages each with their own set of headers " diff --git a/library/email.po b/library/email.po index 0795072a..bd8059f1 100644 --- a/library/email.po +++ b/library/email.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -23,12 +23,13 @@ msgid "**Source code:** :source:`Lib/email/__init__.py`" msgstr "**Code source:** :source:`Lib/email/__init__.py`" #: library/email.rst:15 +#, fuzzy msgid "" "The :mod:`email` package is a library for managing email messages. It is " "specifically *not* designed to do any sending of email messages to SMTP (:" "rfc:`2821`), NNTP, or other servers; those are functions of modules such as :" "mod:`smtplib` and :mod:`nntplib`. The :mod:`email` package attempts to be " -"as RFC-compliant as possible, supporting :rfc:`5233` and :rfc:`6532`, as " +"as RFC-compliant as possible, supporting :rfc:`5322` and :rfc:`6532`, as " "well as such MIME-related RFCs as :rfc:`2045`, :rfc:`2046`, :rfc:`2047`, :" "rfc:`2183`, and :rfc:`2231`." msgstr "" diff --git a/library/exceptions.po b/library/exceptions.po index 930d74ab..53e70298 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-10-15 09:04+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -95,10 +95,11 @@ msgstr "" "d'origine et l'exception finale." #: library/exceptions.rst:43 +#, fuzzy msgid "" "When raising a new exception (rather than using a bare ``raise`` to re-raise " "the exception currently being handled), the implicit exception context can " -"be supplemented with an explicit cause by using :keyword:`from` with :" +"be supplemented with an explicit cause by using :keyword:`from` with :" "keyword:`raise`::" msgstr "" "En levant une nouvelle exception (plutôt que d'utiliser un simple ``raise`` " @@ -107,14 +108,16 @@ msgstr "" "utilisant :keyword:`from` avec :keyword:`raise` ::" #: library/exceptions.rst:50 +#, fuzzy msgid "" -"The expression following :keyword:`from` must be an exception or ``None``. " -"It will be set as :attr:`__cause__` on the raised exception. Setting :attr:" -"`__cause__` also implicitly sets the :attr:`__suppress_context__` attribute " -"to ``True``, so that using ``raise new_exc from None`` effectively replaces " -"the old exception with the new one for display purposes (e.g. converting :" -"exc:`KeyError` to :exc:`AttributeError`), while leaving the old exception " -"available in :attr:`__context__` for introspection when debugging." +"The expression following :keyword:`from` must be an exception or " +"``None``. It will be set as :attr:`__cause__` on the raised exception. " +"Setting :attr:`__cause__` also implicitly sets the :attr:" +"`__suppress_context__` attribute to ``True``, so that using ``raise new_exc " +"from None`` effectively replaces the old exception with the new one for " +"display purposes (e.g. converting :exc:`KeyError` to :exc:`AttributeError`), " +"while leaving the old exception available in :attr:`__context__` for " +"introspection when debugging." msgstr "" "L'expression suivant :keyword:`from` doit être une exception ou ``None``. " "Elle sera assignée en tant que :attr:`__cause__` dans l'exception levée. " @@ -669,16 +672,32 @@ msgstr "" #: library/exceptions.rst:400 msgid "" -"Instances of this class have attributes :attr:`filename`, :attr:`lineno`, :" -"attr:`offset` and :attr:`text` for easier access to the details. :func:" -"`str` of the exception instance returns only the message." +"The :func:`str` of the exception instance returns only the error message." msgstr "" -"Les instances de cette classe ont des attributs :attr:`filename`, :attr:" -"`lineno`, :attr:`offset` et :attr:`text` pour accéder plus facilement aux " -"détails. La représentation :func:`str` de l'instance de l'exception retourne " -"seulement le message." -#: library/exceptions.rst:407 +#: library/exceptions.rst:404 +#, fuzzy +msgid "The name of the file the syntax error occurred in." +msgstr "Le nom de l'encodage qui a provoqué l'erreur." + +#: library/exceptions.rst:408 +msgid "" +"Which line number in the file the error occurred in. This is 1-indexed: the " +"first line in the file has a ``lineno`` of 1." +msgstr "" + +#: library/exceptions.rst:413 +msgid "" +"The column in the line where the error occurred. This is 1-indexed: the " +"first character in the line has an ``offset`` of 1." +msgstr "" + +#: library/exceptions.rst:418 +#, fuzzy +msgid "The source code text involved in the error." +msgstr "Le nom de l'encodage qui a provoqué l'erreur." + +#: library/exceptions.rst:423 msgid "" "Base class for syntax errors related to incorrect indentation. This is a " "subclass of :exc:`SyntaxError`." @@ -686,7 +705,7 @@ msgstr "" "Classe de base pour les erreurs de syntaxe liées à une indentation " "incorrecte. C'est une sous-classe de :exc:`SyntaxError`." -#: library/exceptions.rst:413 +#: library/exceptions.rst:429 msgid "" "Raised when indentation contains an inconsistent use of tabs and spaces. " "This is a subclass of :exc:`IndentationError`." @@ -694,7 +713,7 @@ msgstr "" "Levée lorsqu'une indentation contient une utilisation incohérente des " "tabulations et des espaces. C'est une sous-classe de :exc:`IndentationError`." -#: library/exceptions.rst:419 +#: library/exceptions.rst:435 msgid "" "Raised when the interpreter finds an internal error, but the situation does " "not look so serious to cause it to abandon all hope. The associated value is " @@ -705,7 +724,7 @@ msgstr "" "espoir. La valeur associée est une chaîne de caractères indiquant l'erreur " "qui est survenue (en termes bas niveau)." -#: library/exceptions.rst:423 +#: library/exceptions.rst:439 msgid "" "You should report this to the author or maintainer of your Python " "interpreter. Be sure to report the version of the Python interpreter (``sys." @@ -719,7 +738,7 @@ msgstr "" "interactive), le message d'erreur exact (la valeur associée à l'exception) " "et si possible le code source du programme qui a déclenché l'erreur." -#: library/exceptions.rst:432 +#: library/exceptions.rst:448 msgid "" "This exception is raised by the :func:`sys.exit` function. It inherits " "from :exc:`BaseException` instead of :exc:`Exception` so that it is not " @@ -744,7 +763,7 @@ msgstr "" "autre type (comme une chaîne de caractères), la valeur de l'objet est " "affichée et l'état de sortie est un." -#: library/exceptions.rst:443 +#: library/exceptions.rst:459 msgid "" "A call to :func:`sys.exit` is translated into an exception so that clean-up " "handlers (:keyword:`finally` clauses of :keyword:`try` statements) can be " @@ -761,7 +780,7 @@ msgstr "" "immédiatement (par exemple, dans le processus enfant après un appel à :func:" "`os.fork`)." -#: library/exceptions.rst:452 +#: library/exceptions.rst:468 msgid "" "The exit status or error message that is passed to the constructor. " "(Defaults to ``None``.)" @@ -769,7 +788,7 @@ msgstr "" "L'état de sortie ou le message d'erreur passé au constructeur. (``None`` par " "défaut.)" -#: library/exceptions.rst:458 +#: library/exceptions.rst:474 msgid "" "Raised when an operation or function is applied to an object of " "inappropriate type. The associated value is a string giving details about " @@ -779,7 +798,7 @@ msgstr "" "inapproprié. La valeur associée est une chaîne de caractères donnant des " "détails sur le type d'inadéquation." -#: library/exceptions.rst:461 +#: library/exceptions.rst:477 msgid "" "This exception may be raised by user code to indicate that an attempted " "operation on an object is not supported, and is not meant to be. If an " @@ -792,7 +811,7 @@ msgstr "" "donnée mais n'a pas encore fourni une implémentation, lever :exc:" "`NotImplementedError` est plus approprié." -#: library/exceptions.rst:466 +#: library/exceptions.rst:482 msgid "" "Passing arguments of the wrong type (e.g. passing a :class:`list` when an :" "class:`int` is expected) should result in a :exc:`TypeError`, but passing " @@ -804,7 +823,7 @@ msgstr "" "le passage d'arguments avec la mauvaise valeur (e.g. un nombre en dehors des " "limites attendues) devrait résulter en une :exc:`ValueError`." -#: library/exceptions.rst:473 +#: library/exceptions.rst:489 msgid "" "Raised when a reference is made to a local variable in a function or method, " "but no value has been bound to that variable. This is a subclass of :exc:" @@ -814,7 +833,7 @@ msgstr "" "ou une méthode, mais qu'aucune valeur n'a été liée à cette variable. C'est " "une sous-classe de :exc:`NameError`." -#: library/exceptions.rst:480 +#: library/exceptions.rst:496 msgid "" "Raised when a Unicode-related encoding or decoding error occurs. It is a " "subclass of :exc:`ValueError`." @@ -822,7 +841,7 @@ msgstr "" "Levée lorsqu'une erreur d'encodage ou de décodage liée à Unicode se produit. " "C'est une sous-classe de :exc:`ValueError`." -#: library/exceptions.rst:483 +#: library/exceptions.rst:499 msgid "" ":exc:`UnicodeError` has attributes that describe the encoding or decoding " "error. For example, ``err.object[err.start:err.end]`` gives the particular " @@ -832,27 +851,27 @@ msgstr "" "décodage. Par exemple, ``err.object[err.start:err.end]`` donne l'entrée " "particulière invalide sur laquelle le codec a échoué." -#: library/exceptions.rst:489 +#: library/exceptions.rst:505 msgid "The name of the encoding that raised the error." msgstr "Le nom de l'encodage qui a provoqué l'erreur." -#: library/exceptions.rst:493 +#: library/exceptions.rst:509 msgid "A string describing the specific codec error." msgstr "Une chaîne de caractères décrivant l'erreur de codec spécifique." -#: library/exceptions.rst:497 +#: library/exceptions.rst:513 msgid "The object the codec was attempting to encode or decode." msgstr "L'objet que le codec essayait d'encoder ou de décoder." -#: library/exceptions.rst:501 +#: library/exceptions.rst:517 msgid "The first index of invalid data in :attr:`object`." msgstr "Le premier index des données invalides dans :attr:`object`." -#: library/exceptions.rst:505 +#: library/exceptions.rst:521 msgid "The index after the last invalid data in :attr:`object`." msgstr "L'index après la dernière donnée invalide dans :attr:`object`." -#: library/exceptions.rst:510 +#: library/exceptions.rst:526 msgid "" "Raised when a Unicode-related error occurs during encoding. It is a " "subclass of :exc:`UnicodeError`." @@ -860,7 +879,7 @@ msgstr "" "Levée lorsqu'une erreur liée à Unicode se produit durant l'encodage. C'est " "une sous-classe d':exc:`UnicodeError`." -#: library/exceptions.rst:516 +#: library/exceptions.rst:532 msgid "" "Raised when a Unicode-related error occurs during decoding. It is a " "subclass of :exc:`UnicodeError`." @@ -868,7 +887,7 @@ msgstr "" "Levée lorsqu'une erreur liée à Unicode se produit durant le décodage. C'est " "une sous-classe d':exc:`UnicodeError`." -#: library/exceptions.rst:522 +#: library/exceptions.rst:538 msgid "" "Raised when a Unicode-related error occurs during translating. It is a " "subclass of :exc:`UnicodeError`." @@ -876,7 +895,7 @@ msgstr "" "Levée lorsqu'une erreur liée à Unicode se produit durant la traduction. " "C'est une sous-classe d':exc:`UnicodeError`." -#: library/exceptions.rst:528 +#: library/exceptions.rst:544 msgid "" "Raised when an operation or function receives an argument that has the right " "type but an inappropriate value, and the situation is not described by a " @@ -886,7 +905,7 @@ msgstr "" "le bon type mais une valeur inappropriée, et que la situation n'est pas " "décrite par une exception plus précise telle que :exc:`IndexError`." -#: library/exceptions.rst:535 +#: library/exceptions.rst:551 msgid "" "Raised when the second argument of a division or modulo operation is zero. " "The associated value is a string indicating the type of the operands and the " @@ -896,7 +915,7 @@ msgstr "" "est zéro. La valeur associée est une chaîne indiquant le type des opérandes " "et de l'opération." -#: library/exceptions.rst:540 +#: library/exceptions.rst:556 msgid "" "The following exceptions are kept for compatibility with previous versions; " "starting from Python 3.3, they are aliases of :exc:`OSError`." @@ -904,15 +923,15 @@ msgstr "" "Les exceptions suivantes sont conservées pour la compatibilité avec les " "anciennes versions ; depuis Python 3.3, ce sont des alias d':exc:`OSError`." -#: library/exceptions.rst:549 +#: library/exceptions.rst:565 msgid "Only available on Windows." msgstr "Seulement disponible sous Windows." -#: library/exceptions.rst:553 +#: library/exceptions.rst:569 msgid "OS exceptions" msgstr "Exceptions système" -#: library/exceptions.rst:555 +#: library/exceptions.rst:571 msgid "" "The following exceptions are subclasses of :exc:`OSError`, they get raised " "depending on the system error code." @@ -920,7 +939,7 @@ msgstr "" "Les exceptions suivantes sont des sous-classes d':exc:`OSError`, elles sont " "levées en fonction du code d'erreur système." -#: library/exceptions.rst:560 +#: library/exceptions.rst:576 msgid "" "Raised when an operation would block on an object (e.g. socket) set for non-" "blocking operation. Corresponds to :c:data:`errno` ``EAGAIN``, ``EALREADY``, " @@ -930,7 +949,7 @@ msgstr "" "configuré pour une opération non-bloquante. Correspond à :c:data:`errno` " "``EAGAIN``, ``EALREADY``, ``EWOULDBLOCK`` et ``EINPROGRESS``." -#: library/exceptions.rst:565 +#: library/exceptions.rst:581 msgid "" "In addition to those of :exc:`OSError`, :exc:`BlockingIOError` can have one " "more attribute:" @@ -938,7 +957,7 @@ msgstr "" "En plus de ceux de :exc:`OSError`, :exc:`BlockingIOError` peut avoir un " "attribut de plus :" -#: library/exceptions.rst:570 +#: library/exceptions.rst:586 msgid "" "An integer containing the number of characters written to the stream before " "it blocked. This attribute is available when using the buffered I/O classes " @@ -948,7 +967,7 @@ msgstr "" "qu'il ne soit bloqué. Cet attribut est disponible lors de l'utilisation des " "classes tampon entrées-sorties du module :mod:`io`." -#: library/exceptions.rst:576 +#: library/exceptions.rst:592 msgid "" "Raised when an operation on a child process failed. Corresponds to :c:data:" "`errno` ``ECHILD``." @@ -956,11 +975,11 @@ msgstr "" "Levée lorsqu'une opération sur un processus enfant a échoué. Correspond à :c:" "data:`errno` ``ECHILD``." -#: library/exceptions.rst:581 +#: library/exceptions.rst:597 msgid "A base class for connection-related issues." msgstr "Une classe de base pour les problèmes de connexion." -#: library/exceptions.rst:583 +#: library/exceptions.rst:599 msgid "" "Subclasses are :exc:`BrokenPipeError`, :exc:`ConnectionAbortedError`, :exc:" "`ConnectionRefusedError` and :exc:`ConnectionResetError`." @@ -969,7 +988,7 @@ msgstr "" "`ConnectionAbortedError`, :exc:`ConnectionRefusedError` et :exc:" "`ConnectionResetError`." -#: library/exceptions.rst:588 +#: library/exceptions.rst:604 msgid "" "A subclass of :exc:`ConnectionError`, raised when trying to write on a pipe " "while the other end has been closed, or trying to write on a socket which " @@ -981,7 +1000,7 @@ msgstr "" "un connecteur (*socket* en anglais) qui a été fermé pour l'écriture. " "Correspond à :c:data:`errno` ``EPIPE`` et ``ESHUTDOWN``." -#: library/exceptions.rst:595 +#: library/exceptions.rst:611 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection attempt is " "aborted by the peer. Corresponds to :c:data:`errno` ``ECONNABORTED``." @@ -990,7 +1009,7 @@ msgstr "" "connexion est interrompue par le pair. Correspond à :c:data:`errno` " "``ECONNABORTED``." -#: library/exceptions.rst:601 +#: library/exceptions.rst:617 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection attempt is " "refused by the peer. Corresponds to :c:data:`errno` ``ECONNREFUSED``." @@ -999,7 +1018,7 @@ msgstr "" "connexion est refusée par le pair. Correspond à :c:data:`errno` " "``ECONNREFUSED``." -#: library/exceptions.rst:607 +#: library/exceptions.rst:623 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection is reset by " "the peer. Corresponds to :c:data:`errno` ``ECONNRESET``." @@ -1007,7 +1026,7 @@ msgstr "" "Une sous-classe de :exc:`ConnectionError`, levée lorsqu'une connexion est " "réinitialisée par le pair. Correspond à :c:data:`errno` ``ECONNRESET``." -#: library/exceptions.rst:613 +#: library/exceptions.rst:629 msgid "" "Raised when trying to create a file or directory which already exists. " "Corresponds to :c:data:`errno` ``EEXIST``." @@ -1015,7 +1034,7 @@ msgstr "" "Levée en essayant de créer un fichier ou un répertoire qui existe déjà. " "Correspond à :c:data:`errno` ``EEXIST``." -#: library/exceptions.rst:618 +#: library/exceptions.rst:634 msgid "" "Raised when a file or directory is requested but doesn't exist. Corresponds " "to :c:data:`errno` ``ENOENT``." @@ -1023,7 +1042,7 @@ msgstr "" "Levée lorsqu'un fichier ou répertoire est demandé mais n'existe pas. " "Correspond à :c:data:`errno` ``ENOENT``." -#: library/exceptions.rst:623 +#: library/exceptions.rst:639 msgid "" "Raised when a system call is interrupted by an incoming signal. Corresponds " "to :c:data:`errno` :py:data:`~errno.EINTR`." @@ -1031,7 +1050,7 @@ msgstr "" "Levée lorsqu'un appel système est interrompu par un signal entrant. " "Correspond à :c:data:`errno` :py:data:`~errno.EINTR`." -#: library/exceptions.rst:626 +#: library/exceptions.rst:642 msgid "" "Python now retries system calls when a syscall is interrupted by a signal, " "except if the signal handler raises an exception (see :pep:`475` for the " @@ -1041,7 +1060,7 @@ msgstr "" "un signal, sauf si le gestionnaire de signal lève une exception (voir :pep:" "`475` pour les raisons), au lieu de lever :exc:`InterruptedError`." -#: library/exceptions.rst:633 +#: library/exceptions.rst:649 msgid "" "Raised when a file operation (such as :func:`os.remove`) is requested on a " "directory. Corresponds to :c:data:`errno` ``EISDIR``." @@ -1049,7 +1068,7 @@ msgstr "" "Levée lorsqu'une opération sur un fichier (comme :func:`os.remove`) est " "demandée sur un répertoire. Correspond à :c:data:`errno` ``EISDIR``." -#: library/exceptions.rst:639 +#: library/exceptions.rst:655 msgid "" "Raised when a directory operation (such as :func:`os.listdir`) is requested " "on something which is not a directory. Corresponds to :c:data:`errno` " @@ -1059,7 +1078,7 @@ msgstr "" "demandée sur autre chose qu'un répertoire. Correspond à :c:data:`errno` " "``ENOTDIR``." -#: library/exceptions.rst:645 +#: library/exceptions.rst:661 msgid "" "Raised when trying to run an operation without the adequate access rights - " "for example filesystem permissions. Corresponds to :c:data:`errno` " @@ -1069,7 +1088,7 @@ msgstr "" "adéquats — par exemple les permissions du système de fichiers. Correspond à :" "c:data:`errno` ``EACCES`` et ``EPERM``." -#: library/exceptions.rst:651 +#: library/exceptions.rst:667 msgid "" "Raised when a given process doesn't exist. Corresponds to :c:data:`errno` " "``ESRCH``." @@ -1077,7 +1096,7 @@ msgstr "" "Levée lorsqu'un processus donné n'existe pas. Correspond à :c:data:`errno` " "``ESRCH``." -#: library/exceptions.rst:656 +#: library/exceptions.rst:672 msgid "" "Raised when a system function timed out at the system level. Corresponds to :" "c:data:`errno` ``ETIMEDOUT``." @@ -1085,19 +1104,19 @@ msgstr "" "Levée lorsqu'une fonction système a expiré au niveau système. Correspond à :" "c:data:`errno` ``ETIMEDOUT``." -#: library/exceptions.rst:659 +#: library/exceptions.rst:675 msgid "All the above :exc:`OSError` subclasses were added." msgstr "Toutes les sous-classes d':exc:`OSError` ci-dessus ont été ajoutées." -#: library/exceptions.rst:665 +#: library/exceptions.rst:681 msgid ":pep:`3151` - Reworking the OS and IO exception hierarchy" msgstr ":pep:`3151` -- Refonte de la hiérarchie des exceptions système et IO" -#: library/exceptions.rst:671 +#: library/exceptions.rst:687 msgid "Warnings" msgstr "Avertissements" -#: library/exceptions.rst:673 +#: library/exceptions.rst:689 msgid "" "The following exceptions are used as warning categories; see the :ref:" "`warning-categories` documentation for more details." @@ -1105,16 +1124,16 @@ msgstr "" "Les exceptions suivantes sont utilisées comme catégories d'avertissement ; " "voir :mod:`warning-categories` pour plus d'informations." -#: library/exceptions.rst:678 +#: library/exceptions.rst:694 msgid "Base class for warning categories." msgstr "Classe de base pour les catégories d'avertissement." -#: library/exceptions.rst:683 +#: library/exceptions.rst:699 msgid "Base class for warnings generated by user code." msgstr "" "Classe de base pour les avertissements générés par du code utilisateur." -#: library/exceptions.rst:688 +#: library/exceptions.rst:704 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for other Python developers." @@ -1122,14 +1141,14 @@ msgstr "" "Classe de base pour les avertissements sur les fonctionnalités obsolètes, " "lorsque ces avertissements sont destinés aux autres développeurs Python." -#: library/exceptions.rst:691 +#: library/exceptions.rst:707 msgid "" "Ignored by the default warning filters, except in the ``__main__`` module (:" "pep:`565`). Enabling the :ref:`Python Development Mode ` shows this " "warning." msgstr "" -#: library/exceptions.rst:698 +#: library/exceptions.rst:714 msgid "" "Base class for warnings about features which are obsolete and expected to be " "deprecated in the future, but are not deprecated at the moment." @@ -1138,7 +1157,7 @@ msgstr "" "indiquent que la fonctionnalité peut encore être utilisée actuellement, mais " "qu'elle sera supprimée dans le futur." -#: library/exceptions.rst:702 +#: library/exceptions.rst:718 msgid "" "This class is rarely used as emitting a warning about a possible upcoming " "deprecation is unusual, and :exc:`DeprecationWarning` is preferred for " @@ -1148,23 +1167,23 @@ msgstr "" "d’une obsolescence à venir est inhabituel, et :exc:`DeprecationWarning` est " "préféré pour les obsolescences actuelles." -#: library/exceptions.rst:730 library/exceptions.rst:748 +#: library/exceptions.rst:746 library/exceptions.rst:764 msgid "" "Ignored by the default warning filters. Enabling the :ref:`Python " "Development Mode ` shows this warning." msgstr "" -#: library/exceptions.rst:712 +#: library/exceptions.rst:728 msgid "Base class for warnings about dubious syntax." msgstr "Classe de base pour les avertissements sur de la syntaxe douteuse." -#: library/exceptions.rst:717 +#: library/exceptions.rst:733 msgid "Base class for warnings about dubious runtime behavior." msgstr "" "Classe de base pour les avertissements sur les comportements d'exécution " "douteux." -#: library/exceptions.rst:722 +#: library/exceptions.rst:738 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for end users of applications that are written in Python." @@ -1173,36 +1192,46 @@ msgstr "" "seront obsolètes dans le futur quand ces avertissements destinés aux " "utilisateurs finaux des applications écrites en Python." -#: library/exceptions.rst:728 +#: library/exceptions.rst:744 msgid "Base class for warnings about probable mistakes in module imports." msgstr "" "Classe de base pour les avertissements sur des erreurs probables dans les " "importations de modules." -#: library/exceptions.rst:736 +#: library/exceptions.rst:752 msgid "Base class for warnings related to Unicode." msgstr "Classe de base pour les avertissements liés à l'Unicode." -#: library/exceptions.rst:741 +#: library/exceptions.rst:757 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`." -#: library/exceptions.rst:746 +#: library/exceptions.rst:762 #, fuzzy msgid "Base class for warnings related to resource usage." msgstr "Classe de base pour les avertissements liés à l'Unicode." -#: library/exceptions.rst:756 +#: library/exceptions.rst:772 msgid "Exception hierarchy" msgstr "Hiérarchie des exceptions" -#: library/exceptions.rst:758 +#: library/exceptions.rst:774 msgid "The class hierarchy for built-in exceptions is:" msgstr "La hiérarchie de classes pour les exceptions natives est la suivante :" +#~ msgid "" +#~ "Instances of this class have attributes :attr:`filename`, :attr:" +#~ "`lineno`, :attr:`offset` and :attr:`text` for easier access to the " +#~ "details. :func:`str` of the exception instance returns only the message." +#~ msgstr "" +#~ "Les instances de cette classe ont des attributs :attr:`filename`, :attr:" +#~ "`lineno`, :attr:`offset` et :attr:`text` pour accéder plus facilement aux " +#~ "détails. La représentation :func:`str` de l'instance de l'exception " +#~ "retourne seulement le message." + #~ msgid "" #~ "Base class for warnings related to resource usage. Ignored by the default " #~ "warning filters." diff --git a/library/ftplib.po b/library/ftplib.po index 4c992099..b010659c 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -40,11 +40,11 @@ msgstr "" msgid "Here's a sample session using the :mod:`ftplib` module::" msgstr "" -#: library/ftplib.rst:44 +#: library/ftplib.rst:46 msgid "The module defines the following items:" msgstr "Le module définit les éléments suivants :" -#: library/ftplib.rst:48 +#: library/ftplib.rst:50 msgid "" "Return a new instance of the :class:`FTP` class. When *host* is given, the " "method call ``connect(host)`` is made. When *user* is given, additionally " @@ -57,19 +57,19 @@ msgid "" "specifies the encoding for directories and filenames." msgstr "" -#: library/ftplib.rst:58 +#: library/ftplib.rst:60 msgid "The :class:`FTP` class supports the :keyword:`with` statement, e.g.:" msgstr "" -#: library/ftplib.rst:72 +#: library/ftplib.rst:74 msgid "Support for the :keyword:`with` statement was added." msgstr "La prise en charge de l'instruction :keyword:`with` a été ajoutée." -#: library/ftplib.rst:101 library/ftplib.rst:210 +#: library/ftplib.rst:103 library/ftplib.rst:212 msgid "*source_address* parameter was added." msgstr "" -#: library/ftplib.rst:116 +#: library/ftplib.rst:118 msgid "" "If the *timeout* parameter is set to be zero, it will raise a :class:" "`ValueError` to prevent the creation of a non-blocking socket. The " @@ -77,7 +77,7 @@ msgid "" "UTF-8 to follow :rfc:`2640`." msgstr "" -#: library/ftplib.rst:86 +#: library/ftplib.rst:88 msgid "" "A :class:`FTP` subclass which adds TLS support to FTP as described in :rfc:" "`4217`. Connect as usual to port 21 implicitly securing the FTP control " @@ -89,54 +89,54 @@ msgid "" "best practices." msgstr "" -#: library/ftplib.rst:95 +#: library/ftplib.rst:97 msgid "" "*keyfile* and *certfile* are a legacy alternative to *context* -- they can " "point to PEM-formatted private key and certificate chain files " "(respectively) for the SSL connection." msgstr "" -#: library/ftplib.rst:104 +#: library/ftplib.rst:106 msgid "" "The class now supports hostname check with :attr:`ssl.SSLContext." "check_hostname` and *Server Name Indication* (see :data:`ssl.HAS_SNI`)." msgstr "" -#: library/ftplib.rst:111 +#: library/ftplib.rst:113 msgid "" "*keyfile* and *certfile* are deprecated in favor of *context*. Please use :" "meth:`ssl.SSLContext.load_cert_chain` instead, or let :func:`ssl." "create_default_context` select the system's trusted CA certificates for you." msgstr "" -#: library/ftplib.rst:122 +#: library/ftplib.rst:124 msgid "Here's a sample session using the :class:`FTP_TLS` class::" msgstr "" -#: library/ftplib.rst:135 +#: library/ftplib.rst:137 msgid "Exception raised when an unexpected reply is received from the server." msgstr "" -#: library/ftplib.rst:140 +#: library/ftplib.rst:142 msgid "" "Exception raised when an error code signifying a temporary error (response " "codes in the range 400--499) is received." msgstr "" -#: library/ftplib.rst:146 +#: library/ftplib.rst:148 msgid "" "Exception raised when an error code signifying a permanent error (response " "codes in the range 500--599) is received." msgstr "" -#: library/ftplib.rst:152 +#: library/ftplib.rst:154 msgid "" "Exception raised when a reply is received from the server that does not fit " "the response specifications of the File Transfer Protocol, i.e. begin with a " "digit in the range 1--5." msgstr "" -#: library/ftplib.rst:159 +#: library/ftplib.rst:161 msgid "" "The set of all exceptions (as a tuple) that methods of :class:`FTP` " "instances may raise as a result of problems with the FTP connection (as " @@ -144,22 +144,22 @@ msgid "" "four exceptions listed above as well as :exc:`OSError` and :exc:`EOFError`." msgstr "" -#: library/ftplib.rst:169 +#: library/ftplib.rst:171 msgid "Module :mod:`netrc`" msgstr "" -#: library/ftplib.rst:168 +#: library/ftplib.rst:170 msgid "" "Parser for the :file:`.netrc` file format. The file :file:`.netrc` is " "typically used by FTP clients to load user authentication information before " "prompting the user." msgstr "" -#: library/ftplib.rst:176 +#: library/ftplib.rst:178 msgid "FTP Objects" msgstr "" -#: library/ftplib.rst:178 +#: library/ftplib.rst:180 msgid "" "Several methods are available in two flavors: one for handling text files " "and another for binary files. These are named for the command which is used " @@ -167,12 +167,12 @@ msgid "" "version." msgstr "" -#: library/ftplib.rst:182 +#: library/ftplib.rst:184 #, fuzzy msgid ":class:`FTP` instances have the following methods:" msgstr "Les instances :class:`Mailbox` contiennent les méthodes suivantes :" -#: library/ftplib.rst:187 +#: library/ftplib.rst:189 msgid "" "Set the instance's debugging level. This controls the amount of debugging " "output printed. The default, ``0``, produces no debugging output. A value " @@ -182,7 +182,7 @@ msgid "" "connection." msgstr "" -#: library/ftplib.rst:196 +#: library/ftplib.rst:198 msgid "" "Connect to the given host and port. The default port number is ``21``, as " "specified by the FTP protocol specification. It is rarely needed to specify " @@ -195,20 +195,20 @@ msgid "" "port)`` for the socket to bind to as its source address before connecting." msgstr "" -#: library/ftplib.rst:208 +#: library/ftplib.rst:210 msgid "" "Raises an :ref:`auditing event ` ``ftplib.connect`` with arguments " "``self``, ``host``, ``port``." msgstr "" -#: library/ftplib.rst:216 +#: library/ftplib.rst:218 msgid "" "Return the welcome message sent by the server in reply to the initial " "connection. (This message sometimes contains disclaimers or help " "information that may be relevant to the user.)" msgstr "" -#: library/ftplib.rst:223 +#: library/ftplib.rst:225 msgid "" "Log in as the given *user*. The *passwd* and *acct* parameters are optional " "and default to the empty string. If no *user* is specified, it defaults to " @@ -220,31 +220,31 @@ msgid "" "parameter supplies \"accounting information\"; few systems implement this." msgstr "" -#: library/ftplib.rst:235 +#: library/ftplib.rst:237 msgid "" "Abort a file transfer that is in progress. Using this does not always work, " "but it's worth a try." msgstr "" -#: library/ftplib.rst:241 +#: library/ftplib.rst:243 msgid "" "Send a simple command string to the server and return the response string." msgstr "" -#: library/ftplib.rst:252 +#: library/ftplib.rst:254 msgid "" "Raises an :ref:`auditing event ` ``ftplib.sendcmd`` with arguments " "``self``, ``cmd``." msgstr "" -#: library/ftplib.rst:248 +#: library/ftplib.rst:250 msgid "" "Send a simple command string to the server and handle the response. Return " "nothing if a response code corresponding to success (codes in the range " "200--299) is received. Raise :exc:`error_reply` otherwise." msgstr "" -#: library/ftplib.rst:257 +#: library/ftplib.rst:259 msgid "" "Retrieve a file in binary transfer mode. *cmd* should be an appropriate " "``RETR`` command: ``'RETR filename'``. The *callback* function is called for " @@ -256,7 +256,7 @@ msgid "" "`transfercmd` method." msgstr "" -#: library/ftplib.rst:269 +#: library/ftplib.rst:271 msgid "" "Retrieve a file or directory listing in the encoding specified by the " "*encoding* parameter at initialization. *cmd* should be an appropriate " @@ -268,13 +268,13 @@ msgid "" "*callback* prints the line to ``sys.stdout``." msgstr "" -#: library/ftplib.rst:282 +#: library/ftplib.rst:284 msgid "" "Enable \"passive\" mode if *val* is true, otherwise disable passive mode. " "Passive mode is on by default." msgstr "" -#: library/ftplib.rst:288 +#: library/ftplib.rst:290 msgid "" "Store a file in binary transfer mode. *cmd* should be an appropriate " "``STOR`` command: ``\"STOR filename\"``. *fp* is a :term:`file object` " @@ -285,11 +285,11 @@ msgid "" "*rest* means the same thing as in the :meth:`transfercmd` method." msgstr "" -#: library/ftplib.rst:296 +#: library/ftplib.rst:298 msgid "*rest* parameter added." msgstr "" -#: library/ftplib.rst:302 +#: library/ftplib.rst:304 msgid "" "Store a file in line mode. *cmd* should be an appropriate ``STOR`` command " "(see :meth:`storbinary`). Lines are read until EOF from the :term:`file " @@ -298,7 +298,7 @@ msgid "" "parameter callable that is called on each line after it is sent." msgstr "" -#: library/ftplib.rst:311 +#: library/ftplib.rst:313 msgid "" "Initiate a transfer over the data connection. If the transfer is active, " "send an ``EPRT`` or ``PORT`` command and the transfer command specified by " @@ -307,7 +307,7 @@ msgid "" "command. Either way, return the socket for the connection." msgstr "" -#: library/ftplib.rst:317 +#: library/ftplib.rst:319 msgid "" "If optional *rest* is given, a ``REST`` command is sent to the server, " "passing *rest* as an argument. *rest* is usually a byte offset into the " @@ -320,7 +320,7 @@ msgid "" "simply call :meth:`transfercmd` without a *rest* argument." msgstr "" -#: library/ftplib.rst:330 +#: library/ftplib.rst:332 msgid "" "Like :meth:`transfercmd`, but returns a tuple of the data connection and the " "expected size of the data. If the expected size could not be computed, " @@ -328,7 +328,7 @@ msgid "" "same thing as in :meth:`transfercmd`." msgstr "" -#: library/ftplib.rst:338 +#: library/ftplib.rst:340 msgid "" "List a directory in a standardized format by using ``MLSD`` command (:rfc:" "`3659`). If *path* is omitted the current directory is assumed. *facts* is " @@ -340,7 +340,7 @@ msgid "" "but server is not guaranteed to return all requested facts." msgstr "" -#: library/ftplib.rst:352 +#: library/ftplib.rst:354 msgid "" "Return a list of file names as returned by the ``NLST`` command. The " "optional *argument* is a directory to list (default is the current server " @@ -348,11 +348,11 @@ msgid "" "the ``NLST`` command." msgstr "" -#: library/ftplib.rst:369 +#: library/ftplib.rst:371 msgid "If your server supports the command, :meth:`mlsd` offers a better API." msgstr "" -#: library/ftplib.rst:362 +#: library/ftplib.rst:364 msgid "" "Produce a directory listing as returned by the ``LIST`` command, printing it " "to standard output. The optional *argument* is a directory to list (default " @@ -362,34 +362,34 @@ msgid "" "default prints to ``sys.stdout``. This method returns ``None``." msgstr "" -#: library/ftplib.rst:374 +#: library/ftplib.rst:376 msgid "Rename file *fromname* on the server to *toname*." msgstr "" -#: library/ftplib.rst:379 +#: library/ftplib.rst:381 msgid "" "Remove the file named *filename* from the server. If successful, returns " "the text of the response, otherwise raises :exc:`error_perm` on permission " "errors or :exc:`error_reply` on other errors." msgstr "" -#: library/ftplib.rst:386 +#: library/ftplib.rst:388 msgid "Set the current directory on the server." msgstr "" -#: library/ftplib.rst:391 +#: library/ftplib.rst:393 msgid "Create a new directory on the server." msgstr "" -#: library/ftplib.rst:396 +#: library/ftplib.rst:398 msgid "Return the pathname of the current directory on the server." msgstr "" -#: library/ftplib.rst:401 +#: library/ftplib.rst:403 msgid "Remove the directory named *dirname* on the server." msgstr "" -#: library/ftplib.rst:406 +#: library/ftplib.rst:408 msgid "" "Request the size of the file named *filename* on the server. On success, " "the size of the file is returned as an integer, otherwise ``None`` is " @@ -397,7 +397,7 @@ msgid "" "supported by many common server implementations." msgstr "" -#: library/ftplib.rst:414 +#: library/ftplib.rst:416 msgid "" "Send a ``QUIT`` command to the server and close the connection. This is the " "\"polite\" way to close a connection, but it may raise an exception if the " @@ -406,7 +406,7 @@ msgid "" "for subsequent calls (see below)." msgstr "" -#: library/ftplib.rst:423 +#: library/ftplib.rst:425 msgid "" "Close the connection unilaterally. This should not be applied to an already " "closed connection such as after a successful call to :meth:`~FTP.quit`. " @@ -415,43 +415,43 @@ msgid "" "connection by issuing another :meth:`login` method)." msgstr "" -#: library/ftplib.rst:431 +#: library/ftplib.rst:433 msgid "FTP_TLS Objects" msgstr "" -#: library/ftplib.rst:433 +#: library/ftplib.rst:435 msgid "" ":class:`FTP_TLS` class inherits from :class:`FTP`, defining these additional " "objects:" msgstr "" -#: library/ftplib.rst:437 +#: library/ftplib.rst:439 msgid "The SSL version to use (defaults to :attr:`ssl.PROTOCOL_SSLv23`)." msgstr "" -#: library/ftplib.rst:441 +#: library/ftplib.rst:443 msgid "" "Set up a secure control connection by using TLS or SSL, depending on what is " "specified in the :attr:`ssl_version` attribute." msgstr "" -#: library/ftplib.rst:444 +#: library/ftplib.rst:446 msgid "" "The method now supports hostname check with :attr:`ssl.SSLContext." "check_hostname` and *Server Name Indication* (see :data:`ssl.HAS_SNI`)." msgstr "" -#: library/ftplib.rst:451 +#: library/ftplib.rst:453 msgid "" "Revert control channel back to plaintext. This can be useful to take " "advantage of firewalls that know how to handle NAT with non-secure FTP " "without opening fixed ports." msgstr "" -#: library/ftplib.rst:459 +#: library/ftplib.rst:461 msgid "Set up secure data connection." msgstr "" -#: library/ftplib.rst:463 +#: library/ftplib.rst:465 msgid "Set up clear text data connection." msgstr "" diff --git a/library/functions.po b/library/functions.po index b3eb438d..3efb9847 100644 --- a/library/functions.po +++ b/library/functions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-08-30 23:21+0200\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: French \n" @@ -2982,16 +2982,17 @@ msgstr "" "langages de programmation." #: library/functions.rst:1629 +#, fuzzy 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 " "found in statically compiled languages or languages that only support single " "inheritance. This makes it possible to implement \"diamond diagrams\" where " "multiple base classes implement the same method. Good design dictates that " -"this method have the same calling signature in every case (because the order " -"of calls is determined at runtime, because that order adapts to changes in " -"the class hierarchy, and because that order can include sibling classes that " -"are unknown prior to runtime)." +"such implementations have the same calling signature in every case (because " +"the order of calls is determined at runtime, because that order adapts to " +"changes in the class hierarchy, and because that order can include sibling " +"classes that are unknown prior to runtime)." msgstr "" "Le second est la gestion d'héritage multiple coopératif dans un " "environnement d'exécution dynamique. Cet usage est unique à Python, il ne se " @@ -3118,6 +3119,19 @@ msgstr "Voir aussi :ref:`bltin-type-objects`." #: library/functions.rst:1707 msgid "" +"Keyword arguments provided to the three argument form are passed to the " +"appropriate metaclass machinery (usually :meth:`~object.__init_subclass__`) " +"in the same way that keywords in a class definition (besides *metaclass*) " +"would." +msgstr "" + +#: library/functions.rst:1712 +#, fuzzy +msgid "See also :ref:`class-customization`." +msgstr "Voir aussi :ref:`typeiter`." + +#: library/functions.rst:1714 +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." msgstr "" @@ -3125,7 +3139,7 @@ msgstr "" "ne doivent plus utiliser la forme à un argument pour récupérer le type d'un " "objet." -#: library/functions.rst:1713 +#: library/functions.rst:1720 msgid "" "Return the :attr:`~object.__dict__` attribute for a module, class, instance, " "or any other object with a :attr:`~object.__dict__` attribute." @@ -3134,7 +3148,7 @@ msgstr "" "instance ou de n'importe quel objet avec un attribut :attr:`~object." "__dict__`." -#: library/functions.rst:1716 +#: library/functions.rst:1723 msgid "" "Objects such as modules and instances have an updateable :attr:`~object." "__dict__` attribute; however, other objects may have write restrictions on " @@ -3147,7 +3161,7 @@ msgstr "" "exemple, les classes utilisent un :class:`types.MappingProxyType` pour " "éviter les modifications directes du dictionnaire)." -#: library/functions.rst:1721 +#: library/functions.rst:1728 msgid "" "Without an argument, :func:`vars` acts like :func:`locals`. Note, the " "locals dictionary is only useful for reads since updates to the locals " @@ -3157,18 +3171,18 @@ msgstr "" "dictionnaire des variables locales n'est utile qu'en lecture, car ses " "écritures sont ignorées." -#: library/functions.rst:1725 +#: library/functions.rst:1732 msgid "" "A :exc:`TypeError` exception is raised if an object is specified but it " "doesn't have a :attr:`~object.__dict__` attribute (for example, if its class " "defines the :attr:`~object.__slots__` attribute)." msgstr "" -#: library/functions.rst:1731 +#: library/functions.rst:1738 msgid "Make an iterator that aggregates elements from each of the iterables." msgstr "Construit un itérateur agrégeant les éléments de tous les itérables." -#: library/functions.rst:1733 +#: library/functions.rst:1740 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 " @@ -3182,7 +3196,7 @@ msgstr "" "un seul argument itérable, elle renvoie un itérateur sur des *n*-uplets d'un " "élément. Sans argument, elle renvoie un itérateur vide. Équivalent à ::" -#: library/functions.rst:1752 +#: library/functions.rst:1759 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 " @@ -3197,7 +3211,7 @@ msgstr "" "l'itérateur. Cela a pour effet de diviser la séquence en morceaux de taille " "*n*." -#: library/functions.rst:1758 +#: library/functions.rst:1765 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 " @@ -3208,7 +3222,7 @@ msgstr "" "peuvent être ignorées. Si ces valeurs sont importantes, utilisez plutôt :" "func:`itertools.zip_longest`." -#: library/functions.rst:1762 +#: library/functions.rst:1769 msgid "" ":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " "list::" @@ -3216,7 +3230,7 @@ msgstr "" ":func:`zip` peut être utilisée conjointement avec l'opérateur ``*`` pour " "dézipper une liste ::" -#: library/functions.rst:1783 +#: library/functions.rst:1790 msgid "" "This is an advanced function that is not needed in everyday Python " "programming, unlike :func:`importlib.import_module`." @@ -3224,7 +3238,7 @@ msgstr "" "C'est une fonction avancée qui n'est pas fréquemment nécessaire, " "contrairement à :func:`importlib.import_module`." -#: library/functions.rst:1786 +#: library/functions.rst:1793 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " "replaced (by importing the :mod:`builtins` module and assigning to " @@ -3244,7 +3258,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`." -#: library/functions.rst:1795 +#: library/functions.rst:1802 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -3260,7 +3274,7 @@ msgstr "" "l'argument *locals* et n'utilise *globals* que pour déterminer le contexte " "du paquet de l'instruction :keyword:`import`." -#: library/functions.rst:1802 +#: library/functions.rst:1809 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " @@ -3273,7 +3287,7 @@ msgstr "" "positive indique le nombre de dossiers parents relativement au dossier du " "module appelant :func:`__import__` (voir la :pep:`328`)." -#: library/functions.rst:1808 +#: library/functions.rst:1815 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 " @@ -3285,7 +3299,7 @@ msgstr "" "et *pas* le module nommé par *name*. Cependant, lorsqu'un argument " "*fromlist* est fourni, le module nommé par *name* est renvoyé." -#: library/functions.rst:1813 +#: library/functions.rst:1820 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -3293,11 +3307,11 @@ msgstr "" "Par exemple, l'instruction ``import spam`` renvoie un code intermédiaire " "(*bytecode* en anglais) ressemblant au code suivant ::" -#: library/functions.rst:1818 +#: library/functions.rst:1825 msgid "The statement ``import spam.ham`` results in this call::" msgstr "L'instruction ``import spam.ham`` appelle ::" -#: library/functions.rst:1822 +#: library/functions.rst:1829 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." @@ -3305,7 +3319,7 @@ msgstr "" "Notez comment :func:`__import__` renvoie ici le module de plus haut niveau " "parce que c'est l'objet lié à un nom par l'instruction :keyword:`import`." -#: library/functions.rst:1825 +#: library/functions.rst:1832 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -3313,7 +3327,7 @@ msgstr "" "En revanche, l'instruction ``from spam.ham import eggs, sausage as saus`` " "donne ::" -#: library/functions.rst:1832 +#: library/functions.rst:1839 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -3322,7 +3336,7 @@ msgstr "" "Ici le module ``spam.ham`` est renvoyé par :func:`__import__`. De cet objet, " "les noms à importer sont récupérés et assignés à leurs noms respectifs." -#: library/functions.rst:1836 +#: library/functions.rst:1843 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -3330,7 +3344,7 @@ msgstr "" "Si vous voulez simplement importer un module (potentiellement dans un " "paquet) par son nom, utilisez :func:`importlib.import_module`." -#: library/functions.rst:1839 +#: library/functions.rst:1846 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -3338,7 +3352,7 @@ msgstr "" "les valeurs négatives pour *level* ne sont plus prises en charge (et sa " "valeur par défaut est 0)." -#: library/functions.rst:1843 +#: library/functions.rst:1850 msgid "" "When the command line options :option:`-E` or :option:`-I` are being used, " "the environment variable :envvar:`PYTHONCASEOK` is now ignored." @@ -3346,11 +3360,11 @@ msgstr "" "quand les options :option:`-E` ou :option:`-I` sont précisées dans la ligne " "de commande, la variable d'environnement :envvar:`PYTHONCASEOK` est ignorée." -#: library/functions.rst:1848 +#: library/functions.rst:1855 msgid "Footnotes" msgstr "Notes" -#: library/functions.rst:1849 +#: library/functions.rst:1856 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/http.server.po b/library/http.server.po index 2129dbb8..0c5929a1 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -116,15 +116,18 @@ msgid "Contains the command (request type). For example, ``'GET'``." msgstr "" #: library/http.server.rst:101 -msgid "Contains the request path." +msgid "" +"Contains the request path. If query component of the URL is present, then " +"``path`` includes the query. Using the terminology of :rfc:`3986`, ``path`` " +"here includes ``hier-part`` and the ``query``." msgstr "" -#: library/http.server.rst:105 +#: library/http.server.rst:107 msgid "" "Contains the version string from the request. For example, ``'HTTP/1.0'``." msgstr "" -#: library/http.server.rst:109 +#: library/http.server.rst:111 msgid "" "Holds an instance of the class specified by the :attr:`MessageClass` class " "variable. This instance parses and manages the headers in the HTTP request. " @@ -133,42 +136,42 @@ msgid "" "valid :rfc:`2822` style header." msgstr "" -#: library/http.server.rst:117 +#: library/http.server.rst:119 msgid "" "An :class:`io.BufferedIOBase` input stream, ready to read from the start of " "the optional input data." msgstr "" -#: library/http.server.rst:122 +#: library/http.server.rst:124 msgid "" "Contains the output stream for writing a response back to the client. Proper " "adherence to the HTTP protocol must be used when writing to this stream in " "order to achieve successful interoperation with HTTP clients." msgstr "" -#: library/http.server.rst:127 +#: library/http.server.rst:129 msgid "This is an :class:`io.BufferedIOBase` stream." msgstr "" -#: library/http.server.rst:130 +#: library/http.server.rst:132 msgid ":class:`BaseHTTPRequestHandler` has the following attributes:" msgstr "" -#: library/http.server.rst:134 +#: library/http.server.rst:136 msgid "" "Specifies the server software version. You may want to override this. The " "format is multiple whitespace-separated strings, where each string is of the " "form name[/version]. For example, ``'BaseHTTP/0.2'``." msgstr "" -#: library/http.server.rst:140 +#: library/http.server.rst:142 msgid "" "Contains the Python system version, in a form usable by the :attr:" "`version_string` method and the :attr:`server_version` class variable. For " "example, ``'Python/1.4'``." msgstr "" -#: library/http.server.rst:146 +#: library/http.server.rst:148 msgid "" "Specifies a format string that should be used by :meth:`send_error` method " "for building an error response to the client. The string is filled by " @@ -176,13 +179,13 @@ msgid "" "passed to :meth:`send_error`." msgstr "" -#: library/http.server.rst:153 +#: library/http.server.rst:155 msgid "" "Specifies the Content-Type HTTP header of error responses sent to the " "client. The default value is ``'text/html'``." msgstr "" -#: library/http.server.rst:158 +#: library/http.server.rst:160 msgid "" "This specifies the HTTP protocol version used in responses. If set to " "``'HTTP/1.1'``, the server will permit HTTP persistent connections; however, " @@ -191,14 +194,14 @@ msgid "" "backwards compatibility, the setting defaults to ``'HTTP/1.0'``." msgstr "" -#: library/http.server.rst:166 +#: library/http.server.rst:168 msgid "" "Specifies an :class:`email.message.Message`\\ -like class to parse HTTP " "headers. Typically, this is not overridden, and it defaults to :class:`http." "client.HTTPMessage`." msgstr "" -#: library/http.server.rst:172 +#: library/http.server.rst:174 msgid "" "This attribute contains a mapping of error code integers to two-element " "tuples containing a short and long message. For example, ``{code: " @@ -207,24 +210,24 @@ msgid "" "It is used by :meth:`send_response_only` and :meth:`send_error` methods." msgstr "" -#: library/http.server.rst:178 +#: library/http.server.rst:180 msgid "A :class:`BaseHTTPRequestHandler` instance has the following methods:" msgstr "" -#: library/http.server.rst:182 +#: library/http.server.rst:184 msgid "" "Calls :meth:`handle_one_request` once (or, if persistent connections are " "enabled, multiple times) to handle incoming HTTP requests. You should never " "need to override it; instead, implement appropriate :meth:`do_\\*` methods." msgstr "" -#: library/http.server.rst:189 +#: library/http.server.rst:191 msgid "" "This method will parse and dispatch the request to the appropriate :meth:`do_" "\\*` method. You should never need to override it." msgstr "" -#: library/http.server.rst:194 +#: library/http.server.rst:196 msgid "" "When a HTTP/1.1 compliant server receives an ``Expect: 100-continue`` " "request header it responds back with a ``100 Continue`` followed by ``200 " @@ -233,7 +236,7 @@ msgid "" "``417 Expectation Failed`` as a response header and ``return False``." msgstr "" -#: library/http.server.rst:205 +#: library/http.server.rst:207 msgid "" "Sends and logs a complete error reply to the client. The numeric *code* " "specifies the HTTP error code, with *message* as an optional, short, human " @@ -248,13 +251,13 @@ msgid "" "Reset Content``, ``304 Not Modified``." msgstr "" -#: library/http.server.rst:217 +#: library/http.server.rst:219 msgid "" "The error response includes a Content-Length header. Added the *explain* " "argument." msgstr "" -#: library/http.server.rst:223 +#: library/http.server.rst:225 msgid "" "Adds a response header to the headers buffer and logs the accepted request. " "The HTTP response line is written to the internal buffer, followed by " @@ -265,13 +268,13 @@ msgid "" "followed by an :meth:`end_headers` call." msgstr "" -#: library/http.server.rst:232 +#: library/http.server.rst:234 msgid "" "Headers are stored to an internal buffer and :meth:`end_headers` needs to be " "called explicitly." msgstr "" -#: library/http.server.rst:238 +#: library/http.server.rst:240 msgid "" "Adds the HTTP header to an internal buffer which will be written to the " "output stream when either :meth:`end_headers` or :meth:`flush_headers` is " @@ -280,11 +283,11 @@ msgid "" "`end_headers` MUST BE called in order to complete the operation." msgstr "" -#: library/http.server.rst:244 +#: library/http.server.rst:246 msgid "Headers are stored in an internal buffer." msgstr "" -#: library/http.server.rst:249 +#: library/http.server.rst:251 msgid "" "Sends the response header only, used for the purposes when ``100 Continue`` " "response is sent by the server to the client. The headers not buffered and " @@ -292,37 +295,37 @@ msgid "" "message corresponding the response *code* is sent." msgstr "" -#: library/http.server.rst:258 +#: library/http.server.rst:260 msgid "" "Adds a blank line (indicating the end of the HTTP headers in the response) " "to the headers buffer and calls :meth:`flush_headers()`." msgstr "" -#: library/http.server.rst:262 +#: library/http.server.rst:264 msgid "The buffered headers are written to the output stream." msgstr "" -#: library/http.server.rst:267 +#: library/http.server.rst:269 msgid "" "Finally send the headers to the output stream and flush the internal headers " "buffer." msgstr "" -#: library/http.server.rst:274 +#: library/http.server.rst:276 msgid "" "Logs an accepted (successful) request. *code* should specify the numeric " "HTTP code associated with the response. If a size of the response is " "available, then it should be passed as the *size* parameter." msgstr "" -#: library/http.server.rst:280 +#: library/http.server.rst:282 msgid "" "Logs an error when a request cannot be fulfilled. By default, it passes the " "message to :meth:`log_message`, so it takes the same arguments (*format* and " "additional values)." msgstr "" -#: library/http.server.rst:287 +#: library/http.server.rst:289 msgid "" "Logs an arbitrary message to ``sys.stderr``. This is typically overridden to " "create custom error logging mechanisms. The *format* argument is a standard " @@ -331,103 +334,103 @@ msgid "" "and current date and time are prefixed to every message logged." msgstr "" -#: library/http.server.rst:295 +#: library/http.server.rst:297 msgid "" "Returns the server software's version string. This is a combination of the :" "attr:`server_version` and :attr:`sys_version` attributes." msgstr "" -#: library/http.server.rst:300 +#: library/http.server.rst:302 msgid "" "Returns the date and time given by *timestamp* (which must be ``None`` or in " "the format returned by :func:`time.time`), formatted for a message header. " "If *timestamp* is omitted, it uses the current date and time." msgstr "" -#: library/http.server.rst:304 +#: library/http.server.rst:306 msgid "The result looks like ``'Sun, 06 Nov 1994 08:49:37 GMT'``." msgstr "" -#: library/http.server.rst:308 +#: library/http.server.rst:310 msgid "Returns the current date and time, formatted for logging." msgstr "" -#: library/http.server.rst:312 +#: library/http.server.rst:314 msgid "Returns the client address." msgstr "" -#: library/http.server.rst:314 +#: library/http.server.rst:316 msgid "" "Previously, a name lookup was performed. To avoid name resolution delays, it " "now always returns the IP address." msgstr "" -#: library/http.server.rst:321 +#: library/http.server.rst:323 msgid "" -"This class serves files from the current directory and below, directly " -"mapping the directory structure to HTTP requests." +"This class serves files from the directory *directory* and below, or the " +"current directory if *directory* is not provided, directly mapping the " +"directory structure to HTTP requests." msgstr "" -#: library/http.server.rst:324 +#: library/http.server.rst:327 +msgid "The *directory* parameter." +msgstr "" + +#: library/http.server.rst:330 +msgid "The *directory* parameter accepts a :term:`path-like object`." +msgstr "" + +#: library/http.server.rst:333 msgid "" "A lot of the work, such as parsing the request, is done by the base class :" "class:`BaseHTTPRequestHandler`. This class implements the :func:`do_GET` " "and :func:`do_HEAD` functions." msgstr "" -#: library/http.server.rst:328 +#: library/http.server.rst:337 msgid "" "The following are defined as class-level attributes of :class:" "`SimpleHTTPRequestHandler`:" msgstr "" -#: library/http.server.rst:333 +#: library/http.server.rst:342 msgid "" "This will be ``\"SimpleHTTP/\" + __version__``, where ``__version__`` is " "defined at the module level." msgstr "" -#: library/http.server.rst:338 +#: library/http.server.rst:347 msgid "" "A dictionary mapping suffixes into MIME types, contains custom overrides for " "the default system mappings. The mapping is used case-insensitively, and so " "should contain only lower-cased keys." msgstr "" -#: library/http.server.rst:342 +#: library/http.server.rst:351 msgid "" "This dictionary is no longer filled with the default system mappings, but " "only contains overrides." msgstr "" -#: library/http.server.rst:348 -msgid "" -"If not specified, the directory to serve is the current working directory." -msgstr "" - -#: library/http.server.rst:350 -msgid "Accepts a :term:`path-like object`." -msgstr "" - -#: library/http.server.rst:353 +#: library/http.server.rst:355 msgid "" "The :class:`SimpleHTTPRequestHandler` class defines the following methods:" msgstr "" -#: library/http.server.rst:357 +#: library/http.server.rst:359 msgid "" "This method serves the ``'HEAD'`` request type: it sends the headers it " "would send for the equivalent ``GET`` request. See the :meth:`do_GET` method " "for a more complete explanation of the possible headers." msgstr "" -#: library/http.server.rst:363 +#: library/http.server.rst:365 msgid "" "The request is mapped to a local file by interpreting the request as a path " "relative to the current working directory." msgstr "" -#: library/http.server.rst:366 +#: library/http.server.rst:368 msgid "" "If the request was mapped to a directory, the directory is checked for a " "file named ``index.html`` or ``index.htm`` (in that order). If found, the " @@ -437,7 +440,7 @@ msgid "" "func:`~os.listdir` fails." msgstr "" -#: library/http.server.rst:373 +#: library/http.server.rst:375 msgid "" "If the request was mapped to a file, it is opened. Any :exc:`OSError` " "exception in opening the requested file is mapped to a ``404``, ``'File not " @@ -448,45 +451,45 @@ msgid "" "*extensions_map* variable, and the file contents are returned." msgstr "" -#: library/http.server.rst:381 +#: library/http.server.rst:383 msgid "" "A ``'Content-type:'`` header with the guessed content type is output, " "followed by a ``'Content-Length:'`` header with the file's size and a " "``'Last-Modified:'`` header with the file's modification time." msgstr "" -#: library/http.server.rst:385 +#: library/http.server.rst:387 msgid "" "Then follows a blank line signifying the end of the headers, and then the " "contents of the file are output. If the file's MIME type starts with ``text/" "`` the file is opened in text mode; otherwise binary mode is used." msgstr "" -#: library/http.server.rst:389 +#: library/http.server.rst:391 msgid "" "For example usage, see the implementation of the :func:`test` function " "invocation in the :mod:`http.server` module." msgstr "" -#: library/http.server.rst:392 +#: library/http.server.rst:394 msgid "Support of the ``'If-Modified-Since'`` header." msgstr "" -#: library/http.server.rst:395 +#: library/http.server.rst:397 msgid "" "The :class:`SimpleHTTPRequestHandler` class can be used in the following " "manner in order to create a very basic webserver serving files relative to " "the current directory::" msgstr "" -#: library/http.server.rst:412 +#: library/http.server.rst:414 msgid "" ":mod:`http.server` can also be invoked directly using the :option:`-m` " "switch of the interpreter with a ``port number`` argument. Similar to the " "previous example, this serves files relative to the current directory::" msgstr "" -#: library/http.server.rst:418 +#: library/http.server.rst:420 msgid "" "By default, server binds itself to all interfaces. The option ``-b/--bind`` " "specifies a specific address to which it should bind. Both IPv4 and IPv6 " @@ -494,40 +497,40 @@ msgid "" "server to bind to localhost only::" msgstr "" -#: library/http.server.rst:425 +#: library/http.server.rst:427 msgid "``--bind`` argument was introduced." msgstr "" -#: library/http.server.rst:428 +#: library/http.server.rst:430 msgid "``--bind`` argument enhanced to support IPv6" msgstr "" -#: library/http.server.rst:431 +#: library/http.server.rst:433 msgid "" "By default, server uses the current directory. The option ``-d/--directory`` " "specifies a directory to which it should serve the files. For example, the " "following command uses a specific directory::" msgstr "" -#: library/http.server.rst:437 +#: library/http.server.rst:439 msgid "``--directory`` specify alternate directory" msgstr "" -#: library/http.server.rst:442 +#: library/http.server.rst:444 msgid "" "This class is used to serve either files or output of CGI scripts from the " "current directory and below. Note that mapping HTTP hierarchic structure to " "local directory structure is exactly as in :class:`SimpleHTTPRequestHandler`." msgstr "" -#: library/http.server.rst:448 +#: library/http.server.rst:450 msgid "" "CGI scripts run by the :class:`CGIHTTPRequestHandler` class cannot execute " "redirects (HTTP code 302), because code 200 (script output follows) is sent " "prior to execution of the CGI script. This pre-empts the status code." msgstr "" -#: library/http.server.rst:453 +#: library/http.server.rst:455 msgid "" "The class will however, run the CGI script, instead of serving it as a file, " "if it guesses it to be a CGI script. Only directory-based CGI are used --- " @@ -535,41 +538,41 @@ msgid "" "denoting CGI scripts." msgstr "" -#: library/http.server.rst:458 +#: library/http.server.rst:460 msgid "" "The :func:`do_GET` and :func:`do_HEAD` functions are modified to run CGI " "scripts and serve the output, instead of serving files, if the request leads " "to somewhere below the ``cgi_directories`` path." msgstr "" -#: library/http.server.rst:462 +#: library/http.server.rst:464 msgid "The :class:`CGIHTTPRequestHandler` defines the following data member:" msgstr "" -#: library/http.server.rst:466 +#: library/http.server.rst:468 msgid "" "This defaults to ``['/cgi-bin', '/htbin']`` and describes directories to " "treat as containing CGI scripts." msgstr "" -#: library/http.server.rst:469 +#: library/http.server.rst:471 msgid "The :class:`CGIHTTPRequestHandler` defines the following method:" msgstr "" -#: library/http.server.rst:473 +#: library/http.server.rst:475 msgid "" "This method serves the ``'POST'`` request type, only allowed for CGI " "scripts. Error 501, \"Can only POST to CGI scripts\", is output when trying " "to POST to a non-CGI url." msgstr "" -#: library/http.server.rst:477 +#: library/http.server.rst:479 msgid "" "Note that CGI scripts will be run with UID of user nobody, for security " "reasons. Problems with the CGI script will be translated to error 403." msgstr "" -#: library/http.server.rst:480 +#: library/http.server.rst:482 msgid "" ":class:`CGIHTTPRequestHandler` can be enabled in the command line by passing " "the ``--cgi`` option::" diff --git a/library/idle.po b/library/idle.po index 39e5b6e6..0c26b362 100644 --- a/library/idle.po +++ b/library/idle.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 17:33+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-03-08 01:41+0100\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -1474,13 +1474,14 @@ msgid "Startup failure" msgstr "Échec au démarrage" #: library/idle.rst:669 +#, fuzzy msgid "" "IDLE uses a socket to communicate between the IDLE GUI process and the user " "code execution process. A connection must be established whenever the Shell " "starts or restarts. (The latter is indicated by a divider line that says " "'RESTART'). If the user process fails to connect to the GUI process, it " -"displays a ``Tk`` error box with a 'cannot connect' message that directs the " -"user here. It then exits." +"usually displays a ``Tk`` error box with a 'cannot connect' message that " +"directs the user here. It then exits." msgstr "" "*IDLE* utilise un connecteur (*socket* en anglais) pour communiquer entre le " "processus d'interface graphique d'*IDLE* et le processus d'exécution de code " @@ -1493,6 +1494,16 @@ msgstr "" #: library/idle.rst:676 msgid "" +"One specific connection failure on Unix systems results from misconfigured " +"masquerading rules somewhere in a system's network setup. When IDLE is " +"started from a terminal, one will see a message starting with ``** Invalid " +"host:``. The valid value is ``127.0.0.1 (idlelib.rpc.LOCALHOST)``. One can " +"diagnose with ``tcpconnect -irv 127.0.0.1 6543`` in one terminal window and " +"``tcplisten `` in another." +msgstr "" + +#: library/idle.rst:684 +msgid "" "A common cause of failure is a user-written file with the same name as a " "standard library module, such as *random.py* and *tkinter.py*. When such a " "file is located in the same directory as a file that is about to be run, " @@ -1506,7 +1517,7 @@ msgstr "" "standard. La solution actuelle consiste à renommer le fichier de " "l'utilisateur." -#: library/idle.rst:682 +#: library/idle.rst:690 msgid "" "Though less common than in the past, an antivirus or firewall program may " "stop the connection. If the program cannot be taught to allow the " @@ -1522,7 +1533,7 @@ msgstr "" "visible depuis un port extérieur. Un problème similaire est une mauvaise " "configuration du réseau qui bloque les connexions." -#: library/idle.rst:689 +#: library/idle.rst:697 msgid "" "Python installation issues occasionally stop IDLE: multiple versions can " "clash, or a single installation might need admin access. If one undo the " @@ -1535,7 +1546,7 @@ msgstr "" "ne veut pas accorder de privilège, il peut être plus facile de désinstaller " "complètement Python et de recommencer." -#: library/idle.rst:694 +#: library/idle.rst:702 #, fuzzy msgid "" "A zombie pythonw.exe process could be a problem. On Windows, use Task " @@ -1554,7 +1565,7 @@ msgstr "" # ... this can be prevented by never editing the files by hand, using the # configuration dialog, under Options, instead Options. # Qu'est-ce que ça veut dire ??? -#: library/idle.rst:700 +#: library/idle.rst:708 #, fuzzy msgid "" "When IDLE first starts, it attempts to read user configuration files in ``~/." @@ -1576,7 +1587,7 @@ msgstr "" # Je suppose que c'est (``python -m idlelib)``, et pas (``python -m # idlelib``)... -#: library/idle.rst:708 +#: library/idle.rst:716 #, fuzzy msgid "" "If IDLE quits with no message, and it was not started from a console, try " @@ -1587,18 +1598,28 @@ msgstr "" "console, essayez de le démarrer depuis une console (``python -m idlelib``) " "et regardez si un message apparaît." -#: library/idle.rst:713 +#: library/idle.rst:720 +msgid "" +"On Unix-based systems with tcl/tk older than ``8.6.11`` (see ``About IDLE``) " +"certain characters of certain fonts can cause a tk failure with a message to " +"the terminal. This can happen either if one starts IDLE to edit a file with " +"such a character or later when entering such a character. If one cannot " +"upgrade tcl/tk, then re-configure IDLE to use a font that works better." +msgstr "" + +#: library/idle.rst:728 msgid "Running user code" msgstr "Exécuter le code de l'utilisateur" -#: library/idle.rst:715 +#: library/idle.rst:730 +#, fuzzy msgid "" "With rare exceptions, the result of executing Python code with IDLE is " "intended to be the same as executing the same code by the default method, " "directly with Python in a text-mode system console or terminal window. " "However, the different interface and operation occasionally affect visible " "results. For instance, ``sys.modules`` starts with more entries, and " -"``threading.activeCount()`` returns 2 instead of 1." +"``threading.active_count()`` returns 2 instead of 1." msgstr "" "Sauf dans de rares cas, le résultat de l'exécution de code Python avec " "*IDLE* est censé être le même que lors de l'exécution du même code via la " @@ -1608,7 +1629,7 @@ msgstr "" "modules`` démarre avec plus d'entrées et ``threading.activeCount()`` renvoie " "2 plutôt que 1." -#: library/idle.rst:722 +#: library/idle.rst:737 msgid "" "By default, IDLE runs user code in a separate OS process rather than in the " "user interface process that runs the shell and editor. In the execution " @@ -1625,7 +1646,7 @@ msgstr "" "valeurs originales stockées dans ``sys.__stdin__``, ``sys.__stdout__`` et " "``sys.__stderr__`` ne sont pas touchées, mais peuvent être ``None``." -#: library/idle.rst:729 +#: library/idle.rst:744 msgid "" "Sending print output from one process to a text widget in another is slower " "than printing to a system terminal in the same process. This has the most " @@ -1637,7 +1658,7 @@ msgid "" "fields and lines." msgstr "" -#: library/idle.rst:738 +#: library/idle.rst:753 msgid "" "IDLE's standard stream replacements are not inherited by subprocesses " "created in the execution process, whether directly by user code or by " @@ -1654,7 +1675,7 @@ msgstr "" "de commande. Le sous-processus secondaire sera ensuite attaché à cette " "fenêtre pour les entrées et les sorties." -#: library/idle.rst:745 +#: library/idle.rst:760 msgid "" "If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``, " "IDLE's changes are lost and input from the keyboard and output to the screen " @@ -1665,7 +1686,7 @@ msgstr "" "l'entrée du clavier et la sortie à l'écran ne fonctionneront pas " "correctement." -#: library/idle.rst:749 +#: library/idle.rst:764 msgid "" "When Shell has the focus, it controls the keyboard and screen. This is " "normally transparent, but functions that directly access the keyboard and " @@ -1678,7 +1699,7 @@ msgstr "" "fonctions spécifiques du système qui déterminent si une touche a été pressée " "et, le cas échéant, laquelle." -#: library/idle.rst:754 +#: library/idle.rst:769 msgid "" "The IDLE code running in the execution process adds frames to the call stack " "that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` and " @@ -1690,7 +1711,7 @@ msgstr "" "encapsule ``sys.getrecursionlimit`` et ``sys.setrecursionlimit`` pour " "réduire l'effet des piles de fonctions supplémentaires." -#: library/idle.rst:759 +#: library/idle.rst:774 msgid "" "When user code raises SystemExit either directly or by calling sys.exit, " "IDLE returns to a Shell prompt instead of exiting." @@ -1698,11 +1719,11 @@ msgstr "" "Lorsque l'utilisateur lève `SystemExit` directement ou en appelant ``sys." "exit``, IDLE revient au terminal IDLE au lieu de quitter." -#: library/idle.rst:763 +#: library/idle.rst:778 msgid "User output in Shell" msgstr "Sortie de l'utilisateur sur la console" -#: library/idle.rst:765 +#: library/idle.rst:780 msgid "" "When a program outputs text, the result is determined by the corresponding " "output device. When IDLE executes user code, ``sys.stdout`` and ``sys." @@ -1719,7 +1740,7 @@ msgstr "" "programmées. Quand cela importe, la console est conçue pour le développement " "plutôt que l'exécution en production." -#: library/idle.rst:772 +#: library/idle.rst:787 msgid "" "For instance, Shell never throws away output. A program that sends " "unlimited output to Shell will eventually fill memory, resulting in a memory " @@ -1734,7 +1755,7 @@ msgstr "" "exemple, conserve une quantité de lignes configurable entre 1 et 9999, avec " "une valeur par défaut de 300." -#: library/idle.rst:778 +#: library/idle.rst:793 msgid "" "A Tk Text widget, and hence IDLE's Shell, displays characters (codepoints) " "in the BMP (Basic Multilingual Plane) subset of Unicode. Which characters " @@ -1760,7 +1781,7 @@ msgstr "" "texte sur un affichage de ce genre peut provoquer un comportement surprenant " "du point de vue de l'espacement). ::" -#: library/idle.rst:796 +#: library/idle.rst:811 msgid "" "The ``repr`` function is used for interactive echo of expression values. It " "returns an altered version of the input string in which control codes, some " @@ -1775,7 +1796,7 @@ msgstr "" "d'échappement. Comme montré ci-dessus, ceci permet d'identifier les " "caractères dans une chaîne, quelle que soit la façon dont elle est affichée." -#: library/idle.rst:802 +#: library/idle.rst:817 msgid "" "Normal and error output are generally kept separate (on separate lines) from " "code input and each other. They each get different highlight colors." @@ -1784,7 +1805,7 @@ msgstr "" "séparées) de l'entrée de code et entre elles. Elles ont chacune une " "coloration différente." -#: library/idle.rst:805 +#: library/idle.rst:820 msgid "" "For SyntaxError tracebacks, the normal '^' marking where the error was " "detected is replaced by coloring the text with an error highlight. When code " @@ -1799,7 +1820,7 @@ msgstr "" "d'accéder à la ligne correspondante dans un éditeur *IDLE*. Le fichier est " "ouvert si nécessaire." -#: library/idle.rst:811 +#: library/idle.rst:826 msgid "" "Shell has a special facility for squeezing output lines down to a 'Squeezed " "text' label. This is done automatically for output over N lines (N = 50 by " @@ -1815,7 +1836,7 @@ msgstr "" "sortie. Ceci peut être utile sur des lignes si longues qu'elles ralentissent " "la navigation." -#: library/idle.rst:819 +#: library/idle.rst:834 msgid "" "Squeezed output is expanded in place by double-clicking the label. It can " "also be sent to the clipboard or a separate view window by right-clicking " @@ -1825,11 +1846,11 @@ msgstr "" "l'étiquette Elles peuvent aussi être envoyées au presse-papier ou sur un " "fenêtre séparée par un clic-droit sur l'étiquette." -#: library/idle.rst:824 +#: library/idle.rst:839 msgid "Developing tkinter applications" msgstr "Développer des applications *tkinter*" -#: library/idle.rst:826 +#: library/idle.rst:841 msgid "" "IDLE is intentionally different from standard Python in order to facilitate " "development of tkinter programs. Enter ``import tkinter as tk; root = tk." @@ -1851,7 +1872,7 @@ msgstr "" "changement n'est visible en Python standard jusqu'à la saisie de ``root." "update()``." -#: library/idle.rst:835 +#: library/idle.rst:850 msgid "" "Most tkinter programs run ``root.mainloop()``, which usually does not return " "until the tk app is destroyed. If the program is run with ``python -i`` or " @@ -1864,7 +1885,7 @@ msgstr "" "une invite de commande ``>>>`` n'apparaît pas tant que ``mainloop()`` ne " "termine pas, c'est-à-dire quand il ne reste plus rien avec lequel interagir." -#: library/idle.rst:841 +#: library/idle.rst:856 msgid "" "When running a tkinter program from an IDLE editor, one can comment out the " "mainloop call. One then gets a shell prompt immediately and can interact " @@ -1877,11 +1898,11 @@ msgstr "" "se rappeler de réactiver l'appel à *mainloop* lors de l'exécution en Python " "standard." -#: library/idle.rst:847 +#: library/idle.rst:862 msgid "Running without a subprocess" msgstr "Exécution sans sous-processus" -#: library/idle.rst:849 +#: library/idle.rst:864 msgid "" "By default, IDLE executes user code in a separate subprocess via a socket, " "which uses the internal loopback interface. This connection is not " @@ -1893,7 +1914,7 @@ msgstr "" "connexion n'est pas visible de l'extérieur et rien n'est envoyé ou reçu " "d'Internet. Si un pare-feu s'en plaint quand même, vous pouvez l'ignorer." -#: library/idle.rst:854 +#: library/idle.rst:869 msgid "" "If the attempt to make the socket connection fails, Idle will notify you. " "Such failures are sometimes transient, but if persistent, the problem may be " @@ -1908,7 +1929,7 @@ msgstr "" "résolu, vous pouvez exécuter *IDLE* avec l'option *-n* de la ligne de " "commande." -#: library/idle.rst:860 +#: library/idle.rst:875 msgid "" "If IDLE is started with the -n command line switch it will run in a single " "process and will not create the subprocess which runs the RPC Python " @@ -1933,15 +1954,15 @@ msgstr "" "effet. Pour toutes ces raisons, il est préférable d'exécuter *IDLE* avec le " "sous-processus par défaut si c'est possible." -#: library/idle.rst:875 +#: library/idle.rst:890 msgid "Help and preferences" msgstr "Aide et préférences" -#: library/idle.rst:880 +#: library/idle.rst:895 msgid "Help sources" msgstr "Sources d'aide" -#: library/idle.rst:882 +#: library/idle.rst:897 msgid "" "Help menu entry \"IDLE Help\" displays a formatted html version of the IDLE " "chapter of the Library Reference. The result, in a read-only tkinter text " @@ -1958,7 +1979,7 @@ msgstr "" "enfoncées. Ou cliquez sur le bouton TOC (*Table of Contents* : sommaire) et " "sélectionnez un titre de section dans l'espace ouvert." -#: library/idle.rst:890 +#: library/idle.rst:905 msgid "" "Help menu entry \"Python Docs\" opens the extensive sources of help, " "including tutorials, available at ``docs.python.org/x.y``, where 'x.y' is " @@ -1972,7 +1993,7 @@ msgstr "" "système a une copie locale de la documentation (cela peut être une option " "d'installation), c'est elle qui est ouverte." -#: library/idle.rst:896 +#: library/idle.rst:911 msgid "" "Selected URLs can be added or removed from the help menu at any time using " "the General tab of the Configure IDLE dialog." @@ -1981,11 +2002,11 @@ msgstr "" "n'importe quel moment en utilisant l'onglet « *General* » de la fenêtre " "« Configure IDLE »." -#: library/idle.rst:902 +#: library/idle.rst:917 msgid "Setting preferences" msgstr "Modifier les préférences" -#: library/idle.rst:904 +#: library/idle.rst:919 msgid "" "The font preferences, highlighting, keys, and general preferences can be " "changed via Configure IDLE on the Option menu. Non-default user settings are " @@ -2000,7 +2021,7 @@ msgstr "" "par des fichiers de configuration utilisateur corrompus sont résolus en " "modifiant ou en supprimant un ou plusieurs fichiers dans *.idlerc*." -#: library/idle.rst:910 +#: library/idle.rst:925 msgid "" "On the Font tab, see the text sample for the effect of font face and size on " "multiple characters in multiple languages. Edit the sample to add other " @@ -2016,7 +2037,7 @@ msgstr "" "console ou l'éditeur, ajoutez-les en haut des échantillons et essayez de " "changer d'abord la taille, puis la fonte." -#: library/idle.rst:917 +#: library/idle.rst:932 msgid "" "On the Highlights and Keys tab, select a built-in or custom color theme and " "key set. To use a newer built-in color theme or key set with older IDLEs, " @@ -2029,12 +2050,12 @@ msgstr "" "ancienne, enregistrez-le en tant que nouveau thème ou ensemble de raccourcis " "personnalisé ; il sera alors accessible aux *IDLE* plus anciens." -#: library/idle.rst:923 +#: library/idle.rst:938 msgid "IDLE on macOS" msgstr "*IDLE* sous *macOS*" # framework=>cadriciel ne pose pas de problème ? -#: library/idle.rst:925 +#: library/idle.rst:940 msgid "" "Under System Preferences: Dock, one can set \"Prefer tabs when opening " "documents\" to \"Always\". This setting is not compatible with the tk/" @@ -2045,11 +2066,11 @@ msgstr "" "avec le cadriciel *tk/tkinter* utilisé par *IDLE* et il casse quelques " "fonctionnalités d'*IDLE*." -#: library/idle.rst:930 +#: library/idle.rst:945 msgid "Extensions" msgstr "Extensions" -#: library/idle.rst:932 +#: library/idle.rst:947 msgid "" "IDLE contains an extension facility. Preferences for extensions can be " "changed with the Extensions tab of the preferences dialog. See the beginning " diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index 4a5b6582..43943409 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2019-09-04 11:42+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -18,13 +18,13 @@ msgstr "" msgid "Using :mod:`!importlib.metadata`" msgstr "" -#: library/importlib.metadata.rst:8 +#: library/importlib.metadata.rst:10 msgid "" "This functionality is provisional and may deviate from the usual version " "semantics of the standard library." msgstr "" -#: library/importlib.metadata.rst:11 +#: library/importlib.metadata.rst:13 msgid "" "``importlib.metadata`` is a library that provides for access to installed " "package metadata. Built in part on Python's import system, this library " @@ -35,7 +35,7 @@ msgid "" "efficient ``pkg_resources`` package." msgstr "" -#: library/importlib.metadata.rst:20 +#: library/importlib.metadata.rst:22 msgid "" "By \"installed package\" we generally mean a third-party package installed " "into Python's ``site-packages`` directory via tools such as `pip ` objects." msgstr "" -#: library/importlib.metadata.rst:56 +#: library/importlib.metadata.rst:58 msgid "You can get the :ref:`metadata for a distribution `::" msgstr "" -#: library/importlib.metadata.rst:61 +#: library/importlib.metadata.rst:63 msgid "" "You can also get a :ref:`distribution's version number `, list its :" "ref:`constituent files `, and get a list of the distribution's :ref:" "`requirements`." msgstr "" -#: library/importlib.metadata.rst:67 +#: library/importlib.metadata.rst:69 msgid "Functional API" msgstr "API par fonction" -#: library/importlib.metadata.rst:69 +#: library/importlib.metadata.rst:71 msgid "This package provides the following functionality via its public API." msgstr "" -#: library/importlib.metadata.rst:75 +#: library/importlib.metadata.rst:77 msgid "Entry points" msgstr "" -#: library/importlib.metadata.rst:77 +#: library/importlib.metadata.rst:79 msgid "" "The ``entry_points()`` function returns a dictionary of all entry points, " "keyed by group. Entry points are represented by ``EntryPoint`` instances; " @@ -101,7 +101,7 @@ msgid "" "value`` attribute::" msgstr "" -#: library/importlib.metadata.rst:101 +#: library/importlib.metadata.rst:103 msgid "" "The ``group`` and ``name`` are arbitrary values defined by the package " "author and usually a client will wish to resolve all entry points for a " @@ -110,37 +110,37 @@ msgid "" "for more information on entry points, their definition, and usage." msgstr "" -#: library/importlib.metadata.rst:111 +#: library/importlib.metadata.rst:113 msgid "Distribution metadata" msgstr "" -#: library/importlib.metadata.rst:113 +#: library/importlib.metadata.rst:115 msgid "" "Every distribution includes some metadata, which you can extract using the " "``metadata()`` function::" msgstr "" -#: library/importlib.metadata.rst:118 +#: library/importlib.metadata.rst:120 msgid "" "The keys of the returned data structure [#f1]_ name the metadata keywords, " "and their values are returned unparsed from the distribution metadata::" msgstr "" -#: library/importlib.metadata.rst:128 +#: library/importlib.metadata.rst:130 msgid "Distribution versions" msgstr "" -#: library/importlib.metadata.rst:130 +#: library/importlib.metadata.rst:132 msgid "" "The ``version()`` function is the quickest way to get a distribution's " "version number, as a string::" msgstr "" -#: library/importlib.metadata.rst:140 +#: library/importlib.metadata.rst:142 msgid "Distribution files" msgstr "" -#: library/importlib.metadata.rst:142 +#: library/importlib.metadata.rst:144 msgid "" "You can also get the full set of files contained within a distribution. The " "``files()`` function takes a distribution package name and returns all of " @@ -150,11 +150,11 @@ msgid "" "For example::" msgstr "" -#: library/importlib.metadata.rst:158 +#: library/importlib.metadata.rst:160 msgid "Once you have the file, you can also read its contents::" msgstr "" -#: library/importlib.metadata.rst:169 +#: library/importlib.metadata.rst:171 msgid "" "In the case where the metadata file listing files (RECORD or SOURCES.txt) is " "missing, ``files()`` will return ``None``. The caller may wish to wrap calls " @@ -164,22 +164,22 @@ msgid "" "present." msgstr "" -#: library/importlib.metadata.rst:180 +#: library/importlib.metadata.rst:182 msgid "Distribution requirements" msgstr "" -#: library/importlib.metadata.rst:182 +#: library/importlib.metadata.rst:184 msgid "" "To get the full set of requirements for a distribution, use the " "``requires()`` function::" msgstr "" -#: library/importlib.metadata.rst:190 +#: library/importlib.metadata.rst:192 #, fuzzy msgid "Distributions" msgstr "Distribution" -#: library/importlib.metadata.rst:192 +#: library/importlib.metadata.rst:194 msgid "" "While the above API is the most common and convenient usage, you can get all " "of that information from the ``Distribution`` class. A ``Distribution`` is " @@ -187,29 +187,29 @@ msgid "" "can get the ``Distribution`` instance::" msgstr "" -#: library/importlib.metadata.rst:200 +#: library/importlib.metadata.rst:202 msgid "" "Thus, an alternative way to get the version number is through the " "``Distribution`` instance::" msgstr "" -#: library/importlib.metadata.rst:206 +#: library/importlib.metadata.rst:208 msgid "" "There are all kinds of additional metadata available on the ``Distribution`` " "instance::" msgstr "" -#: library/importlib.metadata.rst:214 +#: library/importlib.metadata.rst:216 msgid "" "The full set of available metadata is not described here. See :pep:`566` " "for additional details." msgstr "" -#: library/importlib.metadata.rst:219 +#: library/importlib.metadata.rst:221 msgid "Extending the search algorithm" msgstr "" -#: library/importlib.metadata.rst:221 +#: library/importlib.metadata.rst:223 msgid "" "Because package metadata is not available through :data:`sys.path` searches, " "or package loaders directly, the metadata for a package is found through " @@ -218,14 +218,14 @@ msgid "" "path finders ` on :data:`sys.meta_path`." msgstr "" -#: library/importlib.metadata.rst:227 +#: library/importlib.metadata.rst:229 msgid "" "The default ``PathFinder`` for Python includes a hook that calls into " "``importlib.metadata.MetadataPathFinder`` for finding distributions loaded " "from typical file-system-based paths." msgstr "" -#: library/importlib.metadata.rst:231 +#: library/importlib.metadata.rst:233 msgid "" "The abstract class :py:class:`importlib.abc.MetaPathFinder` defines the " "interface expected of finders by Python's import system. ``importlib." @@ -235,14 +235,14 @@ msgid "" "base class, which defines this abstract method::" msgstr "" -#: library/importlib.metadata.rst:245 +#: library/importlib.metadata.rst:247 msgid "" "The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` " "properties indicating the path to search and name to match and may supply " "other relevant context." msgstr "" -#: library/importlib.metadata.rst:249 +#: library/importlib.metadata.rst:251 msgid "" "What this means in practice is that to support finding distribution package " "metadata in locations other than the file system, subclass ``Distribution`` " @@ -251,11 +251,11 @@ msgid "" "method." msgstr "" -#: library/importlib.metadata.rst:262 +#: library/importlib.metadata.rst:264 msgid "Footnotes" msgstr "Notes" -#: library/importlib.metadata.rst:263 +#: library/importlib.metadata.rst:265 msgid "" "Technically, the returned distribution metadata object is an :class:`email." "message.EmailMessage` instance, but this is an implementation detail, and " diff --git a/library/importlib.po b/library/importlib.po index 8d20033a..d4fb51ac 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-27 19:26+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-07-04 11:26+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -421,7 +421,7 @@ msgid "" "Can use :meth:`find_spec` to provide functionality." msgstr "" -#: library/importlib.rst:352 library/importlib.rst:1120 +#: library/importlib.rst:352 library/importlib.rst:1136 msgid "Use :meth:`find_spec` instead." msgstr "" @@ -891,7 +891,7 @@ msgstr "" msgid "Use :meth:`Loader.exec_module` instead." msgstr "" -#: library/importlib.rst:1319 +#: library/importlib.rst:1335 msgid "Returns :attr:`path`." msgstr "" @@ -1103,17 +1103,37 @@ msgid "" "subdirectories)." msgstr "" -#: library/importlib.rst:971 +#: library/importlib.rst:987 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements." msgstr "" #: library/importlib.rst:893 +msgid "" +"Given a :class:`importlib.resources.abc.Traversable` object representing a " +"file, typically from :func:`importlib.resources.files`, return a context " +"manager for use in a :keyword:`with` statement. The context manager provides " +"a :class:`pathlib.Path` object." +msgstr "" + +#: library/importlib.rst:898 +msgid "" +"Exiting the context manager cleans up any temporary file created when the " +"resource was extracted from e.g. a zip file." +msgstr "" + +#: library/importlib.rst:901 +msgid "" +"Use ``as_file`` when the Traversable methods (``read_text``, etc) are " +"insufficient and an actual file on the file system is required." +msgstr "" + +#: library/importlib.rst:909 msgid "Open for binary reading the *resource* within *package*." msgstr "" -#: library/importlib.rst:895 +#: library/importlib.rst:911 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -1122,13 +1142,13 @@ msgid "" "BinaryIO`` instance, a binary I/O stream open for reading." msgstr "" -#: library/importlib.rst:904 +#: library/importlib.rst:920 msgid "" "Open for text reading the *resource* within *package*. By default, the " "resource is opened for reading as UTF-8." msgstr "" -#: library/importlib.rst:907 +#: library/importlib.rst:923 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -1137,18 +1157,18 @@ msgid "" "same meaning as with built-in :func:`open`." msgstr "" -#: library/importlib.rst:913 +#: library/importlib.rst:929 msgid "" "This function returns a ``typing.TextIO`` instance, a text I/O stream open " "for reading." msgstr "" -#: library/importlib.rst:919 +#: library/importlib.rst:935 msgid "" "Read and return the contents of the *resource* within *package* as ``bytes``." msgstr "" -#: library/importlib.rst:922 +#: library/importlib.rst:938 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -1157,13 +1177,13 @@ msgid "" "contents of the resource as :class:`bytes`." msgstr "" -#: library/importlib.rst:931 +#: library/importlib.rst:947 msgid "" "Read and return the contents of *resource* within *package* as a ``str``. By " "default, the contents are read as strict UTF-8." msgstr "" -#: library/importlib.rst:934 +#: library/importlib.rst:950 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -1173,20 +1193,20 @@ msgid "" "contents of the resource as :class:`str`." msgstr "" -#: library/importlib.rst:944 +#: library/importlib.rst:960 msgid "" "Return the path to the *resource* as an actual file system path. This " "function returns a context manager for use in a :keyword:`with` statement. " "The context manager provides a :class:`pathlib.Path` object." msgstr "" -#: library/importlib.rst:948 +#: library/importlib.rst:964 msgid "" "Exiting the context manager cleans up any temporary file created when the " "resource needs to be extracted from e.g. a zip file." msgstr "" -#: library/importlib.rst:951 +#: library/importlib.rst:967 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -1194,7 +1214,7 @@ msgid "" "resources (i.e. it cannot be a directory)." msgstr "" -#: library/importlib.rst:959 +#: library/importlib.rst:975 msgid "" "Return ``True`` if there is a resource named *name* in the package, " "otherwise ``False``. Remember that directories are *not* resources! " @@ -1202,66 +1222,66 @@ msgid "" "``Package`` requirements." msgstr "" -#: library/importlib.rst:967 +#: library/importlib.rst:983 msgid "" "Return an iterable over the named items within the package. The iterable " "returns :class:`str` resources (e.g. files) and non-resources (e.g. " "directories). The iterable does not recurse into subdirectories." msgstr "" -#: library/importlib.rst:976 +#: library/importlib.rst:992 msgid ":mod:`importlib.machinery` -- Importers and path hooks" msgstr "" -#: library/importlib.rst:981 +#: library/importlib.rst:997 msgid "**Source code:** :source:`Lib/importlib/machinery.py`" msgstr "" -#: library/importlib.rst:985 +#: library/importlib.rst:1001 msgid "" "This module contains the various objects that help :keyword:`import` find " "and load modules." msgstr "" -#: library/importlib.rst:990 +#: library/importlib.rst:1006 msgid "" "A list of strings representing the recognized file suffixes for source " "modules." msgstr "" -#: library/importlib.rst:997 +#: library/importlib.rst:1013 msgid "" "A list of strings representing the file suffixes for non-optimized bytecode " "modules." msgstr "" -#: library/importlib.rst:1012 +#: library/importlib.rst:1028 msgid "Use :attr:`BYTECODE_SUFFIXES` instead." msgstr "" -#: library/importlib.rst:1007 +#: library/importlib.rst:1023 msgid "" "A list of strings representing the file suffixes for optimized bytecode " "modules." msgstr "" -#: library/importlib.rst:1017 +#: library/importlib.rst:1033 msgid "" "A list of strings representing the recognized file suffixes for bytecode " "modules (including the leading dot)." msgstr "" -#: library/importlib.rst:1022 +#: library/importlib.rst:1038 msgid "The value is no longer dependent on ``__debug__``." msgstr "" -#: library/importlib.rst:1027 +#: library/importlib.rst:1043 msgid "" "A list of strings representing the recognized file suffixes for extension " "modules." msgstr "" -#: library/importlib.rst:1034 +#: library/importlib.rst:1050 msgid "" "Returns a combined list of strings representing all file suffixes for " "modules recognized by the standard import machinery. This is a helper for " @@ -1270,56 +1290,56 @@ msgid "" "`inspect.getmodulename`)." msgstr "" -#: library/importlib.rst:1045 +#: library/importlib.rst:1061 msgid "" "An :term:`importer` for built-in modules. All known built-in modules are " "listed in :data:`sys.builtin_module_names`. This class implements the :class:" "`importlib.abc.MetaPathFinder` and :class:`importlib.abc.InspectLoader` ABCs." msgstr "" -#: library/importlib.rst:1064 library/importlib.rst:1092 +#: library/importlib.rst:1080 library/importlib.rst:1108 msgid "" "Only class methods are defined by this class to alleviate the need for " "instantiation." msgstr "" -#: library/importlib.rst:1053 +#: library/importlib.rst:1069 msgid "" "As part of :pep:`489`, the builtin importer now implements :meth:`Loader." "create_module` and :meth:`Loader.exec_module`" msgstr "" -#: library/importlib.rst:1060 +#: library/importlib.rst:1076 msgid "" "An :term:`importer` for frozen modules. This class implements the :class:" "`importlib.abc.MetaPathFinder` and :class:`importlib.abc.InspectLoader` ABCs." msgstr "" -#: library/importlib.rst:1067 +#: library/importlib.rst:1083 msgid "" "Gained :meth:`~Loader.create_module` and :meth:`~Loader.exec_module` methods." msgstr "" -#: library/importlib.rst:1074 +#: library/importlib.rst:1090 msgid "" ":term:`Finder ` for modules declared in the Windows registry. This " "class implements the :class:`importlib.abc.MetaPathFinder` ABC." msgstr "" -#: library/importlib.rst:1082 +#: library/importlib.rst:1098 msgid "" "Use :mod:`site` configuration instead. Future versions of Python may not " "enable this finder by default." msgstr "" -#: library/importlib.rst:1089 +#: library/importlib.rst:1105 msgid "" "A :term:`Finder ` for :data:`sys.path` and package ``__path__`` " "attributes. This class implements the :class:`importlib.abc.MetaPathFinder` " "ABC." msgstr "" -#: library/importlib.rst:1097 +#: library/importlib.rst:1113 msgid "" "Class method that attempts to find a :term:`spec ` for the " "module specified by *fullname* on :data:`sys.path` or, if defined, on " @@ -1333,47 +1353,47 @@ msgid "" "cache and returned." msgstr "" -#: library/importlib.rst:1111 +#: library/importlib.rst:1127 msgid "" "If the current working directory -- represented by an empty string -- is no " "longer valid then ``None`` is returned but no value is cached in :data:`sys." "path_importer_cache`." msgstr "" -#: library/importlib.rst:1118 +#: library/importlib.rst:1134 msgid "A legacy wrapper around :meth:`find_spec`." msgstr "" -#: library/importlib.rst:1125 +#: library/importlib.rst:1141 msgid "" "Calls :meth:`importlib.abc.PathEntryFinder.invalidate_caches` on all finders " "stored in :data:`sys.path_importer_cache` that define the method. Otherwise " "entries in :data:`sys.path_importer_cache` set to ``None`` are deleted." msgstr "" -#: library/importlib.rst:1130 +#: library/importlib.rst:1146 msgid "Entries of ``None`` in :data:`sys.path_importer_cache` are deleted." msgstr "" -#: library/importlib.rst:1133 +#: library/importlib.rst:1149 msgid "" "Calls objects in :data:`sys.path_hooks` with the current working directory " "for ``''`` (i.e. the empty string)." msgstr "" -#: library/importlib.rst:1140 +#: library/importlib.rst:1156 msgid "" "A concrete implementation of :class:`importlib.abc.PathEntryFinder` which " "caches results from the file system." msgstr "" -#: library/importlib.rst:1143 +#: library/importlib.rst:1159 msgid "" "The *path* argument is the directory for which the finder is in charge of " "searching." msgstr "" -#: library/importlib.rst:1146 +#: library/importlib.rst:1162 msgid "" "The *loader_details* argument is a variable number of 2-item tuples each " "containing a loader and a sequence of file suffixes the loader recognizes. " @@ -1381,7 +1401,7 @@ msgid "" "module's name and the path to the file found." msgstr "" -#: library/importlib.rst:1151 +#: library/importlib.rst:1167 msgid "" "The finder will cache the directory contents as necessary, making stat calls " "for each module search to verify the cache is not outdated. Because cache " @@ -1394,152 +1414,152 @@ msgid "" "to call :func:`importlib.invalidate_caches`." msgstr "" -#: library/importlib.rst:1165 +#: library/importlib.rst:1181 msgid "The path the finder will search in." msgstr "" -#: library/importlib.rst:1169 +#: library/importlib.rst:1185 msgid "Attempt to find the spec to handle *fullname* within :attr:`path`." msgstr "" -#: library/importlib.rst:1175 +#: library/importlib.rst:1191 msgid "Attempt to find the loader to handle *fullname* within :attr:`path`." msgstr "" -#: library/importlib.rst:1179 +#: library/importlib.rst:1195 msgid "Clear out the internal cache." msgstr "" -#: library/importlib.rst:1183 +#: library/importlib.rst:1199 msgid "" "A class method which returns a closure for use on :attr:`sys.path_hooks`. An " "instance of :class:`FileFinder` is returned by the closure using the path " "argument given to the closure directly and *loader_details* indirectly." msgstr "" -#: library/importlib.rst:1188 +#: library/importlib.rst:1204 msgid "" "If the argument to the closure is not an existing directory, :exc:" "`ImportError` is raised." msgstr "" -#: library/importlib.rst:1194 +#: library/importlib.rst:1210 msgid "" "A concrete implementation of :class:`importlib.abc.SourceLoader` by " "subclassing :class:`importlib.abc.FileLoader` and providing some concrete " "implementations of other methods." msgstr "" -#: library/importlib.rst:1202 +#: library/importlib.rst:1218 msgid "The name of the module that this loader will handle." msgstr "" -#: library/importlib.rst:1206 +#: library/importlib.rst:1222 msgid "The path to the source file." msgstr "" -#: library/importlib.rst:1210 +#: library/importlib.rst:1226 msgid "Return ``True`` if :attr:`path` appears to be for a package." msgstr "" -#: library/importlib.rst:1214 +#: library/importlib.rst:1230 msgid "" "Concrete implementation of :meth:`importlib.abc.SourceLoader.path_stats`." msgstr "" -#: library/importlib.rst:1218 +#: library/importlib.rst:1234 msgid "Concrete implementation of :meth:`importlib.abc.SourceLoader.set_data`." msgstr "" -#: library/importlib.rst:1265 +#: library/importlib.rst:1281 msgid "" "Concrete implementation of :meth:`importlib.abc.Loader.load_module` where " "specifying the name of the module to load is optional." msgstr "" -#: library/importlib.rst:1270 +#: library/importlib.rst:1286 msgid "Use :meth:`importlib.abc.Loader.exec_module` instead." msgstr "" -#: library/importlib.rst:1232 +#: library/importlib.rst:1248 msgid "" "A concrete implementation of :class:`importlib.abc.FileLoader` which can " "import bytecode files (i.e. no source code files exist)." msgstr "" -#: library/importlib.rst:1235 +#: library/importlib.rst:1251 msgid "" "Please note that direct use of bytecode files (and thus not source code " "files) inhibits your modules from being usable by all Python implementations " "or new versions of Python which change the bytecode format." msgstr "" -#: library/importlib.rst:1244 +#: library/importlib.rst:1260 msgid "The name of the module the loader will handle." msgstr "" -#: library/importlib.rst:1248 +#: library/importlib.rst:1264 msgid "The path to the bytecode file." msgstr "" -#: library/importlib.rst:1252 +#: library/importlib.rst:1268 msgid "Determines if the module is a package based on :attr:`path`." msgstr "" -#: library/importlib.rst:1256 +#: library/importlib.rst:1272 msgid "Returns the code object for :attr:`name` created from :attr:`path`." msgstr "" -#: library/importlib.rst:1260 +#: library/importlib.rst:1276 msgid "" "Returns ``None`` as bytecode files have no source when this loader is used." msgstr "" -#: library/importlib.rst:1275 +#: library/importlib.rst:1291 msgid "" "A concrete implementation of :class:`importlib.abc.ExecutionLoader` for " "extension modules." msgstr "" -#: library/importlib.rst:1278 +#: library/importlib.rst:1294 msgid "" "The *fullname* argument specifies the name of the module the loader is to " "support. The *path* argument is the path to the extension module's file." msgstr "" -#: library/importlib.rst:1285 +#: library/importlib.rst:1301 msgid "Name of the module the loader supports." msgstr "" -#: library/importlib.rst:1289 +#: library/importlib.rst:1305 msgid "Path to the extension module." msgstr "" -#: library/importlib.rst:1293 +#: library/importlib.rst:1309 msgid "" "Creates the module object from the given specification in accordance with :" "pep:`489`." msgstr "" -#: library/importlib.rst:1300 +#: library/importlib.rst:1316 msgid "Initializes the given module object in accordance with :pep:`489`." msgstr "" -#: library/importlib.rst:1306 +#: library/importlib.rst:1322 msgid "" "Returns ``True`` if the file path points to a package's ``__init__`` module " "based on :attr:`EXTENSION_SUFFIXES`." msgstr "" -#: library/importlib.rst:1311 +#: library/importlib.rst:1327 msgid "Returns ``None`` as extension modules lack a code object." msgstr "" -#: library/importlib.rst:1315 +#: library/importlib.rst:1331 msgid "Returns ``None`` as extension modules do not have source code." msgstr "" -#: library/importlib.rst:1326 +#: library/importlib.rst:1342 msgid "" "A specification for a module's import-system-related state. This is " "typically exposed as the module's ``__spec__`` attribute. In the " @@ -1552,29 +1572,29 @@ msgid "" "``__spec__.submodule_search_locations``." msgstr "" -#: library/importlib.rst:1340 +#: library/importlib.rst:1356 msgid "(``__name__``)" msgstr "" -#: library/importlib.rst:1342 +#: library/importlib.rst:1358 msgid "A string for the fully-qualified name of the module." msgstr "" -#: library/importlib.rst:1346 +#: library/importlib.rst:1362 msgid "(``__loader__``)" msgstr "" -#: library/importlib.rst:1348 +#: library/importlib.rst:1364 msgid "" "The :term:`Loader ` that should be used when loading the module. :" "term:`Finders ` should always set this." msgstr "" -#: library/importlib.rst:1353 +#: library/importlib.rst:1369 msgid "(``__file__``)" msgstr "" -#: library/importlib.rst:1355 +#: library/importlib.rst:1371 msgid "" "Name of the place from which the module is loaded, e.g. \"builtin\" for " "built-in modules and the filename for modules loaded from source. Normally " @@ -1582,67 +1602,67 @@ msgid "" "indicates it is unspecified (e.g. for namespace packages)." msgstr "" -#: library/importlib.rst:1362 +#: library/importlib.rst:1378 msgid "(``__path__``)" msgstr "" -#: library/importlib.rst:1364 +#: library/importlib.rst:1380 msgid "" "List of strings for where to find submodules, if a package (``None`` " "otherwise)." msgstr "" -#: library/importlib.rst:1369 +#: library/importlib.rst:1385 msgid "" "Container of extra module-specific data for use during loading (or ``None``)." msgstr "" -#: library/importlib.rst:1374 +#: library/importlib.rst:1390 msgid "(``__cached__``)" msgstr "" -#: library/importlib.rst:1376 +#: library/importlib.rst:1392 msgid "String for where the compiled module should be stored (or ``None``)." msgstr "" -#: library/importlib.rst:1380 +#: library/importlib.rst:1396 msgid "(``__package__``)" msgstr "" -#: library/importlib.rst:1382 +#: library/importlib.rst:1398 msgid "" "(Read-only) The fully-qualified name of the package under which the module " "should be loaded as a submodule (or the empty string for top-level modules). " "For packages, it is the same as :attr:`__name__`." msgstr "" -#: library/importlib.rst:1388 +#: library/importlib.rst:1404 msgid "" "Boolean indicating whether or not the module's \"origin\" attribute refers " "to a loadable location." msgstr "" -#: library/importlib.rst:1392 +#: library/importlib.rst:1408 msgid ":mod:`importlib.util` -- Utility code for importers" msgstr "" -#: library/importlib.rst:1398 +#: library/importlib.rst:1414 msgid "**Source code:** :source:`Lib/importlib/util.py`" msgstr "" -#: library/importlib.rst:1402 +#: library/importlib.rst:1418 msgid "" "This module contains the various objects that help in the construction of " "an :term:`importer`." msgstr "" -#: library/importlib.rst:1407 +#: library/importlib.rst:1423 msgid "" "The bytes which represent the bytecode version number. If you need help with " "loading/writing bytecode then consider :class:`importlib.abc.SourceLoader`." msgstr "" -#: library/importlib.rst:1414 +#: library/importlib.rst:1430 msgid "" "Return the :pep:`3147`/:pep:`488` path to the byte-compiled file associated " "with the source *path*. For example, if *path* is ``/foo/bar/baz.py`` the " @@ -1652,7 +1672,7 @@ msgid "" "`NotImplementedError` will be raised)." msgstr "" -#: library/importlib.rst:1421 +#: library/importlib.rst:1437 msgid "" "The *optimization* parameter is used to specify the optimization level of " "the bytecode file. An empty string represents no optimization, so ``/foo/bar/" @@ -1665,7 +1685,7 @@ msgid "" "be alphanumeric, else :exc:`ValueError` is raised." msgstr "" -#: library/importlib.rst:1431 +#: library/importlib.rst:1447 msgid "" "The *debug_override* parameter is deprecated and can be used to override the " "system's value for ``__debug__``. A ``True`` value is the equivalent of " @@ -1674,17 +1694,17 @@ msgid "" "are not ``None`` then :exc:`TypeError` is raised." msgstr "" -#: library/importlib.rst:1439 +#: library/importlib.rst:1455 msgid "" "The *optimization* parameter was added and the *debug_override* parameter " "was deprecated." msgstr "" -#: library/importlib.rst:1459 library/importlib.rst:1608 +#: library/importlib.rst:1475 library/importlib.rst:1624 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." -#: library/importlib.rst:1449 +#: library/importlib.rst:1465 msgid "" "Given the *path* to a :pep:`3147` file name, return the associated source " "code file path. For example, if *path* is ``/foo/bar/__pycache__/baz." @@ -1694,25 +1714,25 @@ msgid "" "cache_tag` is not defined, :exc:`NotImplementedError` is raised." msgstr "" -#: library/importlib.rst:1464 +#: library/importlib.rst:1480 msgid "" "Decode the given bytes representing source code and return it as a string " "with universal newlines (as required by :meth:`importlib.abc.InspectLoader." "get_source`)." msgstr "" -#: library/importlib.rst:1472 +#: library/importlib.rst:1488 msgid "Resolve a relative module name to an absolute one." msgstr "" -#: library/importlib.rst:1474 +#: library/importlib.rst:1490 msgid "" "If **name** has no leading dots, then **name** is simply returned. This " "allows for usage such as ``importlib.util.resolve_name('sys', __spec__." "parent)`` without doing a check to see if the **package** argument is needed." msgstr "" -#: library/importlib.rst:1479 +#: library/importlib.rst:1495 msgid "" ":exc:`ImportError` is raised if **name** is a relative module name but " "**package** is a false value (e.g. ``None`` or the empty string). :exc:" @@ -1720,13 +1740,13 @@ msgid "" "package (e.g. requesting ``..bacon`` from within the ``spam`` package)." msgstr "" -#: library/importlib.rst:1486 +#: library/importlib.rst:1502 msgid "" "To improve consistency with import statements, raise :exc:`ImportError` " "instead of :exc:`ValueError` for invalid relative import attempts." msgstr "" -#: library/importlib.rst:1493 +#: library/importlib.rst:1509 msgid "" "Find the :term:`spec ` for a module, optionally relative to the " "specified **package** name. If the module is in :attr:`sys.modules`, then " @@ -1736,30 +1756,30 @@ msgid "" "if no spec is found." msgstr "" -#: library/importlib.rst:1500 +#: library/importlib.rst:1516 msgid "" "If **name** is for a submodule (contains a dot), the parent module is " "automatically imported." msgstr "" -#: library/importlib.rst:1503 +#: library/importlib.rst:1519 msgid "**name** and **package** work the same as for :func:`import_module`." msgstr "" -#: library/importlib.rst:1507 +#: library/importlib.rst:1523 msgid "" "Raises :exc:`ModuleNotFoundError` instead of :exc:`AttributeError` if " "**package** is in fact not a package (i.e. lacks a :attr:`__path__` " "attribute)." msgstr "" -#: library/importlib.rst:1514 +#: library/importlib.rst:1530 msgid "" "Create a new module based on **spec** and :meth:`spec.loader.create_module " "`." msgstr "" -#: library/importlib.rst:1517 +#: library/importlib.rst:1533 msgid "" "If :meth:`spec.loader.create_module ` " "does not return ``None``, then any pre-existing attributes will not be " @@ -1767,14 +1787,14 @@ msgid "" "accessing **spec** or setting an attribute on the module." msgstr "" -#: library/importlib.rst:1522 +#: library/importlib.rst:1538 msgid "" "This function is preferred over using :class:`types.ModuleType` to create a " "new module as **spec** is used to set as many import-controlled attributes " "on the module as possible." msgstr "" -#: library/importlib.rst:1530 +#: library/importlib.rst:1546 msgid "" "A :term:`decorator` for :meth:`importlib.abc.Loader.load_module` to handle " "selecting the proper module object to load with. The decorated method is " @@ -1784,7 +1804,7 @@ msgid "" "work on static methods because of the assumption of two arguments." msgstr "" -#: library/importlib.rst:1539 +#: library/importlib.rst:1555 msgid "" "The decorated method will take in the **name** of the module to be loaded as " "expected for a :term:`loader`. If the module is not found in :data:`sys." @@ -1794,7 +1814,7 @@ msgid "" "available). These attributes are set unconditionally to support reloading." msgstr "" -#: library/importlib.rst:1547 +#: library/importlib.rst:1563 msgid "" "If an exception is raised by the decorated method and a module was added to :" "data:`sys.modules`, then the module will be removed to prevent a partially " @@ -1802,25 +1822,25 @@ msgid "" "was already in :data:`sys.modules` then it is left alone." msgstr "" -#: library/importlib.rst:1552 +#: library/importlib.rst:1568 msgid "" ":attr:`__loader__` and :attr:`__package__` are automatically set (when " "possible)." msgstr "" -#: library/importlib.rst:1556 +#: library/importlib.rst:1572 msgid "" "Set :attr:`__name__`, :attr:`__loader__` :attr:`__package__` unconditionally " "to support reloading." msgstr "" -#: library/importlib.rst:1560 +#: library/importlib.rst:1576 msgid "" "The import machinery now directly performs all the functionality provided by " "this function." msgstr "" -#: library/importlib.rst:1566 +#: library/importlib.rst:1582 msgid "" "A :term:`decorator` for :meth:`importlib.abc.Loader.load_module` to set the :" "attr:`__loader__` attribute on the returned module. If the attribute is " @@ -1829,23 +1849,23 @@ msgid "" "`__loader__` should be set to." msgstr "" -#: library/importlib.rst:1573 +#: library/importlib.rst:1589 msgid "" "Set ``__loader__`` if set to ``None``, as if the attribute does not exist." msgstr "" -#: library/importlib.rst:1586 +#: library/importlib.rst:1602 msgid "The import machinery takes care of this automatically." msgstr "" -#: library/importlib.rst:1582 +#: library/importlib.rst:1598 msgid "" "A :term:`decorator` for :meth:`importlib.abc.Loader.load_module` to set the :" "attr:`__package__` attribute on the returned module. If :attr:`__package__` " "is set and has a value other than ``None`` it will not be changed." msgstr "" -#: library/importlib.rst:1591 +#: library/importlib.rst:1607 msgid "" "A factory function for creating a :class:`ModuleSpec` instance based on a " "loader. The parameters have the same meaning as they do for ModuleSpec. " @@ -1853,27 +1873,27 @@ msgid "" "`InspectLoader.is_package`, to fill in any missing information on the spec." msgstr "" -#: library/importlib.rst:1601 +#: library/importlib.rst:1617 msgid "" "A factory function for creating a :class:`ModuleSpec` instance based on the " "path to a file. Missing information will be filled in on the spec by making " "use of loader APIs and by the implication that the module will be file-based." msgstr "" -#: library/importlib.rst:1613 +#: library/importlib.rst:1629 msgid "" "Return the hash of *source_bytes* as bytes. A hash-based ``.pyc`` file " "embeds the :func:`source_hash` of the corresponding source file's contents " "in its header." msgstr "" -#: library/importlib.rst:1621 +#: library/importlib.rst:1637 msgid "" "A class which postpones the execution of the loader of a module until the " "module has an attribute accessed." msgstr "" -#: library/importlib.rst:1624 +#: library/importlib.rst:1640 msgid "" "This class **only** works with loaders that define :meth:`~importlib.abc." "Loader.exec_module` as control over what module type is used for the module " @@ -1886,7 +1906,7 @@ msgid "" "raised if such a substitution is detected." msgstr "" -#: library/importlib.rst:1635 +#: library/importlib.rst:1651 msgid "" "For projects where startup time is critical, this class allows for " "potentially minimizing the cost of loading a module if it is never used. For " @@ -1895,58 +1915,58 @@ msgid "" "postponed and thus occurring out of context." msgstr "" -#: library/importlib.rst:1643 +#: library/importlib.rst:1659 msgid "" "Began calling :meth:`~importlib.abc.Loader.create_module`, removing the " "compatibility warning for :class:`importlib.machinery.BuiltinImporter` and :" "class:`importlib.machinery.ExtensionFileLoader`." msgstr "" -#: library/importlib.rst:1650 +#: library/importlib.rst:1666 msgid "" "A static method which returns a callable that creates a lazy loader. This is " "meant to be used in situations where the loader is passed by class instead " "of by instance. ::" msgstr "" -#: library/importlib.rst:1663 +#: library/importlib.rst:1679 msgid "Examples" msgstr "Exemples" -#: library/importlib.rst:1666 +#: library/importlib.rst:1682 msgid "Importing programmatically" msgstr "" -#: library/importlib.rst:1668 +#: library/importlib.rst:1684 msgid "" "To programmatically import a module, use :func:`importlib.import_module`. ::" msgstr "" -#: library/importlib.rst:1677 +#: library/importlib.rst:1693 msgid "Checking if a module can be imported" msgstr "" -#: library/importlib.rst:1679 +#: library/importlib.rst:1695 msgid "" "If you need to find out if a module can be imported without actually doing " "the import, then you should use :func:`importlib.util.find_spec`. ::" msgstr "" -#: library/importlib.rst:1702 +#: library/importlib.rst:1718 msgid "Importing a source file directly" msgstr "" -#: library/importlib.rst:1704 +#: library/importlib.rst:1720 msgid "" "To import a Python source file directly, use the following recipe (Python " "3.5 and newer only)::" msgstr "" -#: library/importlib.rst:1723 +#: library/importlib.rst:1739 msgid "Setting up an importer" msgstr "" -#: library/importlib.rst:1725 +#: library/importlib.rst:1741 msgid "" "For deep customizations of import, you typically want to implement an :term:" "`importer`. This means managing both the :term:`finder` and :term:`loader` " @@ -1960,11 +1980,11 @@ msgid "" "for the appropriate classes defined within this package)::" msgstr "" -#: library/importlib.rst:1757 +#: library/importlib.rst:1773 msgid "Approximating :func:`importlib.import_module`" msgstr "" -#: library/importlib.rst:1759 +#: library/importlib.rst:1775 msgid "" "Import itself is implemented in Python code, making it possible to expose " "most of the import machinery through importlib. The following helps " diff --git a/library/io.po b/library/io.po index 60ba1e24..60da3ca5 100644 --- a/library/io.po +++ b/library/io.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-07-03 11:13+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -60,7 +60,7 @@ msgid "" "since :exc:`IOError` is now an alias of :exc:`OSError`." msgstr "" -#: library/io.rst:781 library/io.rst:1038 +#: library/io.rst:771 library/io.rst:1028 msgid "Text I/O" msgstr "" @@ -89,7 +89,7 @@ msgid "" "`TextIOBase`." msgstr "" -#: library/io.rst:1026 +#: library/io.rst:1016 msgid "Binary I/O" msgstr "" @@ -201,34 +201,21 @@ msgid "" "when an unsupported operation is called on a stream." msgstr "" -#: library/io.rst:159 -msgid "In-memory streams" -msgstr "" - #: library/io.rst:161 -msgid "" -"It is also possible to use a :class:`str` or :term:`bytes-like object` as a " -"file for both reading and writing. For strings :class:`StringIO` can be " -"used like a file opened in text mode. :class:`BytesIO` can be used like a " -"file opened in binary mode. Both provide full read-write capabilities with " -"random access." -msgstr "" - -#: library/io.rst:171 msgid ":mod:`sys`" msgstr "" -#: library/io.rst:171 +#: library/io.rst:161 msgid "" "contains the standard IO streams: :data:`sys.stdin`, :data:`sys.stdout`, " "and :data:`sys.stderr`." msgstr "" -#: library/io.rst:176 +#: library/io.rst:166 msgid "Class hierarchy" msgstr "" -#: library/io.rst:178 +#: library/io.rst:168 msgid "" "The implementation of I/O streams is organized as a hierarchy of classes. " "First :term:`abstract base classes ` (ABCs), which are " @@ -236,7 +223,7 @@ msgid "" "providing the standard stream implementations." msgstr "" -#: library/io.rst:185 +#: library/io.rst:175 msgid "" "The abstract base classes also provide default implementations of some " "methods in order to help implementation of concrete stream classes. For " @@ -244,7 +231,7 @@ msgid "" "meth:`~IOBase.readinto` and :meth:`~IOBase.readline`." msgstr "" -#: library/io.rst:190 +#: library/io.rst:180 msgid "" "At the top of the I/O hierarchy is the abstract base class :class:`IOBase`. " "It defines the basic interface to a stream. Note, however, that there is no " @@ -253,14 +240,14 @@ msgid "" "operation." msgstr "" -#: library/io.rst:195 +#: library/io.rst:185 msgid "" "The :class:`RawIOBase` ABC extends :class:`IOBase`. It deals with the " "reading and writing of bytes to a stream. :class:`FileIO` subclasses :class:" "`RawIOBase` to provide an interface to files in the machine's file system." msgstr "" -#: library/io.rst:199 +#: library/io.rst:189 msgid "" "The :class:`BufferedIOBase` ABC extends :class:`IOBase`. It deals with " "buffering on a raw binary stream (:class:`RawIOBase`). Its subclasses, :" @@ -271,7 +258,7 @@ msgid "" "class:`BytesIO`, is a stream of in-memory bytes." msgstr "" -#: library/io.rst:207 +#: library/io.rst:197 msgid "" "The :class:`TextIOBase` ABC extends :class:`IOBase`. It deals with streams " "whose bytes represent text, and handles encoding and decoding to and from " @@ -280,103 +267,103 @@ msgid "" "Finally, :class:`StringIO` is an in-memory stream for text." msgstr "" -#: library/io.rst:213 +#: library/io.rst:203 msgid "" "Argument names are not part of the specification, and only the arguments of :" "func:`open` are intended to be used as keyword arguments." msgstr "" -#: library/io.rst:216 +#: library/io.rst:206 msgid "" "The following table summarizes the ABCs provided by the :mod:`io` module:" msgstr "" -#: library/io.rst:221 +#: library/io.rst:211 msgid "ABC" msgstr "ABC" -#: library/io.rst:221 +#: library/io.rst:211 msgid "Inherits" msgstr "" -#: library/io.rst:221 +#: library/io.rst:211 msgid "Stub Methods" msgstr "" -#: library/io.rst:221 +#: library/io.rst:211 msgid "Mixin Methods and Properties" msgstr "" -#: library/io.rst:228 library/io.rst:232 +#: library/io.rst:218 library/io.rst:222 msgid ":class:`IOBase`" msgstr "" -#: library/io.rst:223 +#: library/io.rst:213 msgid "``fileno``, ``seek``, and ``truncate``" msgstr "``fileno``, ``seek``, et ``truncate``" -#: library/io.rst:223 +#: library/io.rst:213 msgid "" "``close``, ``closed``, ``__enter__``, ``__exit__``, ``flush``, ``isatty``, " "``__iter__``, ``__next__``, ``readable``, ``readline``, ``readlines``, " "``seekable``, ``tell``, ``writable``, and ``writelines``" msgstr "" -#: library/io.rst:228 +#: library/io.rst:218 msgid ":class:`RawIOBase`" msgstr "" -#: library/io.rst:228 +#: library/io.rst:218 msgid "``readinto`` and ``write``" msgstr "``readinto`` et ``write``" -#: library/io.rst:228 +#: library/io.rst:218 msgid "Inherited :class:`IOBase` methods, ``read``, and ``readall``" msgstr "" -#: library/io.rst:230 +#: library/io.rst:220 msgid ":class:`BufferedIOBase`" msgstr "" -#: library/io.rst:230 +#: library/io.rst:220 msgid "``detach``, ``read``, ``read1``, and ``write``" msgstr "``detach``, ``read``, ``read1``, et ``write``" -#: library/io.rst:230 +#: library/io.rst:220 msgid "Inherited :class:`IOBase` methods, ``readinto``, and ``readinto1``" msgstr "" -#: library/io.rst:232 +#: library/io.rst:222 msgid ":class:`TextIOBase`" msgstr "" -#: library/io.rst:232 +#: library/io.rst:222 msgid "``detach``, ``read``, ``readline``, and ``write``" msgstr "``detach``, ``read``, ``readline``, et ``write``" -#: library/io.rst:232 +#: library/io.rst:222 msgid "" "Inherited :class:`IOBase` methods, ``encoding``, ``errors``, and ``newlines``" msgstr "" -#: library/io.rst:239 +#: library/io.rst:229 msgid "I/O Base Classes" msgstr "" -#: library/io.rst:243 +#: library/io.rst:233 msgid "" "The abstract base class for all I/O classes, acting on streams of bytes. " "There is no public constructor." msgstr "" -#: library/io.rst:246 +#: library/io.rst:236 msgid "" "This class provides empty abstract implementations for many methods that " "derived classes can override selectively; the default implementations " "represent a file that cannot be read, written or seeked." msgstr "" -#: library/io.rst:251 +#: library/io.rst:241 msgid "" "Even though :class:`IOBase` does not declare :meth:`read` or :meth:`write` " "because their signatures will vary, implementations and clients should " @@ -385,20 +372,20 @@ msgid "" "they do not support are called." msgstr "" -#: library/io.rst:257 +#: library/io.rst:247 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. Text I/O classes work with :class:`str` data." msgstr "" -#: library/io.rst:261 +#: library/io.rst:251 msgid "" "Note that calling any method (even inquiries) on a closed stream is " "undefined. Implementations may raise :exc:`ValueError` in this case." msgstr "" -#: library/io.rst:264 +#: library/io.rst:254 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 " @@ -407,135 +394,135 @@ msgid "" "character strings). See :meth:`~IOBase.readline` below." msgstr "" -#: library/io.rst:270 +#: library/io.rst:260 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 "" -#: library/io.rst:277 +#: library/io.rst:267 msgid ":class:`IOBase` provides these data attributes and methods:" msgstr "" -#: library/io.rst:281 +#: library/io.rst:271 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 "" -#: library/io.rst:285 +#: library/io.rst:275 msgid "" "As a convenience, it is allowed to call this method more than once; only the " "first call, however, will have an effect." msgstr "" -#: library/io.rst:290 +#: library/io.rst:280 msgid "``True`` if the stream is closed." msgstr "" -#: library/io.rst:294 +#: library/io.rst:284 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 "" -#: library/io.rst:300 +#: library/io.rst:290 msgid "" "Flush the write buffers of the stream if applicable. This does nothing for " "read-only and non-blocking streams." msgstr "" -#: library/io.rst:305 +#: library/io.rst:295 msgid "" "Return ``True`` if the stream is interactive (i.e., connected to a terminal/" "tty device)." msgstr "" -#: library/io.rst:310 +#: library/io.rst:300 msgid "" "Return ``True`` if the stream can be read from. If ``False``, :meth:`read` " "will raise :exc:`OSError`." msgstr "" -#: library/io.rst:315 +#: library/io.rst:305 msgid "" "Read and return one line from the stream. If *size* is specified, at most " "*size* bytes will be read." msgstr "" -#: library/io.rst:318 +#: library/io.rst:308 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 "" -#: library/io.rst:324 +#: library/io.rst:314 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 "" -#: library/io.rst:328 +#: library/io.rst:318 msgid "" "Note that it's already possible to iterate on file objects using ``for line " "in file: ...`` without calling ``file.readlines()``." msgstr "" -#: library/io.rst:333 +#: library/io.rst:323 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 "" -#: library/io.rst:337 +#: library/io.rst:327 msgid "" ":data:`SEEK_SET` or ``0`` -- start of the stream (the default); *offset* " "should be zero or positive" msgstr "" -#: library/io.rst:339 +#: library/io.rst:329 msgid "" ":data:`SEEK_CUR` or ``1`` -- current stream position; *offset* may be " "negative" msgstr "" -#: library/io.rst:341 +#: library/io.rst:331 msgid "" ":data:`SEEK_END` or ``2`` -- end of the stream; *offset* is usually negative" msgstr "" -#: library/io.rst:344 +#: library/io.rst:334 msgid "Return the new absolute position." msgstr "" -#: library/io.rst:857 +#: library/io.rst:847 msgid "The ``SEEK_*`` constants." msgstr "" -#: library/io.rst:349 +#: library/io.rst:339 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 "" -#: library/io.rst:356 +#: library/io.rst:346 msgid "" "Return ``True`` if the stream supports random access. If ``False``, :meth:" "`seek`, :meth:`tell` and :meth:`truncate` will raise :exc:`OSError`." msgstr "" -#: library/io.rst:361 +#: library/io.rst:351 msgid "Return the current stream position." msgstr "" -#: library/io.rst:365 +#: library/io.rst:355 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 " @@ -544,36 +531,36 @@ msgid "" "additional bytes are zero-filled). The new file size is returned." msgstr "" -#: library/io.rst:372 +#: library/io.rst:362 msgid "Windows will now zero-fill files when extending." msgstr "" -#: library/io.rst:377 +#: library/io.rst:367 msgid "" "Return ``True`` if the stream supports writing. If ``False``, :meth:`write` " "and :meth:`truncate` will raise :exc:`OSError`." msgstr "" -#: library/io.rst:382 +#: library/io.rst:372 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 "" -#: library/io.rst:388 +#: library/io.rst:378 msgid "" "Prepare for object destruction. :class:`IOBase` provides a default " "implementation of this method that calls the instance's :meth:`~IOBase." "close` method." msgstr "" -#: library/io.rst:395 +#: library/io.rst:385 msgid "" "Base class for raw binary streams. It inherits :class:`IOBase`. There is " "no public constructor." msgstr "" -#: library/io.rst:398 +#: library/io.rst:388 msgid "" "Raw binary streams typically provide low-level access to an underlying OS " "device or API, and do not try to encapsulate it in high-level primitives " @@ -581,13 +568,13 @@ msgid "" "text streams, described later in this page)." msgstr "" -#: library/io.rst:403 +#: library/io.rst:393 msgid "" ":class:`RawIOBase` provides these methods in addition to those from :class:" "`IOBase`:" msgstr "" -#: library/io.rst:408 +#: library/io.rst:398 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, " @@ -595,25 +582,25 @@ msgid "" "if the operating system call returns fewer than *size* bytes." msgstr "" -#: library/io.rst:413 +#: library/io.rst:403 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 "" -#: library/io.rst:417 +#: library/io.rst:407 msgid "" "The default implementation defers to :meth:`readall` and :meth:`readinto`." msgstr "" -#: library/io.rst:422 +#: library/io.rst:412 msgid "" "Read and return all the bytes from the stream until EOF, using multiple " "calls to the stream if necessary." msgstr "" -#: library/io.rst:427 +#: library/io.rst:417 msgid "" "Read bytes into a pre-allocated, writable :term:`bytes-like object` *b*, and " "return the number of bytes read. For example, *b* might be a :class:" @@ -621,7 +608,7 @@ msgid "" "available, ``None`` is returned." msgstr "" -#: library/io.rst:435 +#: library/io.rst:425 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 " @@ -632,13 +619,13 @@ msgid "" "the implementation should only access *b* during the method call." msgstr "" -#: library/io.rst:448 +#: library/io.rst:438 msgid "" "Base class for binary streams that support some kind of buffering. It " "inherits :class:`IOBase`. There is no public constructor." msgstr "" -#: library/io.rst:451 +#: library/io.rst:441 msgid "" "The main difference with :class:`RawIOBase` is that methods :meth:`read`, :" "meth:`readinto` and :meth:`write` will try (respectively) to read as much " @@ -646,7 +633,7 @@ msgid "" "perhaps more than one system call." msgstr "" -#: library/io.rst:456 +#: library/io.rst:446 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 " @@ -654,55 +641,55 @@ msgid "" "``None``." msgstr "" -#: library/io.rst:461 +#: library/io.rst:451 msgid "" "Besides, the :meth:`read` method does not have a default implementation that " "defers to :meth:`readinto`." msgstr "" -#: library/io.rst:464 +#: library/io.rst:454 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 "" -#: library/io.rst:468 +#: library/io.rst:458 msgid "" ":class:`BufferedIOBase` provides or overrides these data attributes and " "methods in addition to those from :class:`IOBase`:" msgstr "" -#: library/io.rst:473 +#: library/io.rst:463 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 "" -#: library/io.rst:479 +#: library/io.rst:469 msgid "Separate the underlying raw stream from the buffer and return it." msgstr "" -#: library/io.rst:481 +#: library/io.rst:471 msgid "" "After the raw stream has been detached, the buffer is in an unusable state." msgstr "" -#: library/io.rst:484 +#: library/io.rst:474 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 "" -#: library/io.rst:492 +#: library/io.rst:482 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 "" -#: library/io.rst:496 +#: library/io.rst:486 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 " @@ -711,13 +698,13 @@ msgid "" "imminent." msgstr "" -#: library/io.rst:525 library/io.rst:535 +#: library/io.rst:515 library/io.rst:525 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 "" -#: library/io.rst:507 +#: library/io.rst:497 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`) " @@ -725,26 +712,26 @@ msgid "" "top of a :class:`BufferedIOBase` object." msgstr "" -#: library/io.rst:513 +#: library/io.rst:503 msgid "" "If *size* is ``-1`` (the default), an arbitrary number of bytes are returned " "(more than zero unless EOF is reached)." msgstr "" -#: library/io.rst:518 +#: library/io.rst:508 msgid "" "Read bytes into a pre-allocated, writable :term:`bytes-like object` *b* and " "return the number of bytes read. For example, *b* might be a :class:" "`bytearray`." msgstr "" -#: library/io.rst:522 +#: library/io.rst:512 msgid "" "Like :meth:`read`, multiple reads may be issued to the underlying raw " "stream, unless the latter is interactive." msgstr "" -#: library/io.rst:530 +#: library/io.rst:520 msgid "" "Read bytes into a pre-allocated, writable :term:`bytes-like object` *b*, " "using at most one call to the underlying raw stream's :meth:`~RawIOBase." @@ -752,7 +739,7 @@ msgid "" "read." msgstr "" -#: library/io.rst:542 +#: library/io.rst:532 msgid "" "Write the given :term:`bytes-like object`, *b*, and return the number of " "bytes written (always equal to the length of *b* in bytes, since if the " @@ -761,41 +748,41 @@ msgid "" "or held in a buffer for performance and latency reasons." msgstr "" -#: library/io.rst:549 +#: library/io.rst:539 msgid "" "When in non-blocking mode, a :exc:`BlockingIOError` is raised if the data " "needed to be written to the raw stream but it couldn't accept all the data " "without blocking." msgstr "" -#: library/io.rst:553 +#: library/io.rst:543 msgid "" "The caller may release or mutate *b* after this method returns, so the " "implementation should only access *b* during the method call." msgstr "" -#: library/io.rst:558 +#: library/io.rst:548 msgid "Raw File I/O" msgstr "" -#: library/io.rst:562 +#: library/io.rst:552 msgid "" "A raw binary stream representing an OS-level file containing bytes data. It " "inherits :class:`RawIOBase`." msgstr "" -#: library/io.rst:565 +#: library/io.rst:555 msgid "The *name* can be one of two things:" msgstr "" -#: library/io.rst:567 +#: library/io.rst:557 msgid "" "a character string or :class:`bytes` object representing the path to the " "file which will be opened. In this case closefd must be ``True`` (the " "default) otherwise an error will be raised." msgstr "" -#: library/io.rst:570 +#: library/io.rst:560 msgid "" "an integer representing the number of an existing OS-level file descriptor " "to which the resulting :class:`FileIO` object will give access. When the " @@ -803,7 +790,7 @@ msgid "" "set to ``False``." msgstr "" -#: library/io.rst:575 +#: library/io.rst:565 msgid "" "The *mode* can be ``'r'``, ``'w'``, ``'x'`` or ``'a'`` for reading " "(default), writing, exclusive creation or appending. The file will be " @@ -814,13 +801,13 @@ msgid "" "``'+'`` to the mode to allow simultaneous reading and writing." msgstr "" -#: library/io.rst:583 +#: library/io.rst:573 msgid "" "The :meth:`read` (when called with a positive argument), :meth:`readinto` " "and :meth:`write` methods on this class will only make one system call." msgstr "" -#: library/io.rst:586 +#: library/io.rst:576 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 " @@ -834,381 +821,381 @@ msgstr "" "descripteur de fichier ouvert (fournir :mod:`os.open` en temps qu'*opener* " "aura le même effet que donner ``None``)." -#: library/io.rst:592 +#: library/io.rst:582 msgid "The newly created file is :ref:`non-inheritable `." msgstr "" "Il n'est :ref:`pas possible d'hériter du fichier ` " "nouvellement créé." -#: library/io.rst:594 +#: library/io.rst:584 msgid "" "See the :func:`open` built-in function for examples on using the *opener* " "parameter." msgstr "" -#: library/io.rst:597 +#: library/io.rst:587 msgid "The *opener* parameter was added. The ``'x'`` mode was added." msgstr "" -#: library/io.rst:601 +#: library/io.rst:591 msgid "The file is now non-inheritable." msgstr "Il n'est plus possible d'hériter de *file*." -#: library/io.rst:604 +#: library/io.rst:594 msgid "" ":class:`FileIO` provides these data attributes in addition to those from :" "class:`RawIOBase` and :class:`IOBase`:" msgstr "" -#: library/io.rst:609 +#: library/io.rst:599 msgid "The mode as given in the constructor." msgstr "" -#: library/io.rst:613 +#: library/io.rst:603 msgid "" "The file name. This is the file descriptor of the file when no name is " "given in the constructor." msgstr "" -#: library/io.rst:618 +#: library/io.rst:608 msgid "Buffered Streams" msgstr "" -#: library/io.rst:620 +#: library/io.rst:610 msgid "" "Buffered I/O streams provide a higher-level interface to an I/O device than " "raw I/O does." msgstr "" -#: library/io.rst:625 +#: library/io.rst:615 msgid "" "A binary stream using an in-memory bytes buffer. It inherits :class:" "`BufferedIOBase`. The buffer is discarded when the :meth:`~IOBase.close` " "method is called." msgstr "" -#: library/io.rst:629 +#: library/io.rst:619 msgid "" "The optional argument *initial_bytes* is a :term:`bytes-like object` that " "contains initial data." msgstr "" -#: library/io.rst:632 +#: library/io.rst:622 msgid "" ":class:`BytesIO` provides or overrides these methods in addition to those " "from :class:`BufferedIOBase` and :class:`IOBase`:" msgstr "" -#: library/io.rst:637 +#: library/io.rst:627 msgid "" "Return a readable and writable view over the contents of the buffer without " "copying them. Also, mutating the view will transparently update the " "contents of the buffer::" msgstr "" -#: library/io.rst:648 +#: library/io.rst:638 msgid "" "As long as the view exists, the :class:`BytesIO` object cannot be resized or " "closed." msgstr "" -#: library/io.rst:655 +#: library/io.rst:645 msgid "Return :class:`bytes` containing the entire contents of the buffer." msgstr "" -#: library/io.rst:660 +#: library/io.rst:650 msgid "In :class:`BytesIO`, this is the same as :meth:`~BufferedIOBase.read`." msgstr "" -#: library/io.rst:705 +#: library/io.rst:695 msgid "The *size* argument is now optional." msgstr "" -#: library/io.rst:667 +#: library/io.rst:657 msgid "" "In :class:`BytesIO`, this is the same as :meth:`~BufferedIOBase.readinto`." msgstr "" -#: library/io.rst:673 +#: library/io.rst:663 msgid "" "A buffered binary stream providing higher-level access to a readable, non " "seekable :class:`RawIOBase` raw binary stream. It inherits :class:" "`BufferedIOBase`." msgstr "" -#: library/io.rst:677 +#: library/io.rst:667 msgid "" "When reading data from this object, a larger amount of data may be requested " "from the underlying raw stream, and kept in an internal buffer. The buffered " "data can then be returned directly on subsequent reads." msgstr "" -#: library/io.rst:681 +#: library/io.rst:671 msgid "" "The constructor creates a :class:`BufferedReader` for the given readable " "*raw* stream and *buffer_size*. If *buffer_size* is omitted, :data:" "`DEFAULT_BUFFER_SIZE` is used." msgstr "" -#: library/io.rst:685 +#: library/io.rst:675 msgid "" ":class:`BufferedReader` provides or overrides these methods in addition to " "those from :class:`BufferedIOBase` and :class:`IOBase`:" msgstr "" -#: library/io.rst:690 +#: library/io.rst:680 msgid "" "Return bytes from the stream without advancing the position. At most one " "single read on the raw stream is done to satisfy the call. The number of " "bytes returned may be less or more than requested." msgstr "" -#: library/io.rst:696 +#: library/io.rst:686 msgid "" "Read and return *size* bytes, or if *size* is not given or negative, until " "EOF or if the read call would block in non-blocking mode." msgstr "" -#: library/io.rst:701 +#: library/io.rst:691 msgid "" "Read and return up to *size* bytes with only one call on the raw stream. If " "at least one byte is buffered, only buffered bytes are returned. Otherwise, " "one raw stream read call is made." msgstr "" -#: library/io.rst:711 +#: library/io.rst:701 msgid "" "A buffered binary stream providing higher-level access to a writeable, non " "seekable :class:`RawIOBase` raw binary stream. It inherits :class:" "`BufferedIOBase`." msgstr "" -#: library/io.rst:715 +#: library/io.rst:705 msgid "" "When writing to this object, data is normally placed into an internal " "buffer. The buffer will be written out to the underlying :class:`RawIOBase` " "object under various conditions, including:" msgstr "" -#: library/io.rst:719 +#: library/io.rst:709 msgid "when the buffer gets too small for all pending data;" msgstr "" -#: library/io.rst:720 +#: library/io.rst:710 msgid "when :meth:`flush()` is called;" msgstr "" -#: library/io.rst:721 +#: library/io.rst:711 msgid "" "when a :meth:`seek()` is requested (for :class:`BufferedRandom` objects);" msgstr "" -#: library/io.rst:722 +#: library/io.rst:712 msgid "when the :class:`BufferedWriter` object is closed or destroyed." msgstr "" -#: library/io.rst:724 +#: library/io.rst:714 msgid "" "The constructor creates a :class:`BufferedWriter` for the given writeable " "*raw* stream. If the *buffer_size* is not given, it defaults to :data:" "`DEFAULT_BUFFER_SIZE`." msgstr "" -#: library/io.rst:728 +#: library/io.rst:718 msgid "" ":class:`BufferedWriter` provides or overrides these methods in addition to " "those from :class:`BufferedIOBase` and :class:`IOBase`:" msgstr "" -#: library/io.rst:733 +#: library/io.rst:723 msgid "" "Force bytes held in the buffer into the raw stream. A :exc:" "`BlockingIOError` should be raised if the raw stream blocks." msgstr "" -#: library/io.rst:738 +#: library/io.rst:728 msgid "" "Write the :term:`bytes-like object`, *b*, and return the number of bytes " "written. When in non-blocking mode, a :exc:`BlockingIOError` is raised if " "the buffer needs to be written out but the raw stream blocks." msgstr "" -#: library/io.rst:746 +#: library/io.rst:736 msgid "" "A buffered binary stream providing higher-level access to a seekable :class:" "`RawIOBase` raw binary stream. It inherits :class:`BufferedReader` and :" "class:`BufferedWriter`." msgstr "" -#: library/io.rst:750 +#: library/io.rst:740 msgid "" "The constructor creates a reader and writer for a seekable raw stream, given " "in the first argument. If the *buffer_size* is omitted it defaults to :data:" "`DEFAULT_BUFFER_SIZE`." msgstr "" -#: library/io.rst:754 +#: library/io.rst:744 msgid "" ":class:`BufferedRandom` is capable of anything :class:`BufferedReader` or :" "class:`BufferedWriter` can do. In addition, :meth:`seek` and :meth:`tell` " "are guaranteed to be implemented." msgstr "" -#: library/io.rst:761 +#: library/io.rst:751 msgid "" "A buffered binary stream providing higher-level access to two non seekable :" "class:`RawIOBase` raw binary streams---one readable, the other writeable. It " "inherits :class:`BufferedIOBase`." msgstr "" -#: library/io.rst:765 +#: library/io.rst:755 msgid "" "*reader* and *writer* are :class:`RawIOBase` objects that are readable and " "writeable respectively. If the *buffer_size* is omitted it defaults to :" "data:`DEFAULT_BUFFER_SIZE`." msgstr "" -#: library/io.rst:769 +#: library/io.rst:759 msgid "" ":class:`BufferedRWPair` implements all of :class:`BufferedIOBase`\\'s " "methods except for :meth:`~BufferedIOBase.detach`, which raises :exc:" "`UnsupportedOperation`." msgstr "" -#: library/io.rst:775 +#: library/io.rst:765 msgid "" ":class:`BufferedRWPair` does not attempt to synchronize accesses to its " "underlying raw streams. You should not pass it the same object as reader " "and writer; use :class:`BufferedRandom` instead." msgstr "" -#: library/io.rst:785 +#: library/io.rst:775 msgid "" "Base class for text streams. This class provides a character and line based " "interface to stream I/O. It inherits :class:`IOBase`. There is no public " "constructor." msgstr "" -#: library/io.rst:789 +#: library/io.rst:779 msgid "" ":class:`TextIOBase` provides or overrides these data attributes and methods " "in addition to those from :class:`IOBase`:" msgstr "" -#: library/io.rst:794 +#: library/io.rst:784 msgid "" "The name of the encoding used to decode the stream's bytes into strings, and " "to encode strings into bytes." msgstr "" -#: library/io.rst:799 +#: library/io.rst:789 msgid "The error setting of the decoder or encoder." msgstr "" -#: library/io.rst:803 +#: library/io.rst:793 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 "" -#: library/io.rst:809 +#: library/io.rst:799 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 "" -#: library/io.rst:815 +#: library/io.rst:805 msgid "" "Separate the underlying binary buffer from the :class:`TextIOBase` and " "return it." msgstr "" -#: library/io.rst:818 +#: library/io.rst:808 msgid "" "After the underlying buffer has been detached, the :class:`TextIOBase` is in " "an unusable state." msgstr "" -#: library/io.rst:821 +#: library/io.rst:811 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 "" -#: library/io.rst:829 +#: library/io.rst:819 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 "" -#: library/io.rst:834 +#: library/io.rst:824 msgid "" "Read until newline or EOF and return a single ``str``. If the stream is " "already at EOF, an empty string is returned." msgstr "" -#: library/io.rst:837 +#: library/io.rst:827 msgid "If *size* is specified, at most *size* characters will be read." msgstr "" -#: library/io.rst:841 +#: library/io.rst:831 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 "" -#: library/io.rst:845 +#: library/io.rst:835 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 "" -#: library/io.rst:849 +#: library/io.rst:839 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 "" -#: library/io.rst:852 +#: library/io.rst:842 msgid "" ":data:`SEEK_END` or ``2``: seek to the end of the stream; *offset* must be " "zero (all other values are unsupported)." msgstr "" -#: library/io.rst:855 +#: library/io.rst:845 msgid "Return the new absolute position as an opaque number." msgstr "" -#: library/io.rst:862 +#: library/io.rst:852 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 "" -#: library/io.rst:868 +#: library/io.rst:858 msgid "" "Write the string *s* to the stream and return the number of characters " "written." msgstr "" -#: library/io.rst:875 +#: library/io.rst:865 msgid "" "A buffered text stream providing higher-level access to a :class:" "`BufferedIOBase` buffered binary stream. It inherits :class:`TextIOBase`." msgstr "" -#: library/io.rst:879 +#: library/io.rst:869 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 "" -#: library/io.rst:883 +#: library/io.rst:873 msgid "" "*errors* is an optional string that specifies how encoding and decoding " "errors are to be handled. Pass ``'strict'`` to raise a :exc:`ValueError` " @@ -1223,13 +1210,13 @@ msgid "" "that has been registered with :func:`codecs.register_error` is also valid." msgstr "" -#: library/io.rst:899 +#: library/io.rst:889 msgid "" "*newline* controls how line endings are handled. It can be ``None``, " "``''``, ``'\\n'``, ``'\\r'``, and ``'\\r\\n'``. It works as follows:" msgstr "" -#: library/io.rst:902 +#: library/io.rst:892 #, fuzzy msgid "" "When reading input from the stream, if *newline* is ``None``, :term:" @@ -1249,7 +1236,7 @@ msgstr "" "autre valeur autorisée, les lignes sont seulement terminées par la chaîne " "donnée, qui est rendue tel qu'elle." -#: library/io.rst:911 +#: library/io.rst:901 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " "characters written are translated to the system default line separator, :" @@ -1263,24 +1250,24 @@ msgstr "" "*newline* est un autre caractère valide, chaque ``'\\n'`` sera remplacé par " "la chaîne donnée." -#: library/io.rst:917 +#: library/io.rst:907 msgid "" "If *line_buffering* is ``True``, :meth:`flush` is implied when a call to " "write contains a newline character or a carriage return." msgstr "" -#: library/io.rst:920 +#: library/io.rst:910 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 "" -#: library/io.rst:924 +#: library/io.rst:914 msgid "The *write_through* argument has been added." msgstr "" -#: library/io.rst:927 +#: library/io.rst:917 msgid "" "The default *encoding* is now ``locale.getpreferredencoding(False)`` instead " "of ``locale.getpreferredencoding()``. Don't change temporary the locale " @@ -1288,103 +1275,103 @@ msgid "" "instead of the user preferred encoding." msgstr "" -#: library/io.rst:933 +#: library/io.rst:923 msgid "" ":class:`TextIOWrapper` provides these data attributes and methods in " "addition to those from :class:`TextIOBase` and :class:`IOBase`:" msgstr "" -#: library/io.rst:938 +#: library/io.rst:928 msgid "Whether line buffering is enabled." msgstr "" -#: library/io.rst:942 +#: library/io.rst:932 msgid "Whether writes are passed immediately to the underlying binary buffer." msgstr "" -#: library/io.rst:950 +#: library/io.rst:940 msgid "" "Reconfigure this text stream using new settings for *encoding*, *errors*, " "*newline*, *line_buffering* and *write_through*." msgstr "" -#: library/io.rst:953 +#: library/io.rst:943 msgid "" "Parameters not specified keep current settings, except ``errors='strict'`` " "is used when *encoding* is specified but *errors* is not specified." msgstr "" -#: library/io.rst:957 +#: library/io.rst:947 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 "" -#: library/io.rst:961 +#: library/io.rst:951 msgid "" "This method does an implicit stream flush before setting the new parameters." msgstr "" -#: library/io.rst:969 +#: library/io.rst:959 msgid "" "A text stream using an in-memory text buffer. It inherits :class:" "`TextIOBase`." msgstr "" -#: library/io.rst:972 +#: library/io.rst:962 msgid "" "The text buffer is discarded when the :meth:`~IOBase.close` method is called." msgstr "" -#: library/io.rst:975 +#: library/io.rst:965 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 "" -#: library/io.rst:980 +#: library/io.rst:970 msgid "" "The *newline* argument works like that of :class:`TextIOWrapper`, except " "that when writing output to the stream, if *newline* is ``None``, newlines " "are written as ``\\n`` on all platforms." msgstr "" -#: library/io.rst:984 +#: library/io.rst:974 msgid "" ":class:`StringIO` provides this method in addition to those from :class:" "`TextIOBase` and :class:`IOBase`:" msgstr "" -#: library/io.rst:989 +#: library/io.rst:979 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 "" -#: library/io.rst:993 +#: library/io.rst:983 msgid "Example usage::" msgstr "Exemple d'utilisation ::" -#: library/io.rst:1015 +#: library/io.rst:1005 msgid "" "A helper codec that decodes newlines for :term:`universal newlines` mode. It " "inherits :class:`codecs.IncrementalDecoder`." msgstr "" -#: library/io.rst:1020 +#: library/io.rst:1010 msgid "Performance" msgstr "Performances" -#: library/io.rst:1022 +#: library/io.rst:1012 msgid "" "This section discusses the performance of the provided concrete I/O " "implementations." msgstr "" -#: library/io.rst:1028 +#: library/io.rst:1018 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 " @@ -1397,7 +1384,7 @@ msgid "" "data." msgstr "" -#: library/io.rst:1040 +#: library/io.rst:1030 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 " @@ -1407,23 +1394,23 @@ msgid "" "to the reconstruction algorithm used." msgstr "" -#: library/io.rst:1047 +#: library/io.rst:1037 msgid "" ":class:`StringIO`, however, is a native in-memory unicode container and will " "exhibit similar speed to :class:`BytesIO`." msgstr "" -#: library/io.rst:1051 +#: library/io.rst:1041 msgid "Multi-threading" msgstr "Fils d'exécution" -#: library/io.rst:1053 +#: library/io.rst:1043 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 "" -#: library/io.rst:1056 +#: library/io.rst:1046 msgid "" "Binary buffered objects (instances of :class:`BufferedReader`, :class:" "`BufferedWriter`, :class:`BufferedRandom` and :class:`BufferedRWPair`) " @@ -1431,15 +1418,15 @@ msgid "" "them from multiple threads at once." msgstr "" -#: library/io.rst:1061 +#: library/io.rst:1051 msgid ":class:`TextIOWrapper` objects are not thread-safe." msgstr "" -#: library/io.rst:1064 +#: library/io.rst:1054 msgid "Reentrancy" msgstr "" -#: library/io.rst:1066 +#: library/io.rst:1056 msgid "" "Binary buffered objects (instances of :class:`BufferedReader`, :class:" "`BufferedWriter`, :class:`BufferedRandom` and :class:`BufferedRWPair`) are " @@ -1450,7 +1437,7 @@ msgid "" "from entering the buffered object." msgstr "" -#: library/io.rst:1074 +#: library/io.rst:1064 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/ipaddress.po b/library/ipaddress.po index 2e40cbcf..adfef0cd 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-17 16:05+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-18 22:57+0200\n" +"Last-Translator: Caliendo Julien \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: Caliendo Julien \n" "X-Generator: Poedit 2.4.1\n" #: library/ipaddress.rst:2 @@ -125,44 +125,60 @@ msgstr "" msgid "" "A string in decimal-dot notation, consisting of four decimal integers in the " "inclusive range 0--255, separated by dots (e.g. ``192.168.0.1``). Each " -"integer represents an octet (byte) in the address. Leading zeroes are " -"tolerated only for values less than 8 (as there is no ambiguity between the " -"decimal and octal interpretations of such strings)." +"integer represents an octet (byte) in the address. Leading zeroes are not " +"tolerated to prevent confusion with octal notation." msgstr "" -#: library/ipaddress.rst:109 +#: library/ipaddress.rst:108 msgid "An integer that fits into 32 bits." msgstr "" -#: library/ipaddress.rst:110 +#: library/ipaddress.rst:109 msgid "" "An integer packed into a :class:`bytes` object of length 4 (most significant " "octet first)." msgstr "" -#: library/ipaddress.rst:122 -msgid "The appropriate version number: ``4`` for IPv4, ``6`` for IPv6." +#: library/ipaddress.rst:121 +msgid "" +"Leading zeros are tolerated, even in ambiguous cases that look like octal " +"notation." msgstr "" #: library/ipaddress.rst:126 msgid "" +"Leading zeros are no longer tolerated and are treated as an error. IPv4 " +"address strings are now parsed as strict as glibc :func:`~socket.inet_pton`." +msgstr "" + +#: library/ipaddress.rst:132 +msgid "" +"The above change was also included in Python 3.9 starting with version 3.9.5." +msgstr "" + +#: library/ipaddress.rst:137 +msgid "The appropriate version number: ``4`` for IPv4, ``6`` for IPv6." +msgstr "" + +#: library/ipaddress.rst:141 +msgid "" "The total number of bits in the address representation for this version: " "``32`` for IPv4, ``128`` for IPv6." msgstr "" -#: library/ipaddress.rst:129 +#: library/ipaddress.rst:144 msgid "" "The prefix defines the number of leading bits in an address that are " "compared to determine whether or not an address is part of a network." msgstr "" -#: library/ipaddress.rst:136 +#: library/ipaddress.rst:151 msgid "" "The string representation in dotted decimal notation. Leading zeroes are " "never included in the representation." msgstr "" -#: library/ipaddress.rst:139 +#: library/ipaddress.rst:154 msgid "" "As IPv4 does not define a shorthand notation for addresses with octets set " "to zero, these two attributes are always the same as ``str(addr)`` for IPv4 " @@ -170,63 +186,63 @@ msgid "" "that can handle both IPv4 and IPv6 addresses." msgstr "" -#: library/ipaddress.rst:146 +#: library/ipaddress.rst:161 msgid "" "The binary representation of this address - a :class:`bytes` object of the " "appropriate length (most significant octet first). This is 4 bytes for IPv4 " "and 16 bytes for IPv6." msgstr "" -#: library/ipaddress.rst:152 +#: library/ipaddress.rst:167 msgid "The name of the reverse DNS PTR record for the IP address, e.g.::" msgstr "" -#: library/ipaddress.rst:159 +#: library/ipaddress.rst:174 msgid "" "This is the name that could be used for performing a PTR lookup, not the " "resolved hostname itself." msgstr "" -#: library/ipaddress.rst:166 +#: library/ipaddress.rst:181 msgid "" "``True`` if the address is reserved for multicast use. See :RFC:`3171` (for " "IPv4) or :RFC:`2373` (for IPv6)." msgstr "" -#: library/ipaddress.rst:171 +#: library/ipaddress.rst:186 msgid "" "``True`` if the address is allocated for private networks. See iana-ipv4-" "special-registry_ (for IPv4) or iana-ipv6-special-registry_ (for IPv6)." msgstr "" -#: library/ipaddress.rst:177 +#: library/ipaddress.rst:192 msgid "" "``True`` if the address is allocated for public networks. See iana-ipv4-" "special-registry_ (for IPv4) or iana-ipv6-special-registry_ (for IPv6)." msgstr "" -#: library/ipaddress.rst:185 +#: library/ipaddress.rst:200 msgid "" "``True`` if the address is unspecified. See :RFC:`5735` (for IPv4) or :RFC:" "`2373` (for IPv6)." msgstr "" -#: library/ipaddress.rst:190 +#: library/ipaddress.rst:205 msgid "``True`` if the address is otherwise IETF reserved." msgstr "" -#: library/ipaddress.rst:194 +#: library/ipaddress.rst:209 msgid "" "``True`` if this is a loopback address. See :RFC:`3330` (for IPv4) or :RFC:" "`2373` (for IPv6)." msgstr "" -#: library/ipaddress.rst:199 +#: library/ipaddress.rst:214 msgid "" "``True`` if the address is reserved for link-local usage. See :RFC:`3927`." msgstr "" -#: library/ipaddress.rst:207 +#: library/ipaddress.rst:222 msgid "" "Returns a string representation of the IP address, controlled by an explicit " "format string. *fmt* can be one of the following: ``'s'``, the default " @@ -238,17 +254,17 @@ msgid "" "used by ``format``, ``str.format`` and f-strings." msgstr "" -#: library/ipaddress.rst:234 +#: library/ipaddress.rst:249 msgid "" "Construct an IPv6 address. An :exc:`AddressValueError` is raised if " "*address* is not a valid IPv6 address." msgstr "" -#: library/ipaddress.rst:237 +#: library/ipaddress.rst:252 msgid "The following constitutes a valid IPv6 address:" msgstr "" -#: library/ipaddress.rst:239 +#: library/ipaddress.rst:254 msgid "" "A string consisting of eight groups of four hexadecimal digits, each group " "representing 16 bits. The groups are separated by colons. This describes an " @@ -258,7 +274,7 @@ msgid "" "to ``\"::abc:7:def\"``." msgstr "" -#: library/ipaddress.rst:247 +#: library/ipaddress.rst:262 msgid "" "Optionally, the string may also have a scope zone ID, expressed with a " "suffix ``%scope_id``. If present, the scope ID must be non-empty, and may " @@ -267,43 +283,43 @@ msgid "" "the node." msgstr "" -#: library/ipaddress.rst:252 +#: library/ipaddress.rst:267 msgid "An integer that fits into 128 bits." msgstr "" -#: library/ipaddress.rst:253 +#: library/ipaddress.rst:268 msgid "" "An integer packed into a :class:`bytes` object of length 16, big-endian." msgstr "" -#: library/ipaddress.rst:263 +#: library/ipaddress.rst:278 msgid "" "The short form of the address representation, with leading zeroes in groups " "omitted and the longest sequence of groups consisting entirely of zeroes " "collapsed to a single empty group." msgstr "" -#: library/ipaddress.rst:267 +#: library/ipaddress.rst:282 msgid "This is also the value returned by ``str(addr)`` for IPv6 addresses." msgstr "" -#: library/ipaddress.rst:271 +#: library/ipaddress.rst:286 msgid "" "The long form of the address representation, with all leading zeroes and " "groups consisting entirely of zeroes included." msgstr "" -#: library/ipaddress.rst:275 +#: library/ipaddress.rst:290 msgid "" "For the following attributes and methods, see the corresponding " "documentation of the :class:`IPv4Address` class:" msgstr "" -#: library/ipaddress.rst:290 +#: library/ipaddress.rst:305 msgid "is_global" msgstr "" -#: library/ipaddress.rst:295 +#: library/ipaddress.rst:310 msgid "" "``True`` if the address is reserved for site-local usage. Note that the " "site-local address space has been deprecated by :RFC:`3879`. Use :attr:" @@ -311,21 +327,21 @@ msgid "" "local addresses as defined by :RFC:`4193`." msgstr "" -#: library/ipaddress.rst:302 +#: library/ipaddress.rst:317 msgid "" "For addresses that appear to be IPv4 mapped addresses (starting with ``::" "FFFF/96``), this property will report the embedded IPv4 address. For any " "other address, this property will be ``None``." msgstr "" -#: library/ipaddress.rst:308 +#: library/ipaddress.rst:323 msgid "" "For scoped addresses as defined by :RFC:`4007`, this property identifies the " "particular zone of the address's scope that the address belongs to, as a " "string. When no scope zone is specified, this property will be ``None``." msgstr "" -#: library/ipaddress.rst:314 +#: library/ipaddress.rst:329 msgid "" "For addresses that appear to be 6to4 addresses (starting with " "``2002::/16``) as defined by :RFC:`3056`, this property will report the " @@ -333,7 +349,7 @@ msgid "" "``None``." msgstr "" -#: library/ipaddress.rst:321 +#: library/ipaddress.rst:336 msgid "" "For addresses that appear to be Teredo addresses (starting with " "``2001::/32``) as defined by :RFC:`4380`, this property will report the " @@ -341,64 +357,64 @@ msgid "" "property will be ``None``." msgstr "" -#: library/ipaddress.rst:328 +#: library/ipaddress.rst:343 msgid "" "Refer to the corresponding method documentation in :class:`IPv4Address`." msgstr "" -#: library/ipaddress.rst:334 +#: library/ipaddress.rst:349 msgid "Conversion to Strings and Integers" msgstr "" -#: library/ipaddress.rst:336 +#: library/ipaddress.rst:351 msgid "" "To interoperate with networking interfaces such as the socket module, " "addresses must be converted to strings or integers. This is handled using " "the :func:`str` and :func:`int` builtin functions::" msgstr "" -#: library/ipaddress.rst:349 +#: library/ipaddress.rst:364 msgid "" "Note that IPv6 scoped addresses are converted to integers without scope zone " "ID." msgstr "" -#: library/ipaddress.rst:737 library/ipaddress.rst:873 +#: library/ipaddress.rst:752 library/ipaddress.rst:888 msgid "Operators" msgstr "Opérateurs" -#: library/ipaddress.rst:355 +#: library/ipaddress.rst:370 msgid "" "Address objects support some operators. Unless stated otherwise, operators " "can only be applied between compatible objects (i.e. IPv4 with IPv4, IPv6 " "with IPv6)." msgstr "" -#: library/ipaddress.rst:361 +#: library/ipaddress.rst:376 msgid "Comparison operators" msgstr "" -#: library/ipaddress.rst:363 +#: library/ipaddress.rst:378 msgid "" "Address objects can be compared with the usual set of comparison operators. " "Same IPv6 addresses with different scope zone IDs are not equal. Some " "examples::" msgstr "" -#: library/ipaddress.rst:380 +#: library/ipaddress.rst:395 msgid "Arithmetic operators" msgstr "" -#: library/ipaddress.rst:382 +#: library/ipaddress.rst:397 msgid "" "Integers can be added to or subtracted from address objects. Some examples::" msgstr "" -#: library/ipaddress.rst:395 +#: library/ipaddress.rst:410 msgid "IP Network definitions" msgstr "" -#: library/ipaddress.rst:397 +#: library/ipaddress.rst:412 msgid "" "The :class:`IPv4Network` and :class:`IPv6Network` objects provide a " "mechanism for defining and inspecting IP network definitions. A network " @@ -409,11 +425,11 @@ msgid "" "addresses in the inclusive range ``192.168.1.0`` to ``192.168.1.255``." msgstr "" -#: library/ipaddress.rst:407 +#: library/ipaddress.rst:422 msgid "Prefix, net mask and host mask" msgstr "" -#: library/ipaddress.rst:409 +#: library/ipaddress.rst:424 msgid "" "There are several equivalent ways to specify IP network masks. A *prefix* " "``/`` is a notation that denotes how many high-order bits are set in " @@ -425,11 +441,11 @@ msgid "" "mask equivalent to ``/24`` in IPv4 is ``0.0.0.255``." msgstr "" -#: library/ipaddress.rst:420 +#: library/ipaddress.rst:435 msgid "Network objects" msgstr "" -#: library/ipaddress.rst:422 +#: library/ipaddress.rst:437 msgid "" "All attributes implemented by address objects are implemented by network " "objects as well. In addition, network objects implement additional " @@ -439,12 +455,12 @@ msgid "" "keys in dictionaries." msgstr "" -#: library/ipaddress.rst:431 +#: library/ipaddress.rst:446 msgid "" "Construct an IPv4 network definition. *address* can be one of the following:" msgstr "" -#: library/ipaddress.rst:433 +#: library/ipaddress.rst:448 msgid "" "A string consisting of an IP address and an optional mask, separated by a " "slash (``/``). The IP address is the network address, and the mask can be " @@ -456,26 +472,26 @@ msgid "" "it's considered to be ``/32``." msgstr "" -#: library/ipaddress.rst:442 +#: library/ipaddress.rst:457 msgid "" "For example, the following *address* specifications are equivalent: " "``192.168.1.0/24``, ``192.168.1.0/255.255.255.0`` and " "``192.168.1.0/0.0.0.255``." msgstr "" -#: library/ipaddress.rst:446 +#: library/ipaddress.rst:461 msgid "" "An integer that fits into 32 bits. This is equivalent to a single-address " "network, with the network address being *address* and the mask being ``/32``." msgstr "" -#: library/ipaddress.rst:450 +#: library/ipaddress.rst:465 msgid "" "An integer packed into a :class:`bytes` object of length 4, big-endian. The " "interpretation is similar to an integer *address*." msgstr "" -#: library/ipaddress.rst:453 +#: library/ipaddress.rst:468 msgid "" "A two-tuple of an address description and a netmask, where the address " "description is either a string, a 32-bits integer, a 4-bytes packed integer, " @@ -484,92 +500,92 @@ msgid "" "prefix mask (e.g. ``255.255.255.0``)." msgstr "" -#: library/ipaddress.rst:459 +#: library/ipaddress.rst:474 msgid "" "An :exc:`AddressValueError` is raised if *address* is not a valid IPv4 " "address. A :exc:`NetmaskValueError` is raised if the mask is not valid for " "an IPv4 address." msgstr "" -#: library/ipaddress.rst:683 +#: library/ipaddress.rst:698 msgid "" "If *strict* is ``True`` and host bits are set in the supplied address, then :" "exc:`ValueError` is raised. Otherwise, the host bits are masked out to " "determine the appropriate network address." msgstr "" -#: library/ipaddress.rst:467 +#: library/ipaddress.rst:482 msgid "" "Unless stated otherwise, all network methods accepting other network/address " "objects will raise :exc:`TypeError` if the argument's IP version is " "incompatible to ``self``." msgstr "" -#: library/ipaddress.rst:689 +#: library/ipaddress.rst:704 msgid "Added the two-tuple form for the *address* constructor parameter." msgstr "" -#: library/ipaddress.rst:478 +#: library/ipaddress.rst:493 msgid "" "Refer to the corresponding attribute documentation in :class:`IPv4Address`." msgstr "" -#: library/ipaddress.rst:488 +#: library/ipaddress.rst:503 msgid "" "These attributes are true for the network as a whole if they are true for " "both the network address and the broadcast address." msgstr "" -#: library/ipaddress.rst:493 +#: library/ipaddress.rst:508 msgid "" "The network address for the network. The network address and the prefix " "length together uniquely define a network." msgstr "" -#: library/ipaddress.rst:498 +#: library/ipaddress.rst:513 msgid "" "The broadcast address for the network. Packets sent to the broadcast address " "should be received by every host on the network." msgstr "" -#: library/ipaddress.rst:503 +#: library/ipaddress.rst:518 msgid "The host mask, as an :class:`IPv4Address` object." msgstr "" -#: library/ipaddress.rst:507 +#: library/ipaddress.rst:522 msgid "The net mask, as an :class:`IPv4Address` object." msgstr "" -#: library/ipaddress.rst:513 +#: library/ipaddress.rst:528 msgid "" "A string representation of the network, with the mask in prefix notation." msgstr "" -#: library/ipaddress.rst:516 +#: library/ipaddress.rst:531 msgid "" "``with_prefixlen`` and ``compressed`` are always the same as " "``str(network)``. ``exploded`` uses the exploded form the network address." msgstr "" -#: library/ipaddress.rst:522 +#: library/ipaddress.rst:537 msgid "" "A string representation of the network, with the mask in net mask notation." msgstr "" -#: library/ipaddress.rst:527 +#: library/ipaddress.rst:542 msgid "" "A string representation of the network, with the mask in host mask notation." msgstr "" -#: library/ipaddress.rst:532 +#: library/ipaddress.rst:547 msgid "The total number of addresses in the network." msgstr "" -#: library/ipaddress.rst:536 +#: library/ipaddress.rst:551 msgid "Length of the network prefix, in bits." msgstr "" -#: library/ipaddress.rst:540 +#: library/ipaddress.rst:555 msgid "" "Returns an iterator over the usable hosts in the network. The usable hosts " "are all the IP addresses that belong to the network, except the network " @@ -579,20 +595,20 @@ msgid "" "containing the single host address." msgstr "" -#: library/ipaddress.rst:558 +#: library/ipaddress.rst:573 msgid "" "``True`` if this network is partly or wholly contained in *other* or *other* " "is wholly contained in this network." msgstr "" -#: library/ipaddress.rst:563 +#: library/ipaddress.rst:578 msgid "" "Computes the network definitions resulting from removing the given *network* " "from this one. Returns an iterator of network objects. Raises :exc:" "`ValueError` if *network* is not completely contained in this network." msgstr "" -#: library/ipaddress.rst:576 +#: library/ipaddress.rst:591 msgid "" "The subnets that join to make the current network definition, depending on " "the argument values. *prefixlen_diff* is the amount our prefix length " @@ -602,7 +618,7 @@ msgid "" "network objects." msgstr "" -#: library/ipaddress.rst:601 +#: library/ipaddress.rst:616 msgid "" "The supernet containing this network definition, depending on the argument " "values. *prefixlen_diff* is the amount our prefix length should be " @@ -611,33 +627,33 @@ msgid "" "*new_prefix* must be set. Returns a single network object." msgstr "" -#: library/ipaddress.rst:617 +#: library/ipaddress.rst:632 msgid "Return ``True`` if this network is a subnet of *other*." msgstr "" -#: library/ipaddress.rst:628 +#: library/ipaddress.rst:643 msgid "Return ``True`` if this network is a supernet of *other*." msgstr "" -#: library/ipaddress.rst:639 +#: library/ipaddress.rst:654 msgid "" "Compare this network to *other*. In this comparison only the network " "addresses are considered; host bits aren't. Returns either ``-1``, ``0`` or " "``1``." msgstr "" -#: library/ipaddress.rst:650 +#: library/ipaddress.rst:665 msgid "" "It uses the same ordering and comparison algorithm as \"<\", \"==\", and \">" "\"" msgstr "" -#: library/ipaddress.rst:656 +#: library/ipaddress.rst:671 msgid "" "Construct an IPv6 network definition. *address* can be one of the following:" msgstr "" -#: library/ipaddress.rst:658 +#: library/ipaddress.rst:673 msgid "" "A string consisting of an IP address and an optional prefix length, " "separated by a slash (``/``). The IP address is the network address, and " @@ -645,26 +661,26 @@ msgid "" "length is provided, it's considered to be ``/128``." msgstr "" -#: library/ipaddress.rst:663 +#: library/ipaddress.rst:678 msgid "" "Note that currently expanded netmasks are not supported. That means ``2001:" "db00::0/24`` is a valid argument while ``2001:db00::0/ffff:ff00::`` not." msgstr "" -#: library/ipaddress.rst:667 +#: library/ipaddress.rst:682 msgid "" "An integer that fits into 128 bits. This is equivalent to a single-address " "network, with the network address being *address* and the mask being " "``/128``." msgstr "" -#: library/ipaddress.rst:671 +#: library/ipaddress.rst:686 msgid "" "An integer packed into a :class:`bytes` object of length 16, big-endian. The " "interpretation is similar to an integer *address*." msgstr "" -#: library/ipaddress.rst:674 +#: library/ipaddress.rst:689 msgid "" "A two-tuple of an address description and a netmask, where the address " "description is either a string, a 128-bits integer, a 16-bytes packed " @@ -672,14 +688,14 @@ msgid "" "representing the prefix length." msgstr "" -#: library/ipaddress.rst:679 +#: library/ipaddress.rst:694 msgid "" "An :exc:`AddressValueError` is raised if *address* is not a valid IPv6 " "address. A :exc:`NetmaskValueError` is raised if the mask is not valid for " "an IPv6 address." msgstr "" -#: library/ipaddress.rst:712 +#: library/ipaddress.rst:727 msgid "" "Returns an iterator over the usable hosts in the network. The usable hosts " "are all the IP addresses that belong to the network, except the Subnet-" @@ -688,139 +704,139 @@ msgid "" "of 128 will return a list containing the single host address." msgstr "" -#: library/ipaddress.rst:727 +#: library/ipaddress.rst:742 msgid "" "Refer to the corresponding attribute documentation in :class:`IPv4Network`." msgstr "" -#: library/ipaddress.rst:732 +#: library/ipaddress.rst:747 msgid "" "These attribute is true for the network as a whole if it is true for both " "the network address and the broadcast address." msgstr "" -#: library/ipaddress.rst:739 +#: library/ipaddress.rst:754 msgid "" "Network objects support some operators. Unless stated otherwise, operators " "can only be applied between compatible objects (i.e. IPv4 with IPv4, IPv6 " "with IPv6)." msgstr "" -#: library/ipaddress.rst:881 +#: library/ipaddress.rst:896 msgid "Logical operators" msgstr "" -#: library/ipaddress.rst:747 +#: library/ipaddress.rst:762 msgid "" "Network objects can be compared with the usual set of logical operators. " "Network objects are ordered first by network address, then by net mask." msgstr "" -#: library/ipaddress.rst:752 +#: library/ipaddress.rst:767 msgid "Iteration" msgstr "Itération" -#: library/ipaddress.rst:754 +#: library/ipaddress.rst:769 msgid "" "Network objects can be iterated to list all the addresses belonging to the " "network. For iteration, *all* hosts are returned, including unusable hosts " "(for usable hosts, use the :meth:`~IPv4Network.hosts` method). An example::" msgstr "" -#: library/ipaddress.rst:781 +#: library/ipaddress.rst:796 msgid "Networks as containers of addresses" msgstr "" -#: library/ipaddress.rst:783 +#: library/ipaddress.rst:798 msgid "Network objects can act as containers of addresses. Some examples::" msgstr "" -#: library/ipaddress.rst:796 +#: library/ipaddress.rst:811 msgid "Interface objects" msgstr "" -#: library/ipaddress.rst:798 +#: library/ipaddress.rst:813 msgid "" "Interface objects are :term:`hashable`, so they can be used as keys in " "dictionaries." msgstr "" -#: library/ipaddress.rst:803 +#: library/ipaddress.rst:818 msgid "" "Construct an IPv4 interface. The meaning of *address* is as in the " "constructor of :class:`IPv4Network`, except that arbitrary host addresses " "are always accepted." msgstr "" -#: library/ipaddress.rst:807 +#: library/ipaddress.rst:822 msgid "" ":class:`IPv4Interface` is a subclass of :class:`IPv4Address`, so it inherits " "all the attributes from that class. In addition, the following attributes " "are available:" msgstr "" -#: library/ipaddress.rst:813 +#: library/ipaddress.rst:828 msgid "The address (:class:`IPv4Address`) without network information." msgstr "" -#: library/ipaddress.rst:821 +#: library/ipaddress.rst:836 msgid "The network (:class:`IPv4Network`) this interface belongs to." msgstr "" -#: library/ipaddress.rst:829 +#: library/ipaddress.rst:844 msgid "" "A string representation of the interface with the mask in prefix notation." msgstr "" -#: library/ipaddress.rst:837 +#: library/ipaddress.rst:852 msgid "" "A string representation of the interface with the network as a net mask." msgstr "" -#: library/ipaddress.rst:845 +#: library/ipaddress.rst:860 msgid "" "A string representation of the interface with the network as a host mask." msgstr "" -#: library/ipaddress.rst:854 +#: library/ipaddress.rst:869 msgid "" "Construct an IPv6 interface. The meaning of *address* is as in the " "constructor of :class:`IPv6Network`, except that arbitrary host addresses " "are always accepted." msgstr "" -#: library/ipaddress.rst:858 +#: library/ipaddress.rst:873 msgid "" ":class:`IPv6Interface` is a subclass of :class:`IPv6Address`, so it inherits " "all the attributes from that class. In addition, the following attributes " "are available:" msgstr "" -#: library/ipaddress.rst:868 +#: library/ipaddress.rst:883 msgid "" "Refer to the corresponding attribute documentation in :class:`IPv4Interface`." msgstr "" -#: library/ipaddress.rst:875 +#: library/ipaddress.rst:890 msgid "" "Interface objects support some operators. Unless stated otherwise, " "operators can only be applied between compatible objects (i.e. IPv4 with " "IPv4, IPv6 with IPv6)." msgstr "" -#: library/ipaddress.rst:883 +#: library/ipaddress.rst:898 msgid "" "Interface objects can be compared with the usual set of logical operators." msgstr "" -#: library/ipaddress.rst:885 +#: library/ipaddress.rst:900 msgid "" "For equality comparison (``==`` and ``!=``), both the IP address and network " "must be the same for the objects to be equal. An interface will not compare " "equal to any address or network object." msgstr "" -#: library/ipaddress.rst:889 +#: library/ipaddress.rst:904 msgid "" "For ordering (``<``, ``>``, etc) the rules are different. Interface and " "address objects with the same IP version can be compared, and the address " @@ -829,15 +845,15 @@ msgid "" "then by their IP addresses." msgstr "" -#: library/ipaddress.rst:897 +#: library/ipaddress.rst:912 msgid "Other Module Level Functions" msgstr "" -#: library/ipaddress.rst:899 +#: library/ipaddress.rst:914 msgid "The module also provides the following module level functions:" msgstr "" -#: library/ipaddress.rst:903 +#: library/ipaddress.rst:918 msgid "" "Represent an address as 4 packed bytes in network (big-endian) order. " "*address* is an integer representation of an IPv4 IP address. A :exc:" @@ -845,7 +861,7 @@ msgid "" "IP address." msgstr "" -#: library/ipaddress.rst:916 +#: library/ipaddress.rst:931 msgid "" "Represent an address as 16 packed bytes in network (big-endian) order. " "*address* is an integer representation of an IPv6 IP address. A :exc:" @@ -853,7 +869,7 @@ msgid "" "IP address." msgstr "" -#: library/ipaddress.rst:924 +#: library/ipaddress.rst:939 msgid "" "Return an iterator of the summarized network range given the first and last " "IP addresses. *first* is the first :class:`IPv4Address` or :class:" @@ -864,7 +880,7 @@ msgid "" "address version is not 4 or 6." msgstr "" -#: library/ipaddress.rst:940 +#: library/ipaddress.rst:955 msgid "" "Return an iterator of the collapsed :class:`IPv4Network` or :class:" "`IPv6Network` objects. *addresses* is an iterator of :class:`IPv4Network` " @@ -872,38 +888,38 @@ msgid "" "*addresses* contains mixed version objects." msgstr "" -#: library/ipaddress.rst:953 +#: library/ipaddress.rst:968 msgid "" "Return a key suitable for sorting between networks and addresses. Address " "and Network objects are not sortable by default; they're fundamentally " "different, so the expression::" msgstr "" -#: library/ipaddress.rst:959 +#: library/ipaddress.rst:974 msgid "" "doesn't make sense. There are some times however, where you may wish to " "have :mod:`ipaddress` sort these anyway. If you need to do this, you can " "use this function as the *key* argument to :func:`sorted()`." msgstr "" -#: library/ipaddress.rst:963 +#: library/ipaddress.rst:978 msgid "*obj* is either a network or address object." msgstr "" -#: library/ipaddress.rst:967 +#: library/ipaddress.rst:982 msgid "Custom Exceptions" msgstr "" -#: library/ipaddress.rst:969 +#: library/ipaddress.rst:984 msgid "" "To support more specific error reporting from class constructors, the module " "defines the following exceptions:" msgstr "" -#: library/ipaddress.rst:974 +#: library/ipaddress.rst:989 msgid "Any value error related to the address." msgstr "" -#: library/ipaddress.rst:979 +#: library/ipaddress.rst:994 msgid "Any value error related to the net mask." msgstr "" diff --git a/library/numbers.po b/library/numbers.po index c6c5d867..91f38013 100644 --- a/library/numbers.po +++ b/library/numbers.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2019-05-30 23:41+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -23,11 +23,12 @@ msgid "**Source code:** :source:`Lib/numbers.py`" msgstr "**Code source :** :source:`Lib/numbers.py`" #: library/numbers.rst:11 +#, fuzzy msgid "" "The :mod:`numbers` module (:pep:`3141`) defines a hierarchy of numeric :term:" "`abstract base classes ` which progressively define " -"more operations. None of the types defined in this module can be " -"instantiated." +"more operations. None of the types defined in this module are intended to " +"be instantiated." msgstr "" "Le module :mod:`numbers` (:pep:`3141`) définit une hiérarchie de :term:" "`classes de base abstraites` numériques qui définissent " @@ -48,12 +49,13 @@ msgid "The numeric tower" msgstr "La tour numérique" #: library/numbers.rst:27 +#, fuzzy msgid "" "Subclasses of this type describe complex numbers and include the operations " "that work on the built-in :class:`complex` type. These are: conversions to :" "class:`complex` and :class:`bool`, :attr:`.real`, :attr:`.imag`, ``+``, ``-" -"``, ``*``, ``/``, :func:`abs`, :meth:`conjugate`, ``==``, and ``!=``. All " -"except ``-`` and ``!=`` are abstract." +"``, ``*``, ``/``, ``**``, :func:`abs`, :meth:`conjugate`, ``==``, and ``!" +"=``. All except ``-`` and ``!=`` are abstract." msgstr "" "Les sous-classes de ce type décrivent des nombres complexes et incluent les " "opérations qui fonctionnent sur le type natif :class:`complex`. Ce sont : " @@ -118,11 +120,12 @@ msgid "Abstract." msgstr "Abstrait." #: library/numbers.rst:77 +#, fuzzy msgid "" "Subtypes :class:`Rational` and adds a conversion to :class:`int`. Provides " "defaults for :func:`float`, :attr:`~Rational.numerator`, and :attr:" -"`~Rational.denominator`. Adds abstract methods for ``**`` and bit-string " -"operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``." +"`~Rational.denominator`. Adds abstract methods for :func:`pow` with modulus " +"and bit-string operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``." msgstr "" "Dérive :class:`Rational` et ajoute une conversion en :class:`int`. Fournit " "des valeurs par défaut pour :func:`float`, :attr:`~Rational.numerator` et :" @@ -130,11 +133,11 @@ msgstr "" "les opérations au niveau des bits: ``<<``, ``>>``, ``&``, ``^``, ``|``, " "``~``." -#: library/numbers.rst:84 +#: library/numbers.rst:85 msgid "Notes for type implementors" msgstr "Notes pour implémenter des types" -#: library/numbers.rst:86 +#: library/numbers.rst:87 msgid "" "Implementors should be careful to make equal numbers equal and hash them to " "the same values. This may be subtle if there are two different extensions of " @@ -147,11 +150,11 @@ msgstr "" "réels. Par exemple, :class:`fractions.Fraction` implémente :func:`hash` " "comme suit ::" -#: library/numbers.rst:105 +#: library/numbers.rst:106 msgid "Adding More Numeric ABCs" msgstr "Ajouter plus d'ABC numériques" -#: library/numbers.rst:107 +#: library/numbers.rst:108 msgid "" "There are, of course, more possible ABCs for numbers, and this would be a " "poor hierarchy if it precluded the possibility of adding those. You can add " @@ -162,11 +165,11 @@ msgstr "" "ajouter. Vous pouvez ajouter ``MyFoo`` entre :class:`Complex` et :class:" "`Real` ainsi ::" -#: library/numbers.rst:119 +#: library/numbers.rst:120 msgid "Implementing the arithmetic operations" msgstr "Implémentation des opérations arithmétiques" -#: library/numbers.rst:121 +#: library/numbers.rst:122 msgid "" "We want to implement the arithmetic operations so that mixed-mode operations " "either call an implementation whose author knew about the types of both " @@ -181,7 +184,7 @@ msgstr "" "class:`Integral`, cela signifie que :meth:`__add__` et :meth:`__radd__` " "devraient être définis comme suit ::" -#: library/numbers.rst:152 +#: library/numbers.rst:153 msgid "" "There are 5 different cases for a mixed-type operation on subclasses of :" "class:`Complex`. I'll refer to all of the above code that doesn't refer to " @@ -196,11 +199,11 @@ msgstr "" "type de :class:`Complex` (``a : A <: Complex``) et ``b : B <: Complex``. " "Considérons ``a + b``:" -#: library/numbers.rst:159 +#: library/numbers.rst:160 msgid "If ``A`` defines an :meth:`__add__` which accepts ``b``, all is well." msgstr "Si ``A`` définit une :meth:`__add__` qui accepte ``b``, tout va bien." -#: library/numbers.rst:161 +#: library/numbers.rst:162 msgid "" "If ``A`` falls back to the boilerplate code, and it were to return a value " "from :meth:`__add__`, we'd miss the possibility that ``B`` defines a more " @@ -214,7 +217,7 @@ msgstr "" "`NotImplemented` dans :meth:`__add__` (ou alors ``A`` ne doit pas " "implémenter :meth:`__add__` du tout.)" -#: library/numbers.rst:167 +#: library/numbers.rst:168 msgid "" "Then ``B``'s :meth:`__radd__` gets a chance. If it accepts ``a``, all is " "well." @@ -222,7 +225,7 @@ msgstr "" "Alors :meth:`__radd__` de ``B`` a une chance. si elle accepte ``a``, tout va " "bien." -#: library/numbers.rst:169 +#: library/numbers.rst:170 msgid "" "If it falls back to the boilerplate, there are no more possible methods to " "try, so this is where the default implementation should live." @@ -230,7 +233,7 @@ msgstr "" "Si elle fait appel au code générique, il n'y a plus de méthode possible à " "essayer, c'est donc ici que l'implémentation par défaut intervient." -#: library/numbers.rst:172 +#: library/numbers.rst:173 msgid "" "If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok, " "because it was implemented with knowledge of ``A``, so it can handle those " @@ -240,7 +243,7 @@ msgstr "" "valable parce qu'elle est implémentée avec la connaissance de ``A``, donc " "elle peut gérer ces instances avant de déléguer à :class:`Complex`." -#: library/numbers.rst:177 +#: library/numbers.rst:178 msgid "" "If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge, " "then the appropriate shared operation is the one involving the built in :" @@ -250,7 +253,7 @@ msgstr "" "l'opération commune appropriée est celle impliquant :class:`complex` et les " "deux :meth:`__radd__` atterrissent à cet endroit, donc ``a+b == b+a``." -#: library/numbers.rst:182 +#: library/numbers.rst:183 msgid "" "Because most of the operations on any given type will be very similar, it " "can be useful to define a helper function which generates the forward and " diff --git a/library/operator.po b/library/operator.po index 1b579c5a..d03148da 100644 --- a/library/operator.po +++ b/library/operator.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-12-11 22:46+0100\n" "Last-Translator: Antoine Wecxsteen\n" "Language-Team: FRENCH \n" @@ -287,7 +287,7 @@ msgstr "" "Après ``f = attrgetter('name.first', 'name.last')``, l'appel ``f(b)`` " "renvoie ``(b.name.first, b.name.last)``." -#: library/operator.rst:302 library/operator.rst:353 +#: library/operator.rst:302 library/operator.rst:350 msgid "Equivalent to::" msgstr "Équivalent à ::" @@ -323,7 +323,7 @@ msgstr "" "acceptent toute valeur hachable. Les listes, *n*-uplets et chaînes de " "caractères acceptent un index ou une tranche :" -#: library/operator.rst:331 +#: library/operator.rst:328 msgid "" "Example of using :func:`itemgetter` to retrieve specific fields from a tuple " "record:" @@ -331,7 +331,7 @@ msgstr "" "Exemple d'utilisation de :func:`itemgetter` pour récupérer des champs " "spécifiques d'un *n*-uplet :" -#: library/operator.rst:344 +#: library/operator.rst:341 msgid "" "Return a callable object that calls the method *name* on its operand. If " "additional arguments and/or keyword arguments are given, they will be given " @@ -341,12 +341,12 @@ msgstr "" "des paramètres supplémentaires et/ou des paramètres nommés sont donnés, ils " "seront aussi passés à la méthode. Par exemple :" -#: library/operator.rst:348 +#: library/operator.rst:345 msgid "" "After ``f = methodcaller('name')``, the call ``f(b)`` returns ``b.name()``." msgstr "Avec ``f = methodcaller('name')``, ``f(b)`` renvoie ``b.name()``." -#: library/operator.rst:350 +#: library/operator.rst:347 msgid "" "After ``f = methodcaller('name', 'foo', bar=1)``, the call ``f(b)`` returns " "``b.name('foo', bar=1)``." @@ -354,11 +354,11 @@ msgstr "" "Avec ``f = methodcaller('name', 'foo', bar=1)``, ``f(b)`` renvoie ``b." "name('foo', bar=1)``." -#: library/operator.rst:364 +#: library/operator.rst:361 msgid "Mapping Operators to Functions" msgstr "Correspondances entre opérateurs et fonctions" -#: library/operator.rst:366 +#: library/operator.rst:363 msgid "" "This table shows how abstract operations correspond to operator symbols in " "the Python syntax and the functions in the :mod:`operator` module." @@ -366,423 +366,423 @@ msgstr "" "Le tableau montre la correspondance entre les symboles des opérateurs Python " "et les fonctions du module :mod:`operator`." -#: library/operator.rst:370 +#: library/operator.rst:367 msgid "Operation" msgstr "Opération" -#: library/operator.rst:370 +#: library/operator.rst:367 msgid "Syntax" msgstr "Syntaxe" -#: library/operator.rst:370 +#: library/operator.rst:367 msgid "Function" msgstr "Fonction" -#: library/operator.rst:372 +#: library/operator.rst:369 msgid "Addition" msgstr "Addition" -#: library/operator.rst:372 +#: library/operator.rst:369 msgid "``a + b``" msgstr "``a + b``" -#: library/operator.rst:372 +#: library/operator.rst:369 msgid "``add(a, b)``" msgstr "``add(a, b)``" -#: library/operator.rst:374 +#: library/operator.rst:371 msgid "Concatenation" msgstr "Concaténation" -#: library/operator.rst:374 +#: library/operator.rst:371 msgid "``seq1 + seq2``" msgstr "``seq1 + seq2``" -#: library/operator.rst:374 +#: library/operator.rst:371 msgid "``concat(seq1, seq2)``" msgstr "``concat(seq1, seq2)``" -#: library/operator.rst:376 +#: library/operator.rst:373 msgid "Containment Test" msgstr "Test d'inclusion" -#: library/operator.rst:376 +#: library/operator.rst:373 msgid "``obj in seq``" msgstr "``obj in seq``" -#: library/operator.rst:376 +#: library/operator.rst:373 msgid "``contains(seq, obj)``" msgstr "``contains(seq, obj)``" -#: library/operator.rst:380 +#: library/operator.rst:377 msgid "Division" msgstr "Division" -#: library/operator.rst:378 +#: library/operator.rst:375 msgid "``a / b``" msgstr "``a / b``" -#: library/operator.rst:378 +#: library/operator.rst:375 msgid "``truediv(a, b)``" msgstr "``truediv(a, b)``" -#: library/operator.rst:380 +#: library/operator.rst:377 msgid "``a // b``" msgstr "``a // b``" -#: library/operator.rst:380 +#: library/operator.rst:377 msgid "``floordiv(a, b)``" msgstr "``floordiv(a, b)``" -#: library/operator.rst:382 +#: library/operator.rst:379 msgid "Bitwise And" msgstr "*Et* bit à bit" -#: library/operator.rst:382 +#: library/operator.rst:379 msgid "``a & b``" msgstr "``a & b``" -#: library/operator.rst:382 +#: library/operator.rst:379 msgid "``and_(a, b)``" msgstr "``and_(a, b)``" -#: library/operator.rst:384 +#: library/operator.rst:381 msgid "Bitwise Exclusive Or" msgstr "*Ou exclusif* bit à bit" -#: library/operator.rst:384 +#: library/operator.rst:381 msgid "``a ^ b``" msgstr "``a ^ b``" -#: library/operator.rst:384 +#: library/operator.rst:381 msgid "``xor(a, b)``" msgstr "``xor(a, b)``" -#: library/operator.rst:386 +#: library/operator.rst:383 msgid "Bitwise Inversion" msgstr "Inversion bit à bit" -#: library/operator.rst:386 +#: library/operator.rst:383 msgid "``~ a``" msgstr "``~ a``" -#: library/operator.rst:386 +#: library/operator.rst:383 msgid "``invert(a)``" msgstr "``invert(a)``" -#: library/operator.rst:388 +#: library/operator.rst:385 msgid "Bitwise Or" msgstr "*Ou* bit à bit" -#: library/operator.rst:388 +#: library/operator.rst:385 msgid "``a | b``" msgstr "``a | b``" -#: library/operator.rst:388 +#: library/operator.rst:385 msgid "``or_(a, b)``" msgstr "``or_(a, b)``" -#: library/operator.rst:390 +#: library/operator.rst:387 msgid "Exponentiation" msgstr "Exponentiation" -#: library/operator.rst:390 +#: library/operator.rst:387 msgid "``a ** b``" msgstr "``a ** b``" -#: library/operator.rst:390 +#: library/operator.rst:387 msgid "``pow(a, b)``" msgstr "``pow(a, b)``" -#: library/operator.rst:394 +#: library/operator.rst:391 msgid "Identity" msgstr "Identité" -#: library/operator.rst:392 +#: library/operator.rst:389 msgid "``a is b``" msgstr "``a is b``" -#: library/operator.rst:392 +#: library/operator.rst:389 msgid "``is_(a, b)``" msgstr "``is_(a, b)``" -#: library/operator.rst:394 +#: library/operator.rst:391 msgid "``a is not b``" msgstr "``a is not b``" -#: library/operator.rst:394 +#: library/operator.rst:391 msgid "``is_not(a, b)``" msgstr "``is_not(a, b)``" -#: library/operator.rst:396 +#: library/operator.rst:393 msgid "Indexed Assignment" msgstr "Affectation par index" -#: library/operator.rst:396 +#: library/operator.rst:393 msgid "``obj[k] = v``" msgstr "``obj[k] = v``" -#: library/operator.rst:396 +#: library/operator.rst:393 msgid "``setitem(obj, k, v)``" msgstr "``setitem(obj, k, v)``" -#: library/operator.rst:398 +#: library/operator.rst:395 msgid "Indexed Deletion" msgstr "Suppression par index" -#: library/operator.rst:398 +#: library/operator.rst:395 msgid "``del obj[k]``" msgstr "``del obj[k]``" -#: library/operator.rst:398 +#: library/operator.rst:395 msgid "``delitem(obj, k)``" msgstr "``delitem(obj, k)``" -#: library/operator.rst:400 +#: library/operator.rst:397 msgid "Indexing" msgstr "Indexation" -#: library/operator.rst:400 +#: library/operator.rst:397 msgid "``obj[k]``" msgstr "``obj[k]``" -#: library/operator.rst:400 +#: library/operator.rst:397 msgid "``getitem(obj, k)``" msgstr "``getitem(obj, k)``" -#: library/operator.rst:402 +#: library/operator.rst:399 msgid "Left Shift" msgstr "Décalage bit à bit gauche" -#: library/operator.rst:402 +#: library/operator.rst:399 msgid "``a << b``" msgstr "``a << b``" -#: library/operator.rst:402 +#: library/operator.rst:399 msgid "``lshift(a, b)``" msgstr "``lshift(a, b)``" -#: library/operator.rst:404 +#: library/operator.rst:401 msgid "Modulo" msgstr "Modulo" -#: library/operator.rst:404 +#: library/operator.rst:401 msgid "``a % b``" msgstr "``a % b``" -#: library/operator.rst:404 +#: library/operator.rst:401 msgid "``mod(a, b)``" msgstr "``mod(a, b)``" -#: library/operator.rst:406 +#: library/operator.rst:403 msgid "Multiplication" msgstr "Multiplication" -#: library/operator.rst:406 +#: library/operator.rst:403 msgid "``a * b``" msgstr "``a * b``" -#: library/operator.rst:406 +#: library/operator.rst:403 msgid "``mul(a, b)``" msgstr "``mul(a, b)``" -#: library/operator.rst:408 +#: library/operator.rst:405 msgid "Matrix Multiplication" msgstr "Multiplication matricielle" -#: library/operator.rst:408 +#: library/operator.rst:405 msgid "``a @ b``" msgstr "``a @ b``" -#: library/operator.rst:408 +#: library/operator.rst:405 msgid "``matmul(a, b)``" msgstr "``matmul(a, b)``" -#: library/operator.rst:410 +#: library/operator.rst:407 msgid "Negation (Arithmetic)" msgstr "Opposé" -#: library/operator.rst:410 +#: library/operator.rst:407 msgid "``- a``" msgstr "``- a``" -#: library/operator.rst:410 +#: library/operator.rst:407 msgid "``neg(a)``" msgstr "``neg(a)``" -#: library/operator.rst:412 +#: library/operator.rst:409 msgid "Negation (Logical)" msgstr "Négation (logique)" -#: library/operator.rst:412 +#: library/operator.rst:409 msgid "``not a``" msgstr "``not a``" -#: library/operator.rst:412 +#: library/operator.rst:409 msgid "``not_(a)``" msgstr "``not_(a)``" -#: library/operator.rst:414 +#: library/operator.rst:411 msgid "Positive" msgstr "Valeur positive" -#: library/operator.rst:414 +#: library/operator.rst:411 msgid "``+ a``" msgstr "``+ a``" -#: library/operator.rst:414 +#: library/operator.rst:411 msgid "``pos(a)``" msgstr "``pos(a)``" -#: library/operator.rst:416 +#: library/operator.rst:413 msgid "Right Shift" msgstr "Décalage bit à bit droite" -#: library/operator.rst:416 +#: library/operator.rst:413 msgid "``a >> b``" msgstr "``a >> b``" -#: library/operator.rst:416 +#: library/operator.rst:413 msgid "``rshift(a, b)``" msgstr "``rshift(a, b)``" -#: library/operator.rst:418 +#: library/operator.rst:415 msgid "Slice Assignment" msgstr "Affectation par tranche" -#: library/operator.rst:418 +#: library/operator.rst:415 msgid "``seq[i:j] = values``" msgstr "``seq[i:j] = values``" -#: library/operator.rst:418 +#: library/operator.rst:415 msgid "``setitem(seq, slice(i, j), values)``" msgstr "``setitem(seq, slice(i, j), values)``" -#: library/operator.rst:420 +#: library/operator.rst:417 msgid "Slice Deletion" msgstr "Suppression par tranche" -#: library/operator.rst:420 +#: library/operator.rst:417 msgid "``del seq[i:j]``" msgstr "``del seq[i:j]``" -#: library/operator.rst:420 +#: library/operator.rst:417 msgid "``delitem(seq, slice(i, j))``" msgstr "``delitem(seq, slice(i, j))``" -#: library/operator.rst:422 +#: library/operator.rst:419 msgid "Slicing" msgstr "Tranche" -#: library/operator.rst:422 +#: library/operator.rst:419 msgid "``seq[i:j]``" msgstr "``seq[i:j]``" -#: library/operator.rst:422 +#: library/operator.rst:419 msgid "``getitem(seq, slice(i, j))``" msgstr "``getitem(seq, slice(i, j))``" -#: library/operator.rst:424 +#: library/operator.rst:421 msgid "String Formatting" msgstr "Formatage de chaînes de caractères" -#: library/operator.rst:424 +#: library/operator.rst:421 msgid "``s % obj``" msgstr "``s % obj``" -#: library/operator.rst:424 +#: library/operator.rst:421 msgid "``mod(s, obj)``" msgstr "``mod(s, obj)``" -#: library/operator.rst:426 +#: library/operator.rst:423 msgid "Subtraction" msgstr "Soustraction" -#: library/operator.rst:426 +#: library/operator.rst:423 msgid "``a - b``" msgstr "``a - b``" -#: library/operator.rst:426 +#: library/operator.rst:423 msgid "``sub(a, b)``" msgstr "``sub(a, b)``" -#: library/operator.rst:428 +#: library/operator.rst:425 msgid "Truth Test" msgstr "Test de véracité" -#: library/operator.rst:428 +#: library/operator.rst:425 msgid "``obj``" msgstr "``obj``" -#: library/operator.rst:428 +#: library/operator.rst:425 msgid "``truth(obj)``" msgstr "``truth(obj)``" -#: library/operator.rst:432 library/operator.rst:440 +#: library/operator.rst:429 library/operator.rst:437 msgid "Ordering" msgstr "Ordre" -#: library/operator.rst:430 +#: library/operator.rst:427 msgid "``a < b``" msgstr "``a < b``" -#: library/operator.rst:430 +#: library/operator.rst:427 msgid "``lt(a, b)``" msgstr "``lt(a, b)``" -#: library/operator.rst:432 +#: library/operator.rst:429 msgid "``a <= b``" msgstr "``a <= b``" -#: library/operator.rst:432 +#: library/operator.rst:429 msgid "``le(a, b)``" msgstr "``le(a, b)``" -#: library/operator.rst:434 +#: library/operator.rst:431 msgid "Equality" msgstr "Égalité" -#: library/operator.rst:434 +#: library/operator.rst:431 msgid "``a == b``" msgstr "``a == b``" -#: library/operator.rst:434 +#: library/operator.rst:431 msgid "``eq(a, b)``" msgstr "``eq(a, b)``" -#: library/operator.rst:436 +#: library/operator.rst:433 msgid "Difference" msgstr "Inégalité" -#: library/operator.rst:436 +#: library/operator.rst:433 msgid "``a != b``" msgstr "``a != b``" -#: library/operator.rst:436 +#: library/operator.rst:433 msgid "``ne(a, b)``" msgstr "``ne(a, b)``" -#: library/operator.rst:438 +#: library/operator.rst:435 msgid "``a >= b``" msgstr "``a >= b``" -#: library/operator.rst:438 +#: library/operator.rst:435 msgid "``ge(a, b)``" msgstr "``ge(a, b)``" -#: library/operator.rst:440 +#: library/operator.rst:437 msgid "``a > b``" msgstr "``a > b``" -#: library/operator.rst:440 +#: library/operator.rst:437 msgid "``gt(a, b)``" msgstr "``gt(a, b)``" -#: library/operator.rst:444 +#: library/operator.rst:441 msgid "In-place Operators" msgstr "Opérateurs en-place" -#: library/operator.rst:446 +#: library/operator.rst:443 msgid "" "Many operations have an \"in-place\" version. Listed below are functions " "providing a more primitive access to in-place operators than the usual " @@ -798,7 +798,7 @@ msgstr "" "dit, l'expression ``z = operator.iadd(x, y)`` équivaut à l'expression " "composée ``z = x; z += y``." -#: library/operator.rst:453 +#: library/operator.rst:450 msgid "" "In those examples, note that when an in-place method is called, the " "computation and assignment are performed in two separate steps. The in-" @@ -811,7 +811,7 @@ msgstr "" "appelant la méthode en-place. La seconde étape, l'affectation, n'est pas " "effectuée." -#: library/operator.rst:458 +#: library/operator.rst:455 msgid "" "For immutable targets such as strings, numbers, and tuples, the updated " "value is computed, but not assigned back to the input variable:" @@ -820,7 +820,7 @@ msgstr "" "nombres et les *n*-uplets, la nouvelle valeur est calculée, mais pas " "affectée à la variable d'entrée:" -#: library/operator.rst:467 +#: library/operator.rst:464 msgid "" "For mutable targets such as lists and dictionaries, the in-place method will " "perform the update, so no subsequent assignment is necessary:" @@ -829,60 +829,60 @@ msgstr "" "méthode en-place modifiera la valeur, aucune affectation ultérieure n'est " "nécessaire :" -#: library/operator.rst:479 +#: library/operator.rst:476 msgid "``a = iadd(a, b)`` is equivalent to ``a += b``." msgstr "``a = iadd(a, b)`` équivaut à ``a += b``." -#: library/operator.rst:485 +#: library/operator.rst:482 msgid "``a = iand(a, b)`` is equivalent to ``a &= b``." msgstr "``a = iand(a, b)`` équivaut à ``a &= b``." -#: library/operator.rst:491 +#: library/operator.rst:488 msgid "" "``a = iconcat(a, b)`` is equivalent to ``a += b`` for *a* and *b* sequences." msgstr "" "``a = iconcat(a, b)`` équivaut à ``a += b`` où *a* et *b* sont des séquences." -#: library/operator.rst:497 +#: library/operator.rst:494 msgid "``a = ifloordiv(a, b)`` is equivalent to ``a //= b``." msgstr "``a = ifloordiv(a, b)``équivaut à ``a //= b``." -#: library/operator.rst:503 +#: library/operator.rst:500 msgid "``a = ilshift(a, b)`` is equivalent to ``a <<= b``." msgstr "``a = ilshift(a, b)`` équivaut à ``a <<= b``." -#: library/operator.rst:509 +#: library/operator.rst:506 msgid "``a = imod(a, b)`` is equivalent to ``a %= b``." msgstr "``a = imod(a, b)`` équivaut à ``a %= b``." -#: library/operator.rst:515 +#: library/operator.rst:512 msgid "``a = imul(a, b)`` is equivalent to ``a *= b``." msgstr "``a = imul(a, b)`` équivaut à ``a *= b``." -#: library/operator.rst:521 +#: library/operator.rst:518 msgid "``a = imatmul(a, b)`` is equivalent to ``a @= b``." msgstr "``a = imatmul(a, b)`` équivaut à ``a @= b``." -#: library/operator.rst:529 +#: library/operator.rst:526 msgid "``a = ior(a, b)`` is equivalent to ``a |= b``." msgstr "``a = ior(a, b)`` équivaut à ``a |= b``." -#: library/operator.rst:535 +#: library/operator.rst:532 msgid "``a = ipow(a, b)`` is equivalent to ``a **= b``." msgstr "``a = ipow(a, b)`` équivaut à ``a **= b``." -#: library/operator.rst:541 +#: library/operator.rst:538 msgid "``a = irshift(a, b)`` is equivalent to ``a >>= b``." msgstr "``a = irshift(a, b)`` équivaut à ``a >>= b``." -#: library/operator.rst:547 +#: library/operator.rst:544 msgid "``a = isub(a, b)`` is equivalent to ``a -= b``." msgstr "``a = isub(a, b)`` équivaut à ``a -= b``." -#: library/operator.rst:553 +#: library/operator.rst:550 msgid "``a = itruediv(a, b)`` is equivalent to ``a /= b``." msgstr "``a = itruediv(a, b)`` équivaut à ``a /= b``." -#: library/operator.rst:559 +#: library/operator.rst:556 msgid "``a = ixor(a, b)`` is equivalent to ``a ^= b``." msgstr "``a = ixor(a, b)`` équivaut à ``a ^= b``." diff --git a/library/os.path.po b/library/os.path.po index fc2df4f5..bfbf856b 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-11-29 18:28+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -127,7 +127,7 @@ msgstr "" #: library/os.path.rst:83 library/os.path.rst:132 library/os.path.rst:158 #: library/os.path.rst:204 library/os.path.rst:233 library/os.path.rst:252 -#: library/os.path.rst:272 library/os.path.rst:301 library/os.path.rst:344 +#: library/os.path.rst:272 library/os.path.rst:301 library/os.path.rst:343 #: library/os.path.rst:376 library/os.path.rst:407 library/os.path.rst:439 #: library/os.path.rst:471 msgid "Accepts a :term:`path-like object`." @@ -330,13 +330,13 @@ msgstr "" msgid "" "Join one or more path components intelligently. The return value is the " "concatenation of *path* and any members of *\\*paths* with exactly one " -"directory separator (``os.sep``) following each non-empty part except the " -"last, meaning that the result will only end in a separator if the last part " -"is empty. If a component is an absolute path, all previous components are " -"thrown away and joining continues from the absolute path component." +"directory separator following each non-empty part except the last, meaning " +"that the result will only end in a separator if the last part is empty. If " +"a component is an absolute path, all previous components are thrown away and " +"joining continues from the absolute path component." msgstr "" -#: library/os.path.rst:315 +#: library/os.path.rst:314 msgid "" "On Windows, the drive letter is not reset when an absolute path component (e." "g., ``r'\\foo'``) is encountered. If a component contains a drive letter, " @@ -346,19 +346,19 @@ msgid "" "file:`C:` (:file:`c:foo`), not :file:`c:\\\\foo`." msgstr "" -#: library/os.path.rst:322 +#: library/os.path.rst:321 #, fuzzy msgid "Accepts a :term:`path-like object` for *path* and *paths*." msgstr "Accepte un :term:`path-like object` pour *path* et *attribute*." -#: library/os.path.rst:328 +#: library/os.path.rst:327 msgid "" "Normalize the case of a pathname. On Windows, convert all characters in the " "pathname to lowercase, and also convert forward slashes to backward slashes. " "On other operating systems, return the path unchanged." msgstr "" -#: library/os.path.rst:338 +#: library/os.path.rst:337 msgid "" "Normalize a pathname by collapsing redundant separators and up-level " "references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all " @@ -367,29 +367,30 @@ msgid "" "backward slashes. To normalize case, use :func:`normcase`." msgstr "" -#: library/os.path.rst:350 +#: library/os.path.rst:349 msgid "" "Return the canonical path of the specified filename, eliminating any " "symbolic links encountered in the path (if they are supported by the " "operating system)." msgstr "" -#: library/os.path.rst:355 +#: library/os.path.rst:354 msgid "" "When symbolic link cycles occur, the returned path will be one member of the " "cycle, but no guarantee is made about which member that will be." msgstr "" -#: library/os.path.rst:361 +#: library/os.path.rst:360 msgid "Symbolic links and junctions are now resolved on Windows." msgstr "" -#: library/os.path.rst:367 +#: library/os.path.rst:366 msgid "" "Return a relative filepath to *path* either from the current directory or " "from an optional *start* directory. This is a path computation: the " "filesystem is not accessed to confirm the existence or nature of *path* or " -"*start*." +"*start*. On Windows, :exc:`ValueError` is raised when *path* and *start* " +"are on different drives." msgstr "" #: library/os.path.rst:372 diff --git a/library/os.po b/library/os.po index 0cb6518e..0c51e7f8 100644 --- a/library/os.po +++ b/library/os.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-06-08 12:50+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -198,15 +198,15 @@ msgstr "" #: library/os.rst:1128 library/os.rst:1297 library/os.rst:1329 #: library/os.rst:1356 library/os.rst:1373 library/os.rst:1657 #: library/os.rst:1740 library/os.rst:1780 library/os.rst:1808 -#: library/os.rst:2018 library/os.rst:2073 library/os.rst:2903 -#: library/os.rst:3432 library/os.rst:3447 library/os.rst:3461 -#: library/os.rst:3475 library/os.rst:3490 library/os.rst:3505 -#: library/os.rst:3521 library/os.rst:3537 library/os.rst:3551 -#: library/os.rst:3627 library/os.rst:3655 library/os.rst:3819 -#: library/os.rst:4054 library/os.rst:4085 library/os.rst:4155 -#: library/os.rst:4207 library/os.rst:4237 library/os.rst:4260 -#: library/os.rst:4276 library/os.rst:4294 library/os.rst:4449 -#: library/os.rst:4479 library/os.rst:4498 +#: library/os.rst:2018 library/os.rst:2073 library/os.rst:2904 +#: library/os.rst:3433 library/os.rst:3448 library/os.rst:3462 +#: library/os.rst:3476 library/os.rst:3491 library/os.rst:3506 +#: library/os.rst:3522 library/os.rst:3538 library/os.rst:3552 +#: library/os.rst:3628 library/os.rst:3656 library/os.rst:3820 +#: library/os.rst:4055 library/os.rst:4086 library/os.rst:4156 +#: library/os.rst:4208 library/os.rst:4238 library/os.rst:4261 +#: library/os.rst:4277 library/os.rst:4295 library/os.rst:4450 +#: library/os.rst:4480 library/os.rst:4499 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." @@ -529,8 +529,8 @@ msgstr "" "pour avoir le nom lié à l'identifiant de l'utilisateur courant." #: library/os.rst:363 library/os.rst:869 library/os.rst:1435 -#: library/os.rst:2096 library/os.rst:2917 library/os.rst:3904 -#: library/os.rst:3991 library/os.rst:4015 +#: library/os.rst:2096 library/os.rst:2918 library/os.rst:3905 +#: library/os.rst:3992 library/os.rst:4016 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`Disponibilité ` : Unix, Windows." @@ -867,7 +867,7 @@ msgstr "" msgid ":ref:`Availability `: recent flavors of Unix." msgstr ":ref:`Disponibilité ` : dérivés récents de Unix." -#: library/os.rst:4016 +#: library/os.rst:4017 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -1226,7 +1226,7 @@ msgid "" "``fd``, ``length``." msgstr "" -#: library/os.rst:2920 +#: library/os.rst:2921 msgid "Added support for Windows" msgstr "Prise en charge de Windows" @@ -1360,11 +1360,11 @@ msgstr "" "Pour envelopper un descripteur de fichier dans un fichier objet, utilisez :" "func:`fdopen`." -#: library/os.rst:1929 library/os.rst:2019 library/os.rst:2130 +#: library/os.rst:1929 library/os.rst:2019 library/os.rst:2131 msgid "The *dir_fd* argument." msgstr "L'argument *dir_fd*." -#: library/os.rst:1264 library/os.rst:4137 +#: library/os.rst:1264 library/os.rst:4138 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 :" @@ -1375,10 +1375,10 @@ msgstr "" "exc:`InterruptedError` (voir la :pep:`475` à propos du raisonnement)." #: library/os.rst:1598 library/os.rst:1661 library/os.rst:1741 -#: library/os.rst:1796 library/os.rst:1868 library/os.rst:1973 -#: library/os.rst:2022 library/os.rst:2133 library/os.rst:2238 -#: library/os.rst:2762 library/os.rst:2939 library/os.rst:3077 -#: library/os.rst:3225 library/os.rst:3892 +#: library/os.rst:1796 library/os.rst:1868 library/os.rst:1932 +#: library/os.rst:2000 library/os.rst:2063 library/os.rst:2153 +#: library/os.rst:2512 library/os.rst:2924 library/os.rst:2980 +#: library/os.rst:3139 library/os.rst:3405 library/os.rst:3893 msgid "Accepts a :term:`path-like object`." msgstr "Accepte un :term:`path-like object`." @@ -1443,7 +1443,7 @@ msgstr "" "`. Pour une approche (légèrement) plus portable, utilisez le " "module :mod:`pty`." -#: library/os.rst:1075 library/os.rst:3589 +#: library/os.rst:1075 library/os.rst:3590 msgid ":ref:`Availability `: some flavors of Unix." msgstr ":ref:`Disponibilité ` : certains dérivés Unix." @@ -2004,7 +2004,7 @@ msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" "Récupère le marqueur « héritable » (booléen) de l'identificateur spécifié." -#: library/os.rst:1490 library/os.rst:3927 library/os.rst:3958 +#: library/os.rst:1490 library/os.rst:3928 library/os.rst:3959 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -2402,7 +2402,7 @@ msgstr ":data:`stat.S_IWOTH`" msgid ":data:`stat.S_IXOTH`" msgstr ":data:`stat.S_IXOTH`" -#: library/os.rst:1716 library/os.rst:2969 +#: library/os.rst:1716 library/os.rst:2970 msgid "" "This function can support :ref:`specifying a file descriptor `, :" "ref:`paths relative to directory descriptors ` and :ref:`not " @@ -2548,7 +2548,7 @@ msgstr "Prise en charge de Windows." msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* arguments." msgstr "Arguments *src_dir_fd*, *dst_dir_fd*, et *follow_symlinks* ajoutés." -#: library/os.rst:1897 library/os.rst:2219 library/os.rst:2891 +#: library/os.rst:2183 library/os.rst:2892 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "Accepte un :term:`path-like object` pour *src* et *dst*." @@ -2578,7 +2578,7 @@ msgstr "" "`PathLike`), les noms de fichiers renvoyés seront aussi de type ``bytes`` ; " "dans toutes les autres circonstances, ils seront de type ``str``." -#: library/os.rst:2267 +#: library/os.rst:2268 msgid "" "This function can also support :ref:`specifying a file descriptor " "`; the file descriptor must refer to a directory." @@ -2611,7 +2611,7 @@ msgstr "" msgid "The *path* parameter became optional." msgstr "Le paramètre *path* est devenu optionnel." -#: library/os.rst:2753 +#: library/os.rst:2754 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" "ajout de la possibilité de spécifier *path* comme descripteur de fichier " @@ -2651,7 +2651,7 @@ msgstr "" "Cette fonction peut également gérer :ref:`des chemins relatifs à des " "descripteurs de répertoires `." -#: library/os.rst:2097 library/os.rst:2884 +#: library/os.rst:2097 library/os.rst:2885 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "Prise en charge des les liens symboliques sur Windows 6.0 (Vista)." @@ -2863,7 +2863,7 @@ msgstr "" "configuration non incluses dans ce *mapping*, passer un entier pour *name* " "est également accepté." -#: library/os.rst:2746 library/os.rst:2912 +#: library/os.rst:2747 library/os.rst:2913 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" @@ -2932,15 +2932,17 @@ msgid "" msgstr "" #: library/os.rst:2116 +#, fuzzy msgid "" "Remove (delete) the file *path*. If *path* is a directory, an :exc:" -"`IsADirectoryError` is raised. Use :func:`rmdir` to remove directories." +"`IsADirectoryError` is raised. Use :func:`rmdir` to remove directories. If " +"the file does not exist, a :exc:`FileNotFoundError` is raised." msgstr "" "Supprime (efface) le fichier *path*. Si *path* est un répertoire, une :exc:" "`IsADirectoryError` est levée. Utilisez :func:`rmdir` pour supprimer les " "répertoires." -#: library/os.rst:2230 library/os.rst:2866 +#: library/os.rst:2231 library/os.rst:2867 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." @@ -2948,7 +2950,7 @@ msgstr "" "Cette fonction prend en charge :ref:`des chemins relatifs à des descripteurs " "de répertories `." -#: library/os.rst:2122 +#: library/os.rst:2123 msgid "" "On Windows, attempting to remove a file that is in use causes an exception " "to be raised; on Unix, the directory entry is removed but the storage " @@ -2960,17 +2962,17 @@ msgstr "" "l'espace de stockage alloué au fichier ne sera pas disponible avant que le " "fichier original ne soit plus utilisé." -#: library/os.rst:2126 +#: library/os.rst:2127 msgid "This function is semantically identical to :func:`unlink`." msgstr "La fonction est sémantiquement identique à :func:`unlink`." -#: library/os.rst:2150 library/os.rst:2934 +#: library/os.rst:2151 library/os.rst:2935 msgid "" "Raises an :ref:`auditing event ` ``os.remove`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:2141 +#: library/os.rst:2142 msgid "" "Remove directories recursively. Works like :func:`rmdir` except that, if " "the leaf directory is successfully removed, :func:`removedirs` tries to " @@ -2991,7 +2993,7 @@ msgstr "" "``'foo'`` s'ils sont vides. Lève une :exc:`OSError` si le répertoire feuille " "n'a pas pu être supprimé avec succès." -#: library/os.rst:2158 +#: library/os.rst:2159 msgid "" "Rename the file or directory *src* to *dst*. If *dst* exists, the operation " "will fail with an :exc:`OSError` subclass in a number of cases:" @@ -3000,12 +3002,12 @@ msgstr "" "l'opération échoue avec une sous-classe :exc:`OSError` dans un certain " "nombre de cas :" -#: library/os.rst:2161 +#: library/os.rst:2162 msgid "On Windows, if *dst* exists a :exc:`FileExistsError` is always raised." msgstr "" "Sous Windows, si *dst* existe, une :exc:`FileExistsError` est toujours levée." -#: library/os.rst:2163 +#: library/os.rst:2164 #, fuzzy msgid "" "On Unix, if *src* is a file and *dst* is a directory or vice-versa, an :exc:" @@ -3024,7 +3026,7 @@ msgstr "" "différent. Si le renommage est effectué avec succès, il est une opération " "atomique (nécessité POSIX)." -#: library/os.rst:2212 +#: library/os.rst:2213 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `." @@ -3033,7 +3035,7 @@ msgstr "" "*dst_dir_fd* pour fournir :ref:`des chemins relatifs à des descripteurs de " "fichiers `." -#: library/os.rst:2175 +#: library/os.rst:2176 msgid "" "If you want cross-platform overwriting of the destination, use :func:" "`replace`." @@ -3041,17 +3043,17 @@ msgstr "" "Si cous désirez un écrasement multiplate-forme de la destination, utilisez " "la fonction :func:`replace`." -#: library/os.rst:2198 library/os.rst:2215 +#: library/os.rst:2199 library/os.rst:2216 msgid "" "Raises an :ref:`auditing event ` ``os.rename`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2179 +#: library/os.rst:2180 msgid "The *src_dir_fd* and *dst_dir_fd* arguments." msgstr "Les arguments *src_dir_fd* et *dst_dir_fd*." -#: library/os.rst:2188 +#: library/os.rst:2189 msgid "" "Recursive directory or file renaming function. Works like :func:`rename`, " "except creation of any intermediate directories needed to make the new " @@ -3066,7 +3068,7 @@ msgstr "" "chemin les plus à droite de l'ancien nom seront élagués en utilisant :func:" "`removedirs`." -#: library/os.rst:2195 +#: library/os.rst:2196 msgid "" "This function can fail with the new directory structure made if you lack " "permissions needed to remove the leaf directory or file." @@ -3075,11 +3077,11 @@ msgstr "" "définie si vous n'avez pas les permissions nécessaires pour supprimer le " "répertoire ou fichier feuille." -#: library/os.rst:2200 +#: library/os.rst:2201 msgid "Accepts a :term:`path-like object` for *old* and *new*." msgstr "Accepte un :term:`path-like object` pour *old* et *new*." -#: library/os.rst:2206 +#: library/os.rst:2207 msgid "" "Rename the file or directory *src* to *dst*. If *dst* is a directory, :exc:" "`OSError` will be raised. If *dst* exists and is a file, it will be " @@ -3094,7 +3096,7 @@ msgstr "" "différent. Si le renommage est effectué avec succès, il est une opération " "atomique (nécessité POSIX)." -#: library/os.rst:2225 +#: library/os.rst:2226 msgid "" "Remove (delete) the directory *path*. If the directory does not exist or is " "not empty, an :exc:`FileNotFoundError` or an :exc:`OSError` is raised " @@ -3106,17 +3108,17 @@ msgstr "" "levée, selon le cas. Pour supprimer des arborescences de répertoires " "entières, utilisez :func:`shutil.rmtree`." -#: library/os.rst:2233 +#: library/os.rst:2234 msgid "" "Raises an :ref:`auditing event ` ``os.rmdir`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:2936 +#: library/os.rst:2937 msgid "The *dir_fd* parameter." msgstr "Le paramètre *dir_fd*." -#: library/os.rst:2244 +#: library/os.rst:2245 #, fuzzy msgid "" "Return an iterator of :class:`os.DirEntry` objects corresponding to the " @@ -3131,7 +3133,7 @@ msgstr "" "ordre arbitraire, et les entrées spéciales ``'.'`` et ``'..'`` ne sont pas " "incluses." -#: library/os.rst:2251 +#: library/os.rst:2252 msgid "" "Using :func:`scandir` instead of :func:`listdir` can significantly increase " "the performance of code that also needs file type or file attribute " @@ -3152,7 +3154,7 @@ msgstr "" "symboliques ; :func:`os.DirEntry.stat` nécessite toujours un appel système " "sous Unix, mais seulement pour les liens symboliques sous Windows." -#: library/os.rst:2261 +#: library/os.rst:2262 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the type " @@ -3166,13 +3168,13 @@ msgstr "" "DirEntry.path` de chaque :class:`os.DirEntry` sera ``bytes`` ; dans toutes " "les autres circonstances, ils seront de type ``str``." -#: library/os.rst:2270 +#: library/os.rst:2271 msgid "" "Raises an :ref:`auditing event ` ``os.scandir`` with argument " "``path``." msgstr "" -#: library/os.rst:2272 +#: library/os.rst:2273 msgid "" "The :func:`scandir` iterator supports the :term:`context manager` protocol " "and has the following method:" @@ -3180,11 +3182,11 @@ msgstr "" "L'itérateur :func:`scandir` gère le protocole :term:`context manager` et " "possède la méthode suivante :" -#: library/os.rst:2277 +#: library/os.rst:2278 msgid "Close the iterator and free acquired resources." msgstr "Ferme l'itérateur et libère les ressources acquises." -#: library/os.rst:2279 +#: library/os.rst:2280 msgid "" "This is called automatically when the iterator is exhausted or garbage " "collected, or when an error happens during iterating. However it is " @@ -3195,7 +3197,7 @@ msgstr "" "l'itération. Il est cependant conseillé de l'appeler explicitement ou " "d'utiliser l'instruction :keyword:`with`." -#: library/os.rst:2286 +#: library/os.rst:2287 msgid "" "The following example shows a simple use of :func:`scandir` to display all " "the files (excluding directories) in the given *path* that don't start with " @@ -3207,7 +3209,7 @@ msgstr "" "*path* et ne débutant pas par ``'.'``. L'appel ``entry.is_file()`` ne va " "généralement pas faire d'appel système supplémentaire ::" -#: library/os.rst:2298 +#: library/os.rst:2299 msgid "" "On Unix-based systems, :func:`scandir` uses the system's `opendir() `_ and " @@ -3226,7 +3228,7 @@ msgstr "" "`_." -#: library/os.rst:2310 +#: library/os.rst:2311 msgid "" "Added support for the :term:`context manager` protocol and the :func:" "`~scandir.close()` method. If a :func:`scandir` iterator is neither " @@ -3238,16 +3240,16 @@ msgstr "" "entièrement consommé ni explicitement fermé, un :exc:`ResourceWarning` sera " "émis dans son destructeur." -#: library/os.rst:2316 +#: library/os.rst:2317 msgid "The function accepts a :term:`path-like object`." msgstr "La fonction accepte un :term:`path-like object`." -#: library/os.rst:2318 +#: library/os.rst:2319 msgid "Added support for :ref:`file descriptors ` on Unix." msgstr "" "Ajout de la gestion des :ref:`descripteurs de fichiers ` sur Unix." -#: library/os.rst:2324 +#: library/os.rst:2325 msgid "" "Object yielded by :func:`scandir` to expose the file path and other file " "attributes of a directory entry." @@ -3255,7 +3257,7 @@ msgstr "" "Objet donné par :func:`scandir` pour exposer le chemin du fichier et " "d'autres attributs de fichier d'une entrée du répertoire." -#: library/os.rst:2327 +#: library/os.rst:2328 msgid "" ":func:`scandir` will provide as much of this information as possible without " "making additional system calls. When a ``stat()`` or ``lstat()`` system call " @@ -3265,7 +3267,7 @@ msgstr "" "d'appels système additionnels. Quand un appel système ``stat()`` ou " "``lstat()`` est réalisé, l'objet ``os.DirEntry`` mettra le résultat en cache." -#: library/os.rst:2331 +#: library/os.rst:2332 msgid "" "``os.DirEntry`` instances are not intended to be stored in long-lived data " "structures; if you know the file metadata has changed or if a long time has " @@ -3278,7 +3280,7 @@ msgstr "" "l'appel à :func:`scandir`, appelez ``os.stat(entry.path)`` pour mettre à " "jour ces informations." -#: library/os.rst:2336 +#: library/os.rst:2337 msgid "" "Because the ``os.DirEntry`` methods can make operating system calls, they " "may also raise :exc:`OSError`. If you need very fine-grained control over " @@ -3290,7 +3292,7 @@ msgstr "" "contrôle fin des erreurs, vous pouvez attraper les :exc:`OSError` en " "appelant les méthodes de ``os.DirEntry`` et les traiter comme il vous semble." -#: library/os.rst:2341 +#: library/os.rst:2342 msgid "" "To be directly usable as a :term:`path-like object`, ``os.DirEntry`` " "implements the :class:`PathLike` interface." @@ -3298,20 +3300,20 @@ msgstr "" "Pour être directement utilisable comme un :term:`path-like object`, ``os." "DirEntry`` implémente l'interface :class:`PathLike`." -#: library/os.rst:2344 +#: library/os.rst:2345 msgid "Attributes and methods on a ``os.DirEntry`` instance are as follows:" msgstr "" "Les attributs et méthodes des instances de ``os.DirEntry`` sont les " "suivants :" -#: library/os.rst:2348 +#: library/os.rst:2349 msgid "" "The entry's base filename, relative to the :func:`scandir` *path* argument." msgstr "" "Le nom de fichier de base de l'entrée, relatif à l'argument *path* de :func:" "`scandir`." -#: library/os.rst:2351 +#: library/os.rst:2352 msgid "" "The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." @@ -3321,7 +3323,7 @@ msgstr "" "`scandir` est de type ``bytes``, sinon il sera de type ``str``. Utilisez :" "func:`~os.fsdecode` pour décoder des noms de fichiers de types *byte*." -#: library/os.rst:2357 +#: library/os.rst:2358 msgid "" "The entry's full path name: equivalent to ``os.path.join(scandir_path, entry." "name)`` where *scandir_path* is the :func:`scandir` *path* argument. The " @@ -3337,7 +3339,7 @@ msgstr "" "`descripteur de fichier ` l'attribut :attr:`path` sera égal à " "l'attribut :attr:`name`." -#: library/os.rst:2364 +#: library/os.rst:2365 msgid "" "The :attr:`path` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." @@ -3348,11 +3350,11 @@ msgstr "" "``str``. Utilisez :func:`~os.fsdecode` pour décoder des noms de fichiers de " "type *bytes*." -#: library/os.rst:2370 +#: library/os.rst:2371 msgid "Return the inode number of the entry." msgstr "Renvoie le numéro d'*inode* de l'entrée." -#: library/os.rst:2372 +#: library/os.rst:2373 msgid "" "The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry." "path, follow_symlinks=False).st_ino`` to fetch up-to-date information." @@ -3361,7 +3363,7 @@ msgstr "" "stat(entry.path, follow_symlinks=False).st_ino`` pour obtenir l'information " "à jour." -#: library/os.rst:2376 +#: library/os.rst:2377 msgid "" "On the first, uncached call, a system call is required on Windows but not on " "Unix." @@ -3369,7 +3371,7 @@ msgstr "" "Au premier appel non mis en cache, un appel système est requis sur Windows, " "mais pas sur Unix." -#: library/os.rst:2381 +#: library/os.rst:2382 msgid "" "Return ``True`` if this entry is a directory or a symbolic link pointing to " "a directory; return ``False`` if the entry is or points to any other kind of " @@ -3379,7 +3381,7 @@ msgstr "" "pointant vers un répertoire ; renvoie ``False`` si l'entrée est (ou pointe " "vers) un autre type de fichier, ou s'il n'existe plus." -#: library/os.rst:2385 +#: library/os.rst:2386 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "directory (without following symlinks); return ``False`` if the entry is any " @@ -3389,7 +3391,7 @@ msgstr "" "est un répertoire (sans suivre les liens symboliques) ; renvoie ``False`` si " "l'entrée est n'importe quel autre type de fichier ou s'il n'existe plus." -#: library/os.rst:2389 +#: library/os.rst:2390 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` along " @@ -3399,7 +3401,7 @@ msgstr "" "séparé pour les valeurs ``True`` ou ``False`` de *follow_symlinks*. Appelez :" "func:`os.stat` avec :func:`stat.S_ISDIR` pour obtenir l'information à jour." -#: library/os.rst:2393 +#: library/os.rst:2394 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, for non-symlinks, neither Windows or Unix require a system " @@ -3416,7 +3418,7 @@ msgstr "" "requis pour suivre le lien symbolique, à moins que *follow_symlinks* vaille " "``False``." -#: library/os.rst:2430 +#: library/os.rst:2431 msgid "" "This method can raise :exc:`OSError`, such as :exc:`PermissionError`, but :" "exc:`FileNotFoundError` is caught and not raised." @@ -3425,7 +3427,7 @@ msgstr "" "`PermissionError`, mais :exc:`FileNotFoundError` est interceptée et pas " "levée." -#: library/os.rst:2405 +#: library/os.rst:2406 msgid "" "Return ``True`` if this entry is a file or a symbolic link pointing to a " "file; return ``False`` if the entry is or points to a directory or other non-" @@ -3436,7 +3438,7 @@ msgstr "" "sur un dossier ou sur un répertoire ou autre entrée non-fichier, ou s'il " "n'existe plus." -#: library/os.rst:2409 +#: library/os.rst:2410 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "file (without following symlinks); return ``False`` if the entry is a " @@ -3447,7 +3449,7 @@ msgstr "" "si l'entrée est un répertoire ou une autre entrée non-fichier, ou s'il " "n'existe plus." -#: library/os.rst:2413 +#: library/os.rst:2414 msgid "" "The result is cached on the ``os.DirEntry`` object. Caching, system calls " "made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`." @@ -3456,7 +3458,7 @@ msgstr "" "les appels système réalisés, et les exceptions levées sont les mêmes que " "pour :func:`~os.DirEntry.is_dir`." -#: library/os.rst:2418 +#: library/os.rst:2419 msgid "" "Return ``True`` if this entry is a symbolic link (even if broken); return " "``False`` if the entry points to a directory or any kind of file, or if it " @@ -3466,7 +3468,7 @@ msgstr "" "``False`` si l'entrée pinte vers un répertoire ou tout autre type de " "fichier, ou s'il n'existe plus." -#: library/os.rst:2422 +#: library/os.rst:2423 msgid "" "The result is cached on the ``os.DirEntry`` object. Call :func:`os.path." "islink` to fetch up-to-date information." @@ -3474,7 +3476,7 @@ msgstr "" "Le résultat est mis en cache dans l'objet ``os.DirEntry``. Appelez :func:`os." "path.islink` pour obtenir l'information à jour." -#: library/os.rst:2425 +#: library/os.rst:2426 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, neither Windows or Unix require a system call, except on " @@ -3486,7 +3488,7 @@ msgstr "" "certains systèmes de fichiers Unix qui renvoient ``dirent.d_type == " "DT_UNKNOWN``." -#: library/os.rst:2435 +#: library/os.rst:2436 msgid "" "Return a :class:`stat_result` object for this entry. This method follows " "symbolic links by default; to stat a symbolic link add the " @@ -3496,7 +3498,7 @@ msgstr "" "méthode suit les liens symboliques par défaut. Pour avoir les statistiques " "sur un lien symbolique, ajouter l'argument ``follow_symlinks=False``." -#: library/os.rst:2439 +#: library/os.rst:2440 #, fuzzy msgid "" "On Unix, this method always requires a system call. On Windows, it only " @@ -3507,7 +3509,7 @@ msgstr "" "cela requiert uniquement un appel système si *follow_symlinks* vaut ``True`` " "et l'entrée n'est pas un lien symbolique." -#: library/os.rst:2444 +#: library/os.rst:2445 msgid "" "On Windows, the ``st_ino``, ``st_dev`` and ``st_nlink`` attributes of the :" "class:`stat_result` are always set to zero. Call :func:`os.stat` to get " @@ -3517,7 +3519,7 @@ msgstr "" "classe :class:`stat_result` sont toujours définis à 0. Appelez la fonction :" "func:`os.stat` pour avoir ces attributs." -#: library/os.rst:2448 +#: library/os.rst:2449 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` to fetch " @@ -3527,7 +3529,7 @@ msgstr "" "séparé pour les valeurs ``True`` ou ``False`` de *follow_symlinks*. Appelez :" "func:`os.stat` pour obtenir l'information à jour." -#: library/os.rst:2452 +#: library/os.rst:2453 msgid "" "Note that there is a nice correspondence between several attributes and " "methods of ``os.DirEntry`` and of :class:`pathlib.Path`. In particular, the " @@ -3539,7 +3541,7 @@ msgstr "" "``name`` a la même signification, ainsi que les méthodes ``is_dir()``, " "``is_file()``, ``is_symlink()`` et ``stat()``." -#: library/os.rst:2460 +#: library/os.rst:2461 msgid "" "Added support for the :class:`~os.PathLike` interface. Added support for :" "class:`bytes` paths on Windows." @@ -3547,7 +3549,7 @@ msgstr "" "Prise en charge de l'interface :class:`~os.PathLike`. Ajout du support des " "chemins :class:`bytes` sous Windows." -#: library/os.rst:2467 +#: library/os.rst:2468 msgid "" "Get the status of a file or a file descriptor. Perform the equivalent of a :" "c:func:`stat` system call on the given path. *path* may be specified as " @@ -3561,7 +3563,7 @@ msgstr "" "ou indirectement à travers une interface :class:`PathLike` -- ou comme un " "descripteur de fichier ouvert. Renvoie un objet :class:`stat_result`." -#: library/os.rst:2473 +#: library/os.rst:2474 msgid "" "This function normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :func:`lstat`." @@ -3570,7 +3572,7 @@ msgstr "" "informations d'un lien symbolique, ajoutez l'argument " "``follow_symlinks=False`` ou utilisez la fonction :func:`lstat`." -#: library/os.rst:3204 library/os.rst:3236 library/os.rst:3256 +#: library/os.rst:3205 library/os.rst:3237 library/os.rst:3257 msgid "" "This function can support :ref:`specifying a file descriptor ` and :" "ref:`not following symlinks `." @@ -3579,7 +3581,7 @@ msgstr "" "fichier ` et :ref:`le non-suivi des liens symboliques " "`." -#: library/os.rst:2479 +#: library/os.rst:2480 msgid "" "On Windows, passing ``follow_symlinks=False`` will disable following all " "name-surrogate reparse points, which includes symlinks and directory " @@ -3593,15 +3595,15 @@ msgid "" "junction points, which will raise the usual exceptions." msgstr "" -#: library/os.rst:2492 +#: library/os.rst:2493 msgid "Example::" msgstr "Exemple ::" -#: library/os.rst:2505 +#: library/os.rst:2506 msgid ":func:`fstat` and :func:`lstat` functions." msgstr "les fonctions :func:`fstat` et :func:`lstat`." -#: library/os.rst:2507 +#: library/os.rst:2508 msgid "" "Added the *dir_fd* and *follow_symlinks* arguments, specifying a file " "descriptor instead of a path." @@ -3609,7 +3611,7 @@ msgstr "" "Les arguments *dir_fd* et *follow_symlinks* ont été ajoutés, spécification " "d'un descripteur de fichier à la place d'un chemin ajoutée également." -#: library/os.rst:2514 +#: library/os.rst:2515 msgid "" "On Windows, all reparse points that can be resolved by the operating system " "are now followed, and passing ``follow_symlinks=False`` disables following " @@ -3619,7 +3621,7 @@ msgid "" "of raising an error." msgstr "" -#: library/os.rst:2525 +#: library/os.rst:2526 msgid "" "Object whose attributes correspond roughly to the members of the :c:type:" "`stat` structure. It is used for the result of :func:`os.stat`, :func:`os." @@ -3629,16 +3631,16 @@ msgstr "" "structure :c:func:`stat`. Utilisé pour le résultat des fonctions :func:`os." "stat`, :func:`os.fstat`, et :func:`os.lstat`." -#: library/os.rst:2529 +#: library/os.rst:2530 msgid "Attributes:" msgstr "Attributs :" -#: library/os.rst:2533 +#: library/os.rst:2534 msgid "File mode: file type and file mode bits (permissions)." msgstr "" "Mode du fichier : type du fichier et bits de mode du fichier (permissions)." -#: library/os.rst:2537 +#: library/os.rst:2538 msgid "" "Platform dependent, but if non-zero, uniquely identifies the file for a " "given value of ``st_dev``. Typically:" @@ -3647,11 +3649,11 @@ msgstr "" "manière unique le fichier pour une certaine valeur de ``st_dev``. " "Typiquement :" -#: library/os.rst:2540 +#: library/os.rst:2541 msgid "the inode number on Unix," msgstr "le numéro d'*inode* sur Unix," -#: library/os.rst:2541 +#: library/os.rst:2542 msgid "" "the `file index `_ on " "Windows" @@ -3659,23 +3661,23 @@ msgstr "" "l’`index de fichier `_ " "sur Windows" -#: library/os.rst:2547 +#: library/os.rst:2548 msgid "Identifier of the device on which this file resides." msgstr "Identifiant du périphérique sur lequel ce fichier se trouve." -#: library/os.rst:2551 +#: library/os.rst:2552 msgid "Number of hard links." msgstr "Nombre de liens matériels." -#: library/os.rst:2555 +#: library/os.rst:2556 msgid "User identifier of the file owner." msgstr "Identifiant d'utilisateur du propriétaire du fichier." -#: library/os.rst:2559 +#: library/os.rst:2560 msgid "Group identifier of the file owner." msgstr "Identifiant de groupe du propriétaire du fichier." -#: library/os.rst:2563 +#: library/os.rst:2564 msgid "" "Size of the file in bytes, if it is a regular file or a symbolic link. The " "size of a symbolic link is the length of the pathname it contains, without a " @@ -3685,37 +3687,37 @@ msgstr "" "symbolique. La taille d'un lien symbolique est la longueur du nom de chemin " "qu'il contient sans le byte nul final." -#: library/os.rst:2567 +#: library/os.rst:2568 msgid "Timestamps:" msgstr "Horodatages :" -#: library/os.rst:2571 +#: library/os.rst:2572 msgid "Time of most recent access expressed in seconds." msgstr "Moment de l'accès le plus récent, exprimé en secondes." -#: library/os.rst:2575 +#: library/os.rst:2576 msgid "Time of most recent content modification expressed in seconds." msgstr "" "Moment de la modification de contenu la plus récente, exprimé en secondes." -#: library/os.rst:2595 +#: library/os.rst:2596 msgid "Platform dependent:" msgstr "Dépendant de la plate-forme :" -#: library/os.rst:2597 +#: library/os.rst:2598 msgid "the time of most recent metadata change on Unix," msgstr "le moment du changement de méta-données le plus récent sur Unix," -#: library/os.rst:2582 +#: library/os.rst:2583 msgid "the time of creation on Windows, expressed in seconds." msgstr "le moment de création sur Windows, exprimé en secondes." -#: library/os.rst:2586 +#: library/os.rst:2587 msgid "Time of most recent access expressed in nanoseconds as an integer." msgstr "" "Moment de l'accès le plus récent, exprimé en nanosecondes, par un entier." -#: library/os.rst:2590 +#: library/os.rst:2591 msgid "" "Time of most recent content modification expressed in nanoseconds as an " "integer." @@ -3723,13 +3725,13 @@ msgstr "" "Moment de la modification de contenu la plus récente, exprimé en " "nanosecondes, par un entier." -#: library/os.rst:2598 +#: library/os.rst:2599 msgid "" "the time of creation on Windows, expressed in nanoseconds as an integer." msgstr "" "le moment de création sur Windows, exprimé en nanosecondes, par un entier." -#: library/os.rst:2603 +#: library/os.rst:2604 msgid "" "The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, " "and :attr:`st_ctime` attributes depend on the operating system and the file " @@ -3744,7 +3746,7 @@ msgstr "" "secondes, et :attr:`st_atime` a une précision de 1 jour. Regardez la " "documentation de votre système d'exploitation pour plus de détails." -#: library/os.rst:2610 +#: library/os.rst:2611 msgid "" "Similarly, although :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:" "`st_ctime_ns` are always expressed in nanoseconds, many systems do not " @@ -3763,7 +3765,7 @@ msgstr "" "avez besoin d'horodatages exacts, vous devriez toujours utiliser :attr:" "`st_atime_ns`, :attr:`st_mtime_ns`, et :attr:`st_ctime_ns`." -#: library/os.rst:2619 +#: library/os.rst:2620 msgid "" "On some Unix systems (such as Linux), the following attributes may also be " "available:" @@ -3771,7 +3773,7 @@ msgstr "" "Sur certains systèmes Unix (tels que Linux), les attributs suivants peuvent " "également être disponibles :" -#: library/os.rst:2624 +#: library/os.rst:2625 msgid "" "Number of 512-byte blocks allocated for file. This may be smaller than :attr:" "`st_size`/512 when the file has holes." @@ -3779,7 +3781,7 @@ msgstr "" "Nombre de blocs de 512 *bytes* alloués pour le fichier. Cette valeur peut " "être inférieure à :attr:`st_size`/512 quand le fichier a des trous." -#: library/os.rst:2629 +#: library/os.rst:2630 msgid "" "\"Preferred\" blocksize for efficient file system I/O. Writing to a file in " "smaller chunks may cause an inefficient read-modify-rewrite." @@ -3788,15 +3790,15 @@ msgstr "" "système de fichiers. Écrire dans un fichier avec des blocs plus petits peut " "causer des modifications (lecture-écriture-réécriture) inefficaces." -#: library/os.rst:2634 +#: library/os.rst:2635 msgid "Type of device if an inode device." msgstr "Type de périphérique si l'*inode* représente un périphérique." -#: library/os.rst:2638 +#: library/os.rst:2639 msgid "User defined flags for file." msgstr "Marqueurs définis par l'utilisateur pour le fichier." -#: library/os.rst:2640 +#: library/os.rst:2641 msgid "" "On other Unix systems (such as FreeBSD), the following attributes may be " "available (but may be only filled out if root tries to use them):" @@ -3805,22 +3807,22 @@ msgstr "" "peuvent être disponibles (mais peuvent être complétés uniquement lorsque le " "super-utilisateur *root* tente de les utiliser) :" -#: library/os.rst:2645 +#: library/os.rst:2646 msgid "File generation number." msgstr "Nombre de génération de fichier." -#: library/os.rst:2649 +#: library/os.rst:2650 msgid "Time of file creation." msgstr "Moment de la création du fichier." -#: library/os.rst:2651 +#: library/os.rst:2652 msgid "" "On Solaris and derivatives, the following attributes may also be available:" msgstr "" "Sur les systèmes Solaris et dérivés, les attributs suivants peuvent " "également être disponibles :" -#: library/os.rst:2656 +#: library/os.rst:2657 msgid "" "String that uniquely identifies the type of the filesystem that contains the " "file." @@ -3828,31 +3830,31 @@ msgstr "" "Chaîne qui identifie de manière unique le type du système de fichiers qui " "contient le fichier." -#: library/os.rst:2659 +#: library/os.rst:2660 msgid "On Mac OS systems, the following attributes may also be available:" msgstr "" "Sur les systèmes Mac OS, les attributs suivants peuvent également être " "disponibles :" -#: library/os.rst:2663 +#: library/os.rst:2664 msgid "Real size of the file." msgstr "Taillé réelle du fichier." -#: library/os.rst:2667 +#: library/os.rst:2668 msgid "Creator of the file." msgstr "Créateur du fichier." -#: library/os.rst:2671 +#: library/os.rst:2672 msgid "File type." msgstr "Type du fichier." -#: library/os.rst:2673 +#: library/os.rst:2674 #, fuzzy msgid "On Windows systems, the following attributes are also available:" msgstr "" "Sur les systèmes Windows, les attributs suivants sont également disponibles :" -#: library/os.rst:2677 +#: library/os.rst:2678 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:" @@ -3864,14 +3866,14 @@ msgstr "" "`GetileInformationByHandle`. Soir les constantes ``FILE_ATTRIBUTE_*`` du " "module :mod:`stat`." -#: library/os.rst:2684 +#: library/os.rst:2685 msgid "" "When :attr:`st_file_attributes` has the ``FILE_ATTRIBUTE_REPARSE_POINT`` " "set, this field contains the tag identifying the type of reparse point. See " "the ``IO_REPARSE_TAG_*`` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:2688 +#: library/os.rst:2689 msgid "" "The standard module :mod:`stat` defines functions and constants that are " "useful for extracting information from a :c:type:`stat` structure. (On " @@ -3881,7 +3883,7 @@ msgstr "" "sont utiles pour l'extraction d'informations d'une structure :c:type:`stat`. " "(Sur Windows, certains éléments sont remplis avec des valeurs factices.)" -#: library/os.rst:2692 +#: library/os.rst:2693 msgid "" "For backward compatibility, a :class:`stat_result` instance is also " "accessible as a tuple of at least 10 integers giving the most important (and " @@ -3903,7 +3905,7 @@ msgstr "" "élément de type :class:`stat_result` comme un *n*-uplet donne toujours des " "entiers." -#: library/os.rst:2701 +#: library/os.rst:2702 msgid "" "Added the :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns` " "members." @@ -3911,32 +3913,32 @@ msgstr "" "Les attributs :attr:`st_atime_ns`, :attr:`st_mtime_ns`, et :attr:" "`st_ctime_ns` ont été ajoutés." -#: library/os.rst:2705 +#: library/os.rst:2706 msgid "Added the :attr:`st_file_attributes` member on Windows." msgstr "L'attribut :attr:`st_file_attributes` a été ajouté sur Windows." -#: library/os.rst:2708 +#: library/os.rst:2709 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" "Windows renvoie maintenant l'index du fichier dans l'attribut :attr:" "`st_ino`, lorsqu'il est disponible." -#: library/os.rst:2712 +#: library/os.rst:2713 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "Ajout de l'attribut :attr:`st_fstype` sur Solaris et dérivés." -#: library/os.rst:2715 +#: library/os.rst:2716 #, fuzzy msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "L'attribut :attr:`st_file_attributes` a été ajouté sur Windows." -#: library/os.rst:2718 +#: library/os.rst:2719 msgid "" "On Windows, the :attr:`st_mode` member now identifies special files as :" "const:`S_IFCHR`, :const:`S_IFIFO` or :const:`S_IFBLK` as appropriate." msgstr "" -#: library/os.rst:2725 +#: library/os.rst:2726 msgid "" "Perform a :c:func:`statvfs` system call on the given path. The return value " "is an object whose attributes describe the filesystem on the given path, and " @@ -3953,7 +3955,7 @@ msgstr "" "`f_ffree`, :attr:`f_favail`, :attr:`f_flag`, :attr:`f_namemax`, :attr:" "`f_fsid`." -#: library/os.rst:2732 +#: library/os.rst:2733 msgid "" "Two module-level constants are defined for the :attr:`f_flag` attribute's " "bit-flags: if :const:`ST_RDONLY` is set, the filesystem is mounted read-" @@ -3965,7 +3967,7 @@ msgstr "" "monté en lecture-seule, et si :const:`ST_NOSUID` est activé, la sémantique " "des bits de *setuid* / *getuid* est désactivée ou non gérée." -#: library/os.rst:2737 +#: library/os.rst:2738 msgid "" "Additional module-level constants are defined for GNU/glibc based systems. " "These are :const:`ST_NODEV` (disallow access to device special files), :" @@ -3989,11 +3991,11 @@ msgstr "" "à jour les moments d'accès aux répertoires), :const:`ST_REALTIME` (Met " "*atime* à jour relativement à *mtime* / *ctime*)." -#: library/os.rst:2750 +#: library/os.rst:2751 msgid "The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added." msgstr "Ajout des constantes :const:`ST_RDONLY` et :const:`ST_NOSUID`." -#: library/os.rst:2756 +#: library/os.rst:2757 msgid "" "The :const:`ST_NODEV`, :const:`ST_NOEXEC`, :const:`ST_SYNCHRONOUS`, :const:" "`ST_MANDLOCK`, :const:`ST_WRITE`, :const:`ST_APPEND`, :const:" @@ -4005,11 +4007,11 @@ msgstr "" "`ST_APPEND`, :const:`ST_IMMUTABLE`, :const:`ST_NOATIME`, :const:" "`ST_NODIRATIME`, et :const:`ST_RELATIME`." -#: library/os.rst:2765 +#: library/os.rst:2766 msgid "Added :attr:`f_fsid`." msgstr "Ajout de :attr:`f_fsid`." -#: library/os.rst:2771 +#: library/os.rst:2772 #, fuzzy msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " @@ -4029,7 +4031,7 @@ msgstr "" "toujours de spécifier le paramètre, mais lèvent une exception si la " "fonctionnalité n'est pas réellement accessible." -#: library/os.rst:2781 +#: library/os.rst:2782 #, fuzzy msgid "" "To check whether a particular function accepts an open file descriptor for " @@ -4043,7 +4045,7 @@ msgstr "" "détermine si :func:`os.chdir` accepte un descripteur de fichier ouvert quand " "appelée sur votre plate-forme actuelle ::" -#: library/os.rst:2788 +#: library/os.rst:2789 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." @@ -4051,7 +4053,7 @@ msgstr "" "Actuellement, le paramètre *dir_fd* ne fonctionne que sur les plate-formes " "Unix. Il ne fonctionne jamais sur Windows." -#: library/os.rst:2796 +#: library/os.rst:2797 #, fuzzy msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " @@ -4065,13 +4067,13 @@ msgstr "" "func:`os.access`. Si la plate-forme le gère, la collection contiendra :func:" "`os.access`, sinon elle sera vide." -#: library/os.rst:2802 +#: library/os.rst:2803 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" msgstr "" -#: library/os.rst:2807 +#: library/os.rst:2808 #, fuzzy msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " @@ -4080,7 +4082,7 @@ msgstr "" "Actuellement, *effective_ids* ne fonctionne que sur les plate-formes Unix, " "ça ne fonctionne pas sur Windows." -#: library/os.rst:2815 +#: library/os.rst:2816 #, fuzzy msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " @@ -4098,7 +4100,7 @@ msgstr "" "mais elles lèveront une exception si la fonctionnalité n'est pas réellement " "disponible." -#: library/os.rst:2822 +#: library/os.rst:2823 #, fuzzy msgid "" "To determine whether a particular function permits specifying an open file " @@ -4113,7 +4115,7 @@ msgstr "" "détermine si :func:`os.chdir` accepte un descripteur de fichier ouvert quand " "appelée sur votre plate-forme actuelle ::" -#: library/os.rst:2835 +#: library/os.rst:2836 #, fuzzy msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " @@ -4134,7 +4136,7 @@ msgstr "" "permettent toujours de spécifier le paramètre, mais lèvent une exception si " "la fonctionnalité n'est pas réellement disponible." -#: library/os.rst:2845 +#: library/os.rst:2846 #, fuzzy msgid "" "To check whether a particular function accepts ``False`` for its " @@ -4148,11 +4150,11 @@ msgstr "" "``supports_follow_symlinks``. Par exemple, cette expression détermine si le " "paramètre *follow_symlink* de :func:`os.stat` est disponible ::" -#: library/os.rst:2858 +#: library/os.rst:2859 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "Crée un lien symbolique pointant vers *src* et appelé *dst*." -#: library/os.rst:2860 +#: library/os.rst:2861 msgid "" "On Windows, a symlink represents either a file or a directory, and does not " "morph to the target dynamically. If the target is present, the type of the " @@ -4168,7 +4170,7 @@ msgstr "" "symbolique sera créé comme un répertoire, sinon comme un fichier (par " "défaut). Sur les autres plateformes, *target_id_directory* est ignoré." -#: library/os.rst:2871 +#: library/os.rst:2872 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -4176,20 +4178,20 @@ msgid "" "must be run as an administrator." msgstr "" -#: library/os.rst:2877 +#: library/os.rst:2878 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" ":exc:`OSError` est levée quand la fonction est appelée par un utilisateur " "sans privilèges." -#: library/os.rst:2880 +#: library/os.rst:2881 msgid "" "Raises an :ref:`auditing event ` ``os.symlink`` with arguments " "``src``, ``dst``, ``dir_fd``." msgstr "" -#: library/os.rst:2887 +#: library/os.rst:2888 msgid "" "Added the *dir_fd* argument, and now allow *target_is_directory* on non-" "Windows platforms." @@ -4197,15 +4199,15 @@ msgstr "" "Ajout de l'argument *dir_fd* et maintenant, permission de " "*target_is_directory* sur les plate-formes non Windows." -#: library/os.rst:2894 +#: library/os.rst:2895 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" -#: library/os.rst:2900 +#: library/os.rst:2901 msgid "Force write of everything to disk." msgstr "Force l'écriture de tout sur le disque." -#: library/os.rst:2909 +#: library/os.rst:2910 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." @@ -4213,13 +4215,13 @@ msgstr "" "Tronque le fichier correspondant à *path*, afin qu'il soit au maximum long " "de *length* bytes." -#: library/os.rst:2914 +#: library/os.rst:2915 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``path``, ``length``." msgstr "" -#: library/os.rst:2929 +#: library/os.rst:2930 msgid "" "Remove (delete) the file *path*. This function is semantically identical " "to :func:`remove`; the ``unlink`` name is its traditional Unix name. Please " @@ -4229,13 +4231,13 @@ msgstr "" "identique à :func:`remove`. Le nom ``unlink`` est un nom Unix traditionnel. " "Veuillez voir la documentation de :func:`remove` pour plus d'informations." -#: library/os.rst:2945 +#: library/os.rst:2946 msgid "Set the access and modified times of the file specified by *path*." msgstr "" "Voir les derniers moments d'accès et de modification du fichier spécifiés " "par *path*." -#: library/os.rst:2947 +#: library/os.rst:2948 msgid "" ":func:`utime` takes two optional parameters, *times* and *ns*. These specify " "the times set on *path* and are used as follows:" @@ -4243,7 +4245,7 @@ msgstr "" "La fonction :func:`utime` prend deux paramètres optionnels, *times* et *ns*. " "Ils spécifient le temps mis pour *path* et est utilisé comme suit :" -#: library/os.rst:2950 +#: library/os.rst:2951 msgid "" "If *ns* is specified, it must be a 2-tuple of the form ``(atime_ns, " "mtime_ns)`` where each member is an int expressing nanoseconds." @@ -4251,7 +4253,7 @@ msgstr "" "Si *ns* est spécifié, ce doit être un couple de la forme ``(atime_ns, " "mtime_ns)`` où chaque membre est un entier qui exprime des nanosecondes." -#: library/os.rst:2953 +#: library/os.rst:2954 msgid "" "If *times* is not ``None``, it must be a 2-tuple of the form ``(atime, " "mtime)`` where each member is an int or float expressing seconds." @@ -4260,7 +4262,7 @@ msgstr "" "``(atime, mtime)`` où chaque membre est un entier ou une expression à " "virgule flottante." -#: library/os.rst:2956 +#: library/os.rst:2957 msgid "" "If *times* is ``None`` and *ns* is unspecified, this is equivalent to " "specifying ``ns=(atime_ns, mtime_ns)`` where both times are the current time." @@ -4269,12 +4271,12 @@ msgstr "" "spécifier ``ns = (atime_ns, mtime_ns)`` où les deux moments sont le moment " "actuel." -#: library/os.rst:2960 +#: library/os.rst:2961 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "" "Il est erroné de spécifier des *n*-uplets pour *times* et *ns* à la fois." -#: library/os.rst:2962 +#: library/os.rst:2963 #, fuzzy msgid "" "Note that the exact times you set here may not be returned by a subsequent :" @@ -4294,13 +4296,13 @@ msgstr "" "*st_atime_ns* et *st_mtime_ns* de l'objet résultat de la fonction :func:`os." "stat` avec le paramètre *ns* valant `utime`." -#: library/os.rst:2973 +#: library/os.rst:2974 msgid "" "Raises an :ref:`auditing event ` ``os.utime`` with arguments " "``path``, ``times``, ``ns``, ``dir_fd``." msgstr "" -#: library/os.rst:2975 +#: library/os.rst:2976 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." @@ -4308,7 +4310,7 @@ msgstr "" "Ajoute la prise en charge d'un descripteur de fichier pour *path* et des " "paramètres *dir_fd*, *follow_symlinks* et *ns*." -#: library/os.rst:2989 +#: library/os.rst:2990 msgid "" "Generate the file names in a directory tree by walking the tree either top-" "down or bottom-up. For each directory in the tree rooted at directory *top* " @@ -4320,7 +4322,7 @@ msgstr "" "l'arbre enraciné en le répertoire *rop* (incluant ledit répertoire *top*), " "fournit un triplet ``(dirpath, dirnames, filenames)``." -#: library/os.rst:2994 +#: library/os.rst:2995 #, fuzzy msgid "" "*dirpath* is a string, the path to the directory. *dirnames* is a list of " @@ -4341,7 +4343,7 @@ msgstr "" "(qui commence à *top*) vers un répertoire dans *dirpath*, faites ``os.path." "join(dirpath, name)``." -#: library/os.rst:3004 +#: library/os.rst:3005 msgid "" "If optional argument *topdown* is ``True`` or not specified, the triple for " "a directory is generated before the triples for any of its subdirectories " @@ -4360,7 +4362,7 @@ msgstr "" "avant que les *n*-uplets pour le répertoires et ses sous-répertoires ne " "soient générés." -#: library/os.rst:3012 +#: library/os.rst:3013 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -4383,7 +4385,7 @@ msgstr "" "parce qu'en mode bas-en-haut, les répertoires dans *dirnames* sont générés " "avant que *dirpath* ne soit lui-même généré." -#: library/os.rst:3021 +#: library/os.rst:3022 msgid "" "By default, errors from the :func:`scandir` call are ignored. If optional " "argument *onerror* is specified, it should be a function; it will be called " @@ -4399,7 +4401,7 @@ msgstr "" "avorter le parcours. Notez que le nom de fichier est disponible dans " "l'attribut ``filename`` de l'objet exception." -#: library/os.rst:3027 +#: library/os.rst:3028 msgid "" "By default, :func:`walk` will not walk down into symbolic links that resolve " "to directories. Set *followlinks* to ``True`` to visit directories pointed " @@ -4409,7 +4411,7 @@ msgstr "" "un répertoire. Définissez *followlinks* avec ``True`` pour visiter les " "répertoires pointés par des liens symboliques sur les systèmes qui le gère." -#: library/os.rst:3033 +#: library/os.rst:3034 msgid "" "Be aware that setting *followlinks* to ``True`` can lead to infinite " "recursion if a link points to a parent directory of itself. :func:`walk` " @@ -4419,7 +4421,7 @@ msgstr "" "récursion infinie si un lien pointe vers un répertoire parent de lui-même. :" "func:`walk` ne garde pas de trace des répertoires qu'il a déjà visité." -#: library/os.rst:3039 +#: library/os.rst:3040 msgid "" "If you pass a relative pathname, don't change the current working directory " "between resumptions of :func:`walk`. :func:`walk` never changes the current " @@ -4429,7 +4431,7 @@ msgstr "" "actuel entre deux exécutions de :func:`walk`. :func:`walk` ne change jamais " "le répertoire actuel, et suppose que l'appelant ne le fait pas non plus." -#: library/os.rst:3104 +#: library/os.rst:3105 msgid "" "This example displays the number of bytes taken by non-directory files in " "each directory under the starting directory, except that it doesn't look " @@ -4439,7 +4441,7 @@ msgstr "" "dans chaque répertoire à partir du répertoire de départ, si ce n'est qu'il " "ne cherche pas après un sous-répertoire CSV ::" -#: library/os.rst:3056 +#: library/os.rst:3057 msgid "" "In the next example (simple implementation of :func:`shutil.rmtree`), " "walking the tree bottom-up is essential, :func:`rmdir` doesn't allow " @@ -4449,13 +4451,13 @@ msgstr "" "parcourir l'arbre de bas-en-haut est essentiel : :func:`rmdir` ne permet pas " "de supprimer un répertoire avant qu'un ne soit vide ::" -#: library/os.rst:3071 +#: library/os.rst:3072 msgid "" "Raises an :ref:`auditing event ` ``os.walk`` with arguments " "``top``, ``topdown``, ``onerror``, ``followlinks``." msgstr "" -#: library/os.rst:3073 +#: library/os.rst:3074 msgid "" "This function now calls :func:`os.scandir` instead of :func:`os.listdir`, " "making it faster by reducing the number of calls to :func:`os.stat`." @@ -4464,7 +4466,7 @@ msgstr "" "listdir`, ce qui la rend plus rapide en réduisant le nombre d'appels à :func:" "`os.stat`." -#: library/os.rst:3087 +#: library/os.rst:3088 msgid "" "This behaves exactly like :func:`walk`, except that it yields a 4-tuple " "``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``." @@ -4472,7 +4474,7 @@ msgstr "" "Se comporte exactement comme :func:`walk`, si ce n'est qu'il fournit un " "quadruplet ``(dirpath, dirnames, filenames, dirfd)``, et gère ``dir_fd``." -#: library/os.rst:3090 +#: library/os.rst:3091 msgid "" "*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, " "and *dirfd* is a file descriptor referring to the directory *dirpath*." @@ -4481,7 +4483,7 @@ msgstr "" "`walk` et *dirfd* est un descripteur de fichier faisant référence au " "répertoire *dirpath*." -#: library/os.rst:3093 +#: library/os.rst:3094 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -4494,7 +4496,7 @@ msgstr "" "fonctions, la valeur par défaut de *follow_symlinks* pour :func:`walk` est " "``False``." -#: library/os.rst:3100 +#: library/os.rst:3101 msgid "" "Since :func:`fwalk` yields file descriptors, those are only valid until the " "next iteration step, so you should duplicate them (e.g. with :func:`dup`) if " @@ -4504,7 +4506,7 @@ msgstr "" "valides que jusque la prochaine itération. Donc vous devriez les dupliquer " "(par exemple avec :func:`dup`) si vous désirez les garder plus longtemps." -#: library/os.rst:3117 +#: library/os.rst:3118 msgid "" "In the next example, walking the tree bottom-up is essential: :func:`rmdir` " "doesn't allow deleting a directory before the directory is empty::" @@ -4513,17 +4515,17 @@ msgstr "" "func:`rmdir` ne permet pas de supprimer un répertoire avant qu'il ne soit " "vide ::" -#: library/os.rst:3132 +#: library/os.rst:3133 msgid "" "Raises an :ref:`auditing event ` ``os.fwalk`` with arguments " "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." msgstr "" -#: library/os.rst:3141 +#: library/os.rst:3142 msgid "Added support for :class:`bytes` paths." msgstr "Ajout de la gestion des chemins de type :class:`bytes`." -#: library/os.rst:3147 +#: library/os.rst:3148 msgid "" "Create an anonymous file and return a file descriptor that refers to it. " "*flags* must be one of the ``os.MFD_*`` constants available on the system " @@ -4531,7 +4533,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:3152 +#: library/os.rst:3153 msgid "" "The name supplied in *name* is used as a filename and will be displayed as " "the target of the corresponding symbolic link in the directory ``/proc/self/" @@ -4541,7 +4543,7 @@ msgid "" "side effects." msgstr "" -#: library/os.rst:3160 +#: library/os.rst:3161 msgid "" ":ref:`Availability `: Linux 3.17 or newer with glibc 2.27 or " "newer." @@ -4549,11 +4551,11 @@ msgstr "" ":ref:`Disponibilité ` : Linux 3.17 ou plus récent avec glibc " "2.27 ou plus récente." -#: library/os.rst:3182 +#: library/os.rst:3183 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: library/os.rst:3186 +#: library/os.rst:3187 #, fuzzy msgid "" ":ref:`Availability `: Linux 3.17 or newer with glibc 2.27 or " @@ -4563,15 +4565,15 @@ msgstr "" "6.0 et plus récent, OpenBSD 2.7 et plus récent. L'utilisation de *flags* " "requiert Linux 4.6 ou plus récent." -#: library/os.rst:3191 +#: library/os.rst:3192 msgid "Linux extended attributes" msgstr "Attributs étendus pour Linux" -#: library/os.rst:3195 +#: library/os.rst:3196 msgid "These functions are all available on Linux only." msgstr "Toutes ces fonctions ne sont disponibles que sur Linux." -#: library/os.rst:3199 +#: library/os.rst:3200 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through the :" @@ -4584,17 +4586,17 @@ msgstr "" "`PathLike`). Si c'est une chaîne de caractères, elle est encodée avec " "l'encodage du système de fichiers." -#: library/os.rst:3207 +#: library/os.rst:3208 msgid "" "Raises an :ref:`auditing event ` ``os.getxattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3241 library/os.rst:3266 +#: library/os.rst:3242 library/os.rst:3267 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "Accepte un :term:`path-like object` pour *path* et *attribute*." -#: library/os.rst:3215 +#: library/os.rst:3216 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -4606,13 +4608,13 @@ msgstr "" "sont décodés avec l'encodage du système de fichier. Si *path* vaut " "``None``, :func:`listxattr` examinera le répertoire actuel." -#: library/os.rst:3223 +#: library/os.rst:3224 msgid "" "Raises an :ref:`auditing event ` ``os.listxattr`` with argument " "``path``." msgstr "" -#: library/os.rst:3231 +#: library/os.rst:3232 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through the :" @@ -4625,22 +4627,23 @@ msgstr "" "c'est une chaîne de caractères, elle est encodée avec l'encodage du système " "de fichiers." -#: library/os.rst:3239 +#: library/os.rst:3240 msgid "" "Raises an :ref:`auditing event ` ``os.removexattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3247 +#: library/os.rst:3248 +#, fuzzy msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " "indirectly through the :class:`PathLike` interface). If it is a str, it is " "encoded with the filesystem encoding. *flags* may be :data:`XATTR_REPLACE` " "or :data:`XATTR_CREATE`. If :data:`XATTR_REPLACE` is given and the attribute " -"does not exist, ``EEXISTS`` will be raised. If :data:`XATTR_CREATE` is given " +"does not exist, ``ENODATA`` will be raised. If :data:`XATTR_CREATE` is given " "and the attribute already exists, the attribute will not be created and " -"``ENODATA`` will be raised." +"``EEXISTS`` will be raised." msgstr "" "Règle l'attribut étendu *attribute* du système de fichier pour le chemin " "*path* à *value*. *attribute* doit être une chaîne de caractères ou d'octets " @@ -4652,7 +4655,7 @@ msgstr "" "donné et que l'attribut existe déjà, l'attribut ne sera pas créé et " "``ENODATA`` sera levée." -#: library/os.rst:3261 +#: library/os.rst:3262 msgid "" "A bug in Linux kernel versions less than 2.6.39 caused the flags argument to " "be ignored on some filesystems." @@ -4660,13 +4663,13 @@ msgstr "" "Un bogue des versions inférieures à 2.6.39 du noyau Linux faisait que les " "marqueurs de *flags* étaient ignorés sur certains systèmes." -#: library/os.rst:3264 +#: library/os.rst:3265 msgid "" "Raises an :ref:`auditing event ` ``os.setxattr`` with arguments " "``path``, ``attribute``, ``value``, ``flags``." msgstr "" -#: library/os.rst:3272 +#: library/os.rst:3273 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." @@ -4674,7 +4677,7 @@ msgstr "" "La taille maximum que peut faire la valeur d'un attribut étendu. " "Actuellement, c'est 64 KiB sur Lniux." -#: library/os.rst:3278 +#: library/os.rst:3279 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must create an attribute." @@ -4682,7 +4685,7 @@ msgstr "" "C'est une valeur possible pour l'argument *flags* de :func:`setxattr`. Elle " "indique que l'opération doit créer un attribut." -#: library/os.rst:3284 +#: library/os.rst:3285 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must replace an existing attribute." @@ -4690,16 +4693,16 @@ msgstr "" "C'est une valeur possible pour l'argument *flags* de :func:`setxattr`.Elle " "indique que l'opération doit remplacer un attribut existant." -#: library/os.rst:3291 +#: library/os.rst:3292 msgid "Process Management" msgstr "Gestion des processus" -#: library/os.rst:3293 +#: library/os.rst:3294 msgid "These functions may be used to create and manage processes." msgstr "" "Ces fonctions peuvent être utilisées pour créer et gérer des processus." -#: library/os.rst:3295 +#: library/os.rst:3296 msgid "" "The various :func:`exec\\* ` functions take a list of arguments for " "the new program loaded into the process. In each case, the first of these " @@ -4718,7 +4721,7 @@ msgstr "" "exemple, ``os.execv('/bin/echo/', ['foo', 'bar'])`` affichera uniquement " "``bar`` sur la sortie standard ; ``foo`` semblera être ignoré." -#: library/os.rst:3306 +#: library/os.rst:3307 msgid "" "Generate a :const:`SIGABRT` signal to the current process. On Unix, the " "default behavior is to produce a core dump; on Windows, the process " @@ -4732,37 +4735,37 @@ msgstr "" "Attention : appeler cette fonction n'appellera pas le gestionnaire de signal " "Python enregistré par :const:`SIGABRT` à l'aide de :func:`signal.signal`." -#: library/os.rst:3315 +#: library/os.rst:3316 msgid "Add a path to the DLL search path." msgstr "" -#: library/os.rst:3317 +#: library/os.rst:3318 msgid "" "This search path is used when resolving dependencies for imported extension " "modules (the module itself is resolved through sys.path), and also by :mod:" "`ctypes`." msgstr "" -#: library/os.rst:3321 +#: library/os.rst:3322 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." msgstr "" -#: library/os.rst:3324 +#: library/os.rst:3325 msgid "" "See the `Microsoft documentation `_ for more information about how " "DLLs are loaded." msgstr "" -#: library/os.rst:3328 +#: library/os.rst:3329 msgid "" "Raises an :ref:`auditing event ` ``os.add_dll_directory`` with " "argument ``path``." msgstr "" -#: library/os.rst:3332 +#: library/os.rst:3333 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -4770,14 +4773,14 @@ msgid "" "such as ``AddDllDirectory`` having no effect." msgstr "" -#: library/os.rst:3339 +#: library/os.rst:3340 msgid "" "In 3.8, the two primary ways DLLs are loaded now explicitly override the " "process-wide behavior to ensure consistency. See the :ref:`porting notes " "` for information on updating libraries." msgstr "" -#: library/os.rst:3354 +#: library/os.rst:3355 msgid "" "These functions all execute a new program, replacing the current process; " "they do not return. On Unix, the new executable is loaded into the current " @@ -4789,7 +4792,7 @@ msgstr "" "dans le processus actuel, et aura le même identifiant de processus (PID) que " "l'appelant. Les erreurs seront reportées par des exceptions :exc:`OSError`." -#: library/os.rst:3359 +#: library/os.rst:3360 msgid "" "The current process is replaced immediately. Open file objects and " "descriptors are not flushed, so if there may be data buffered on these open " @@ -4802,7 +4805,7 @@ msgstr "" "manuellement en utilisant :func:`sys.stdout.flush` ou :func:`os.fsync` avant " "d'appeler une fonction :func:`exec\\* `." -#: library/os.rst:3365 +#: library/os.rst:3366 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " @@ -4825,7 +4828,7 @@ msgstr "" "devraient commencer avec le nom de la commande à lancer, mais ce n'est pas " "obligatoire." -#: library/os.rst:3374 +#: library/os.rst:3375 msgid "" "The variants which include a \"p\" near the end (:func:`execlp`, :func:" "`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the :envvar:`PATH` " @@ -4848,7 +4851,7 @@ msgstr "" "localiser l'exécutable. *path* doit contenir un chemin absolue ou relatif " "approprié." -#: library/os.rst:3384 +#: library/os.rst:3385 msgid "" "For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -4865,7 +4868,7 @@ msgstr "" "`execlp`, :func:`execv`, et :func:`execvp` causent toutes un héritage de " "l'environnement du processus actuel par le processus fils." -#: library/os.rst:3391 +#: library/os.rst:3392 msgid "" "For :func:`execve` on some platforms, *path* may also be specified as an " "open file descriptor. This functionality may not be supported on your " @@ -4879,13 +4882,13 @@ msgstr "" "disponible en utilisant :data:`os._supports_fd`. Si c'est indisponible, " "l'utiliser lèvera une :exc:`NotImplementedError`." -#: library/os.rst:3396 +#: library/os.rst:3397 msgid "" "Raises an :ref:`auditing event ` ``os.exec`` with arguments " "``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:3400 +#: library/os.rst:3401 #, fuzzy msgid "" "Added support for specifying *path* as an open file descriptor for :func:" @@ -4894,7 +4897,7 @@ msgstr "" "Prise en charge de la spécification d'un descripteur de fichier ouvert pour " "*path* pour :func:`execve`." -#: library/os.rst:3409 +#: library/os.rst:3410 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." @@ -4902,7 +4905,7 @@ msgstr "" "Quitte le processus avec le statut *n*, sans appeler les gestionnaires de " "nettoyage, sans purger les tampons des fichiers, etc." -#: library/os.rst:3414 +#: library/os.rst:3415 msgid "" "The standard way to exit is ``sys.exit(n)``. :func:`_exit` should normally " "only be used in the child process after a :func:`fork`." @@ -4911,7 +4914,7 @@ msgstr "" "normalement être utilisé uniquement par le processus fils après un :func:" "`fork`." -#: library/os.rst:3417 +#: library/os.rst:3418 msgid "" "The following exit codes are defined and can be used with :func:`_exit`, " "although they are not required. These are typically used for system " @@ -4923,7 +4926,7 @@ msgstr "" "utilisés pour les programmes systèmes écrits en Python, comme un programme " "de gestion de l'exécution des commandes d'un serveur de mails." -#: library/os.rst:3423 +#: library/os.rst:3424 msgid "" "Some of these may not be available on all Unix platforms, since there is " "some variation. These constants are defined where they are defined by the " @@ -4933,11 +4936,11 @@ msgstr "" "plate-formes Unix étant donné qu'il en existe des variations. Ces constantes " "sont définies là où elles sont définies par la plate-forme sous-jacente." -#: library/os.rst:3430 +#: library/os.rst:3431 msgid "Exit code that means no error occurred." msgstr "Code de sortie signifiant qu'aucune erreur n'est arrivée." -#: library/os.rst:3437 +#: library/os.rst:3438 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." @@ -4945,36 +4948,36 @@ msgstr "" "Code de sortie signifiant que les commandes n'ont pas été utilisées " "correctement, comme quand le mauvais nombre d'arguments a été donné." -#: library/os.rst:3445 +#: library/os.rst:3446 msgid "Exit code that means the input data was incorrect." msgstr "" "Code de sortie signifiant que les données en entrées étaient incorrectes." -#: library/os.rst:3452 +#: library/os.rst:3453 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" "Code de sortie signifiant qu'un des fichiers d'entrée n'existe pas ou n'est " "pas lisible." -#: library/os.rst:3459 +#: library/os.rst:3460 msgid "Exit code that means a specified user did not exist." msgstr "Code de sortie signifiant qu'un utilisateur spécifié n'existe pas." -#: library/os.rst:3466 +#: library/os.rst:3467 msgid "Exit code that means a specified host did not exist." msgstr "Code de sortie signifiant qu'un hôte spécifié n'existe pas." -#: library/os.rst:3473 +#: library/os.rst:3474 msgid "Exit code that means that a required service is unavailable." msgstr "Code de sortie signifiant qu'un service requis n'est pas disponible." -#: library/os.rst:3480 +#: library/os.rst:3481 msgid "Exit code that means an internal software error was detected." msgstr "" "Code de sortie signifiant qu'une erreur interne d'un programme a été " "détectée." -#: library/os.rst:3487 +#: library/os.rst:3488 msgid "" "Exit code that means an operating system error was detected, such as the " "inability to fork or create a pipe." @@ -4983,7 +4986,7 @@ msgstr "" "détectée, comme l'incapacité à réaliser un *fork* ou à créer un tuyau " "(*pipe*)." -#: library/os.rst:3495 +#: library/os.rst:3496 msgid "" "Exit code that means some system file did not exist, could not be opened, or " "had some other kind of error." @@ -4991,20 +4994,20 @@ msgstr "" "Code de sortie signifiant qu'un fichier n'existe pas, n'a pas pu être " "ouvert, ou avait une autre erreur." -#: library/os.rst:3503 +#: library/os.rst:3504 msgid "Exit code that means a user specified output file could not be created." msgstr "" "Code de sortie signifiant qu'un fichier spécifié par l'utilisateur n'a pas " "pu être créé." -#: library/os.rst:3510 +#: library/os.rst:3511 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" "Code de sortie signifiant qu'une erreur est apparue pendant une E/S sur un " "fichier." -#: library/os.rst:3517 +#: library/os.rst:3518 msgid "" "Exit code that means a temporary failure occurred. This indicates something " "that may not really be an error, such as a network connection that couldn't " @@ -5014,7 +5017,7 @@ msgstr "" "quelque chose qui pourrait ne pas être une erreur, comme une connexion au " "réseau qui n'a pas pu être établie pendant une opération réessayable." -#: library/os.rst:3526 +#: library/os.rst:3527 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." @@ -5022,7 +5025,7 @@ msgstr "" "Code de sortie signifiant qu'un protocole d'échange est illégal, invalide, " "ou non-compris." -#: library/os.rst:3534 +#: library/os.rst:3535 msgid "" "Exit code that means that there were insufficient permissions to perform the " "operation (but not intended for file system problems)." @@ -5030,17 +5033,17 @@ msgstr "" "Code de sortie signifiant qu'il manque certaines permissions pour réaliser " "une opération (mais n'est pas destiné au problèmes de système de fichiers)." -#: library/os.rst:3542 +#: library/os.rst:3543 msgid "Exit code that means that some kind of configuration error occurred." msgstr "Code de sortie signifiant qu'une erreur de configuration est apparue." -#: library/os.rst:3549 +#: library/os.rst:3550 msgid "Exit code that means something like \"an entry was not found\"." msgstr "" "Code de sortie signifiant quelque chose comme « une entrée n'a pas été " "trouvée »." -#: library/os.rst:3556 +#: library/os.rst:3557 msgid "" "Fork a child process. Return ``0`` in the child and the child's process id " "in the parent. If an error occurs :exc:`OSError` is raised." @@ -5049,7 +5052,7 @@ msgstr "" "processus fils dans le processus père. Si une erreur apparaît, une :exc:" "`OSError` est levée." -#: library/os.rst:3559 +#: library/os.rst:3560 #, fuzzy msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " @@ -5058,24 +5061,24 @@ msgstr "" "Notez que certaines plate-formes (dont FreeBSD <= 6.3 et Cygwin) ont des " "problèmes connus lors d'utilisation de *fork()* depuis un fil d'exécution." -#: library/os.rst:3562 +#: library/os.rst:3563 msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: library/os.rst:3564 +#: library/os.rst:3565 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3570 +#: library/os.rst:3571 msgid "See :mod:`ssl` for applications that use the SSL module with fork()." msgstr "" "Voit :mod:`ssl` pour les application qui utilisent le module SSL avec " "*fork()*." -#: library/os.rst:3577 +#: library/os.rst:3578 msgid "" "Fork a child process, using a new pseudo-terminal as the child's controlling " "terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, " @@ -5090,18 +5093,18 @@ msgstr "" "approche plus portable, utilisez le module :mod:`pty`. Si une erreur " "apparaît, une :exc:`OSError` est levée." -#: library/os.rst:3583 +#: library/os.rst:3584 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: library/os.rst:3585 +#: library/os.rst:3586 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3598 +#: library/os.rst:3599 msgid "" "Send signal *sig* to the process *pid*. Constants for the specific signals " "available on the host platform are defined in the :mod:`signal` module." @@ -5109,7 +5112,7 @@ msgstr "" "Envoie le signal *sig* au processus *pid*. Les constantes pour les signaux " "spécifiques à la plate-forme hôte sont définies dans le module :mod:`signal`." -#: library/os.rst:3601 +#: library/os.rst:3602 msgid "" "Windows: The :data:`signal.CTRL_C_EVENT` and :data:`signal.CTRL_BREAK_EVENT` " "signals are special signals which can only be sent to console processes " @@ -5126,37 +5129,37 @@ msgstr "" "sera mis à *sig*. La version Windows de :func:`kill` prend en plus les " "identificateurs de processus à tuer." -#: library/os.rst:3609 +#: library/os.rst:3610 msgid "See also :func:`signal.pthread_kill`." msgstr "Voir également :func:`signal.pthread_kill`." -#: library/os.rst:3611 +#: library/os.rst:3612 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." msgstr "" -#: library/os.rst:3613 +#: library/os.rst:3614 msgid "Windows support." msgstr "Prise en charge de Windows." -#: library/os.rst:3623 +#: library/os.rst:3624 msgid "Send the signal *sig* to the process group *pgid*." msgstr "Envoie le signal *sig* au groupe de processus *pgid*." -#: library/os.rst:3625 +#: library/os.rst:3626 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." msgstr "" -#: library/os.rst:3632 +#: library/os.rst:3633 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" "Ajoute *increment* à la priorité du processus. Renvoie la nouvelle priorité." -#: library/os.rst:3639 +#: library/os.rst:3640 msgid "" "Return a file descriptor referring to the process *pid*. This descriptor " "can be used to perform process management without races and signals. The " @@ -5164,16 +5167,16 @@ msgid "" "currently defined." msgstr "" -#: library/os.rst:3644 +#: library/os.rst:3645 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: library/os.rst:3646 +#: library/os.rst:3647 #, fuzzy msgid ":ref:`Availability `: Linux 5.3+" msgstr ":ref:`Disponibilité ` : Unix." -#: library/os.rst:3652 +#: library/os.rst:3653 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." @@ -5181,7 +5184,7 @@ msgstr "" "Verrouille les segments du programme en mémoire. La valeur de *op* (définie " "dans ````) détermine quels segments sont verrouillés." -#: library/os.rst:3660 +#: library/os.rst:3661 msgid "" "Open a pipe to or from command *cmd*. The return value is an open file " "object connected to the pipe, which can be read or written depending on " @@ -5197,7 +5200,7 @@ msgstr "" "`open`. L'objet fichier renvoyé écrit (ou lit) des chaînes de caractères et " "non de bytes." -#: library/os.rst:3667 +#: library/os.rst:3668 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -5218,14 +5221,14 @@ msgstr "" "été tué). Sur les systèmes Windows, la valeur de retour contient le code de " "retour du processus fils dans un entier signé ." -#: library/os.rst:3677 +#: library/os.rst:3678 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the ``close`` " "method result (exit status) into an exit code if it is not ``None``. On " "Windows, the ``close`` method result is directly the exit code (or ``None``)." msgstr "" -#: library/os.rst:3682 +#: library/os.rst:3683 msgid "" "This is implemented using :class:`subprocess.Popen`; see that class's " "documentation for more powerful ways to manage and communicate with " @@ -5235,29 +5238,29 @@ msgstr "" "documentation de cette classe pour des méthodes plus puissantes pour gérer " "et communiquer avec des sous-processus." -#: library/os.rst:3691 +#: library/os.rst:3692 msgid "Wraps the :c:func:`posix_spawn` C library API for use from Python." msgstr "" -#: library/os.rst:3693 +#: library/os.rst:3694 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: library/os.rst:3695 +#: library/os.rst:3696 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: library/os.rst:3698 +#: library/os.rst:3699 msgid "" "The *path* parameter is the path to the executable file. The *path* should " "contain a directory. Use :func:`posix_spawnp` to pass an executable file " "without directory." msgstr "" -#: library/os.rst:3702 +#: library/os.rst:3703 msgid "" "The *file_actions* argument may be a sequence of tuples describing actions " "to take on specific file descriptors in the child process between the C " @@ -5266,31 +5269,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: library/os.rst:3710 +#: library/os.rst:3711 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: library/os.rst:3712 +#: library/os.rst:3713 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: library/os.rst:3716 +#: library/os.rst:3717 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: library/os.rst:3718 +#: library/os.rst:3719 msgid "Performs ``os.close(fd)``." msgstr "" -#: library/os.rst:3722 +#: library/os.rst:3723 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: library/os.rst:3724 +#: library/os.rst:3725 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: library/os.rst:3726 +#: library/os.rst:3727 msgid "" "These tuples correspond to the C library :c:func:" "`posix_spawn_file_actions_addopen`, :c:func:" @@ -5299,7 +5302,7 @@ msgid "" "`posix_spawn` call itself." msgstr "" -#: library/os.rst:3732 +#: library/os.rst:3733 msgid "" "The *setpgroup* argument will set the process group of the child to the " "value specified. If the value specified is 0, the child's process group ID " @@ -5308,7 +5311,7 @@ msgid "" "corresponds to the C library :c:data:`POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: library/os.rst:3738 +#: library/os.rst:3739 msgid "" "If the *resetids* argument is ``True`` it will reset the effective UID and " "GID of the child to the real UID and GID of the parent process. If the " @@ -5319,7 +5322,7 @@ msgid "" "library :c:data:`POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: library/os.rst:3746 +#: library/os.rst:3747 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "`posix_spawn`. *setsid* requires :c:data:`POSIX_SPAWN_SETSID` or :c:data:" @@ -5327,7 +5330,7 @@ msgid "" "raised." msgstr "" -#: library/os.rst:3751 +#: library/os.rst:3752 msgid "" "The *setsigmask* argument will set the signal mask to the signal set " "specified. If the parameter is not used, then the child inherits the " @@ -5335,14 +5338,14 @@ msgid "" "`POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: library/os.rst:3756 +#: library/os.rst:3757 msgid "" "The *sigdef* argument will reset the disposition of all signals in the set " "specified. This argument corresponds to the C library :c:data:" "`POSIX_SPAWN_SETSIGDEF` flag." msgstr "" -#: library/os.rst:3760 +#: library/os.rst:3761 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -5352,30 +5355,30 @@ msgid "" "`POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: library/os.rst:3783 +#: library/os.rst:3784 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." msgstr "" -#: library/os.rst:3777 +#: library/os.rst:3778 msgid "Wraps the :c:func:`posix_spawnp` C library API for use from Python." msgstr "" -#: library/os.rst:3779 +#: library/os.rst:3780 msgid "" "Similar to :func:`posix_spawn` except that the system searches for the " "*executable* file in the list of directories specified by the :envvar:`PATH` " "environment variable (in the same way as for ``execvp(3)``)." msgstr "" -#: library/os.rst:3787 +#: library/os.rst:3788 #, fuzzy msgid "" ":ref:`Availability `: See :func:`posix_spawn` documentation." msgstr ":ref:`Disponibilité ` : dérivés récents de Unix." -#: library/os.rst:3793 +#: library/os.rst:3794 msgid "" "Register callables to be executed when a new child process is forked using :" "func:`os.fork` or similar process cloning APIs. The parameters are optional " @@ -5386,12 +5389,12 @@ msgstr "" "clonage de processus. Les paramètres sont optionnels et par mots-clé " "uniquement. Chacun spécifie un point d'appel différent." -#: library/os.rst:3798 +#: library/os.rst:3799 msgid "*before* is a function called before forking a child process." msgstr "" "*before* est une fonction appelée avant de *forker* un processus enfant." -#: library/os.rst:3799 +#: library/os.rst:3800 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." @@ -5399,11 +5402,11 @@ msgstr "" "*after_in_parent* est une fonction appelée depuis le processus parent après " "avoir *forké* un processus enfant." -#: library/os.rst:3801 +#: library/os.rst:3802 msgid "*after_in_child* is a function called from the child process." msgstr "*after_in_child* est une fonction appelée depuis le processus enfant." -#: library/os.rst:3803 +#: library/os.rst:3804 msgid "" "These calls are only made if control is expected to return to the Python " "interpreter. A typical :mod:`subprocess` launch will not trigger them as " @@ -5413,7 +5416,7 @@ msgstr "" "l'interpréteur Python. Un lancement de :mod:`subprocess` typique ne les " "déclenchera pas, car l'enfant ne ré-entre pas dans l'interpréteur." -#: library/os.rst:3807 +#: library/os.rst:3808 msgid "" "Functions registered for execution before forking are called in reverse " "registration order. Functions registered for execution after forking " @@ -5424,7 +5427,7 @@ msgstr "" "l'exécution après le *fork* (soit dans le parent ou dans l'enfant) sont " "appelées dans l'ordre de leur enregistrement." -#: library/os.rst:3812 +#: library/os.rst:3813 msgid "" "Note that :c:func:`fork` calls made by third-party C code may not call those " "functions, unless it explicitly calls :c:func:`PyOS_BeforeFork`, :c:func:" @@ -5435,15 +5438,15 @@ msgstr "" "explicitement :c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` et :" "c:func:`PyOS_AfterFork_Child`." -#: library/os.rst:3816 +#: library/os.rst:3817 msgid "There is no way to unregister a function." msgstr "Il n'y a aucun moyen d'annuler l'enregistrement d'une fonction." -#: library/os.rst:3832 +#: library/os.rst:3833 msgid "Execute the program *path* in a new process." msgstr "Exécute le programme *path* dans un nouveau processus." -#: library/os.rst:3834 +#: library/os.rst:3835 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -5455,7 +5458,7 @@ msgstr "" "est préférable d'utiliser ce module que ces fonctions. Voyez surtout la " "section :ref:`subprocess-replacements`.)" -#: library/os.rst:3839 +#: library/os.rst:3840 msgid "" "If *mode* is :const:`P_NOWAIT`, this function returns the process id of the " "new process; if *mode* is :const:`P_WAIT`, returns the process's exit code " @@ -5470,13 +5473,13 @@ msgstr "" "en fait l'identificateur du processus (*process handle*) et peut donc être " "utilisé avec la fonction :func:`waitpid`." -#: library/os.rst:3845 +#: library/os.rst:3846 msgid "" "Note on VxWorks, this function doesn't return ``-signal`` when the new " "process is killed. Instead it raises OSError exception." msgstr "" -#: library/os.rst:3848 +#: library/os.rst:3849 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -5498,7 +5501,7 @@ msgstr "" "fils devraient commencer avec le nom de la commande à lancer, mais ce n'est " "pas obligatoire." -#: library/os.rst:3857 +#: library/os.rst:3858 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -5521,7 +5524,7 @@ msgstr "" "envvar:`PATH` pour localiser l'exécutable. *path* doit contenir un chemin " "absolue ou relatif approprié." -#: library/os.rst:3867 +#: library/os.rst:3868 msgid "" "For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -5543,7 +5546,7 @@ msgstr "" "caractères. Des valeurs invalides pour les clefs ou les valeurs met la " "fonction en échec et renvoie ``127``." -#: library/os.rst:3876 +#: library/os.rst:3877 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" @@ -5551,13 +5554,13 @@ msgstr "" "Par exemple, les appels suivants à :func:`spawnlp` et :func:`spawnvpe` sont " "équivalents ::" -#: library/os.rst:3885 +#: library/os.rst:3886 msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " "``mode``, ``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:3891 +#: library/os.rst:3892 msgid "" ":ref:`Availability `: Unix, Windows. :func:`spawnlp`, :func:" "`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are not available on " @@ -5570,7 +5573,7 @@ msgstr "" "appels concurrents (*thread-safe*) sur Windows, il est conseillé d'utiliser " "le module :mod:`subprocess` à la place." -#: library/os.rst:3899 +#: library/os.rst:3900 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:`spawn" @@ -5582,7 +5585,7 @@ msgstr "" "`spawn\\*` sortiront dès que le nouveau processus est créé, avec le PID du " "processus comme valeur de retour." -#: library/os.rst:3909 +#: library/os.rst:3910 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\*` " @@ -5597,7 +5600,7 @@ msgstr "" "l'exécution est effectuée avec succès, ou ``-signal`` si un signal tue le " "processus." -#: library/os.rst:3921 +#: library/os.rst:3922 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -5613,11 +5616,11 @@ msgstr "" "`P_OVERLAY` est utilisé, le processus actuel sera remplacé. La fonction :" "func:`spawn\\* ` ne sort jamais." -#: library/os.rst:3932 +#: library/os.rst:3933 msgid "Start a file with its associated application." msgstr "Lance un fichier avec son application associée." -#: library/os.rst:3934 +#: library/os.rst:3935 msgid "" "When *operation* is not specified or ``'open'``, this acts like double-" "clicking the file in Windows Explorer, or giving the file name as an " @@ -5631,7 +5634,7 @@ msgstr "" "commande interactif : le fichier est ouvert avec l'application associée à " "l'extension (s'il y en a une)." -#: library/os.rst:3939 +#: library/os.rst:3940 msgid "" "When another *operation* is given, it must be a \"command verb\" that " "specifies what should be done with the file. Common verbs documented by " @@ -5644,7 +5647,7 @@ msgstr "" "utilisés sur des fichiers) ainsi que ``'explore'`` et ``'find'`` (qui " "doivent être utilisés sur des répertoires)." -#: library/os.rst:3944 +#: library/os.rst:3945 msgid "" ":func:`startfile` returns as soon as the associated application is launched. " "There is no option to wait for the application to close, and no way to " @@ -5663,7 +5666,7 @@ msgstr "" "Utilisez la fonction :func:`os.path.normpath` pour vous assurer que le " "chemin est encodé correctement pour Win32." -#: library/os.rst:3952 +#: library/os.rst:3953 msgid "" "To reduce interpreter startup overhead, the Win32 :c:func:`ShellExecute` " "function is not resolved until this function is first called. If the " @@ -5674,19 +5677,22 @@ msgstr "" "fonction na pas été appelée. Si la fonction ne peut être interprétée, une :" "exc:`NotImplementedError` est levée." -#: library/os.rst:3956 +#: library/os.rst:3957 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." msgstr "" -#: library/os.rst:3963 +#: library/os.rst:3964 +#, fuzzy msgid "" "Execute the command (a string) in a subshell. This is implemented by " "calling the Standard C function :c:func:`system`, and has the same " "limitations. Changes to :data:`sys.stdin`, etc. are not reflected in the " "environment of the executed command. If *command* generates any output, it " -"will be sent to the interpreter standard output stream." +"will be sent to the interpreter standard output stream. The C standard does " +"not specify the meaning of the return value of the C function, so the return " +"value of the Python function is system-dependent." msgstr "" "Exécute la commande (une chaîne de caractères) dans un sous-invite de " "commandes. C'est implémenté en appelant la fonction standard C :c:func:" @@ -5695,19 +5701,13 @@ msgstr "" "*command* génère une sortie, elle sera envoyée à l'interpréteur standard de " "flux." -#: library/os.rst:3969 +#: library/os.rst:3972 msgid "" "On Unix, the return value is the exit status of the process encoded in the " -"format specified for :func:`wait`. Note that POSIX does not specify the " -"meaning of the return value of the C :c:func:`system` function, so the " -"return value of the Python function is system-dependent." +"format specified for :func:`wait`." msgstr "" -"Sur Unix, la valeur de retour est le statut de sortie du processus encodé " -"dans le format spécifié pour :func:`wait`. Notez que POSIX ne spécifie pas " -"le sens de la valeur de retour de la fonction C :c:func:`system`, donc la " -"valeur de retour de la fonction Python est dépendante du système." -#: library/os.rst:3974 +#: library/os.rst:3975 msgid "" "On Windows, the return value is that returned by the system shell after " "running *command*. The shell is given by the Windows environment variable :" @@ -5722,7 +5722,7 @@ msgstr "" "commande lancée. Sur les systèmes qui utilisent un invite de commande non-" "natif, consultez la documentation propre à l'invite." -#: library/os.rst:3980 +#: library/os.rst:3981 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -5735,20 +5735,20 @@ msgstr "" "ref:`subprocess-replacements` de la documentation du module :mod:" "`subprocess` pour des informations plus précises et utiles." -#: library/os.rst:3985 +#: library/os.rst:3986 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the result " "(exit status) into an exit code. On Windows, the result is directly the exit " "code." msgstr "" -#: library/os.rst:3989 +#: library/os.rst:3990 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: library/os.rst:3996 +#: library/os.rst:3997 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" @@ -5756,27 +5756,27 @@ msgstr "" "Renvoie les temps globaux actuels d'exécution du processus. La valeur de " "retour est un objet avec cinq attributs :" -#: library/os.rst:3999 +#: library/os.rst:4000 msgid ":attr:`user` - user time" msgstr ":attr:`user` — le temps utilisateur" -#: library/os.rst:4000 +#: library/os.rst:4001 msgid ":attr:`system` - system time" msgstr ":attr:`system` — le temps système" -#: library/os.rst:4001 +#: library/os.rst:4002 msgid ":attr:`children_user` - user time of all child processes" msgstr ":attr:`children_user` — temps utilisateur de tous les processus fils" -#: library/os.rst:4002 +#: library/os.rst:4003 msgid ":attr:`children_system` - system time of all child processes" msgstr ":attr:`children_system` — le temps système de tous les processus fils" -#: library/os.rst:4003 +#: library/os.rst:4004 msgid ":attr:`elapsed` - elapsed real time since a fixed point in the past" msgstr ":attr:`elapsed` — temps écoulé réel depuis un point fixé dans le passé" -#: library/os.rst:4005 +#: library/os.rst:4006 msgid "" "For backwards compatibility, this object also behaves like a five-tuple " "containing :attr:`user`, :attr:`system`, :attr:`children_user`, :attr:" @@ -5786,7 +5786,7 @@ msgstr "" "comme un quintuplet contenant :attr:`user`, :attr:`system`, :attr:" "`children_user`, :attr:`children_system`, et :attr:`elapsed` dans cet ordre." -#: library/os.rst:4009 +#: library/os.rst:4010 #, fuzzy msgid "" "See the Unix manual page :manpage:`times(2)` and :manpage:`times(3)` manual " @@ -5799,7 +5799,7 @@ msgstr "" "Windows correspondante. Sur Windows, seuls :attr:`user` et :attr:`system` " "sont connus. Les autres attributs sont nuls." -#: library/os.rst:4023 +#: library/os.rst:4024 msgid "" "Wait for completion of a child process, and return a tuple containing its " "pid and exit status indication: a 16-bit number, whose low byte is the " @@ -5814,19 +5814,19 @@ msgstr "" "Le bit de poids fort du *byte* de poids faible est mis à 1 si un (fichier " "système) *core file* a été produit." -#: library/os.rst:4134 +#: library/os.rst:4135 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: library/os.rst:4036 +#: library/os.rst:4037 msgid "" ":func:`waitpid` can be used to wait for the completion of a specific child " "process and has more options." msgstr "" -#: library/os.rst:4041 +#: library/os.rst:4042 #, fuzzy msgid "" "Wait for the completion of one or more child processes. *idtype* can be :" @@ -5850,7 +5850,7 @@ msgstr "" "`si_code` ou ``None`` si :data:`WNOHANG` est spécifié et qu'il n'y a pas " "d'enfant dans un état que l'on peut attendre." -#: library/os.rst:4061 +#: library/os.rst:4062 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted." @@ -5858,18 +5858,18 @@ msgstr "" "Les valeurs possibles pour *idtypes* pour la fonction :func:`waitid`. Elles " "affectent l'interprétation de *id*." -#: library/os.rst:4070 +#: library/os.rst:4071 msgid "" "This is a Linux-specific *idtype* that indicates that *id* is a file " "descriptor that refers to a process." msgstr "" -#: library/os.rst:4074 +#: library/os.rst:4075 #, fuzzy msgid ":ref:`Availability `: Linux 5.4+" msgstr ":ref:`Disponibilité ` : Unix." -#: library/os.rst:4081 +#: library/os.rst:4082 msgid "" "Flags that can be used in *options* in :func:`waitid` that specify what " "child signal to wait for." @@ -5877,7 +5877,7 @@ msgstr "" "Marqueurs qui peuvent être utilisés pour la fonction :func:`waitid` qui " "spécifient quel signal attendre du fils." -#: library/os.rst:4096 +#: library/os.rst:4097 msgid "" "These are the possible values for :attr:`si_code` in the result returned by :" "func:`waitid`." @@ -5885,15 +5885,15 @@ msgstr "" "Les valeurs possibles pour :attr:`si_code` dans le résultat renvoyé par :" "func:`waitid`." -#: library/os.rst:4103 +#: library/os.rst:4104 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: library/os.rst:4109 +#: library/os.rst:4110 msgid "The details of this function differ on Unix and Windows." msgstr "Les détails de cette fonction diffèrent sur Unix et Windows." -#: library/os.rst:4111 +#: library/os.rst:4112 msgid "" "On Unix: Wait for completion of a child process given by process id *pid*, " "and return a tuple containing its process id and exit status indication " @@ -5907,7 +5907,7 @@ msgstr "" "la valeur de l'argument entier *options*, qui devrait valoir ``0`` pour les " "opérations normales." -#: library/os.rst:4116 +#: library/os.rst:4117 msgid "" "If *pid* is greater than ``0``, :func:`waitpid` requests status information " "for that specific process. If *pid* is ``0``, the request is for the status " @@ -5924,7 +5924,7 @@ msgstr "" "``-1``, une requête est faite pour le statut de chaque processus du groupe " "de processus donné par ``-pid`` (la valeur absolue de *pid*)." -#: library/os.rst:4123 +#: library/os.rst:4124 msgid "" "An :exc:`OSError` is raised with the value of errno when the syscall returns " "-1." @@ -5932,7 +5932,7 @@ msgstr "" "Une :exc:`OSError` est levée avec la valeur de *errno* quand l'appel système " "renvoie ``-1``." -#: library/os.rst:4126 +#: library/os.rst:4127 msgid "" "On Windows: Wait for completion of a process given by process handle *pid*, " "and return a tuple containing *pid*, and its exit status shifted left by 8 " @@ -5954,7 +5954,7 @@ msgstr "" "appelées avec :const:`P_NOWAIT` renvoient des identificateurs de processus " "appropriés." -#: library/os.rst:4145 +#: library/os.rst:4146 msgid "" "Similar to :func:`waitpid`, except no process id argument is given and a 3-" "element tuple containing the child's process id, exit status indication, and " @@ -5970,13 +5970,13 @@ msgstr "" "ressources. L'argument *options* est le même que celui fourni à :func:" "`waitpid` et :func:`wait4`." -#: library/os.rst:4166 +#: library/os.rst:4167 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: library/os.rst:4160 +#: library/os.rst:4161 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -5991,22 +5991,22 @@ msgstr "" "d'utilisation des ressources. Les arguments de :func:`wait4` sont les mêmes " "que ceux fournis à :func:`waitpid`." -#: library/os.rst:4174 +#: library/os.rst:4175 msgid "Convert a wait status to an exit code." msgstr "" -#: library/os.rst:4176 +#: library/os.rst:4177 msgid "On Unix:" msgstr "" -#: library/os.rst:4178 +#: library/os.rst:4179 msgid "" "If the process exited normally (if ``WIFEXITED(status)`` is true), return " "the process exit status (return ``WEXITSTATUS(status)``): result greater " "than or equal to 0." msgstr "" -#: library/os.rst:4181 +#: library/os.rst:4182 msgid "" "If the process was terminated by a signal (if ``WIFSIGNALED(status)`` is " "true), return ``-signum`` where *signum* is the number of the signal that " @@ -6014,15 +6014,15 @@ msgid "" "than 0." msgstr "" -#: library/os.rst:4185 +#: library/os.rst:4186 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: library/os.rst:4187 +#: library/os.rst:4188 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: library/os.rst:4189 +#: library/os.rst:4190 msgid "" "On Unix, if the process is being traced or if :func:`waitpid` was called " "with :data:`WUNTRACED` option, the caller must first check if " @@ -6030,13 +6030,13 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: library/os.rst:4196 +#: library/os.rst:4197 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:" "`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` functions." msgstr "" -#: library/os.rst:4204 +#: library/os.rst:4205 msgid "" "The option for :func:`waitpid` to return immediately if no child process " "status is available immediately. The function returns ``(0, 0)`` in this " @@ -6046,7 +6046,7 @@ msgstr "" "processus fils n'est disponible dans l'immédiat. La fonction renvoie ``(0, " "0)`` dans ce cas." -#: library/os.rst:4212 +#: library/os.rst:4213 msgid "" "This option causes child processes to be reported if they have been " "continued from a job control stop since their status was last reported." @@ -6055,11 +6055,11 @@ msgstr "" "continués après un arrêt du *job control* depuis leurs derniers reports de " "statuts." -#: library/os.rst:4215 +#: library/os.rst:4216 msgid ":ref:`Availability `: some Unix systems." msgstr ":ref:`Disponibilité ` : certains systèmes Unix." -#: library/os.rst:4220 +#: library/os.rst:4221 msgid "" "This option causes child processes to be reported if they have been stopped " "but their current state has not been reported since they were stopped." @@ -6067,7 +6067,7 @@ msgstr "" "Cette option cause les processus fils à être reportés s'ils ont été stoppés " "mais que leur état actuel n'a pas été reporté depuis qu'ils ont été stoppés." -#: library/os.rst:4226 +#: library/os.rst:4227 msgid "" "The following functions take a process status code as returned by :func:" "`system`, :func:`wait`, or :func:`waitpid` as a parameter. They may be used " @@ -6077,7 +6077,7 @@ msgstr "" "`system`, :func:`wait`, ou :func:`waitpid` en paramètre. Ils peuvent être " "utilisés pour déterminer la disposition d'un processus." -#: library/os.rst:4232 +#: library/os.rst:4233 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." @@ -6085,11 +6085,11 @@ msgstr "" "Renvoie ``True`` si un vidage système (*core dump*) a été généré pour le " "processus, sinon, renvoie ``False``." -#: library/os.rst:4301 +#: library/os.rst:4302 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: library/os.rst:4242 +#: library/os.rst:4243 #, fuzzy msgid "" "Return ``True`` if a stopped child has been resumed by delivery of :data:" @@ -6099,11 +6099,11 @@ msgstr "" "Renvoie ``True`` si le processus a été continué après un arrêt du *job " "control*, renvoie ``False`` autrement." -#: library/os.rst:4246 +#: library/os.rst:4247 msgid "See :data:`WCONTINUED` option." msgstr "" -#: library/os.rst:4253 +#: library/os.rst:4254 #, fuzzy msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " @@ -6112,14 +6112,14 @@ msgstr "" "Renvoie ``True`` si le processus s'est terminé à cause d'un signal, sinon, " "renvoie ``False``." -#: library/os.rst:4256 +#: library/os.rst:4257 msgid "" ":func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was " "done using :data:`WUNTRACED` option or when the process is being traced " "(see :manpage:`ptrace(2)`)." msgstr "" -#: library/os.rst:4264 +#: library/os.rst:4265 #, fuzzy msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " @@ -6128,7 +6128,7 @@ msgstr "" "Renvoie ``True`` si le processus s'est terminé à cause d'un signal, sinon, " "renvoie ``False``." -#: library/os.rst:4272 +#: library/os.rst:4273 #, fuzzy msgid "" "Return ``True`` if the process exited terminated normally, that is, by " @@ -6138,33 +6138,33 @@ msgstr "" "Renvoie ``True`` si le processus s'est terminé en faisant un appel système :" "manpage:`exit(2)`, sinon, renvoie ``False``." -#: library/os.rst:4281 +#: library/os.rst:4282 #, fuzzy msgid "Return the process exit status." msgstr "Renvoie l'identifiant du processus actuel." -#: library/os.rst:4283 +#: library/os.rst:4284 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: library/os.rst:4290 +#: library/os.rst:4291 msgid "Return the signal which caused the process to stop." msgstr "Renvoie le signal qui a causé l'arrêt du processus." -#: library/os.rst:4292 +#: library/os.rst:4293 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: library/os.rst:4299 +#: library/os.rst:4300 #, fuzzy msgid "Return the number of the signal that caused the process to terminate." msgstr "Renvoie le signal qui a amené le processus à quitter." -#: library/os.rst:4307 +#: library/os.rst:4308 msgid "Interface to the scheduler" msgstr "Interface pour l'ordonnanceur" -#: library/os.rst:4309 +#: library/os.rst:4310 msgid "" "These functions control how a process is allocated CPU time by the operating " "system. They are only available on some Unix platforms. For more detailed " @@ -6175,7 +6175,7 @@ msgstr "" "plate-formes Unix. Pour des informations plus détaillées, consultez les " "pages de manuels Unix." -#: library/os.rst:4315 +#: library/os.rst:4316 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." @@ -6183,11 +6183,11 @@ msgstr "" "Les polices d'ordonnancement suivantes sont exposées si elles sont gérées " "par le système d'exploitation." -#: library/os.rst:4320 +#: library/os.rst:4321 msgid "The default scheduling policy." msgstr "La police d'ordonnancement par défaut." -#: library/os.rst:4324 +#: library/os.rst:4325 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." @@ -6196,25 +6196,25 @@ msgstr "" "processeur. Cette police essaye de préserver l'interactivité pour le reste " "de l'ordinateur." -#: library/os.rst:4329 +#: library/os.rst:4330 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" "Police d'ordonnancement pour les tâches de fond avec une priorité " "extrêmement faible." -#: library/os.rst:4333 +#: library/os.rst:4334 msgid "Scheduling policy for sporadic server programs." msgstr "Police d'ordonnancement pour des programmes serveurs sporadiques." -#: library/os.rst:4337 +#: library/os.rst:4338 msgid "A First In First Out scheduling policy." msgstr "Une police d'ordonnancement *FIFO* (dernier arrivé, premier servi)." -#: library/os.rst:4341 +#: library/os.rst:4342 msgid "A round-robin scheduling policy." msgstr "Une police d'ordonnancement *round-robin* (tourniquet)." -#: library/os.rst:4345 +#: library/os.rst:4346 msgid "" "This flag can be OR'ed with any other scheduling policy. When a process with " "this flag set forks, its child's scheduling policy and priority are reset to " @@ -6225,7 +6225,7 @@ msgstr "" "d'ordonnancement et la priorité du processus fils sont remises aux valeurs " "par défaut." -#: library/os.rst:4352 +#: library/os.rst:4353 msgid "" "This class represents tunable scheduling parameters used in :func:" "`sched_setparam`, :func:`sched_setscheduler`, and :func:`sched_getparam`. It " @@ -6235,15 +6235,15 @@ msgstr "" "pour :func:`sched_setparam`, :func:`sched_setscheduler`, et :func:" "`sched_getparam`. Un objet de ce type est immuable." -#: library/os.rst:4356 +#: library/os.rst:4357 msgid "At the moment, there is only one possible parameter:" msgstr "Pour le moment, il n'y a qu'un seul paramètre possible :" -#: library/os.rst:4360 +#: library/os.rst:4361 msgid "The scheduling priority for a scheduling policy." msgstr "La priorité d'ordonnancement pour une police d'ordonnancement." -#: library/os.rst:4365 +#: library/os.rst:4366 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." @@ -6251,7 +6251,7 @@ msgstr "" "Récupère la valeur minimum pour une priorité pour la police *policy*. " "*policy* est une des constantes de police définies ci-dessus." -#: library/os.rst:4371 +#: library/os.rst:4372 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." @@ -6259,7 +6259,7 @@ msgstr "" "Récupère la valeur maximum pour une priorité pour la police *policy*. " "*policy* est une des constantes de police définies ci-dessus." -#: library/os.rst:4377 +#: library/os.rst:4378 msgid "" "Set the scheduling policy for the process with PID *pid*. A *pid* of 0 means " "the calling process. *policy* is one of the scheduling policy constants " @@ -6270,7 +6270,7 @@ msgstr "" "police définies ci-dessus. *param* est une instance de la classe :class:" "`sched_param`." -#: library/os.rst:4384 +#: library/os.rst:4385 msgid "" "Return the scheduling policy for the process with PID *pid*. A *pid* of 0 " "means the calling process. The result is one of the scheduling policy " @@ -6280,16 +6280,17 @@ msgstr "" "de 0 signifie le processus appelant. Le résultat est une des constantes de " "police définies ci-dessus." -#: library/os.rst:4391 +#: library/os.rst:4392 +#, fuzzy msgid "" -"Set a scheduling parameters for the process with PID *pid*. A *pid* of 0 " +"Set the scheduling parameters for the process with PID *pid*. A *pid* of 0 " "means the calling process. *param* is a :class:`sched_param` instance." msgstr "" "Définit un paramètre d'ordonnancement pour le processus de PID *pid*. Un " "*pid* de ``0`` signifie le processus appelant. *param* est une instance de :" "class:`sched_param`." -#: library/os.rst:4397 +#: library/os.rst:4398 msgid "" "Return the scheduling parameters as a :class:`sched_param` instance for the " "process with PID *pid*. A *pid* of 0 means the calling process." @@ -6298,7 +6299,7 @@ msgstr "" "pour le processus de PID *pid*. Un *pid* de ``0`` signifie le processus " "appelant." -#: library/os.rst:4403 +#: library/os.rst:4404 msgid "" "Return the round-robin quantum in seconds for the process with PID *pid*. A " "*pid* of 0 means the calling process." @@ -6306,11 +6307,11 @@ msgstr "" "Renvoie le quantum de temps du *round-robin* (en secondes) pour le processus " "de PID *pid*. Un *pid* de ``0`` signifie le processus appelant." -#: library/os.rst:4409 +#: library/os.rst:4410 msgid "Voluntarily relinquish the CPU." msgstr "Abandonne volontairement le processeur." -#: library/os.rst:4414 +#: library/os.rst:4415 msgid "" "Restrict the process with PID *pid* (or the current process if zero) to a " "set of CPUs. *mask* is an iterable of integers representing the set of CPUs " @@ -6320,7 +6321,7 @@ msgstr "" "``0``) à un ensemble de CPUs. *mask* est un itérable d'entiers représentant " "l'ensemble de CPUs auquel le processus doit être restreint." -#: library/os.rst:4421 +#: library/os.rst:4422 msgid "" "Return the set of CPUs the process with PID *pid* (or the current process if " "zero) is restricted to." @@ -6328,11 +6329,11 @@ msgstr "" "Renvoie l'ensemble de CPUs auquel le processus de PID *pid* (ou le processus " "actuel si *pid* vaut ``0``) est restreint." -#: library/os.rst:4428 +#: library/os.rst:4429 msgid "Miscellaneous System Information" msgstr "Diverses informations sur le système" -#: library/os.rst:4433 +#: library/os.rst:4434 msgid "" "Return string-valued system configuration values. *name* specifies the " "configuration value to retrieve; it may be a string which is the name of a " @@ -6352,7 +6353,7 @@ msgstr "" "incluses dans ce *mapping*, passer un entier pour *name* est également " "accepté." -#: library/os.rst:4441 +#: library/os.rst:4442 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." @@ -6360,7 +6361,7 @@ msgstr "" "Si la valeur de configuration spécifiée par *name* n'est pas définie, " "``None`` est renvoyé." -#: library/os.rst:4444 +#: library/os.rst:4445 msgid "" "If *name* is a string and is not known, :exc:`ValueError` is raised. If a " "specific value for *name* is not supported by the host system, even if it is " @@ -6372,7 +6373,7 @@ msgstr "" "par le système hôte, même si elle est incluse dans ``confstr_names``, une :" "exc:`OSError` est levée avec :const:`errno.EINVAL` pour numéro d'erreur." -#: library/os.rst:4454 +#: library/os.rst:4455 msgid "" "Dictionary mapping names accepted by :func:`confstr` to the integer values " "defined for those names by the host operating system. This can be used to " @@ -6382,13 +6383,13 @@ msgstr "" "entières définies pour ces noms par le système d'exploitation hôte. Cela " "peut être utilisé pour déterminer l'ensemble des noms connus du système." -#: library/os.rst:4463 +#: library/os.rst:4464 msgid "" "Return the number of CPUs in the system. Returns ``None`` if undetermined." msgstr "" "Renvoie le nombre de CPUs dans le système. Renvoie ``None`` si indéterminé." -#: library/os.rst:4465 +#: library/os.rst:4466 msgid "" "This number is not equivalent to the number of CPUs the current process can " "use. The number of usable CPUs can be obtained with ``len(os." @@ -6398,7 +6399,7 @@ msgstr "" "peut utiliser. Le nombre de CPUs utilisables peut être obtenu avec ``len(os." "sched_getaffinity(0))``" -#: library/os.rst:4475 +#: library/os.rst:4476 msgid "" "Return the number of processes in the system run queue averaged over the " "last 1, 5, and 15 minutes or raises :exc:`OSError` if the load average was " @@ -6408,7 +6409,7 @@ msgstr "" "moyenne dans les dernières 1, 5, et 15 minutes, ou lève une :exc:`OSError` " "si la charge moyenne est impossible à récupérer." -#: library/os.rst:4484 +#: library/os.rst:4485 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -6422,7 +6423,7 @@ msgstr "" "s'appliquent également ici, le dictionnaire qui fournit les informations sur " "les noms connus est donné par ``sysconf_names``." -#: library/os.rst:4494 +#: library/os.rst:4495 msgid "" "Dictionary mapping names accepted by :func:`sysconf` to the integer values " "defined for those names by the host operating system. This can be used to " @@ -6432,7 +6433,7 @@ msgstr "" "entières définies pour ces noms par le système d'exploitation hôte. Cela " "peut être utilisé pour déterminer l'ensemble des noms connus du système." -#: library/os.rst:4500 +#: library/os.rst:4501 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." @@ -6440,7 +6441,7 @@ msgstr "" "Les valeurs suivantes sont utilisées pour gérer les opérations de " "manipulations de chemins. Elles sont définies pour toutes les plate-formes." -#: library/os.rst:4503 +#: library/os.rst:4504 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." @@ -6448,7 +6449,7 @@ msgstr "" "Des opérations de plus haut niveau sur les chemins sont définies dans le " "module :mod:`os.path`." -#: library/os.rst:4509 +#: library/os.rst:4510 msgid "" "The constant string used by the operating system to refer to the current " "directory. This is ``'.'`` for Windows and POSIX. Also available via :mod:" @@ -6458,7 +6459,7 @@ msgstr "" "référencer le répertoire actuel. Ça vaut ``'.'`` pour Windows et POSIX. " "Également disponible par :mod:`os.path`." -#: library/os.rst:4517 +#: library/os.rst:4518 msgid "" "The constant string used by the operating system to refer to the parent " "directory. This is ``'..'`` for Windows and POSIX. Also available via :mod:" @@ -6468,7 +6469,7 @@ msgstr "" "référencer le répertoire parent. Ça vaut ``'..'`` pour Windows et POSIX. " "Également disponible par :mod:`os.path`." -#: library/os.rst:4526 +#: library/os.rst:4527 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -6483,7 +6484,7 @@ msgstr "" "et :func:`os.path.join`), mais ça peut s'avérer utile occasionnellement. " "Également disponible par :mod:`os.path`." -#: library/os.rst:4536 +#: library/os.rst:4537 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -6495,7 +6496,7 @@ msgstr "" "vaut ``'/'`` sur Windows où ``sep`` est un antislash ``'\\'``. Également " "disponible par :mod:`os.path`." -#: library/os.rst:4545 +#: library/os.rst:4546 msgid "" "The character which separates the base filename from the extension; for " "example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`." @@ -6504,7 +6505,7 @@ msgstr "" "exemple, le ``'.'`` de :file:`os.py`. Également disponible par :mod:`os." "path`." -#: library/os.rst:4553 +#: library/os.rst:4554 msgid "" "The character conventionally used by the operating system to separate search " "path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` " @@ -6515,7 +6516,7 @@ msgstr "" "d'environnement :envvar:`PATH`). Cela vaut ``':'`` pour POSIX, ou ``';'`` " "pour Windows. Également disponible par :mod:`os.path`." -#: library/os.rst:4560 +#: library/os.rst:4561 msgid "" "The default search path used by :func:`exec\\*p\\* ` and :func:`spawn" "\\*p\\* ` if the environment doesn't have a ``'PATH'`` key. Also " @@ -6525,7 +6526,7 @@ msgstr "" "func:`spawn\\* ` si l'environnement n'a pas une clef ``'PATH'``. " "Également disponible par :mod:`os.path`." -#: library/os.rst:4567 +#: library/os.rst:4568 msgid "" "The string used to separate (or, rather, terminate) lines on the current " "platform. This may be a single character, such as ``'\\n'`` for POSIX, or " @@ -6540,7 +6541,7 @@ msgstr "" "écrivez dans un fichier ouvert en mode *texte* (par défaut). Utilisez un " "unique ``'\\n'`` à la place, sur toutes les plate-formes." -#: library/os.rst:4576 +#: library/os.rst:4577 msgid "" "The file path of the null device. For example: ``'/dev/null'`` for POSIX, " "``'nul'`` for Windows. Also available via :mod:`os.path`." @@ -6548,7 +6549,7 @@ msgstr "" "Le chemin de fichier du périphérique *null*. Par exemple : ``'/dev/null'`` " "pour POSIX, ``'nul'`` pour Windows. Également disponible par :mod:`os.path`." -#: library/os.rst:4587 +#: library/os.rst:4588 msgid "" "Flags for use with the :func:`~sys.setdlopenflags` and :func:`~sys." "getdlopenflags` functions. See the Unix manual page :manpage:`dlopen(3)` " @@ -6558,11 +6559,11 @@ msgstr "" "`~sys.getdlopenflags`. Voir les pages de manuel Unix :manpage:`dlopen(3)` " "pour les différences de significations entre les marqueurs." -#: library/os.rst:4595 +#: library/os.rst:4596 msgid "Random numbers" msgstr "Nombres aléatoires" -#: library/os.rst:4600 +#: library/os.rst:4601 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." @@ -6570,7 +6571,7 @@ msgstr "" "Obtient *size* octets aléatoires. La fonction renvoie éventuellement moins " "d'octets que demandé." -#: library/os.rst:4603 +#: library/os.rst:4604 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." @@ -6578,7 +6579,7 @@ msgstr "" "Ces octets peuvent être utilisés pour initialiser un générateur de nombres " "aléatoires dans l'espace utilisateur ou pour des raisons cryptographiques." -#: library/os.rst:4606 +#: library/os.rst:4607 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -6590,7 +6591,7 @@ msgstr "" "grosses quantités de données aura un impact négatif sur les autres " "utilisateurs des périphériques ``/dev/random`` et ``/dev/urandom``." -#: library/os.rst:4611 +#: library/os.rst:4612 msgid "" "The flags argument is a bit mask that can contain zero or more of the " "following values ORed together: :py:data:`os.GRND_RANDOM` and :py:data:" @@ -6600,7 +6601,7 @@ msgstr "" "valeurs suivantes combinées avec un OU bit-à-bit : :py:data:`os.GRND_RANDOM` " "et :py:data:`GRND_NONBLOCK`." -#: library/os.rst:4615 +#: library/os.rst:4616 msgid "" "See also the `Linux getrandom() manual page `_." @@ -6608,17 +6609,17 @@ msgstr "" "Voir aussi la `page de manuel Linux pour getrandom() `_." -#: library/os.rst:4619 +#: library/os.rst:4620 msgid ":ref:`Availability `: Linux 3.17 and newer." msgstr ":ref:`Disponibilité ` : Linux 3.17 et ultérieures." -#: library/os.rst:4624 +#: library/os.rst:4625 msgid "Return a string of *size* random bytes suitable for cryptographic use." msgstr "" "Renvoie une chaîne de *size* octets aléatoires utilisable dans un cadre " "cryptographique." -#: library/os.rst:4626 +#: library/os.rst:4627 msgid "" "This function returns random bytes from an OS-specific randomness source. " "The returned data should be unpredictable enough for cryptographic " @@ -6629,7 +6630,7 @@ msgstr "" "pour les applications cryptographiques, bien que la qualité dépende de " "l'implémentation du système." -#: library/os.rst:4630 +#: library/os.rst:4631 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -6646,7 +6647,7 @@ msgstr "" "aléatoires en mode non-bloquant (avec l'option :data:`GRND_NONBLOCK`) ou " "attendre jusqu'à ce que la réserve d'entropie d'*urandom* soit initialisée." -#: library/os.rst:4637 +#: library/os.rst:4638 msgid "" "On a Unix-like system, random bytes are read from the ``/dev/urandom`` " "device. If the ``/dev/urandom`` device is not available or not readable, " @@ -6657,11 +6658,11 @@ msgstr "" "disponible ou n'est pas lisible, l'exception :exc:`NotImplementedError` est " "levée." -#: library/os.rst:4641 +#: library/os.rst:4642 msgid "On Windows, it will use ``CryptGenRandom()``." msgstr "Sous Windows, ``CryptGenRandom()`` est utilisée." -#: library/os.rst:4644 +#: library/os.rst:4645 msgid "" "The :mod:`secrets` module provides higher level functions. For an easy-to-" "use interface to the random number generator provided by your platform, " @@ -6671,7 +6672,7 @@ msgstr "" "interface facile à utiliser du générateur de nombres aléatoires fourni par " "votre plate-forme, veuillez regarder :class:`random.SystemRandom`." -#: library/os.rst:4648 +#: library/os.rst:4649 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." @@ -6679,7 +6680,7 @@ msgstr "" "Sous Linux, ``getrandom()`` est maintenant utilisé en mode bloquant pour " "renforcer la sécurité." -#: library/os.rst:4652 +#: library/os.rst:4653 msgid "" "On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is " "not initialized yet), fall back on reading ``/dev/urandom``." @@ -6688,7 +6689,7 @@ msgstr "" "d'*urandom* n'est pas encore initialisée), réalise à la place une lecture de " "``/dev/urandom``." -#: library/os.rst:4656 +#: library/os.rst:4657 msgid "" "On Linux 3.17 and newer, the ``getrandom()`` syscall is now used when " "available. On OpenBSD 5.6 and newer, the C ``getentropy()`` function is now " @@ -6699,7 +6700,7 @@ msgstr "" "la fonction C ``getentropy()`` est utilisée. Ces fonctions évitent " "l'utilisation interne d'un descripteur de fichier." -#: library/os.rst:4664 +#: library/os.rst:4665 msgid "" "By default, when reading from ``/dev/random``, :func:`getrandom` blocks if " "no random bytes are available, and when reading from ``/dev/urandom``, it " @@ -6710,7 +6711,7 @@ msgstr "" "urandom``, elle bloque si la réserve d'entropie n'a pas encore été " "initialisée." -#: library/os.rst:4668 +#: library/os.rst:4669 msgid "" "If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not " "block in these cases, but instead immediately raises :exc:`BlockingIOError`." @@ -6718,7 +6719,7 @@ msgstr "" "Si l'option :py:data:`GRND_NONBLOCK` est activée, :func:`getrandom` ne " "bloque pas dans ces cas, mais lève immédiatement une :exc:`BlockingIOError`." -#: library/os.rst:4675 +#: library/os.rst:4676 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." @@ -6726,6 +6727,17 @@ msgstr "" "Si ce bit est activé, les octets aléatoires sont puisés depuis ``/dev/" "random`` plutôt que ``/dev/urandom``." +#~ msgid "" +#~ "On Unix, the return value is the exit status of the process encoded in " +#~ "the format specified for :func:`wait`. Note that POSIX does not specify " +#~ "the meaning of the return value of the C :c:func:`system` function, so " +#~ "the return value of the Python function is system-dependent." +#~ msgstr "" +#~ "Sur Unix, la valeur de retour est le statut de sortie du processus encodé " +#~ "dans le format spécifié pour :func:`wait`. Notez que POSIX ne spécifie " +#~ "pas le sens de la valeur de retour de la fonction C :c:func:`system`, " +#~ "donc la valeur de retour de la fonction Python est dépendante du système." + #~ msgid "" #~ "If :func:`putenv` is not provided, a modified copy of this mapping may " #~ "be passed to the appropriate process-creation functions to cause child " diff --git a/library/pathlib.po b/library/pathlib.po index b995127a..7f78ad0b 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-15 22:05+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-09-30 16:07+0200\n" "Last-Translator: Vincent Poulailleau \n" "Language-Team: FRENCH \n" @@ -1059,6 +1059,18 @@ msgstr "" "symlink`." #: library/pathlib.rst:1124 +msgid "Make *target* a hard link to this path." +msgstr "" + +#: library/pathlib.rst:1128 +msgid "" +"This function does not make this path a hard link to *target*, despite the " +"implication of the function and argument names. The argument order (target, " +"link) is the reverse of :func:`Path.symlink_to`, but matches that of :func:" +"`os.link`." +msgstr "" + +#: library/pathlib.rst:1138 msgid "" "Create a file at this given path. If *mode* is given, it is combined with " "the process' ``umask`` value to determine the file mode and access flags. " @@ -1072,7 +1084,7 @@ msgstr "" "*exist_ok* est vrai (et si l'heure de modification est mise à jour avec " "l'heure courante), sinon :exc:`FileExistsError` est levée." -#: library/pathlib.rst:1133 +#: library/pathlib.rst:1147 msgid "" "Remove this file or symbolic link. If the path points to a directory, use :" "func:`Path.rmdir` instead." @@ -1080,7 +1092,7 @@ msgstr "" "Supprime ce fichier ou lien symbolique. Si le chemin pointe vers un dossier, " "utilisez :func:`Path.rmdir` à la place." -#: library/pathlib.rst:1136 +#: library/pathlib.rst:1150 msgid "" "If *missing_ok* is false (the default), :exc:`FileNotFoundError` is raised " "if the path does not exist." @@ -1088,7 +1100,7 @@ msgstr "" "Si *missing_ok* est faux (valeur par défaut), une :exc:`FileNotFoundError` " "est levée si le chemin n'existe pas." -#: library/pathlib.rst:1139 +#: library/pathlib.rst:1153 msgid "" "If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be ignored " "(same behavior as the POSIX ``rm -f`` command)." @@ -1096,15 +1108,11 @@ msgstr "" "Si *missing_ok* est vrai, les exceptions :exc:`FileNotFoundError` sont " "ignorées (même comportement que la commande POSIX ``rm -f``)." -#: library/pathlib.rst:1142 +#: library/pathlib.rst:1156 msgid "The *missing_ok* parameter was added." msgstr "Ajout du paramètre *missing_ok*." -#: library/pathlib.rst:1148 -msgid "Create a hard link pointing to a path named *target*." -msgstr "Crée un lien matériel pointant sur le chemin nommé *target*." - -#: library/pathlib.rst:1155 +#: library/pathlib.rst:1162 msgid "" "Open the file pointed to in bytes mode, write *data* to it, and close the " "file::" @@ -1112,11 +1120,11 @@ msgstr "" "Ouvre le fichier pointé en mode binaire, écrit *data* dedans, et ferme le " "fichier ::" -#: library/pathlib.rst:1164 +#: library/pathlib.rst:1171 msgid "An existing file of the same name is overwritten." msgstr "Le fichier du même nom, s'il existe, est écrasé." -#: library/pathlib.rst:1171 +#: library/pathlib.rst:1178 msgid "" "Open the file pointed to in text mode, write *data* to it, and close the " "file::" @@ -1124,7 +1132,7 @@ msgstr "" "Ouvre le fichier pointé en mode texte, écrit *data* dedans, et ferme le " "fichier ::" -#: library/pathlib.rst:1180 +#: library/pathlib.rst:1187 msgid "" "An existing file of the same name is overwritten. The optional parameters " "have the same meaning as in :func:`open`." @@ -1132,11 +1140,11 @@ msgstr "" "Le fichier du même nom, s'il existe, est écrasé. Les paramètres optionnels " "ont la même signification que dans :func:`open`." -#: library/pathlib.rst:1186 +#: library/pathlib.rst:1193 msgid "Correspondence to tools in the :mod:`os` module" msgstr "Correspondance des outils du module :mod:`os`" -#: library/pathlib.rst:1188 +#: library/pathlib.rst:1195 msgid "" "Below is a table mapping various :mod:`os` functions to their corresponding :" "class:`PurePath`/:class:`Path` equivalent." @@ -1144,7 +1152,7 @@ msgstr "" "Ci-dessous se trouve un tableau associant diverses fonctions :mod:`os` à " "leur équivalent :class:`PurePath` / :class:`Path` correspondant." -#: library/pathlib.rst:1193 +#: library/pathlib.rst:1200 msgid "" "Although :func:`os.path.relpath` and :meth:`PurePath.relative_to` have some " "overlapping use-cases, their semantics differ enough to warrant not " @@ -1154,206 +1162,209 @@ msgstr "" "cas d'utilisation qui se chevauchent, leur sémantique diffère suffisamment " "pour ne pas les considérer comme équivalentes." -#: library/pathlib.rst:1198 +#: library/pathlib.rst:1205 msgid "os and os.path" msgstr "*os* et *os.path*" -#: library/pathlib.rst:1198 +#: library/pathlib.rst:1205 msgid "pathlib" msgstr "pathlib" -#: library/pathlib.rst:1200 +#: library/pathlib.rst:1207 msgid ":func:`os.path.abspath`" msgstr ":func:`os.path.abspath`" -#: library/pathlib.rst:1200 +#: library/pathlib.rst:1207 msgid ":meth:`Path.resolve`" msgstr ":meth:`Path.resolve`" -#: library/pathlib.rst:1201 +#: library/pathlib.rst:1208 msgid ":func:`os.chmod`" msgstr ":func:`os.chmod`" -#: library/pathlib.rst:1201 +#: library/pathlib.rst:1208 msgid ":meth:`Path.chmod`" msgstr ":meth:`Path.chmod`" -#: library/pathlib.rst:1202 +#: library/pathlib.rst:1209 msgid ":func:`os.mkdir`" msgstr ":func:`os.mkdir`" -#: library/pathlib.rst:1203 +#: library/pathlib.rst:1210 msgid ":meth:`Path.mkdir`" msgstr ":meth:`Path.mkdir`" -#: library/pathlib.rst:1203 +#: library/pathlib.rst:1210 msgid ":func:`os.makedirs`" msgstr ":func:`os.makedirs`" -#: library/pathlib.rst:1204 +#: library/pathlib.rst:1211 msgid ":func:`os.rename`" msgstr ":func:`os.rename`" -#: library/pathlib.rst:1204 +#: library/pathlib.rst:1211 msgid ":meth:`Path.rename`" msgstr ":meth:`Path.rename`" -#: library/pathlib.rst:1205 +#: library/pathlib.rst:1212 msgid ":func:`os.replace`" msgstr ":func:`os.replace`" -#: library/pathlib.rst:1205 +#: library/pathlib.rst:1212 msgid ":meth:`Path.replace`" msgstr ":meth:`Path.replace`" -#: library/pathlib.rst:1206 +#: library/pathlib.rst:1213 msgid ":func:`os.rmdir`" msgstr ":func:`os.rmdir`" -#: library/pathlib.rst:1206 +#: library/pathlib.rst:1213 msgid ":meth:`Path.rmdir`" msgstr ":meth:`Path.rmdir`" -#: library/pathlib.rst:1207 +#: library/pathlib.rst:1214 msgid ":func:`os.remove`, :func:`os.unlink`" msgstr ":func:`os.remove`, :func:`os.unlink`" -#: library/pathlib.rst:1207 +#: library/pathlib.rst:1214 msgid ":meth:`Path.unlink`" msgstr ":meth:`Path.unlink`" -#: library/pathlib.rst:1208 +#: library/pathlib.rst:1215 msgid ":func:`os.getcwd`" msgstr ":func:`os.getcwd`" -#: library/pathlib.rst:1208 +#: library/pathlib.rst:1215 msgid ":func:`Path.cwd`" msgstr ":func:`Path.cwd`" -#: library/pathlib.rst:1209 +#: library/pathlib.rst:1216 msgid ":func:`os.path.exists`" msgstr ":func:`os.path.exists`" -#: library/pathlib.rst:1209 +#: library/pathlib.rst:1216 msgid ":meth:`Path.exists`" msgstr ":meth:`Path.exists`" -#: library/pathlib.rst:1210 +#: library/pathlib.rst:1217 msgid ":func:`os.path.expanduser`" msgstr ":func:`os.path.expanduser`" -#: library/pathlib.rst:1210 +#: library/pathlib.rst:1217 msgid ":meth:`Path.expanduser` and :meth:`Path.home`" msgstr ":meth:`Path.expanduser` et :meth:`Path.home`" -#: library/pathlib.rst:1212 +#: library/pathlib.rst:1219 msgid ":func:`os.listdir`" msgstr ":func:`os.listdir`" -#: library/pathlib.rst:1212 +#: library/pathlib.rst:1219 msgid ":meth:`Path.iterdir`" msgstr ":meth:`Path.iterdir`" -#: library/pathlib.rst:1213 +#: library/pathlib.rst:1220 msgid ":func:`os.path.isdir`" msgstr ":func:`os.path.isdir`" -#: library/pathlib.rst:1213 +#: library/pathlib.rst:1220 msgid ":meth:`Path.is_dir`" msgstr ":meth:`Path.is_dir`" -#: library/pathlib.rst:1214 +#: library/pathlib.rst:1221 msgid ":func:`os.path.isfile`" msgstr ":func:`os.path.isfile`" -#: library/pathlib.rst:1214 +#: library/pathlib.rst:1221 msgid ":meth:`Path.is_file`" msgstr ":meth:`Path.is_file`" -#: library/pathlib.rst:1215 +#: library/pathlib.rst:1222 msgid ":func:`os.path.islink`" msgstr ":func:`os.path.islink`" -#: library/pathlib.rst:1215 +#: library/pathlib.rst:1222 msgid ":meth:`Path.is_symlink`" msgstr ":meth:`Path.is_symlink`" -#: library/pathlib.rst:1216 +#: library/pathlib.rst:1223 msgid ":func:`os.link`" msgstr ":func:`os.link`" -#: library/pathlib.rst:1216 +#: library/pathlib.rst:1223 msgid ":meth:`Path.link_to`" msgstr ":meth:`Path.link_to`" -#: library/pathlib.rst:1217 +#: library/pathlib.rst:1224 msgid ":func:`os.symlink`" msgstr ":func:`os.symlink`" -#: library/pathlib.rst:1217 +#: library/pathlib.rst:1224 msgid ":meth:`Path.symlink_to`" msgstr ":meth:`Path.symlink_to`" -#: library/pathlib.rst:1218 +#: library/pathlib.rst:1225 msgid ":func:`os.readlink`" msgstr ":func:`os.readlink`" -#: library/pathlib.rst:1218 +#: library/pathlib.rst:1225 msgid ":meth:`Path.readlink`" msgstr ":meth:`Path.readlink`" -#: library/pathlib.rst:1219 +#: library/pathlib.rst:1226 msgid ":func:`os.stat`" msgstr ":func:`os.stat`" -#: library/pathlib.rst:1219 +#: library/pathlib.rst:1226 msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" msgstr ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" -#: library/pathlib.rst:1222 +#: library/pathlib.rst:1229 msgid ":func:`os.path.isabs`" msgstr ":func:`os.path.isabs`" -#: library/pathlib.rst:1222 +#: library/pathlib.rst:1229 msgid ":meth:`PurePath.is_absolute`" msgstr ":meth:`PurePath.is_absolute`" -#: library/pathlib.rst:1223 +#: library/pathlib.rst:1230 msgid ":func:`os.path.join`" msgstr ":func:`os.path.join`" -#: library/pathlib.rst:1223 +#: library/pathlib.rst:1230 msgid ":func:`PurePath.joinpath`" msgstr ":func:`PurePath.joinpath`" -#: library/pathlib.rst:1224 +#: library/pathlib.rst:1231 msgid ":func:`os.path.basename`" msgstr ":func:`os.path.basename`" -#: library/pathlib.rst:1224 +#: library/pathlib.rst:1231 msgid ":data:`PurePath.name`" msgstr ":data:`PurePath.name`" -#: library/pathlib.rst:1225 +#: library/pathlib.rst:1232 msgid ":func:`os.path.dirname`" msgstr ":func:`os.path.dirname`" -#: library/pathlib.rst:1225 +#: library/pathlib.rst:1232 msgid ":data:`PurePath.parent`" msgstr ":data:`PurePath.parent`" -#: library/pathlib.rst:1226 +#: library/pathlib.rst:1233 msgid ":func:`os.path.samefile`" msgstr ":func:`os.path.samefile`" -#: library/pathlib.rst:1226 +#: library/pathlib.rst:1233 msgid ":meth:`Path.samefile`" msgstr ":meth:`Path.samefile`" -#: library/pathlib.rst:1227 +#: library/pathlib.rst:1234 msgid ":func:`os.path.splitext`" msgstr ":func:`os.path.splitext`" -#: library/pathlib.rst:1227 +#: library/pathlib.rst:1234 msgid ":data:`PurePath.suffix`" msgstr ":data:`PurePath.suffix`" + +#~ msgid "Create a hard link pointing to a path named *target*." +#~ msgstr "Crée un lien matériel pointant sur le chemin nommé *target*." diff --git a/library/py_compile.po b/library/py_compile.po index 75bd0586..df46fba3 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -5,14 +5,14 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-05-04 00:17+0200\n" +"Last-Translator: Jean Abou Samra \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: Jean Abou Samra \n" "X-Generator: Poedit 2.4.1\n" #: library/py_compile.rst:2 diff --git a/library/resource.po b/library/resource.po index 3ecbabcb..ef339730 100644 --- a/library/resource.po +++ b/library/resource.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-11-29 21:18+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -266,7 +266,7 @@ msgid "" "this user may hold at any time." msgstr "" -#: library/resource.rst:247 library/resource.rst:255 +#: library/resource.rst:249 library/resource.rst:257 msgid ":ref:`Availability `: FreeBSD 9 or later." msgstr ":ref:`Disponibilité ` : FreeBSD 9 et ultérieures." @@ -274,23 +274,24 @@ msgstr ":ref:`Disponibilité ` : FreeBSD 9 et ultérieures." msgid "" "The maximum size (in bytes) of the swap space that may be reserved or used " "by all of this user id's processes. This limit is enforced only if bit 1 of " -"the vm.overcommit sysctl is set. Please see :manpage:`tuning(7)` for a " -"complete description of this sysctl." +"the vm.overcommit sysctl is set. Please see `tuning(7) `__ for a complete description of " +"this sysctl." msgstr "" -#: library/resource.rst:252 +#: library/resource.rst:254 msgid "The maximum number of pseudo-terminals created by this user id." msgstr "" -#: library/resource.rst:259 +#: library/resource.rst:261 msgid "Resource Usage" msgstr "" -#: library/resource.rst:261 +#: library/resource.rst:263 msgid "These functions are used to retrieve resource usage information:" msgstr "" -#: library/resource.rst:266 +#: library/resource.rst:268 msgid "" "This function returns an object that describes the resources consumed by " "either the current process or its children, as specified by the *who* " @@ -298,11 +299,11 @@ msgid "" "`RUSAGE_\\*` constants described below." msgstr "" -#: library/resource.rst:271 +#: library/resource.rst:273 msgid "A simple example::" msgstr "Un exemple simple ::" -#: library/resource.rst:285 +#: library/resource.rst:287 msgid "" "The fields of the return value each describe how a particular system " "resource has been used, e.g. amount of time spent running is user mode or " @@ -311,13 +312,13 @@ msgid "" "is using." msgstr "" -#: library/resource.rst:290 +#: library/resource.rst:292 msgid "" "For backward compatibility, the return value is also accessible as a tuple " "of 16 elements." msgstr "" -#: library/resource.rst:293 +#: library/resource.rst:295 msgid "" "The fields :attr:`ru_utime` and :attr:`ru_stime` of the return value are " "floating point values representing the amount of time spent executing in " @@ -327,249 +328,249 @@ msgid "" "summary is presented here:" msgstr "" -#: library/resource.rst:300 +#: library/resource.rst:302 msgid "Index" msgstr "Index" -#: library/resource.rst:300 +#: library/resource.rst:302 msgid "Field" msgstr "Champ" -#: library/resource.rst:300 +#: library/resource.rst:302 msgid "Resource" msgstr "" -#: library/resource.rst:302 +#: library/resource.rst:304 msgid "``0``" msgstr "``0``" -#: library/resource.rst:302 +#: library/resource.rst:304 msgid ":attr:`ru_utime`" msgstr ":attr:`ru_utime`" -#: library/resource.rst:302 +#: library/resource.rst:304 msgid "time in user mode (float seconds)" msgstr "" -#: library/resource.rst:304 +#: library/resource.rst:306 msgid "``1``" msgstr "``1``" -#: library/resource.rst:304 +#: library/resource.rst:306 msgid ":attr:`ru_stime`" msgstr ":attr:`ru_stime`" -#: library/resource.rst:304 +#: library/resource.rst:306 msgid "time in system mode (float seconds)" msgstr "" -#: library/resource.rst:306 +#: library/resource.rst:308 msgid "``2``" msgstr "``2``" -#: library/resource.rst:306 +#: library/resource.rst:308 msgid ":attr:`ru_maxrss`" msgstr ":attr:`ru_maxrss`" -#: library/resource.rst:306 +#: library/resource.rst:308 msgid "maximum resident set size" msgstr "" -#: library/resource.rst:308 +#: library/resource.rst:310 msgid "``3``" msgstr "``3``" -#: library/resource.rst:308 +#: library/resource.rst:310 msgid ":attr:`ru_ixrss`" msgstr ":attr:`ru_ixrss`" -#: library/resource.rst:308 +#: library/resource.rst:310 msgid "shared memory size" msgstr "" -#: library/resource.rst:310 +#: library/resource.rst:312 msgid "``4``" msgstr "``4``" -#: library/resource.rst:310 +#: library/resource.rst:312 msgid ":attr:`ru_idrss`" msgstr ":attr:`ru_idrss`" -#: library/resource.rst:310 +#: library/resource.rst:312 msgid "unshared memory size" msgstr "" -#: library/resource.rst:312 +#: library/resource.rst:314 msgid "``5``" msgstr "``5``" -#: library/resource.rst:312 +#: library/resource.rst:314 msgid ":attr:`ru_isrss`" msgstr ":attr:`ru_isrss`" -#: library/resource.rst:312 +#: library/resource.rst:314 msgid "unshared stack size" msgstr "" -#: library/resource.rst:314 +#: library/resource.rst:316 msgid "``6``" msgstr "``6``" -#: library/resource.rst:314 +#: library/resource.rst:316 msgid ":attr:`ru_minflt`" msgstr ":attr:`ru_minflt`" -#: library/resource.rst:314 +#: library/resource.rst:316 msgid "page faults not requiring I/O" msgstr "" -#: library/resource.rst:316 +#: library/resource.rst:318 msgid "``7``" msgstr "``7``" -#: library/resource.rst:316 +#: library/resource.rst:318 msgid ":attr:`ru_majflt`" msgstr ":attr:`ru_majflt`" -#: library/resource.rst:316 +#: library/resource.rst:318 msgid "page faults requiring I/O" msgstr "" -#: library/resource.rst:318 +#: library/resource.rst:320 msgid "``8``" msgstr "``8``" -#: library/resource.rst:318 +#: library/resource.rst:320 msgid ":attr:`ru_nswap`" msgstr ":attr:`ru_nswap`" -#: library/resource.rst:318 +#: library/resource.rst:320 msgid "number of swap outs" msgstr "" -#: library/resource.rst:320 +#: library/resource.rst:322 msgid "``9``" msgstr "``9``" -#: library/resource.rst:320 +#: library/resource.rst:322 msgid ":attr:`ru_inblock`" msgstr ":attr:`ru_inblock`" -#: library/resource.rst:320 +#: library/resource.rst:322 msgid "block input operations" msgstr "" -#: library/resource.rst:322 +#: library/resource.rst:324 msgid "``10``" msgstr "``10``" -#: library/resource.rst:322 +#: library/resource.rst:324 msgid ":attr:`ru_oublock`" msgstr ":attr:`ru_oublock`" -#: library/resource.rst:322 +#: library/resource.rst:324 msgid "block output operations" msgstr "" -#: library/resource.rst:324 +#: library/resource.rst:326 msgid "``11``" msgstr "``11``" -#: library/resource.rst:324 +#: library/resource.rst:326 msgid ":attr:`ru_msgsnd`" msgstr ":attr:`ru_msgsnd`" -#: library/resource.rst:324 +#: library/resource.rst:326 msgid "messages sent" msgstr "" -#: library/resource.rst:326 +#: library/resource.rst:328 msgid "``12``" msgstr "``12``" -#: library/resource.rst:326 +#: library/resource.rst:328 msgid ":attr:`ru_msgrcv`" msgstr ":attr:`ru_msgrcv`" -#: library/resource.rst:326 +#: library/resource.rst:328 msgid "messages received" msgstr "" -#: library/resource.rst:328 +#: library/resource.rst:330 msgid "``13``" msgstr "``13``" -#: library/resource.rst:328 +#: library/resource.rst:330 msgid ":attr:`ru_nsignals`" msgstr ":attr:`ru_nsignals`" -#: library/resource.rst:328 +#: library/resource.rst:330 msgid "signals received" msgstr "" -#: library/resource.rst:330 +#: library/resource.rst:332 msgid "``14``" msgstr "``14``" -#: library/resource.rst:330 +#: library/resource.rst:332 msgid ":attr:`ru_nvcsw`" msgstr ":attr:`ru_nvcsw`" -#: library/resource.rst:330 +#: library/resource.rst:332 msgid "voluntary context switches" msgstr "" -#: library/resource.rst:332 +#: library/resource.rst:334 msgid "``15``" msgstr "``15``" -#: library/resource.rst:332 +#: library/resource.rst:334 msgid ":attr:`ru_nivcsw`" msgstr ":attr:`ru_nivcsw`" -#: library/resource.rst:332 +#: library/resource.rst:334 msgid "involuntary context switches" msgstr "" -#: library/resource.rst:335 +#: library/resource.rst:337 msgid "" "This function will raise a :exc:`ValueError` if an invalid *who* parameter " "is specified. It may also raise :exc:`error` exception in unusual " "circumstances." msgstr "" -#: library/resource.rst:341 +#: library/resource.rst:343 msgid "" "Returns the number of bytes in a system page. (This need not be the same as " "the hardware page size.)" msgstr "" -#: library/resource.rst:344 +#: library/resource.rst:346 msgid "" "The following :const:`RUSAGE_\\*` symbols are passed to the :func:" "`getrusage` function to specify which processes information should be " "provided for." msgstr "" -#: library/resource.rst:350 +#: library/resource.rst:352 msgid "" "Pass to :func:`getrusage` to request resources consumed by the calling " "process, which is the sum of resources used by all threads in the process." msgstr "" -#: library/resource.rst:356 +#: library/resource.rst:358 msgid "" "Pass to :func:`getrusage` to request resources consumed by child processes " "of the calling process which have been terminated and waited for." msgstr "" -#: library/resource.rst:362 +#: library/resource.rst:364 msgid "" "Pass to :func:`getrusage` to request resources consumed by both the current " "process and child processes. May not be available on all systems." msgstr "" -#: library/resource.rst:368 +#: library/resource.rst:370 msgid "" "Pass to :func:`getrusage` to request resources consumed by the current " "thread. May not be available on all systems." diff --git a/library/socket.po b/library/socket.po index 248e43d3..44f52342 100644 --- a/library/socket.po +++ b/library/socket.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-11-25 20:35+0100\n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -96,7 +96,7 @@ msgid "" "Previously, :const:`AF_UNIX` socket paths were assumed to use UTF-8 encoding." msgstr "" -#: library/socket.rst:965 library/socket.rst:1734 +#: library/socket.rst:965 library/socket.rst:1737 msgid "Writable :term:`bytes-like object` is now accepted." msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté." @@ -592,7 +592,7 @@ msgid "" "the :meth:`~socket.socket.ioctl` method of socket objects." msgstr "" -#: library/socket.rst:1333 +#: library/socket.rst:1359 msgid "``SIO_LOOPBACK_FAST_PATH`` was added." msgstr "" @@ -606,7 +606,7 @@ msgstr "" msgid "Constants for Linux Kernel cryptography." msgstr "" -#: library/socket.rst:1633 +#: library/socket.rst:1659 msgid ":ref:`Availability `: Linux >= 2.6.38." msgstr ":ref:`Disponibilité ` : Linux >= 2.6.38." @@ -690,7 +690,7 @@ msgid "" "This may help close a detached socket using :meth:`socket.close()`." msgstr "" -#: library/socket.rst:706 library/socket.rst:1250 +#: library/socket.rst:706 library/socket.rst:1276 msgid "The newly created socket is :ref:`non-inheritable `." msgstr "" "Il n'est :ref:`pas possible d'hériter ` du connecteur " @@ -854,7 +854,7 @@ msgid "" "method. The socket is assumed to be in blocking mode." msgstr "" -#: library/socket.rst:1759 +#: library/socket.rst:1762 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -1213,7 +1213,7 @@ msgid "" "the permissible range of values." msgstr "" -#: library/socket.rst:1050 library/socket.rst:1511 library/socket.rst:1617 +#: library/socket.rst:1050 library/socket.rst:1537 library/socket.rst:1643 msgid "" ":ref:`Availability `: most Unix platforms, possibly others." msgstr "" @@ -1325,23 +1325,53 @@ msgid "" "exc:`OSError` if no interface with the given index exists." msgstr "" -#: library/socket.rst:1145 +#: library/socket.rst:1144 +msgid "" +"Send the list of file descriptors *fds* over an :const:`AF_UNIX` socket " +"*sock*. The *fds* parameter is a sequence of file descriptors. Consult :meth:" +"`sendmsg` for the documentation of these parameters." +msgstr "" + +#: library/socket.rst:1149 +msgid "" +":ref:`Availability `: Unix supporting :meth:`~socket.sendmsg` " +"and :const:`SCM_RIGHTS` mechanism." +msgstr "" + +#: library/socket.rst:1155 +msgid "" +"Receive up to *maxfds* file descriptors from an :const:`AF_UNIX` socket " +"*sock*. Return ``(msg, list(fds), flags, addr)``. Consult :meth:`recvmsg` " +"for the documentation of these parameters." +msgstr "" + +#: library/socket.rst:1160 +msgid "" +":ref:`Availability `: Unix supporting :meth:`~socket.recvmsg` " +"and :const:`SCM_RIGHTS` mechanism." +msgstr "" + +#: library/socket.rst:1165 +msgid "Any truncated integers at the end of the list of file descriptors." +msgstr "" + +#: library/socket.rst:1171 msgid "Socket Objects" msgstr "" -#: library/socket.rst:1147 +#: library/socket.rst:1173 msgid "" "Socket objects have the following methods. Except for :meth:`~socket." "makefile`, these correspond to Unix system calls applicable to sockets." msgstr "" -#: library/socket.rst:1151 +#: library/socket.rst:1177 msgid "" "Support for the :term:`context manager` protocol was added. Exiting the " "context manager is equivalent to calling :meth:`~socket.close`." msgstr "" -#: library/socket.rst:1158 +#: library/socket.rst:1184 msgid "" "Accept a connection. The socket must be bound to an address and listening " "for connections. The return value is a pair ``(conn, address)`` where *conn* " @@ -1350,12 +1380,12 @@ msgid "" "connection." msgstr "" -#: library/socket.rst:1252 +#: library/socket.rst:1278 msgid "The socket is now non-inheritable." msgstr "" -#: library/socket.rst:1383 library/socket.rst:1472 library/socket.rst:1562 -#: library/socket.rst:1622 +#: library/socket.rst:1409 library/socket.rst:1498 library/socket.rst:1588 +#: library/socket.rst:1648 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the method now retries the system call instead of raising an :exc:" @@ -1365,19 +1395,19 @@ msgstr "" "aucune exception, la fonction réessaye l'appel système au lieu de lever une :" "exc:`InterruptedError` (voir la :pep:`475` à propos du raisonnement)." -#: library/socket.rst:1176 +#: library/socket.rst:1202 msgid "" "Bind the socket to *address*. The socket must not already be bound. (The " "format of *address* depends on the address family --- see above.)" msgstr "" -#: library/socket.rst:1179 +#: library/socket.rst:1205 msgid "" "Raises an :ref:`auditing event ` ``socket.bind`` with arguments " "``self``, ``address``." msgstr "" -#: library/socket.rst:1183 +#: library/socket.rst:1209 msgid "" "Mark the socket closed. The underlying system resource (e.g. a file " "descriptor) is also closed when all file objects from :meth:`makefile()` are " @@ -1386,20 +1416,20 @@ msgid "" "flushed)." msgstr "" -#: library/socket.rst:1189 +#: library/socket.rst:1215 msgid "" "Sockets are automatically closed when they are garbage-collected, but it is " "recommended to :meth:`close` them explicitly, or to use a :keyword:`with` " "statement around them." msgstr "" -#: library/socket.rst:1193 +#: library/socket.rst:1219 msgid "" ":exc:`OSError` is now raised if an error occurs when the underlying :c:func:" "`close` call is made." msgstr "" -#: library/socket.rst:1199 +#: library/socket.rst:1225 msgid "" ":meth:`close()` releases the resource associated with a connection but does " "not necessarily close the connection immediately. If you want to close the " @@ -1407,13 +1437,13 @@ msgid "" "`close()`." msgstr "" -#: library/socket.rst:1207 +#: library/socket.rst:1233 msgid "" "Connect to a remote socket at *address*. (The format of *address* depends on " "the address family --- see above.)" msgstr "" -#: library/socket.rst:1210 +#: library/socket.rst:1236 msgid "" "If the connection is interrupted by a signal, the method waits until the " "connection completes, or raise a :exc:`socket.timeout` on timeout, if the " @@ -1423,13 +1453,13 @@ msgid "" "(or the exception raised by the signal handler)." msgstr "" -#: library/socket.rst:1235 +#: library/socket.rst:1261 msgid "" "Raises an :ref:`auditing event ` ``socket.connect`` with arguments " "``self``, ``address``." msgstr "" -#: library/socket.rst:1219 +#: library/socket.rst:1245 msgid "" "The method now waits until the connection completes instead of raising an :" "exc:`InterruptedError` exception if the connection is interrupted by a " @@ -1437,7 +1467,7 @@ msgid "" "blocking or has a timeout (see the :pep:`475` for the rationale)." msgstr "" -#: library/socket.rst:1228 +#: library/socket.rst:1254 msgid "" "Like ``connect(address)``, but return an error indicator instead of raising " "an exception for errors returned by the C-level :c:func:`connect` call " @@ -1447,38 +1477,38 @@ msgid "" "asynchronous connects." msgstr "" -#: library/socket.rst:1239 +#: library/socket.rst:1265 msgid "" "Put the socket object into closed state without actually closing the " "underlying file descriptor. The file descriptor is returned, and can be " "reused for other purposes." msgstr "" -#: library/socket.rst:1248 +#: library/socket.rst:1274 msgid "Duplicate the socket." msgstr "" -#: library/socket.rst:1258 +#: library/socket.rst:1284 msgid "" "Return the socket's file descriptor (a small integer), or -1 on failure. " "This is useful with :func:`select.select`." msgstr "" -#: library/socket.rst:1261 +#: library/socket.rst:1287 msgid "" "Under Windows the small integer returned by this method cannot be used where " "a file descriptor can be used (such as :func:`os.fdopen`). Unix does not " "have this limitation." msgstr "" -#: library/socket.rst:1267 +#: library/socket.rst:1293 msgid "" "Get the :ref:`inheritable flag ` of the socket's file " "descriptor or socket's handle: ``True`` if the socket can be inherited in " "child processes, ``False`` if it cannot." msgstr "" -#: library/socket.rst:1276 +#: library/socket.rst:1302 msgid "" "Return the remote address to which the socket is connected. This is useful " "to find out the port number of a remote IPv4/v6 socket, for instance. (The " @@ -1486,14 +1516,14 @@ msgid "" "above.) On some systems this function is not supported." msgstr "" -#: library/socket.rst:1284 +#: library/socket.rst:1310 msgid "" "Return the socket's own address. This is useful to find out the port number " "of an IPv4/v6 socket, for instance. (The format of the address returned " "depends on the address family --- see above.)" msgstr "" -#: library/socket.rst:1291 +#: library/socket.rst:1317 msgid "" "Return the value of the given socket option (see the Unix man page :manpage:" "`getsockopt(2)`). The needed symbolic constants (:const:`SO_\\*` etc.) are " @@ -1505,16 +1535,16 @@ msgid "" "`struct` for a way to decode C structures encoded as byte strings)." msgstr "" -#: library/socket.rst:1303 +#: library/socket.rst:1329 msgid "" "Return ``True`` if socket is in blocking mode, ``False`` if in non-blocking." msgstr "" -#: library/socket.rst:1306 +#: library/socket.rst:1332 msgid "This is equivalent to checking ``socket.gettimeout() == 0``." msgstr "" -#: library/socket.rst:1313 +#: library/socket.rst:1339 msgid "" "Return the timeout in seconds (float) associated with socket operations, or " "``None`` if no timeout is set. This reflects the last call to :meth:" @@ -1525,30 +1555,30 @@ msgstr "" msgid "platform" msgstr "" -#: library/socket.rst:1320 +#: library/socket.rst:1346 msgid "Windows" msgstr "Windows" -#: library/socket.rst:1322 +#: library/socket.rst:1348 msgid "" "The :meth:`ioctl` method is a limited interface to the WSAIoctl system " "interface. Please refer to the `Win32 documentation `_ for more information." msgstr "" -#: library/socket.rst:1327 +#: library/socket.rst:1353 msgid "" "On other platforms, the generic :func:`fcntl.fcntl` and :func:`fcntl.ioctl` " "functions may be used; they accept a socket object as their first argument." msgstr "" -#: library/socket.rst:1330 +#: library/socket.rst:1356 msgid "" "Currently only the following control codes are supported: ``SIO_RCVALL``, " "``SIO_KEEPALIVE_VALS``, and ``SIO_LOOPBACK_FAST_PATH``." msgstr "" -#: library/socket.rst:1338 +#: library/socket.rst:1364 msgid "" "Enable a server to accept connections. If *backlog* is specified, it must " "be at least 0 (if it is lower, it is set to 0); it specifies the number of " @@ -1556,11 +1586,11 @@ msgid "" "connections. If not specified, a default reasonable value is chosen." msgstr "" -#: library/socket.rst:1343 +#: library/socket.rst:1369 msgid "The *backlog* parameter is now optional." msgstr "" -#: library/socket.rst:1351 +#: library/socket.rst:1377 msgid "" "Return a :term:`file object` associated with the socket. The exact returned " "type depends on the arguments given to :meth:`makefile`. These arguments " @@ -1569,28 +1599,28 @@ msgid "" "``'b'``." msgstr "" -#: library/socket.rst:1356 +#: library/socket.rst:1382 msgid "" "The socket must be in blocking mode; it can have a timeout, but the file " "object's internal buffer may end up in an inconsistent state if a timeout " "occurs." msgstr "" -#: library/socket.rst:1360 +#: library/socket.rst:1386 msgid "" "Closing the file object returned by :meth:`makefile` won't close the " "original socket unless all other file objects have been closed and :meth:" "`socket.close` has been called on the socket object." msgstr "" -#: library/socket.rst:1366 +#: library/socket.rst:1392 msgid "" "On Windows, the file-like object created by :meth:`makefile` cannot be used " "where a file object with a file descriptor is expected, such as the stream " "arguments of :meth:`subprocess.Popen`." msgstr "" -#: library/socket.rst:1373 +#: library/socket.rst:1399 msgid "" "Receive data from the socket. The return value is a bytes object " "representing the data received. The maximum amount of data to be received " @@ -1599,13 +1629,13 @@ msgid "" "zero." msgstr "" -#: library/socket.rst:1380 +#: library/socket.rst:1406 msgid "" "For best match with hardware and network realities, the value of *bufsize* " "should be a relatively small power of 2, for example, 4096." msgstr "" -#: library/socket.rst:1391 +#: library/socket.rst:1417 msgid "" "Receive data from the socket. The return value is a pair ``(bytes, " "address)`` where *bytes* is a bytes object representing the data received " @@ -1615,14 +1645,14 @@ msgid "" "address family --- see above.)" msgstr "" -#: library/socket.rst:1402 +#: library/socket.rst:1428 msgid "" "For multicast IPv6 address, first item of *address* does not contain ``" "%scope_id`` part anymore. In order to get full IPv6 address use :func:" "`getnameinfo`." msgstr "" -#: library/socket.rst:1409 +#: library/socket.rst:1435 msgid "" "Receive normal data (up to *bufsize* bytes) and ancillary data from the " "socket. The *ancbufsize* argument sets the size in bytes of the internal " @@ -1633,7 +1663,7 @@ msgid "" "*flags* argument defaults to 0 and has the same meaning as for :meth:`recv`." msgstr "" -#: library/socket.rst:1419 +#: library/socket.rst:1445 msgid "" "The return value is a 4-tuple: ``(data, ancdata, msg_flags, address)``. The " "*data* item is a :class:`bytes` object holding the non-ancillary data " @@ -1648,7 +1678,7 @@ msgid "" "socket, if available; otherwise, its value is unspecified." msgstr "" -#: library/socket.rst:1433 +#: library/socket.rst:1459 msgid "" "On some systems, :meth:`sendmsg` and :meth:`recvmsg` can be used to pass " "file descriptors between processes over an :const:`AF_UNIX` socket. When " @@ -1661,7 +1691,7 @@ msgid "" "descriptors received via this mechanism." msgstr "" -#: library/socket.rst:1444 +#: library/socket.rst:1470 msgid "" "Some systems do not indicate the truncated length of ancillary data items " "which have been only partially received. If an item appears to extend " @@ -1670,7 +1700,7 @@ msgid "" "provided it has not been truncated before the start of its associated data." msgstr "" -#: library/socket.rst:1451 +#: library/socket.rst:1477 msgid "" "On systems which support the :const:`SCM_RIGHTS` mechanism, the following " "function will receive up to *maxfds* file descriptors, returning the message " @@ -1679,7 +1709,7 @@ msgid "" "meth:`sendmsg`. ::" msgstr "" -#: library/socket.rst:1480 +#: library/socket.rst:1506 msgid "" "Receive normal data and ancillary data from the socket, behaving as :meth:" "`recvmsg` would, but scatter the non-ancillary data into a series of buffers " @@ -1692,7 +1722,7 @@ msgid "" "arguments have the same meaning as for :meth:`recvmsg`." msgstr "" -#: library/socket.rst:1491 +#: library/socket.rst:1517 msgid "" "The return value is a 4-tuple: ``(nbytes, ancdata, msg_flags, address)``, " "where *nbytes* is the total number of bytes of non-ancillary data written " @@ -1700,11 +1730,11 @@ msgid "" "for :meth:`recvmsg`." msgstr "" -#: library/socket.rst:1496 +#: library/socket.rst:1522 msgid "Example::" msgstr "Exemple ::" -#: library/socket.rst:1517 +#: library/socket.rst:1543 msgid "" "Receive data from the socket, writing it into *buffer* instead of creating a " "new bytestring. The return value is a pair ``(nbytes, address)`` where " @@ -1714,7 +1744,7 @@ msgid "" "format of *address* depends on the address family --- see above.)" msgstr "" -#: library/socket.rst:1527 +#: library/socket.rst:1553 msgid "" "Receive up to *nbytes* bytes from the socket, storing the data into a buffer " "rather than creating a new bytestring. If *nbytes* is not specified (or 0), " @@ -1723,7 +1753,7 @@ msgid "" "of the optional argument *flags*; it defaults to zero." msgstr "" -#: library/socket.rst:1536 +#: library/socket.rst:1562 msgid "" "Send data to the socket. The socket must be connected to a remote socket. " "The optional *flags* argument has the same meaning as for :meth:`recv` " @@ -1733,7 +1763,7 @@ msgid "" "data. For further information on this topic, consult the :ref:`socket-howto`." msgstr "" -#: library/socket.rst:1551 +#: library/socket.rst:1577 msgid "" "Send data to the socket. The socket must be connected to a remote socket. " "The optional *flags* argument has the same meaning as for :meth:`recv` " @@ -1743,13 +1773,13 @@ msgid "" "to determine how much data, if any, was successfully sent." msgstr "" -#: library/socket.rst:1558 +#: library/socket.rst:1584 msgid "" "The socket timeout is no more reset each time data is sent successfully. The " "socket timeout is now the maximum total duration to send all data." msgstr "" -#: library/socket.rst:1571 +#: library/socket.rst:1597 msgid "" "Send data to the socket. The socket should not be connected to a remote " "socket, since the destination socket is specified by *address*. The " @@ -1758,13 +1788,13 @@ msgid "" "address family --- see above.)" msgstr "" -#: library/socket.rst:1577 +#: library/socket.rst:1603 msgid "" "Raises an :ref:`auditing event ` ``socket.sendto`` with arguments " "``self``, ``address``." msgstr "" -#: library/socket.rst:1587 +#: library/socket.rst:1613 msgid "" "Send normal and ancillary data to the socket, gathering the non-ancillary " "data from a series of buffers and concatenating it into a single message. " @@ -1784,56 +1814,27 @@ msgid "" "bytes of non-ancillary data sent." msgstr "" -#: library/socket.rst:1607 +#: library/socket.rst:1633 msgid "" "The following function sends the list of file descriptors *fds* over an :" "const:`AF_UNIX` socket, on systems which support the :const:`SCM_RIGHTS` " "mechanism. See also :meth:`recvmsg`. ::" msgstr "" -#: library/socket.rst:1618 +#: library/socket.rst:1644 msgid "" "Raises an :ref:`auditing event ` ``socket.sendmsg`` with arguments " "``self``, ``address``." msgstr "" -#: library/socket.rst:1629 +#: library/socket.rst:1655 msgid "" "Specialized version of :meth:`~socket.sendmsg` for :const:`AF_ALG` socket. " "Set mode, IV, AEAD associated data length and flags for :const:`AF_ALG` " "socket." msgstr "" -#: library/socket.rst:1638 -msgid "" -"Send the list of file descriptors *fds* over an :const:`AF_UNIX` socket. The " -"*fds* parameter is a sequence of file descriptors. Consult :meth:`sendmsg` " -"for the documentation of these parameters." -msgstr "" - -#: library/socket.rst:1643 -msgid "" -":ref:`Availability `: Unix supporting :meth:`~socket.sendmsg` " -"and :const:`SCM_RIGHTS` mechanism." -msgstr "" - -#: library/socket.rst:1648 -msgid "" -"Receive up to *maxfds* file descriptors. Return ``(msg, list(fds), flags, " -"addr)``. Consult :meth:`recvmsg` for the documentation of these parameters." -msgstr "" - -#: library/socket.rst:1652 -msgid "" -":ref:`Availability `: Unix supporting :meth:`~socket.recvmsg` " -"and :const:`SCM_RIGHTS` mechanism." -msgstr "" - -#: library/socket.rst:1657 -msgid "Any truncated integers at the end of the list of file descriptors." -msgstr "" - -#: library/socket.rst:1661 +#: library/socket.rst:1664 msgid "" "Send a file until EOF is reached by using high-performance :mod:`os." "sendfile` and return the total number of bytes which were sent. *file* must " @@ -1847,38 +1848,38 @@ msgid "" "be of :const:`SOCK_STREAM` type. Non-blocking sockets are not supported." msgstr "" -#: library/socket.rst:1677 +#: library/socket.rst:1680 msgid "" "Set the :ref:`inheritable flag ` of the socket's file " "descriptor or socket's handle." msgstr "" -#: library/socket.rst:1685 +#: library/socket.rst:1688 msgid "" "Set blocking or non-blocking mode of the socket: if *flag* is false, the " "socket is set to non-blocking, else to blocking mode." msgstr "" -#: library/socket.rst:1688 +#: library/socket.rst:1691 msgid "" "This method is a shorthand for certain :meth:`~socket.settimeout` calls:" msgstr "" -#: library/socket.rst:1690 +#: library/socket.rst:1693 msgid "``sock.setblocking(True)`` is equivalent to ``sock.settimeout(None)``" msgstr "" -#: library/socket.rst:1692 +#: library/socket.rst:1695 msgid "``sock.setblocking(False)`` is equivalent to ``sock.settimeout(0.0)``" msgstr "" -#: library/socket.rst:1694 +#: library/socket.rst:1697 msgid "" "The method no longer applies :const:`SOCK_NONBLOCK` flag on :attr:`socket." "type`." msgstr "" -#: library/socket.rst:1701 +#: library/socket.rst:1704 msgid "" "Set a timeout on blocking socket operations. The *value* argument can be a " "nonnegative floating point number expressing seconds, or ``None``. If a non-" @@ -1888,19 +1889,19 @@ msgid "" "blocking mode. If ``None`` is given, the socket is put in blocking mode." msgstr "" -#: library/socket.rst:1708 +#: library/socket.rst:1711 msgid "" "For further information, please consult the :ref:`notes on socket timeouts " "`." msgstr "" -#: library/socket.rst:1710 +#: library/socket.rst:1713 msgid "" "The method no longer toggles :const:`SOCK_NONBLOCK` flag on :attr:`socket." "type`." msgstr "" -#: library/socket.rst:1723 +#: library/socket.rst:1726 msgid "" "Set the value of the given socket option (see the Unix manual page :manpage:" "`setsockopt(2)`). The needed symbolic constants are defined in the :mod:" @@ -1913,11 +1914,11 @@ msgid "" "C function with ``optval=NULL`` and ``optlen=optlen``." msgstr "" -#: library/socket.rst:1737 +#: library/socket.rst:1740 msgid "setsockopt(level, optname, None, optlen: int) form added." msgstr "" -#: library/socket.rst:1743 +#: library/socket.rst:1746 msgid "" "Shut down one or both halves of the connection. If *how* is :const:" "`SHUT_RD`, further receives are disallowed. If *how* is :const:`SHUT_WR`, " @@ -1925,7 +1926,7 @@ msgid "" "and receives are disallowed." msgstr "" -#: library/socket.rst:1751 +#: library/socket.rst:1754 msgid "" "Duplicate a socket and prepare it for sharing with a target process. The " "target process must be provided with *process_id*. The resulting bytes " @@ -1936,48 +1937,48 @@ msgid "" "process." msgstr "" -#: library/socket.rst:1763 +#: library/socket.rst:1766 msgid "" "Note that there are no methods :meth:`read` or :meth:`write`; use :meth:" "`~socket.recv` and :meth:`~socket.send` without *flags* argument instead." msgstr "" -#: library/socket.rst:1766 +#: library/socket.rst:1769 msgid "" "Socket objects also have these (read-only) attributes that correspond to the " "values given to the :class:`~socket.socket` constructor." msgstr "" -#: library/socket.rst:1772 +#: library/socket.rst:1775 msgid "The socket family." msgstr "" -#: library/socket.rst:1777 +#: library/socket.rst:1780 msgid "The socket type." msgstr "" -#: library/socket.rst:1782 +#: library/socket.rst:1785 msgid "The socket protocol." msgstr "" -#: library/socket.rst:1789 +#: library/socket.rst:1792 msgid "Notes on socket timeouts" msgstr "" -#: library/socket.rst:1791 +#: library/socket.rst:1794 msgid "" "A socket object can be in one of three modes: blocking, non-blocking, or " "timeout. Sockets are by default always created in blocking mode, but this " "can be changed by calling :func:`setdefaulttimeout`." msgstr "" -#: library/socket.rst:1795 +#: library/socket.rst:1798 msgid "" "In *blocking mode*, operations block until complete or the system returns an " "error (such as connection timed out)." msgstr "" -#: library/socket.rst:1798 +#: library/socket.rst:1801 msgid "" "In *non-blocking mode*, operations fail (with an error that is unfortunately " "system-dependent) if they cannot be completed immediately: functions from " @@ -1985,14 +1986,14 @@ msgid "" "for reading or writing." msgstr "" -#: library/socket.rst:1803 +#: library/socket.rst:1806 msgid "" "In *timeout mode*, operations fail if they cannot be completed within the " "timeout specified for the socket (they raise a :exc:`timeout` exception) or " "if the system returns an error." msgstr "" -#: library/socket.rst:1808 +#: library/socket.rst:1811 msgid "" "At the operating system level, sockets in *timeout mode* are internally set " "in non-blocking mode. Also, the blocking and timeout modes are shared " @@ -2001,11 +2002,11 @@ msgid "" "you decide to use the :meth:`~socket.fileno()` of a socket." msgstr "" -#: library/socket.rst:1815 +#: library/socket.rst:1818 msgid "Timeouts and the ``connect`` method" msgstr "" -#: library/socket.rst:1817 +#: library/socket.rst:1820 msgid "" "The :meth:`~socket.connect` operation is also subject to the timeout " "setting, and in general it is recommended to call :meth:`~socket.settimeout` " @@ -2015,24 +2016,24 @@ msgid "" "setting." msgstr "" -#: library/socket.rst:1825 +#: library/socket.rst:1828 msgid "Timeouts and the ``accept`` method" msgstr "" -#: library/socket.rst:1827 +#: library/socket.rst:1830 msgid "" "If :func:`getdefaulttimeout` is not :const:`None`, sockets returned by the :" "meth:`~socket.accept` method inherit that timeout. Otherwise, the behaviour " "depends on settings of the listening socket:" msgstr "" -#: library/socket.rst:1831 +#: library/socket.rst:1834 msgid "" "if the listening socket is in *blocking mode* or in *timeout mode*, the " "socket returned by :meth:`~socket.accept` is in *blocking mode*;" msgstr "" -#: library/socket.rst:1834 +#: library/socket.rst:1837 msgid "" "if the listening socket is in *non-blocking mode*, whether the socket " "returned by :meth:`~socket.accept` is in blocking or non-blocking mode is " @@ -2040,11 +2041,11 @@ msgid "" "it is recommended you manually override this setting." msgstr "" -#: library/socket.rst:1843 +#: library/socket.rst:1846 msgid "Example" msgstr "Exemple" -#: library/socket.rst:1845 +#: library/socket.rst:1848 msgid "" "Here are four minimal example programs using the TCP/IP protocol: a server " "that echoes all data that it receives back (servicing only one client), and " @@ -2057,11 +2058,11 @@ msgid "" "new socket returned by :meth:`~socket.accept`." msgstr "" -#: library/socket.rst:1855 +#: library/socket.rst:1858 msgid "The first two examples support IPv4 only. ::" msgstr "" -#: library/socket.rst:1886 +#: library/socket.rst:1889 msgid "" "The next two examples are identical to the above two, but support both IPv4 " "and IPv6. The server side will listen to the first address family available " @@ -2071,73 +2072,73 @@ msgid "" "resolution, and sends traffic to the first one connected successfully. ::" msgstr "" -#: library/socket.rst:1958 +#: library/socket.rst:1961 msgid "" "The next example shows how to write a very simple network sniffer with raw " "sockets on Windows. The example requires administrator privileges to modify " "the interface::" msgstr "" -#: library/socket.rst:1983 +#: library/socket.rst:1986 msgid "" "The next example shows how to use the socket interface to communicate to a " "CAN network using the raw socket protocol. To use CAN with the broadcast " "manager protocol instead, open a socket with::" msgstr "" -#: library/socket.rst:1989 +#: library/socket.rst:1992 msgid "" "After binding (:const:`CAN_RAW`) or connecting (:const:`CAN_BCM`) the " "socket, you can use the :meth:`socket.send`, and the :meth:`socket.recv` " "operations (and their counterparts) on the socket object as usual." msgstr "" -#: library/socket.rst:1993 +#: library/socket.rst:1996 msgid "This last example might require special privileges::" msgstr "" -#: library/socket.rst:2033 +#: library/socket.rst:2036 msgid "" "Running an example several times with too small delay between executions, " "could lead to this error::" msgstr "" -#: library/socket.rst:2038 +#: library/socket.rst:2041 msgid "" "This is because the previous execution has left the socket in a " "``TIME_WAIT`` state, and can't be immediately reused." msgstr "" -#: library/socket.rst:2041 +#: library/socket.rst:2044 msgid "" "There is a :mod:`socket` flag to set, in order to prevent this, :data:" "`socket.SO_REUSEADDR`::" msgstr "" -#: library/socket.rst:2048 +#: library/socket.rst:2051 msgid "" "the :data:`SO_REUSEADDR` flag tells the kernel to reuse a local socket in " "``TIME_WAIT`` state, without waiting for its natural timeout to expire." msgstr "" -#: library/socket.rst:2054 +#: library/socket.rst:2057 msgid "" "For an introduction to socket programming (in C), see the following papers:" msgstr "" -#: library/socket.rst:2056 +#: library/socket.rst:2059 msgid "" "*An Introductory 4.3BSD Interprocess Communication Tutorial*, by Stuart " "Sechrest" msgstr "" -#: library/socket.rst:2058 +#: library/socket.rst:2061 msgid "" "*An Advanced 4.3BSD Interprocess Communication Tutorial*, by Samuel J. " "Leffler et al," msgstr "" -#: library/socket.rst:2061 +#: library/socket.rst:2064 msgid "" "both in the UNIX Programmer's Manual, Supplementary Documents 1 (sections " "PS1:7 and PS1:8). The platform-specific reference material for the various " diff --git a/library/sqlite3.po b/library/sqlite3.po index c222c3c4..c0303024 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2019-03-26 15:55+0100\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -85,33 +85,6 @@ msgstr "" #: library/sqlite3.rst:57 msgid "" -"Usually your SQL operations will need to use values from Python variables. " -"You shouldn't assemble your query using Python's string operations because " -"doing so is insecure; it makes your program vulnerable to an SQL injection " -"attack (see https://xkcd.com/327/ for humorous example of what can go wrong)." -msgstr "" -"Habituellement, vos opérations SQL utilisent les valeurs de variables " -"Python. Vous ne devez pas assembler votre requête à l'aide des opérations " -"sur les chaînes de caractères de Python, car cela n'est pas sûr. Cela rend " -"votre programme vulnérable à une attaque par injection SQL (voir https://" -"xkcd.com/327/ pour un exemple amusant de ce qui peut mal tourner)." - -#: library/sqlite3.rst:62 -msgid "" -"Instead, use the DB-API's parameter substitution. Put ``?`` as a " -"placeholder wherever you want to use a value, and then provide a tuple of " -"values as the second argument to the cursor's :meth:`~Cursor.execute` " -"method. (Other database modules may use a different placeholder, such as ``" -"%s`` or ``:1``.) For example::" -msgstr "" -"À la place, utilisez la capacité DB-API de substitution des paramètres. " -"Placez un ``?`` comme indicateur partout où vous voulez utiliser une valeur, " -"puis fournissez un *n*-uplet de valeurs comme second argument de la méthode :" -"meth:`~Cursor.execute`. D'autres modules de base de données peuvent utiliser " -"un espace réservé différent, tel que ``%s`` ou ``:1``. Par exemple ::" - -#: library/sqlite3.rst:84 -msgid "" "To retrieve data after executing a SELECT statement, you can either treat " "the cursor as an :term:`iterator`, call the cursor's :meth:`~Cursor." "fetchone` method to retrieve a single matching row, or call :meth:`~Cursor." @@ -123,10 +96,40 @@ msgstr "" "seule ligne correspondante ou appeler :meth:`~Cursor.fetchall` pour obtenir " "une liste des lignes correspondantes." -#: library/sqlite3.rst:89 +#: library/sqlite3.rst:62 msgid "This example uses the iterator form::" msgstr "Cet exemple utilise la forme itérateur ::" +#: library/sqlite3.rst:75 +#, fuzzy +msgid "" +"Usually your SQL operations will need to use values from Python variables. " +"You shouldn't assemble your query using Python's string operations because " +"doing so is insecure; it makes your program vulnerable to an SQL injection " +"attack (see the `xkcd webcomic `_ for a humorous " +"example of what can go wrong)::" +msgstr "" +"Habituellement, vos opérations SQL utilisent les valeurs de variables " +"Python. Vous ne devez pas assembler votre requête à l'aide des opérations " +"sur les chaînes de caractères de Python, car cela n'est pas sûr. Cela rend " +"votre programme vulnérable à une attaque par injection SQL (voir https://" +"xkcd.com/327/ pour un exemple amusant de ce qui peut mal tourner)." + +#: library/sqlite3.rst:85 +msgid "" +"Instead, use the DB-API's parameter substitution. Put a placeholder wherever " +"you want to use a value, and then provide a tuple of values as the second " +"argument to the cursor's :meth:`~Cursor.execute` method. An SQL statement " +"may use one of two kinds of placeholders: question marks (qmark style) or " +"named placeholders (named style). For the qmark style, ``parameters`` must " +"be a :term:`sequence `. For the named style, it can be either a :" +"term:`sequence ` or :class:`dict` instance. The length of the :" +"term:`sequence ` must match the number of placeholders, or a :exc:" +"`ProgrammingError` is raised. If a :class:`dict` is given, it must contain " +"keys for all named parameters. Any extra items are ignored. Here's an " +"example of both styles:" +msgstr "" + #: library/sqlite3.rst:104 msgid "https://www.sqlite.org" msgstr "https://www.sqlite.org" @@ -474,7 +477,7 @@ msgstr "" msgid "The *deterministic* parameter was added." msgstr "" -#: library/sqlite3.rst:376 library/sqlite3.rst:647 +#: library/sqlite3.rst:376 library/sqlite3.rst:643 msgid "Example:" msgstr "Exemple :" @@ -732,17 +735,11 @@ msgstr "" #: library/sqlite3.rst:611 msgid "" -"Executes an SQL statement. The SQL statement may be parameterized (i. e. " -"placeholders instead of SQL literals). The :mod:`sqlite3` module supports " -"two kinds of placeholders: question marks (qmark style) and named " -"placeholders (named style)." +"Executes an SQL statement. Values may be bound to the statement using :ref:" +"`placeholders `." msgstr "" -#: library/sqlite3.rst:616 -msgid "Here's an example of both styles:" -msgstr "" - -#: library/sqlite3.rst:620 +#: library/sqlite3.rst:614 msgid "" ":meth:`execute` will only execute a single SQL statement. If you try to " "execute more than one statement with it, it will raise a :exc:`.Warning`. " @@ -750,41 +747,43 @@ msgid "" "with one call." msgstr "" -#: library/sqlite3.rst:628 +#: library/sqlite3.rst:622 msgid "" -"Executes an SQL command against all parameter sequences or mappings found in " -"the sequence *seq_of_parameters*. The :mod:`sqlite3` module also allows " -"using an :term:`iterator` yielding parameters instead of a sequence." +"Executes a :ref:`parameterized ` SQL command against " +"all parameter sequences or mappings found in the sequence " +"*seq_of_parameters*. The :mod:`sqlite3` module also allows using an :term:" +"`iterator` yielding parameters instead of a sequence." msgstr "" -#: library/sqlite3.rst:634 +#: library/sqlite3.rst:629 msgid "Here's a shorter example using a :term:`generator`:" msgstr "" -#: library/sqlite3.rst:641 +#: library/sqlite3.rst:636 msgid "" "This is a nonstandard convenience method for executing multiple SQL " "statements at once. It issues a ``COMMIT`` statement first, then executes " -"the SQL script it gets as a parameter." +"the SQL script it gets as a parameter. This method disregards :attr:" +"`isolation_level`; any transation control must be added to *sql_script*." msgstr "" -#: library/sqlite3.rst:645 +#: library/sqlite3.rst:641 msgid "*sql_script* can be an instance of :class:`str`." msgstr "" -#: library/sqlite3.rst:654 +#: library/sqlite3.rst:650 msgid "" "Fetches the next row of a query result set, returning a single sequence, or :" "const:`None` when no more data is available." msgstr "" -#: library/sqlite3.rst:660 +#: library/sqlite3.rst:656 msgid "" "Fetches the next set of rows of a query result, returning a list. An empty " "list is returned when no more rows are available." msgstr "" -#: library/sqlite3.rst:663 +#: library/sqlite3.rst:659 msgid "" "The number of rows to fetch per call is specified by the *size* parameter. " "If it is not given, the cursor's arraysize determines the number of rows to " @@ -793,7 +792,7 @@ msgid "" "not being available, fewer rows may be returned." msgstr "" -#: library/sqlite3.rst:669 +#: library/sqlite3.rst:665 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -801,38 +800,38 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: library/sqlite3.rst:676 +#: library/sqlite3.rst:672 msgid "" "Fetches all (remaining) rows of a query result, returning a list. Note that " "the cursor's arraysize attribute can affect the performance of this " "operation. An empty list is returned when no rows are available." msgstr "" -#: library/sqlite3.rst:682 +#: library/sqlite3.rst:678 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: library/sqlite3.rst:684 +#: library/sqlite3.rst:680 msgid "" "The cursor will be unusable from this point forward; a :exc:" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" -#: library/sqlite3.rst:689 +#: library/sqlite3.rst:685 msgid "" "Although the :class:`Cursor` class of the :mod:`sqlite3` module implements " "this attribute, the database engine's own support for the determination of " "\"rows affected\"/\"rows selected\" is quirky." msgstr "" -#: library/sqlite3.rst:693 +#: library/sqlite3.rst:689 msgid "" "For :meth:`executemany` statements, the number of modifications are summed " "up into :attr:`rowcount`." msgstr "" -#: library/sqlite3.rst:696 +#: library/sqlite3.rst:692 msgid "" "As required by the Python DB API Spec, the :attr:`rowcount` attribute \"is " "-1 in case no ``executeXX()`` has been performed on the cursor or the " @@ -841,13 +840,13 @@ msgid "" "rows a query produced until all rows were fetched." msgstr "" -#: library/sqlite3.rst:702 +#: library/sqlite3.rst:698 msgid "" "With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if you make " "a ``DELETE FROM table`` without any condition." msgstr "" -#: library/sqlite3.rst:707 +#: library/sqlite3.rst:703 msgid "" "This read-only attribute provides the rowid of the last modified row. It is " "only set if you issued an ``INSERT`` or a ``REPLACE`` statement using the :" @@ -856,35 +855,35 @@ msgid "" "`None`." msgstr "" -#: library/sqlite3.rst:713 +#: library/sqlite3.rst:709 msgid "" "If the ``INSERT`` or ``REPLACE`` statement failed to insert the previous " "successful rowid is returned." msgstr "" -#: library/sqlite3.rst:716 +#: library/sqlite3.rst:712 msgid "Added support for the ``REPLACE`` statement." msgstr "" -#: library/sqlite3.rst:721 +#: library/sqlite3.rst:717 msgid "" "Read/write attribute that controls the number of rows returned by :meth:" "`fetchmany`. The default value is 1 which means a single row would be " "fetched per call." msgstr "" -#: library/sqlite3.rst:726 +#: library/sqlite3.rst:722 msgid "" "This read-only attribute provides the column names of the last query. To " "remain compatible with the Python DB API, it returns a 7-tuple for each " "column where the last six items of each tuple are :const:`None`." msgstr "" -#: library/sqlite3.rst:730 +#: library/sqlite3.rst:726 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: library/sqlite3.rst:734 +#: library/sqlite3.rst:730 msgid "" "This read-only attribute provides the SQLite database :class:`Connection` " "used by the :class:`Cursor` object. A :class:`Cursor` object created by " @@ -892,79 +891,79 @@ msgid "" "`connection` attribute that refers to *con*::" msgstr "" -#: library/sqlite3.rst:747 +#: library/sqlite3.rst:743 msgid "Row Objects" msgstr "" -#: library/sqlite3.rst:751 +#: library/sqlite3.rst:747 msgid "" "A :class:`Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It tries to mimic a tuple in " "most of its features." msgstr "" -#: library/sqlite3.rst:755 +#: library/sqlite3.rst:751 msgid "" "It supports mapping access by column name and index, iteration, " "representation, equality testing and :func:`len`." msgstr "" -#: library/sqlite3.rst:758 +#: library/sqlite3.rst:754 msgid "" "If two :class:`Row` objects have exactly the same columns and their members " "are equal, they compare equal." msgstr "" -#: library/sqlite3.rst:763 +#: library/sqlite3.rst:759 msgid "" "This method returns a list of column names. Immediately after a query, it is " "the first member of each tuple in :attr:`Cursor.description`." msgstr "" -#: library/sqlite3.rst:766 +#: library/sqlite3.rst:762 msgid "Added support of slicing." msgstr "" -#: library/sqlite3.rst:769 +#: library/sqlite3.rst:765 msgid "Let's assume we initialize a table as in the example given above::" msgstr "" -#: library/sqlite3.rst:781 +#: library/sqlite3.rst:777 msgid "Now we plug :class:`Row` in::" msgstr "" -#: library/sqlite3.rst:813 +#: library/sqlite3.rst:809 msgid "Exceptions" msgstr "Exceptions" -#: library/sqlite3.rst:817 +#: library/sqlite3.rst:813 msgid "A subclass of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:821 +#: library/sqlite3.rst:817 msgid "" "The base class of the other exceptions in this module. It is a subclass of :" "exc:`Exception`." msgstr "" -#: library/sqlite3.rst:826 +#: library/sqlite3.rst:822 msgid "Exception raised for errors that are related to the database." msgstr "" -#: library/sqlite3.rst:830 +#: library/sqlite3.rst:826 msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:835 +#: library/sqlite3.rst:831 msgid "" "Exception raised for programming errors, e.g. table not found or already " "exists, syntax error in the SQL statement, wrong number of parameters " "specified, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:841 +#: library/sqlite3.rst:837 msgid "" "Exception raised for errors that are related to the database's operation and " "not necessarily under the control of the programmer, e.g. an unexpected " @@ -972,7 +971,7 @@ msgid "" "not be processed, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:848 +#: library/sqlite3.rst:844 msgid "" "Exception raised in case a method or database API was used which is not " "supported by the database, e.g. calling the :meth:`~Connection.rollback` " @@ -980,82 +979,82 @@ msgid "" "turned off. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:857 +#: library/sqlite3.rst:853 msgid "SQLite and Python types" msgstr "" -#: library/sqlite3.rst:861 +#: library/sqlite3.rst:857 msgid "Introduction" msgstr "Introduction" -#: library/sqlite3.rst:863 +#: library/sqlite3.rst:859 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: library/sqlite3.rst:866 +#: library/sqlite3.rst:862 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: library/sqlite3.rst:886 +#: library/sqlite3.rst:882 msgid "Python type" msgstr "Type Python" -#: library/sqlite3.rst:886 +#: library/sqlite3.rst:882 msgid "SQLite type" msgstr "SQLite type" -#: library/sqlite3.rst:888 +#: library/sqlite3.rst:884 msgid ":const:`None`" msgstr ":const:`None`" -#: library/sqlite3.rst:888 +#: library/sqlite3.rst:884 msgid "``NULL``" msgstr "``NULL``" -#: library/sqlite3.rst:890 +#: library/sqlite3.rst:886 msgid ":class:`int`" msgstr ":class:`int`" -#: library/sqlite3.rst:890 +#: library/sqlite3.rst:886 msgid "``INTEGER``" msgstr "``INTEGER``" -#: library/sqlite3.rst:892 +#: library/sqlite3.rst:888 msgid ":class:`float`" msgstr ":class:`float`" -#: library/sqlite3.rst:892 +#: library/sqlite3.rst:888 msgid "``REAL``" msgstr "``REAL``" -#: library/sqlite3.rst:877 +#: library/sqlite3.rst:873 msgid ":class:`str`" msgstr ":class:`str`" -#: library/sqlite3.rst:894 +#: library/sqlite3.rst:890 msgid "``TEXT``" msgstr "``TEXT``" -#: library/sqlite3.rst:897 +#: library/sqlite3.rst:893 msgid ":class:`bytes`" msgstr ":class:`bytes`" -#: library/sqlite3.rst:897 +#: library/sqlite3.rst:893 msgid "``BLOB``" msgstr "``BLOB``" -#: library/sqlite3.rst:883 +#: library/sqlite3.rst:879 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: library/sqlite3.rst:894 +#: library/sqlite3.rst:890 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: library/sqlite3.rst:900 +#: library/sqlite3.rst:896 msgid "" "The type system of the :mod:`sqlite3` module is extensible in two ways: you " "can store additional Python types in a SQLite database via object " @@ -1063,11 +1062,11 @@ msgid "" "to different Python types via converters." msgstr "" -#: library/sqlite3.rst:907 +#: library/sqlite3.rst:903 msgid "Using adapters to store additional Python types in SQLite databases" msgstr "" -#: library/sqlite3.rst:909 +#: library/sqlite3.rst:905 msgid "" "As described before, SQLite supports only a limited set of types natively. " "To use other Python types with SQLite, you must **adapt** them to one of the " @@ -1075,23 +1074,23 @@ msgid "" "str, bytes." msgstr "" -#: library/sqlite3.rst:914 +#: library/sqlite3.rst:910 msgid "" "There are two ways to enable the :mod:`sqlite3` module to adapt a custom " "Python type to one of the supported ones." msgstr "" -#: library/sqlite3.rst:919 +#: library/sqlite3.rst:915 msgid "Letting your object adapt itself" msgstr "" -#: library/sqlite3.rst:921 +#: library/sqlite3.rst:917 msgid "" "This is a good approach if you write the class yourself. Let's suppose you " "have a class like this::" msgstr "" -#: library/sqlite3.rst:928 +#: library/sqlite3.rst:924 msgid "" "Now you want to store the point in a single SQLite column. First you'll " "have to choose one of the supported types to be used for representing the " @@ -1101,18 +1100,18 @@ msgid "" "class:`PrepareProtocol`." msgstr "" -#: library/sqlite3.rst:938 +#: library/sqlite3.rst:934 msgid "Registering an adapter callable" msgstr "" -#: library/sqlite3.rst:940 +#: library/sqlite3.rst:936 msgid "" "The other possibility is to create a function that converts the type to the " "string representation and register the function with :meth:" "`register_adapter`." msgstr "" -#: library/sqlite3.rst:945 +#: library/sqlite3.rst:941 msgid "" "The :mod:`sqlite3` module has two default adapters for Python's built-in :" "class:`datetime.date` and :class:`datetime.datetime` types. Now let's " @@ -1120,110 +1119,110 @@ msgid "" "representation, but as a Unix timestamp." msgstr "" -#: library/sqlite3.rst:954 +#: library/sqlite3.rst:950 msgid "Converting SQLite values to custom Python types" msgstr "" -#: library/sqlite3.rst:956 +#: library/sqlite3.rst:952 msgid "" "Writing an adapter lets you send custom Python types to SQLite. But to make " "it really useful we need to make the Python to SQLite to Python roundtrip " "work." msgstr "" -#: library/sqlite3.rst:959 +#: library/sqlite3.rst:955 msgid "Enter converters." msgstr "" -#: library/sqlite3.rst:961 +#: library/sqlite3.rst:957 msgid "" "Let's go back to the :class:`Point` class. We stored the x and y coordinates " "separated via semicolons as strings in SQLite." msgstr "" -#: library/sqlite3.rst:964 +#: library/sqlite3.rst:960 msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`Point` object from it." msgstr "" -#: library/sqlite3.rst:969 +#: library/sqlite3.rst:965 msgid "" "Converter functions **always** get called with a :class:`bytes` object, no " "matter under which data type you sent the value to SQLite." msgstr "" -#: library/sqlite3.rst:978 +#: library/sqlite3.rst:974 msgid "" "Now you need to make the :mod:`sqlite3` module know that what you select " "from the database is actually a point. There are two ways of doing this:" msgstr "" -#: library/sqlite3.rst:981 +#: library/sqlite3.rst:977 msgid "Implicitly via the declared type" msgstr "" -#: library/sqlite3.rst:983 +#: library/sqlite3.rst:979 msgid "Explicitly via the column name" msgstr "" -#: library/sqlite3.rst:985 +#: library/sqlite3.rst:981 msgid "" "Both ways are described in section :ref:`sqlite3-module-contents`, in the " "entries for the constants :const:`PARSE_DECLTYPES` and :const:" "`PARSE_COLNAMES`." msgstr "" -#: library/sqlite3.rst:988 +#: library/sqlite3.rst:984 msgid "The following example illustrates both approaches." msgstr "" -#: library/sqlite3.rst:994 +#: library/sqlite3.rst:990 msgid "Default adapters and converters" msgstr "" -#: library/sqlite3.rst:996 +#: library/sqlite3.rst:992 msgid "" "There are default adapters for the date and datetime types in the datetime " "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" -#: library/sqlite3.rst:999 +#: library/sqlite3.rst:995 msgid "" "The default converters are registered under the name \"date\" for :class:" "`datetime.date` and under the name \"timestamp\" for :class:`datetime." "datetime`." msgstr "" -#: library/sqlite3.rst:1003 +#: library/sqlite3.rst:999 msgid "" "This way, you can use date/timestamps from Python without any additional " "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -#: library/sqlite3.rst:1007 +#: library/sqlite3.rst:1003 msgid "The following example demonstrates this." msgstr "" -#: library/sqlite3.rst:1011 +#: library/sqlite3.rst:1007 msgid "" "If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " "its value will be truncated to microsecond precision by the timestamp " "converter." msgstr "" -#: library/sqlite3.rst:1019 +#: library/sqlite3.rst:1015 msgid "Controlling Transactions" msgstr "" -#: library/sqlite3.rst:1021 +#: library/sqlite3.rst:1017 msgid "" "The underlying ``sqlite3`` library operates in ``autocommit`` mode by " "default, but the Python :mod:`sqlite3` module by default does not." msgstr "" -#: library/sqlite3.rst:1024 +#: library/sqlite3.rst:1020 msgid "" "``autocommit`` mode means that statements that modify the database take " "effect immediately. A ``BEGIN`` or ``SAVEPOINT`` statement disables " @@ -1231,14 +1230,14 @@ msgid "" "ends the outermost transaction, turns ``autocommit`` mode back on." msgstr "" -#: library/sqlite3.rst:1029 +#: library/sqlite3.rst:1025 msgid "" "The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement " "implicitly before a Data Modification Language (DML) statement (i.e. " "``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." msgstr "" -#: library/sqlite3.rst:1033 +#: library/sqlite3.rst:1029 msgid "" "You can control which kind of ``BEGIN`` statements :mod:`sqlite3` implicitly " "executes via the *isolation_level* parameter to the :func:`connect` call, or " @@ -1248,7 +1247,7 @@ msgid "" "``EXCLUSIVE``." msgstr "" -#: library/sqlite3.rst:1040 +#: library/sqlite3.rst:1036 msgid "" "You can disable the :mod:`sqlite3` module's implicit transaction management " "by setting :attr:`isolation_level` to ``None``. This will leave the " @@ -1258,21 +1257,27 @@ msgid "" "code." msgstr "" -#: library/sqlite3.rst:1046 +#: library/sqlite3.rst:1042 +msgid "" +"Note that :meth:`~Cursor.executescript` disregards :attr:`isolation_level`; " +"any transaction control must be added explicitly." +msgstr "" + +#: library/sqlite3.rst:1045 msgid "" ":mod:`sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." msgstr "" -#: library/sqlite3.rst:1052 +#: library/sqlite3.rst:1051 msgid "Using :mod:`sqlite3` efficiently" msgstr "" -#: library/sqlite3.rst:1056 +#: library/sqlite3.rst:1055 msgid "Using shortcut methods" msgstr "" -#: library/sqlite3.rst:1058 +#: library/sqlite3.rst:1057 msgid "" "Using the nonstandard :meth:`execute`, :meth:`executemany` and :meth:" "`executescript` methods of the :class:`Connection` object, your code can be " @@ -1284,38 +1289,38 @@ msgid "" "object." msgstr "" -#: library/sqlite3.rst:1070 +#: library/sqlite3.rst:1069 msgid "Accessing columns by name instead of by index" msgstr "" -#: library/sqlite3.rst:1072 +#: library/sqlite3.rst:1071 msgid "" "One useful feature of the :mod:`sqlite3` module is the built-in :class:" "`sqlite3.Row` class designed to be used as a row factory." msgstr "" -#: library/sqlite3.rst:1075 +#: library/sqlite3.rst:1074 msgid "" "Rows wrapped with this class can be accessed both by index (like tuples) and " "case-insensitively by name:" msgstr "" -#: library/sqlite3.rst:1082 +#: library/sqlite3.rst:1081 msgid "Using the connection as a context manager" msgstr "" -#: library/sqlite3.rst:1084 +#: library/sqlite3.rst:1083 msgid "" "Connection objects can be used as context managers that automatically commit " "or rollback transactions. In the event of an exception, the transaction is " "rolled back; otherwise, the transaction is committed:" msgstr "" -#: library/sqlite3.rst:1093 +#: library/sqlite3.rst:1092 msgid "Footnotes" msgstr "Notes" -#: library/sqlite3.rst:1094 +#: library/sqlite3.rst:1093 msgid "" "The sqlite3 module is not built with loadable extension support by default, " "because some platforms (notably Mac OS X) have SQLite libraries which are " @@ -1323,6 +1328,20 @@ msgid "" "pass ``--enable-loadable-sqlite-extensions`` to configure." msgstr "" +#~ msgid "" +#~ "Instead, use the DB-API's parameter substitution. Put ``?`` as a " +#~ "placeholder wherever you want to use a value, and then provide a tuple of " +#~ "values as the second argument to the cursor's :meth:`~Cursor.execute` " +#~ "method. (Other database modules may use a different placeholder, such as " +#~ "``%s`` or ``:1``.) For example::" +#~ msgstr "" +#~ "À la place, utilisez la capacité DB-API de substitution des paramètres. " +#~ "Placez un ``?`` comme indicateur partout où vous voulez utiliser une " +#~ "valeur, puis fournissez un *n*-uplet de valeurs comme second argument de " +#~ "la méthode :meth:`~Cursor.execute`. D'autres modules de base de données " +#~ "peuvent utiliser un espace réservé différent, tel que ``%s`` ou ``:1``. " +#~ "Par exemple ::" + #~ msgid "https://github.com/ghaering/pysqlite" #~ msgstr "https://github.com/ghaering/pysqlite" diff --git a/library/ssl.po b/library/ssl.po index 45913955..db47e509 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-03-30 22:31+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -639,7 +639,7 @@ msgid "" "exactly ``True`` if the certificate is trustworthy for all purposes." msgstr "" -#: library/ssl.rst:1577 library/ssl.rst:1892 +#: library/ssl.rst:1585 library/ssl.rst:1900 msgid "Example::" msgstr "Exemple ::" @@ -717,7 +717,7 @@ msgid "" "does not send any for client cert authentication." msgstr "" -#: library/ssl.rst:2317 +#: library/ssl.rst:2330 msgid "See the discussion of :ref:`ssl-security` below." msgstr "" @@ -1026,31 +1026,39 @@ msgid "Prevent client side from requesting a session ticket." msgstr "" #: library/ssl.rst:891 +msgid "Ignore unexpected shutdown of TLS connections." +msgstr "" + +#: library/ssl.rst:893 +msgid "This option is only available with OpenSSL 3.0.0 and later." +msgstr "" + +#: library/ssl.rst:899 msgid "" "Whether the OpenSSL library has built-in support for the *Application-Layer " "Protocol Negotiation* TLS extension as described in :rfc:`7301`." msgstr "" -#: library/ssl.rst:898 +#: library/ssl.rst:906 msgid "" "Whether the OpenSSL library has built-in support not checking subject common " "name and :attr:`SSLContext.hostname_checks_common_name` is writeable." msgstr "" -#: library/ssl.rst:906 +#: library/ssl.rst:914 msgid "" "Whether the OpenSSL library has built-in support for the Elliptic Curve-" "based Diffie-Hellman key exchange. This should be true unless the feature " "was explicitly disabled by the distributor." msgstr "" -#: library/ssl.rst:914 +#: library/ssl.rst:922 msgid "" "Whether the OpenSSL library has built-in support for the *Server Name " "Indication* extension (as defined in :rfc:`6066`)." msgstr "" -#: library/ssl.rst:921 +#: library/ssl.rst:929 msgid "" "Whether the OpenSSL library has built-in support for the *Next Protocol " "Negotiation* as described in the `Application Layer Protocol Negotiation " @@ -1059,57 +1067,57 @@ msgid "" "advertise which protocols you want to support." msgstr "" -#: library/ssl.rst:931 +#: library/ssl.rst:939 msgid "" "Whether the OpenSSL library has built-in support for the SSL 2.0 protocol." msgstr "" -#: library/ssl.rst:937 +#: library/ssl.rst:945 msgid "" "Whether the OpenSSL library has built-in support for the SSL 3.0 protocol." msgstr "" -#: library/ssl.rst:943 +#: library/ssl.rst:951 msgid "" "Whether the OpenSSL library has built-in support for the TLS 1.0 protocol." msgstr "" -#: library/ssl.rst:949 +#: library/ssl.rst:957 msgid "" "Whether the OpenSSL library has built-in support for the TLS 1.1 protocol." msgstr "" -#: library/ssl.rst:955 +#: library/ssl.rst:963 msgid "" "Whether the OpenSSL library has built-in support for the TLS 1.2 protocol." msgstr "" -#: library/ssl.rst:961 +#: library/ssl.rst:969 msgid "" "Whether the OpenSSL library has built-in support for the TLS 1.3 protocol." msgstr "" -#: library/ssl.rst:967 +#: library/ssl.rst:975 msgid "" "List of supported TLS channel binding types. Strings in this list can be " "used as arguments to :meth:`SSLSocket.get_channel_binding`." msgstr "" -#: library/ssl.rst:974 +#: library/ssl.rst:982 msgid "The version string of the OpenSSL library loaded by the interpreter::" msgstr "" -#: library/ssl.rst:983 +#: library/ssl.rst:991 msgid "" "A tuple of five integers representing version information about the OpenSSL " "library::" msgstr "" -#: library/ssl.rst:993 +#: library/ssl.rst:1001 msgid "The raw version number of the OpenSSL library, as a single integer::" msgstr "" -#: library/ssl.rst:1006 +#: library/ssl.rst:1014 msgid "" "Alert Descriptions from :rfc:`5246` and others. The `IANA TLS Alert Registry " "`." msgstr "" -#: library/ssl.rst:1100 +#: library/ssl.rst:1108 msgid "" "Instances of :class:`SSLSocket` must be created using the :meth:`SSLContext." "wrap_socket` method." msgstr "" -#: library/ssl.rst:1103 +#: library/ssl.rst:1111 msgid "The :meth:`sendfile` method was added." msgstr "" -#: library/ssl.rst:1106 +#: library/ssl.rst:1114 msgid "" "The :meth:`shutdown` does not reset the socket timeout each time bytes are " "received or sent. The socket timeout is now to maximum total duration of the " "shutdown." msgstr "" -#: library/ssl.rst:1111 +#: library/ssl.rst:1119 msgid "" "It is deprecated to create a :class:`SSLSocket` instance directly, use :meth:" "`SSLContext.wrap_socket` to wrap a socket." msgstr "" -#: library/ssl.rst:1115 +#: library/ssl.rst:1123 msgid "" ":class:`SSLSocket` instances must to created with :meth:`~SSLContext." "wrap_socket`. In earlier versions, it was possible to create instances " "directly. This was never documented or officially supported." msgstr "" -#: library/ssl.rst:1121 +#: library/ssl.rst:1129 msgid "SSL sockets also have the following additional methods and attributes:" msgstr "" -#: library/ssl.rst:1125 +#: library/ssl.rst:1133 msgid "" "Read up to *len* bytes of data from the SSL socket and return the result as " "a ``bytes`` instance. If *buffer* is specified, then read into the buffer " "instead, and return the number of bytes read." msgstr "" -#: library/ssl.rst:1129 +#: library/ssl.rst:1137 msgid "" "Raise :exc:`SSLWantReadError` or :exc:`SSLWantWriteError` if the socket is :" "ref:`non-blocking ` and the read would block." msgstr "" -#: library/ssl.rst:1132 +#: library/ssl.rst:1140 msgid "" "As at any time a re-negotiation is possible, a call to :meth:`read` can also " "cause write operations." msgstr "" -#: library/ssl.rst:1135 +#: library/ssl.rst:1143 msgid "" "The socket timeout is no more reset each time bytes are received or sent. " "The socket timeout is now to maximum total duration to read up to *len* " "bytes." msgstr "" -#: library/ssl.rst:1140 +#: library/ssl.rst:1148 msgid "Use :meth:`~SSLSocket.recv` instead of :meth:`~SSLSocket.read`." msgstr "" -#: library/ssl.rst:1145 +#: library/ssl.rst:1153 msgid "" "Write *buf* to the SSL socket and return the number of bytes written. The " "*buf* argument must be an object supporting the buffer interface." msgstr "" -#: library/ssl.rst:1148 +#: library/ssl.rst:1156 msgid "" "Raise :exc:`SSLWantReadError` or :exc:`SSLWantWriteError` if the socket is :" "ref:`non-blocking ` and the write would block." msgstr "" -#: library/ssl.rst:1151 +#: library/ssl.rst:1159 msgid "" "As at any time a re-negotiation is possible, a call to :meth:`write` can " "also cause read operations." msgstr "" -#: library/ssl.rst:1154 +#: library/ssl.rst:1162 msgid "" "The socket timeout is no more reset each time bytes are received or sent. " "The socket timeout is now to maximum total duration to write *buf*." msgstr "" -#: library/ssl.rst:1158 +#: library/ssl.rst:1166 msgid "Use :meth:`~SSLSocket.send` instead of :meth:`~SSLSocket.write`." msgstr "" -#: library/ssl.rst:1163 +#: library/ssl.rst:1171 msgid "" "The :meth:`~SSLSocket.read` and :meth:`~SSLSocket.write` methods are the low-" "level methods that read and write unencrypted, application-level data and " @@ -1351,30 +1359,30 @@ msgid "" "unwrap` was not called." msgstr "" -#: library/ssl.rst:1169 +#: library/ssl.rst:1177 msgid "" "Normally you should use the socket API methods like :meth:`~socket.socket." "recv` and :meth:`~socket.socket.send` instead of these methods." msgstr "" -#: library/ssl.rst:1175 +#: library/ssl.rst:1183 msgid "Perform the SSL setup handshake." msgstr "" -#: library/ssl.rst:1177 +#: library/ssl.rst:1185 msgid "" "The handshake method also performs :func:`match_hostname` when the :attr:" "`~SSLContext.check_hostname` attribute of the socket's :attr:`~SSLSocket." "context` is true." msgstr "" -#: library/ssl.rst:1182 +#: library/ssl.rst:1190 msgid "" "The socket timeout is no more reset each time bytes are received or sent. " "The socket timeout is now to maximum total duration of the handshake." msgstr "" -#: library/ssl.rst:1186 +#: library/ssl.rst:1194 msgid "" "Hostname or IP address is matched by OpenSSL during handshake. The function :" "func:`match_hostname` is no longer used. In case OpenSSL refuses a hostname " @@ -1382,14 +1390,14 @@ msgid "" "send to the peer." msgstr "" -#: library/ssl.rst:1194 +#: library/ssl.rst:1202 msgid "" "If there is no certificate for the peer on the other end of the connection, " "return ``None``. If the SSL handshake hasn't been done yet, raise :exc:" "`ValueError`." msgstr "" -#: library/ssl.rst:1198 +#: library/ssl.rst:1206 msgid "" "If the ``binary_form`` parameter is :const:`False`, and a certificate was " "received from the peer, this method returns a :class:`dict` instance. If " @@ -1401,7 +1409,7 @@ msgid "" "also be a ``subjectAltName`` key in the dictionary." msgstr "" -#: library/ssl.rst:1207 +#: library/ssl.rst:1215 msgid "" "The ``subject`` and ``issuer`` fields are tuples containing the sequence of " "relative distinguished names (RDNs) given in the certificate's data " @@ -1409,13 +1417,13 @@ msgid "" "value pairs. Here is a real-world example::" msgstr "" -#: library/ssl.rst:1233 +#: library/ssl.rst:1241 msgid "" "To validate a certificate for a particular service, you can use the :func:" "`match_hostname` function." msgstr "" -#: library/ssl.rst:1236 +#: library/ssl.rst:1244 msgid "" "If the ``binary_form`` parameter is :const:`True`, and a certificate was " "provided, this method returns the DER-encoded form of the entire certificate " @@ -1424,13 +1432,13 @@ msgid "" "socket's role:" msgstr "" -#: library/ssl.rst:1242 +#: library/ssl.rst:1250 msgid "" "for a client SSL socket, the server will always provide a certificate, " "regardless of whether validation was required;" msgstr "" -#: library/ssl.rst:1245 +#: library/ssl.rst:1253 msgid "" "for a server SSL socket, the client will only provide a certificate when " "requested by the server; therefore :meth:`getpeercert` will return :const:" @@ -1438,24 +1446,24 @@ msgid "" "or :const:`CERT_REQUIRED`)." msgstr "" -#: library/ssl.rst:1250 +#: library/ssl.rst:1258 msgid "" "The returned dictionary includes additional items such as ``issuer`` and " "``notBefore``." msgstr "" -#: library/ssl.rst:1254 +#: library/ssl.rst:1262 msgid "" ":exc:`ValueError` is raised when the handshake isn't done. The returned " "dictionary includes additional X509v3 extension items such as " "``crlDistributionPoints``, ``caIssuers`` and ``OCSP`` URIs." msgstr "" -#: library/ssl.rst:1259 +#: library/ssl.rst:1267 msgid "IPv6 address strings no longer have a trailing new line." msgstr "" -#: library/ssl.rst:1264 +#: library/ssl.rst:1272 msgid "" "Returns a three-value tuple containing the name of the cipher being used, " "the version of the SSL protocol that defines its use, and the number of " @@ -1463,7 +1471,7 @@ msgid "" "``None``." msgstr "" -#: library/ssl.rst:1270 +#: library/ssl.rst:1278 msgid "" "Return the list of ciphers shared by the client during the handshake. Each " "entry of the returned list is a three-value tuple containing the name of the " @@ -1473,25 +1481,25 @@ msgid "" "socket." msgstr "" -#: library/ssl.rst:1281 +#: library/ssl.rst:1289 msgid "" "Return the compression algorithm being used as a string, or ``None`` if the " "connection isn't compressed." msgstr "" -#: library/ssl.rst:1284 +#: library/ssl.rst:1292 msgid "" "If the higher-level protocol supports its own compression mechanism, you can " "use :data:`OP_NO_COMPRESSION` to disable SSL-level compression." msgstr "" -#: library/ssl.rst:1291 +#: library/ssl.rst:1299 msgid "" "Get channel binding data for current connection, as a bytes object. Returns " "``None`` if not connected or the handshake has not been completed." msgstr "" -#: library/ssl.rst:1294 +#: library/ssl.rst:1302 msgid "" "The *cb_type* parameter allow selection of the desired channel binding type. " "Valid channel binding types are listed in the :data:`CHANNEL_BINDING_TYPES` " @@ -1500,7 +1508,7 @@ msgid "" "channel binding type is requested." msgstr "" -#: library/ssl.rst:1304 +#: library/ssl.rst:1312 msgid "" "Return the protocol that was selected during the TLS handshake. If :meth:" "`SSLContext.set_alpn_protocols` was not called, if the other party does not " @@ -1508,7 +1516,7 @@ msgid "" "protocols, or if the handshake has not happened yet, ``None`` is returned." msgstr "" -#: library/ssl.rst:1314 +#: library/ssl.rst:1322 msgid "" "Return the higher-level protocol that was selected during the TLS/SSL " "handshake. If :meth:`SSLContext.set_npn_protocols` was not called, or if the " @@ -1516,7 +1524,7 @@ msgid "" "this will return ``None``." msgstr "" -#: library/ssl.rst:1323 +#: library/ssl.rst:1331 msgid "" "Performs the SSL shutdown handshake, which removes the TLS layer from the " "underlying socket, and returns the underlying socket object. This can be " @@ -1525,7 +1533,7 @@ msgid "" "other side of the connection, rather than the original socket." msgstr "" -#: library/ssl.rst:1331 +#: library/ssl.rst:1339 msgid "" "Requests post-handshake authentication (PHA) from a TLS 1.3 client. PHA can " "only be initiated for a TLS 1.3 connection from a server-side socket, after " @@ -1533,26 +1541,26 @@ msgid "" "`SSLContext.post_handshake_auth`." msgstr "" -#: library/ssl.rst:1336 +#: library/ssl.rst:1344 msgid "" "The method does not perform a cert exchange immediately. The server-side " "sends a CertificateRequest during the next write event and expects the " "client to respond with a certificate on the next read event." msgstr "" -#: library/ssl.rst:1340 +#: library/ssl.rst:1348 msgid "" "If any precondition isn't met (e.g. not TLS 1.3, PHA not enabled), an :exc:" "`SSLError` is raised." msgstr "" -#: library/ssl.rst:1344 +#: library/ssl.rst:1352 msgid "" "Only available with OpenSSL 1.1.1 and TLS 1.3 enabled. Without TLS 1.3 " "support, the method raises :exc:`NotImplementedError`." msgstr "" -#: library/ssl.rst:1351 +#: library/ssl.rst:1359 msgid "" "Return the actual SSL protocol version negotiated by the connection as a " "string, or ``None`` is no secure connection is established. As of this " @@ -1561,13 +1569,13 @@ msgid "" "may define more return values." msgstr "" -#: library/ssl.rst:1361 +#: library/ssl.rst:1369 msgid "" "Returns the number of already decrypted bytes available for read, pending on " "the connection." msgstr "" -#: library/ssl.rst:1366 +#: library/ssl.rst:1374 msgid "" "The :class:`SSLContext` object this SSL socket is tied to. If the SSL " "socket was created using the deprecated :func:`wrap_socket` function (rather " @@ -1575,19 +1583,19 @@ msgid "" "created for this SSL socket." msgstr "" -#: library/ssl.rst:1375 +#: library/ssl.rst:1383 msgid "" "A boolean which is ``True`` for server-side sockets and ``False`` for client-" "side sockets." msgstr "" -#: library/ssl.rst:1382 +#: library/ssl.rst:1390 msgid "" "Hostname of the server: :class:`str` type, or ``None`` for server-side " "socket or if the hostname was not specified in the constructor." msgstr "" -#: library/ssl.rst:1387 +#: library/ssl.rst:1395 msgid "" "The attribute is now always ASCII text. When ``server_hostname`` is an " "internationalized domain name (IDN), this attribute now stores the A-label " @@ -1595,7 +1603,7 @@ msgid "" "org\"``)." msgstr "" -#: library/ssl.rst:1395 +#: library/ssl.rst:1403 msgid "" "The :class:`SSLSession` for this SSL connection. The session is available " "for client and server side sockets after the TLS handshake has been " @@ -1603,11 +1611,11 @@ msgid "" "`~SSLSocket.do_handshake` has been called to reuse a session." msgstr "" -#: library/ssl.rst:1408 +#: library/ssl.rst:1416 msgid "SSL Contexts" msgstr "" -#: library/ssl.rst:1412 +#: library/ssl.rst:1420 msgid "" "An SSL context holds various data longer-lived than single SSL connections, " "such as SSL configuration options, certificate(s) and private key(s). It " @@ -1615,7 +1623,7 @@ msgid "" "speed up repeated connections from the same clients." msgstr "" -#: library/ssl.rst:1419 +#: library/ssl.rst:1427 msgid "" "Create a new SSL context. You may pass *protocol* which must be one of the " "``PROTOCOL_*`` constants defined in this module. The parameter specifies " @@ -1626,105 +1634,105 @@ msgid "" "provides the most compatibility with other versions." msgstr "" -#: library/ssl.rst:1428 +#: library/ssl.rst:1436 msgid "" "Here's a table showing which versions in a client (down the side) can " "connect to which versions in a server (along the top):" msgstr "" -#: library/ssl.rst:1434 +#: library/ssl.rst:1442 msgid "*client* / **server**" msgstr "" -#: library/ssl.rst:1434 +#: library/ssl.rst:1442 msgid "**SSLv2**" msgstr "**SSLv2**" -#: library/ssl.rst:1434 +#: library/ssl.rst:1442 msgid "**SSLv3**" msgstr "**SSLv3**" -#: library/ssl.rst:1434 +#: library/ssl.rst:1442 msgid "**TLS** [3]_" msgstr "**TLS** [3]_" -#: library/ssl.rst:1434 +#: library/ssl.rst:1442 msgid "**TLSv1**" msgstr "**TLSv1**" -#: library/ssl.rst:1434 +#: library/ssl.rst:1442 msgid "**TLSv1.1**" msgstr "**TLSv1.1**" -#: library/ssl.rst:1434 +#: library/ssl.rst:1442 msgid "**TLSv1.2**" msgstr "**TLSv1.2**" -#: library/ssl.rst:1436 +#: library/ssl.rst:1444 msgid "*SSLv2*" msgstr "*SSLv2*" -#: library/ssl.rst:1437 library/ssl.rst:1439 library/ssl.rst:1441 +#: library/ssl.rst:1445 library/ssl.rst:1447 library/ssl.rst:1449 msgid "yes" msgstr "oui" -#: library/ssl.rst:1437 library/ssl.rst:1440 library/ssl.rst:1441 +#: library/ssl.rst:1445 library/ssl.rst:1448 library/ssl.rst:1449 msgid "no" msgstr "non" -#: library/ssl.rst:1438 +#: library/ssl.rst:1446 msgid "no [1]_" msgstr "" -#: library/ssl.rst:1437 +#: library/ssl.rst:1445 msgid "*SSLv3*" msgstr "*SSLv3*" -#: library/ssl.rst:1438 +#: library/ssl.rst:1446 msgid "no [2]_" msgstr "" -#: library/ssl.rst:1438 +#: library/ssl.rst:1446 msgid "*TLS* (*SSLv23*) [3]_" msgstr "" -#: library/ssl.rst:1439 +#: library/ssl.rst:1447 msgid "*TLSv1*" msgstr "*TLSv1*" -#: library/ssl.rst:1440 +#: library/ssl.rst:1448 msgid "*TLSv1.1*" msgstr "*TLSv1.1*" -#: library/ssl.rst:1441 +#: library/ssl.rst:1449 msgid "*TLSv1.2*" msgstr "*TLSv1.2*" -#: library/ssl.rst:1444 +#: library/ssl.rst:1452 msgid "Footnotes" msgstr "Notes" -#: library/ssl.rst:1445 +#: library/ssl.rst:1453 msgid ":class:`SSLContext` disables SSLv2 with :data:`OP_NO_SSLv2` by default." msgstr "" -#: library/ssl.rst:1446 +#: library/ssl.rst:1454 msgid ":class:`SSLContext` disables SSLv3 with :data:`OP_NO_SSLv3` by default." msgstr "" -#: library/ssl.rst:1447 +#: library/ssl.rst:1455 msgid "" "TLS 1.3 protocol will be available with :data:`PROTOCOL_TLS` in OpenSSL >= " "1.1.1. There is no dedicated PROTOCOL constant for just TLS 1.3." msgstr "" -#: library/ssl.rst:1452 +#: library/ssl.rst:1460 msgid "" ":func:`create_default_context` lets the :mod:`ssl` module choose security " "settings for a given purpose." msgstr "" -#: library/ssl.rst:1457 +#: library/ssl.rst:1465 msgid "" "The context is created with secure default values. The options :data:" "`OP_NO_COMPRESSION`, :data:`OP_CIPHER_SERVER_PREFERENCE`, :data:" @@ -1735,22 +1743,22 @@ msgid "" "for :data:`PROTOCOL_SSLv2`)." msgstr "" -#: library/ssl.rst:1467 +#: library/ssl.rst:1475 msgid ":class:`SSLContext` objects have the following methods and attributes:" msgstr "" -#: library/ssl.rst:1471 +#: library/ssl.rst:1479 msgid "" "Get statistics about quantities of loaded X.509 certificates, count of X.509 " "certificates flagged as CA certificates and certificate revocation lists as " "dictionary." msgstr "" -#: library/ssl.rst:1475 +#: library/ssl.rst:1483 msgid "Example for a context with one CA cert and one other cert::" msgstr "" -#: library/ssl.rst:1485 +#: library/ssl.rst:1493 msgid "" "Load a private key and the corresponding certificate. The *certfile* string " "must be the path to a single file in PEM format containing the certificate " @@ -1762,7 +1770,7 @@ msgid "" "*certfile*." msgstr "" -#: library/ssl.rst:1494 +#: library/ssl.rst:1502 msgid "" "The *password* argument may be a function to call to get the password for " "decrypting the private key. It will only be called if the private key is " @@ -1774,24 +1782,24 @@ msgid "" "encrypted and no password is needed." msgstr "" -#: library/ssl.rst:1503 +#: library/ssl.rst:1511 msgid "" "If the *password* argument is not specified and a password is required, " "OpenSSL's built-in password prompting mechanism will be used to " "interactively prompt the user for a password." msgstr "" -#: library/ssl.rst:1507 +#: library/ssl.rst:1515 msgid "" "An :class:`SSLError` is raised if the private key doesn't match with the " "certificate." msgstr "" -#: library/ssl.rst:1510 +#: library/ssl.rst:1518 msgid "New optional argument *password*." msgstr "" -#: library/ssl.rst:1515 +#: library/ssl.rst:1523 msgid "" "Load a set of default \"certification authority\" (CA) certificates from " "default locations. On Windows it loads CA certs from the ``CA`` and ``ROOT`` " @@ -1800,7 +1808,7 @@ msgid "" "from other locations, too." msgstr "" -#: library/ssl.rst:1521 +#: library/ssl.rst:1529 msgid "" "The *purpose* flag specifies what kind of CA certificates are loaded. The " "default settings :data:`Purpose.SERVER_AUTH` loads certificates, that are " @@ -1809,28 +1817,28 @@ msgid "" "certificate verification on the server side." msgstr "" -#: library/ssl.rst:1531 +#: library/ssl.rst:1539 msgid "" "Load a set of \"certification authority\" (CA) certificates used to validate " "other peers' certificates when :data:`verify_mode` is other than :data:" "`CERT_NONE`. At least one of *cafile* or *capath* must be specified." msgstr "" -#: library/ssl.rst:1535 +#: library/ssl.rst:1543 msgid "" "This method can also load certification revocation lists (CRLs) in PEM or " "DER format. In order to make use of CRLs, :attr:`SSLContext.verify_flags` " "must be configured properly." msgstr "" -#: library/ssl.rst:1539 +#: library/ssl.rst:1547 msgid "" "The *cafile* string, if present, is the path to a file of concatenated CA " "certificates in PEM format. See the discussion of :ref:`ssl-certificates` " "for more information about how to arrange the certificates in this file." msgstr "" -#: library/ssl.rst:1544 +#: library/ssl.rst:1552 msgid "" "The *capath* string, if present, is the path to a directory containing " "several CA certificates in PEM format, following an `OpenSSL specific layout " @@ -1838,7 +1846,7 @@ msgid "" "html>`_." msgstr "" -#: library/ssl.rst:1549 +#: library/ssl.rst:1557 msgid "" "The *cadata* object, if present, is either an ASCII string of one or more " "PEM-encoded certificates or a :term:`bytes-like object` of DER-encoded " @@ -1846,11 +1854,11 @@ msgid "" "are ignored but at least one certificate must be present." msgstr "" -#: library/ssl.rst:1554 +#: library/ssl.rst:1562 msgid "New optional argument *cadata*" msgstr "" -#: library/ssl.rst:1559 +#: library/ssl.rst:1567 msgid "" "Get a list of loaded \"certification authority\" (CA) certificates. If the " "``binary_form`` parameter is :const:`False` each list entry is a dict like " @@ -1860,28 +1868,28 @@ msgid "" "a SSL connection." msgstr "" -#: library/ssl.rst:1567 +#: library/ssl.rst:1575 msgid "" "Certificates in a capath directory aren't loaded unless they have been used " "at least once." msgstr "" -#: library/ssl.rst:1574 +#: library/ssl.rst:1582 msgid "" "Get a list of enabled ciphers. The list is in order of cipher priority. See :" "meth:`SSLContext.set_ciphers`." msgstr "" -#: library/ssl.rst:1597 +#: library/ssl.rst:1605 msgid "On OpenSSL 1.1 and newer the cipher dict contains additional fields::" msgstr "" -#: library/ssl.rst:1626 +#: library/ssl.rst:1634 #, fuzzy msgid ":ref:`Availability `: OpenSSL 1.0.2+." msgstr ":ref:`Disponibilité ` : OpenSSL 1.1+." -#: library/ssl.rst:1631 +#: library/ssl.rst:1639 msgid "" "Load a set of default \"certification authority\" (CA) certificates from a " "filesystem path defined when building the OpenSSL library. Unfortunately, " @@ -1891,7 +1899,7 @@ msgid "" "configured properly." msgstr "" -#: library/ssl.rst:1640 +#: library/ssl.rst:1648 msgid "" "Set the available ciphers for sockets created with this context. It should " "be a string in the `OpenSSL cipher list format `_" msgstr "" -#: library/ssl.rst:1778 +#: library/ssl.rst:1786 msgid "Vincent Bernat." msgstr "" -#: library/ssl.rst:1784 +#: library/ssl.rst:1792 msgid "" "Wrap an existing Python socket *sock* and return an instance of :attr:" "`SSLContext.sslsocket_class` (default :class:`SSLSocket`). The returned SSL " @@ -2087,13 +2095,13 @@ msgid "" "a :data:`~socket.SOCK_STREAM` socket; other socket types are unsupported." msgstr "" -#: library/ssl.rst:1790 +#: library/ssl.rst:1798 msgid "" "The parameter ``server_side`` is a boolean which identifies whether server-" "side or client-side behavior is desired from this socket." msgstr "" -#: library/ssl.rst:1793 +#: library/ssl.rst:1801 msgid "" "For client-side sockets, the context construction is lazy; if the underlying " "socket isn't connected yet, the context construction will be performed " @@ -2104,7 +2112,7 @@ msgid "" "exc:`SSLError`." msgstr "" -#: library/ssl.rst:1801 +#: library/ssl.rst:1809 msgid "" "On client connections, the optional parameter *server_hostname* specifies " "the hostname of the service which we are connecting to. This allows a " @@ -2113,7 +2121,7 @@ msgid "" "*server_hostname* will raise a :exc:`ValueError` if *server_side* is true." msgstr "" -#: library/ssl.rst:1807 +#: library/ssl.rst:1815 msgid "" "The parameter ``do_handshake_on_connect`` specifies whether to do the SSL " "handshake automatically after doing a :meth:`socket.connect`, or whether the " @@ -2123,7 +2131,7 @@ msgid "" "socket I/O involved in the handshake." msgstr "" -#: library/ssl.rst:1814 +#: library/ssl.rst:1822 msgid "" "The parameter ``suppress_ragged_eofs`` specifies how the :meth:`SSLSocket." "recv` method should signal unexpected EOF from the other end of the " @@ -2133,34 +2141,34 @@ msgid "" "exceptions back to the caller." msgstr "" -#: library/ssl.rst:1821 +#: library/ssl.rst:1829 msgid "*session*, see :attr:`~SSLSocket.session`." msgstr "" -#: library/ssl.rst:1823 +#: library/ssl.rst:1831 msgid "" "Always allow a server_hostname to be passed, even if OpenSSL does not have " "SNI." msgstr "" -#: library/ssl.rst:1853 +#: library/ssl.rst:1861 msgid "*session* argument was added." msgstr "" -#: library/ssl.rst:1830 +#: library/ssl.rst:1838 msgid "" "The method returns on instance of :attr:`SSLContext.sslsocket_class` instead " "of hard-coded :class:`SSLSocket`." msgstr "" -#: library/ssl.rst:1836 +#: library/ssl.rst:1844 msgid "" "The return type of :meth:`SSLContext.wrap_socket`, defaults to :class:" "`SSLSocket`. The attribute can be overridden on instance of class in order " "to return a custom subclass of :class:`SSLSocket`." msgstr "" -#: library/ssl.rst:1845 +#: library/ssl.rst:1853 msgid "" "Wrap the BIO objects *incoming* and *outgoing* and return an instance of :" "attr:`SSLContext.sslobject_class` (default :class:`SSLObject`). The SSL " @@ -2168,26 +2176,26 @@ msgid "" "outgoing BIO." msgstr "" -#: library/ssl.rst:1850 +#: library/ssl.rst:1858 msgid "" "The *server_side*, *server_hostname* and *session* parameters have the same " "meaning as in :meth:`SSLContext.wrap_socket`." msgstr "" -#: library/ssl.rst:1856 +#: library/ssl.rst:1864 msgid "" "The method returns on instance of :attr:`SSLContext.sslobject_class` instead " "of hard-coded :class:`SSLObject`." msgstr "" -#: library/ssl.rst:1862 +#: library/ssl.rst:1870 msgid "" "The return type of :meth:`SSLContext.wrap_bio`, defaults to :class:" "`SSLObject`. The attribute can be overridden on instance of class in order " "to return a custom subclass of :class:`SSLObject`." msgstr "" -#: library/ssl.rst:1870 +#: library/ssl.rst:1878 msgid "" "Get statistics about the SSL sessions created or managed by this context. A " "dictionary is returned which maps the names of each `piece of information " @@ -2196,21 +2204,20 @@ msgid "" "misses in the session cache since the context was created::" msgstr "" -#: library/ssl.rst:1881 +#: library/ssl.rst:1889 msgid "" -"Whether to match the peer cert's hostname with :func:`match_hostname` in :" -"meth:`SSLSocket.do_handshake`. The context's :attr:`~SSLContext.verify_mode` " -"must be set to :data:`CERT_OPTIONAL` or :data:`CERT_REQUIRED`, and you must " -"pass *server_hostname* to :meth:`~SSLContext.wrap_socket` in order to match " -"the hostname. Enabling hostname checking automatically sets :attr:" -"`~SSLContext.verify_mode` from :data:`CERT_NONE` to :data:`CERT_REQUIRED`. " -"It cannot be set back to :data:`CERT_NONE` as long as hostname checking is " -"enabled. The :data:`PROTOCOL_TLS_CLIENT` protocol enables hostname checking " -"by default. With other protocols, hostname checking must be enabled " -"explicitly." +"Whether to match the peer cert's hostname in :meth:`SSLSocket.do_handshake`. " +"The context's :attr:`~SSLContext.verify_mode` must be set to :data:" +"`CERT_OPTIONAL` or :data:`CERT_REQUIRED`, and you must pass " +"*server_hostname* to :meth:`~SSLContext.wrap_socket` in order to match the " +"hostname. Enabling hostname checking automatically sets :attr:`~SSLContext." +"verify_mode` from :data:`CERT_NONE` to :data:`CERT_REQUIRED`. It cannot be " +"set back to :data:`CERT_NONE` as long as hostname checking is enabled. The :" +"data:`PROTOCOL_TLS_CLIENT` protocol enables hostname checking by default. " +"With other protocols, hostname checking must be enabled explicitly." msgstr "" -#: library/ssl.rst:1909 +#: library/ssl.rst:1917 msgid "" ":attr:`~SSLContext.verify_mode` is now automatically changed to :data:" "`CERT_REQUIRED` when hostname checking is enabled and :attr:`~SSLContext." @@ -2218,11 +2225,11 @@ msgid "" "failed with a :exc:`ValueError`." msgstr "" -#: library/ssl.rst:1916 +#: library/ssl.rst:1924 msgid "This features requires OpenSSL 0.9.8f or newer." msgstr "" -#: library/ssl.rst:1920 +#: library/ssl.rst:1928 msgid "" "Write TLS keys to a keylog file, whenever key material is generated or " "received. The keylog file is designed for debugging purposes only. The file " @@ -2231,11 +2238,11 @@ msgid "" "synchronized between threads, but not between processes." msgstr "" -#: library/ssl.rst:1930 +#: library/ssl.rst:1938 msgid "This features requires OpenSSL 1.1.1 or newer." msgstr "" -#: library/ssl.rst:1934 +#: library/ssl.rst:1942 msgid "" "A :class:`TLSVersion` enum member representing the highest supported TLS " "version. The value defaults to :attr:`TLSVersion.MAXIMUM_SUPPORTED`. The " @@ -2243,7 +2250,7 @@ msgid "" "`PROTOCOL_TLS_CLIENT`, and :attr:`PROTOCOL_TLS_SERVER`." msgstr "" -#: library/ssl.rst:1939 +#: library/ssl.rst:1947 msgid "" "The attributes :attr:`~SSLContext.maximum_version`, :attr:`~SSLContext." "minimum_version` and :attr:`SSLContext.options` all affect the supported SSL " @@ -2253,50 +2260,50 @@ msgid "" "`TLSVersion.TLSv1_2` will not be able to establish a TLS 1.2 connection." msgstr "" -#: library/ssl.rst:1962 +#: library/ssl.rst:1970 msgid "" "This attribute is not available unless the ssl module is compiled with " "OpenSSL 1.1.0g or newer." msgstr "" -#: library/ssl.rst:1957 +#: library/ssl.rst:1965 msgid "" "Like :attr:`SSLContext.maximum_version` except it is the lowest supported " "version or :attr:`TLSVersion.MINIMUM_SUPPORTED`." msgstr "" -#: library/ssl.rst:1969 +#: library/ssl.rst:1977 msgid "" "Control the number of TLS 1.3 session tickets of a :attr:" "`TLS_PROTOCOL_SERVER` context. The setting has no impact on TLS 1.0 to 1.2 " "connections." msgstr "" -#: library/ssl.rst:1975 +#: library/ssl.rst:1983 msgid "" "This attribute is not available unless the ssl module is compiled with " "OpenSSL 1.1.1 or newer." msgstr "" -#: library/ssl.rst:1982 +#: library/ssl.rst:1990 msgid "" "An integer representing the set of SSL options enabled on this context. The " "default value is :data:`OP_ALL`, but you can specify other options such as :" "data:`OP_NO_SSLv2` by ORing them together." msgstr "" -#: library/ssl.rst:1987 +#: library/ssl.rst:1995 msgid "" "With versions of OpenSSL older than 0.9.8m, it is only possible to set " "options, not to clear them. Attempting to clear an option (by resetting the " "corresponding bits) will raise a :exc:`ValueError`." msgstr "" -#: library/ssl.rst:1991 +#: library/ssl.rst:1999 msgid ":attr:`SSLContext.options` returns :class:`Options` flags:" msgstr "" -#: library/ssl.rst:1999 +#: library/ssl.rst:2007 msgid "" "Enable TLS 1.3 post-handshake client authentication. Post-handshake auth is " "disabled by default and a server can only request a TLS client certificate " @@ -2304,13 +2311,13 @@ msgid "" "client certificate at any time after the handshake." msgstr "" -#: library/ssl.rst:2004 +#: library/ssl.rst:2012 msgid "" "When enabled on client-side sockets, the client signals the server that it " "supports post-handshake authentication." msgstr "" -#: library/ssl.rst:2007 +#: library/ssl.rst:2015 msgid "" "When enabled on server-side sockets, :attr:`SSLContext.verify_mode` must be " "set to :data:`CERT_OPTIONAL` or :data:`CERT_REQUIRED`, too. The actual " @@ -2318,30 +2325,36 @@ msgid "" "verify_client_post_handshake` is called and some I/O is performed." msgstr "" -#: library/ssl.rst:2014 +#: library/ssl.rst:2022 msgid "" "Only available with OpenSSL 1.1.1 and TLS 1.3 enabled. Without TLS 1.3 " "support, the property value is None and can't be modified" msgstr "" -#: library/ssl.rst:2021 +#: library/ssl.rst:2029 msgid "" "The protocol version chosen when constructing the context. This attribute " "is read-only." msgstr "" -#: library/ssl.rst:2026 +#: library/ssl.rst:2034 msgid "" "Whether :attr:`~SSLContext.check_hostname` falls back to verify the cert's " "subject common name in the absence of a subject alternative name extension " "(default: true)." msgstr "" -#: library/ssl.rst:2031 +#: library/ssl.rst:2039 msgid "Only writeable with OpenSSL 1.1.0 or higher." msgstr "" -#: library/ssl.rst:2037 +#: library/ssl.rst:2045 +msgid "" +"The flag had no effect with OpenSSL before version 1.1.1k. Python 3.8.9, " +"3.9.3, and 3.10 include workarounds for previous versions." +msgstr "" + +#: library/ssl.rst:2050 msgid "" "The flags for certificate verification operations. You can set flags like :" "data:`VERIFY_CRL_CHECK_LEAF` by ORing them together. By default OpenSSL does " @@ -2349,26 +2362,26 @@ msgid "" "only with openssl version 0.9.8+." msgstr "" -#: library/ssl.rst:2044 +#: library/ssl.rst:2057 msgid ":attr:`SSLContext.verify_flags` returns :class:`VerifyFlags` flags:" msgstr "" -#: library/ssl.rst:2052 +#: library/ssl.rst:2065 msgid "" "Whether to try to verify other peers' certificates and how to behave if " "verification fails. This attribute must be one of :data:`CERT_NONE`, :data:" "`CERT_OPTIONAL` or :data:`CERT_REQUIRED`." msgstr "" -#: library/ssl.rst:2056 +#: library/ssl.rst:2069 msgid ":attr:`SSLContext.verify_mode` returns :class:`VerifyMode` enum:" msgstr "" -#: library/ssl.rst:2069 +#: library/ssl.rst:2082 msgid "Certificates" msgstr "" -#: library/ssl.rst:2071 +#: library/ssl.rst:2084 msgid "" "Certificates in general are part of a public-key / private-key system. In " "this system, each *principal*, (which may be a machine, or a person, or an " @@ -2379,7 +2392,7 @@ msgid "" "other part, and **only** with the other part." msgstr "" -#: library/ssl.rst:2079 +#: library/ssl.rst:2092 msgid "" "A certificate contains information about two principals. It contains the " "name of a *subject*, and the subject's public key. It also contains a " @@ -2393,7 +2406,7 @@ msgid "" "as two fields, called \"notBefore\" and \"notAfter\"." msgstr "" -#: library/ssl.rst:2089 +#: library/ssl.rst:2102 msgid "" "In the Python use of certificates, a client or server can use a certificate " "to prove who they are. The other side of a network connection can also be " @@ -2406,18 +2419,18 @@ msgid "" "take place." msgstr "" -#: library/ssl.rst:2099 +#: library/ssl.rst:2112 msgid "" "Python uses files to contain certificates. They should be formatted as \"PEM" "\" (see :rfc:`1422`), which is a base-64 encoded form wrapped with a header " "line and a footer line::" msgstr "" -#: library/ssl.rst:2108 +#: library/ssl.rst:2121 msgid "Certificate chains" msgstr "" -#: library/ssl.rst:2110 +#: library/ssl.rst:2123 msgid "" "The Python files which contain certificates can contain a sequence of " "certificates, sometimes called a *certificate chain*. This chain should " @@ -2433,11 +2446,11 @@ msgid "" "agency which issued the certification authority's certificate::" msgstr "" -#: library/ssl.rst:2134 +#: library/ssl.rst:2147 msgid "CA certificates" msgstr "" -#: library/ssl.rst:2136 +#: library/ssl.rst:2149 msgid "" "If you are going to require validation of the other side of the connection's " "certificate, you need to provide a \"CA certs\" file, filled with the " @@ -2449,11 +2462,11 @@ msgid "" "create_default_context`." msgstr "" -#: library/ssl.rst:2145 +#: library/ssl.rst:2158 msgid "Combined key and certificate" msgstr "" -#: library/ssl.rst:2147 +#: library/ssl.rst:2160 msgid "" "Often the private key is stored in the same file as the certificate; in this " "case, only the ``certfile`` parameter to :meth:`SSLContext.load_cert_chain` " @@ -2462,11 +2475,11 @@ msgid "" "certificate chain::" msgstr "" -#: library/ssl.rst:2161 +#: library/ssl.rst:2174 msgid "Self-signed certificates" msgstr "" -#: library/ssl.rst:2163 +#: library/ssl.rst:2176 msgid "" "If you are going to create a server that provides SSL-encrypted connection " "services, you will need to acquire a certificate for that service. There " @@ -2476,51 +2489,51 @@ msgid "" "package, using something like the following::" msgstr "" -#: library/ssl.rst:2192 +#: library/ssl.rst:2205 msgid "" "The disadvantage of a self-signed certificate is that it is its own root " "certificate, and no one else will have it in their cache of known (and " "trusted) root certificates." msgstr "" -#: library/ssl.rst:2198 +#: library/ssl.rst:2211 msgid "Examples" msgstr "Exemples" -#: library/ssl.rst:2201 +#: library/ssl.rst:2214 msgid "Testing for SSL support" msgstr "" -#: library/ssl.rst:2203 +#: library/ssl.rst:2216 msgid "" "To test for the presence of SSL support in a Python installation, user code " "should use the following idiom::" msgstr "" -#: library/ssl.rst:2214 +#: library/ssl.rst:2227 msgid "Client-side operation" msgstr "" -#: library/ssl.rst:2216 +#: library/ssl.rst:2229 msgid "" "This example creates a SSL context with the recommended security settings " "for client sockets, including automatic certificate verification::" msgstr "" -#: library/ssl.rst:2221 +#: library/ssl.rst:2234 msgid "" "If you prefer to tune security settings yourself, you might create a context " "from scratch (but beware that you might not get the settings right)::" msgstr "" -#: library/ssl.rst:2228 +#: library/ssl.rst:2241 msgid "" "(this snippet assumes your operating system places a bundle of all CA " "certificates in ``/etc/ssl/certs/ca-bundle.crt``; if not, you'll get an " "error and have to adjust the location)" msgstr "" -#: library/ssl.rst:2232 +#: library/ssl.rst:2245 msgid "" "The :data:`PROTOCOL_TLS_CLIENT` protocol configures the context for cert " "validation and hostname verification. :attr:`~SSLContext.verify_mode` is set " @@ -2528,7 +2541,7 @@ msgid "" "``True``. All other protocols create SSL contexts with insecure defaults." msgstr "" -#: library/ssl.rst:2237 +#: library/ssl.rst:2250 msgid "" "When you use the context to connect to a server, :const:`CERT_REQUIRED` and :" "attr:`~SSLContext.check_hostname` validate the server certificate: it " @@ -2537,27 +2550,27 @@ msgid "" "properties like validity and identity of the hostname::" msgstr "" -#: library/ssl.rst:2247 +#: library/ssl.rst:2260 msgid "You may then fetch the certificate::" msgstr "" -#: library/ssl.rst:2251 +#: library/ssl.rst:2264 msgid "" "Visual inspection shows that the certificate does identify the desired " "service (that is, the HTTPS host ``www.python.org``)::" msgstr "" -#: library/ssl.rst:2294 +#: library/ssl.rst:2307 msgid "" "Now the SSL channel is established and the certificate verified, you can " "proceed to talk with the server::" msgstr "" -#: library/ssl.rst:2321 +#: library/ssl.rst:2334 msgid "Server-side operation" msgstr "" -#: library/ssl.rst:2323 +#: library/ssl.rst:2336 msgid "" "For server operation, typically you'll need to have a server certificate, " "and private key, each in a file. You'll first create a context holding the " @@ -2566,20 +2579,20 @@ msgid "" "start waiting for clients to connect::" msgstr "" -#: library/ssl.rst:2338 +#: library/ssl.rst:2351 msgid "" "When a client connects, you'll call :meth:`accept` on the socket to get the " "new socket from the other end, and use the context's :meth:`SSLContext." "wrap_socket` method to create a server-side SSL socket for the connection::" msgstr "" -#: library/ssl.rst:2351 +#: library/ssl.rst:2364 msgid "" "Then you'll read data from the ``connstream`` and do something with it till " "you are finished with the client (or the client is finished with you)::" msgstr "" -#: library/ssl.rst:2365 +#: library/ssl.rst:2378 msgid "" "And go back to listening for new client connections (of course, a real " "server would probably handle each client connection in a separate thread, or " @@ -2587,18 +2600,18 @@ msgid "" "event loop)." msgstr "" -#: library/ssl.rst:2373 +#: library/ssl.rst:2386 msgid "Notes on non-blocking sockets" msgstr "" -#: library/ssl.rst:2375 +#: library/ssl.rst:2388 msgid "" "SSL sockets behave slightly different than regular sockets in non-blocking " "mode. When working with non-blocking sockets, there are thus several things " "you need to be aware of:" msgstr "" -#: library/ssl.rst:2379 +#: library/ssl.rst:2392 msgid "" "Most :class:`SSLSocket` methods will raise either :exc:`SSLWantWriteError` " "or :exc:`SSLWantReadError` instead of :exc:`BlockingIOError` if an I/O " @@ -2610,13 +2623,13 @@ msgid "" "require a prior *write* to the underlying socket." msgstr "" -#: library/ssl.rst:2391 +#: library/ssl.rst:2404 msgid "" "In earlier Python versions, the :meth:`!SSLSocket.send` method returned zero " "instead of raising :exc:`SSLWantWriteError` or :exc:`SSLWantReadError`." msgstr "" -#: library/ssl.rst:2395 +#: library/ssl.rst:2408 msgid "" "Calling :func:`~select.select` tells you that the OS-level socket can be " "read from (or written to), but it does not imply that there is sufficient " @@ -2626,7 +2639,7 @@ msgid "" "`~select.select`." msgstr "" -#: library/ssl.rst:2402 +#: library/ssl.rst:2415 msgid "" "Conversely, since the SSL layer has its own framing, a SSL socket may still " "have data available for reading without :func:`~select.select` being aware " @@ -2635,13 +2648,13 @@ msgid "" "call if still necessary." msgstr "" -#: library/ssl.rst:2408 +#: library/ssl.rst:2421 msgid "" "(of course, similar provisions apply when using other primitives such as :" "func:`~select.poll`, or those in the :mod:`selectors` module)" msgstr "" -#: library/ssl.rst:2411 +#: library/ssl.rst:2424 msgid "" "The SSL handshake itself will be non-blocking: the :meth:`SSLSocket." "do_handshake` method has to be retried until it returns successfully. Here " @@ -2649,7 +2662,7 @@ msgid "" "readiness::" msgstr "" -#: library/ssl.rst:2427 +#: library/ssl.rst:2440 msgid "" "The :mod:`asyncio` module supports :ref:`non-blocking SSL sockets ` and provides a higher level API. It polls for events using " @@ -2658,26 +2671,26 @@ msgid "" "handshake asynchronously as well." msgstr "" -#: library/ssl.rst:2436 +#: library/ssl.rst:2449 msgid "Memory BIO Support" msgstr "" -#: library/ssl.rst:2440 +#: library/ssl.rst:2453 msgid "" "Ever since the SSL module was introduced in Python 2.6, the :class:" "`SSLSocket` class has provided two related but distinct areas of " "functionality:" msgstr "" -#: library/ssl.rst:2443 +#: library/ssl.rst:2456 msgid "SSL protocol handling" msgstr "" -#: library/ssl.rst:2444 +#: library/ssl.rst:2457 msgid "Network IO" msgstr "" -#: library/ssl.rst:2446 +#: library/ssl.rst:2459 msgid "" "The network IO API is identical to that provided by :class:`socket.socket`, " "from which :class:`SSLSocket` also inherits. This allows an SSL socket to be " @@ -2685,7 +2698,7 @@ msgid "" "add SSL support to an existing application." msgstr "" -#: library/ssl.rst:2451 +#: library/ssl.rst:2464 msgid "" "Combining SSL protocol handling and network IO usually works well, but there " "are some cases where it doesn't. An example is async IO frameworks that want " @@ -2697,7 +2710,7 @@ msgid "" "`SSLObject` is provided." msgstr "" -#: library/ssl.rst:2462 +#: library/ssl.rst:2475 msgid "" "A reduced-scope variant of :class:`SSLSocket` representing an SSL protocol " "instance that does not contain any network IO methods. This class is " @@ -2705,7 +2718,7 @@ msgid "" "for SSL through memory buffers." msgstr "" -#: library/ssl.rst:2467 +#: library/ssl.rst:2480 msgid "" "This class implements an interface on top of a low-level SSL object as " "implemented by OpenSSL. This object captures the state of an SSL connection " @@ -2713,7 +2726,7 @@ msgid "" "separate \"BIO\" objects which are OpenSSL's IO abstraction layer." msgstr "" -#: library/ssl.rst:2472 +#: library/ssl.rst:2485 msgid "" "This class has no public constructor. An :class:`SSLObject` instance must " "be created using the :meth:`~SSLContext.wrap_bio` method. This method will " @@ -2722,215 +2735,215 @@ msgid "" "instance, while the *outgoing* BIO is used to pass data the other way around." msgstr "" -#: library/ssl.rst:2479 +#: library/ssl.rst:2492 msgid "The following methods are available:" msgstr "" -#: library/ssl.rst:2481 +#: library/ssl.rst:2494 msgid ":attr:`~SSLSocket.context`" msgstr "" -#: library/ssl.rst:2482 +#: library/ssl.rst:2495 msgid ":attr:`~SSLSocket.server_side`" msgstr "" -#: library/ssl.rst:2483 +#: library/ssl.rst:2496 msgid ":attr:`~SSLSocket.server_hostname`" msgstr "" -#: library/ssl.rst:2484 +#: library/ssl.rst:2497 msgid ":attr:`~SSLSocket.session`" msgstr "" -#: library/ssl.rst:2485 +#: library/ssl.rst:2498 msgid ":attr:`~SSLSocket.session_reused`" msgstr "" -#: library/ssl.rst:2486 +#: library/ssl.rst:2499 msgid ":meth:`~SSLSocket.read`" msgstr "" -#: library/ssl.rst:2487 +#: library/ssl.rst:2500 msgid ":meth:`~SSLSocket.write`" msgstr "" -#: library/ssl.rst:2488 +#: library/ssl.rst:2501 msgid ":meth:`~SSLSocket.getpeercert`" msgstr "" -#: library/ssl.rst:2489 +#: library/ssl.rst:2502 msgid ":meth:`~SSLSocket.selected_alpn_protocol`" msgstr "" -#: library/ssl.rst:2490 +#: library/ssl.rst:2503 msgid ":meth:`~SSLSocket.selected_npn_protocol`" msgstr "" -#: library/ssl.rst:2491 +#: library/ssl.rst:2504 msgid ":meth:`~SSLSocket.cipher`" msgstr "" -#: library/ssl.rst:2492 +#: library/ssl.rst:2505 msgid ":meth:`~SSLSocket.shared_ciphers`" msgstr "" -#: library/ssl.rst:2493 +#: library/ssl.rst:2506 msgid ":meth:`~SSLSocket.compression`" msgstr "" -#: library/ssl.rst:2494 +#: library/ssl.rst:2507 msgid ":meth:`~SSLSocket.pending`" msgstr "" -#: library/ssl.rst:2495 +#: library/ssl.rst:2508 msgid ":meth:`~SSLSocket.do_handshake`" msgstr "" -#: library/ssl.rst:2496 +#: library/ssl.rst:2509 msgid ":meth:`~SSLSocket.verify_client_post_handshake`" msgstr "" -#: library/ssl.rst:2497 +#: library/ssl.rst:2510 msgid ":meth:`~SSLSocket.unwrap`" msgstr "" -#: library/ssl.rst:2498 +#: library/ssl.rst:2511 msgid ":meth:`~SSLSocket.get_channel_binding`" msgstr "" -#: library/ssl.rst:2499 +#: library/ssl.rst:2512 msgid ":meth:`~SSLSocket.version`" msgstr "" -#: library/ssl.rst:2501 +#: library/ssl.rst:2514 msgid "" "When compared to :class:`SSLSocket`, this object lacks the following " "features:" msgstr "" -#: library/ssl.rst:2504 +#: library/ssl.rst:2517 msgid "" "Any form of network IO; ``recv()`` and ``send()`` read and write only to the " "underlying :class:`MemoryBIO` buffers." msgstr "" -#: library/ssl.rst:2507 +#: library/ssl.rst:2520 msgid "" "There is no *do_handshake_on_connect* machinery. You must always manually " "call :meth:`~SSLSocket.do_handshake` to start the handshake." msgstr "" -#: library/ssl.rst:2510 +#: library/ssl.rst:2523 msgid "" "There is no handling of *suppress_ragged_eofs*. All end-of-file conditions " "that are in violation of the protocol are reported via the :exc:" "`SSLEOFError` exception." msgstr "" -#: library/ssl.rst:2514 +#: library/ssl.rst:2527 msgid "" "The method :meth:`~SSLSocket.unwrap` call does not return anything, unlike " "for an SSL socket where it returns the underlying socket." msgstr "" -#: library/ssl.rst:2517 +#: library/ssl.rst:2530 msgid "" "The *server_name_callback* callback passed to :meth:`SSLContext." "set_servername_callback` will get an :class:`SSLObject` instance instead of " "a :class:`SSLSocket` instance as its first parameter." msgstr "" -#: library/ssl.rst:2521 +#: library/ssl.rst:2534 msgid "Some notes related to the use of :class:`SSLObject`:" msgstr "" -#: library/ssl.rst:2523 +#: library/ssl.rst:2536 msgid "" "All IO on an :class:`SSLObject` is :ref:`non-blocking `. " "This means that for example :meth:`~SSLSocket.read` will raise an :exc:" "`SSLWantReadError` if it needs more data than the incoming BIO has available." msgstr "" -#: library/ssl.rst:2528 +#: library/ssl.rst:2541 msgid "" "There is no module-level ``wrap_bio()`` call like there is for :meth:" "`~SSLContext.wrap_socket`. An :class:`SSLObject` is always created via an :" "class:`SSLContext`." msgstr "" -#: library/ssl.rst:2532 +#: library/ssl.rst:2545 msgid "" ":class:`SSLObject` instances must to created with :meth:`~SSLContext." "wrap_bio`. In earlier versions, it was possible to create instances " "directly. This was never documented or officially supported." msgstr "" -#: library/ssl.rst:2538 +#: library/ssl.rst:2551 msgid "" "An SSLObject communicates with the outside world using memory buffers. The " "class :class:`MemoryBIO` provides a memory buffer that can be used for this " "purpose. It wraps an OpenSSL memory BIO (Basic IO) object:" msgstr "" -#: library/ssl.rst:2544 +#: library/ssl.rst:2557 msgid "" "A memory buffer that can be used to pass data between Python and an SSL " "protocol instance." msgstr "" -#: library/ssl.rst:2549 +#: library/ssl.rst:2562 msgid "Return the number of bytes currently in the memory buffer." msgstr "" -#: library/ssl.rst:2553 +#: library/ssl.rst:2566 msgid "" "A boolean indicating whether the memory BIO is current at the end-of-file " "position." msgstr "" -#: library/ssl.rst:2558 +#: library/ssl.rst:2571 msgid "" "Read up to *n* bytes from the memory buffer. If *n* is not specified or " "negative, all bytes are returned." msgstr "" -#: library/ssl.rst:2563 +#: library/ssl.rst:2576 msgid "" "Write the bytes from *buf* to the memory BIO. The *buf* argument must be an " "object supporting the buffer protocol." msgstr "" -#: library/ssl.rst:2566 +#: library/ssl.rst:2579 msgid "" "The return value is the number of bytes written, which is always equal to " "the length of *buf*." msgstr "" -#: library/ssl.rst:2571 +#: library/ssl.rst:2584 msgid "" "Write an EOF marker to the memory BIO. After this method has been called, it " "is illegal to call :meth:`~MemoryBIO.write`. The attribute :attr:`eof` will " "become true after all data currently in the buffer has been read." msgstr "" -#: library/ssl.rst:2577 +#: library/ssl.rst:2590 msgid "SSL session" msgstr "" -#: library/ssl.rst:2583 +#: library/ssl.rst:2596 msgid "Session object used by :attr:`~SSLSocket.session`." msgstr "" -#: library/ssl.rst:2595 +#: library/ssl.rst:2608 #, fuzzy msgid "Security considerations" msgstr "Considérations de sécurité" -#: library/ssl.rst:2598 +#: library/ssl.rst:2611 msgid "Best defaults" msgstr "" -#: library/ssl.rst:2600 +#: library/ssl.rst:2613 msgid "" "For **client use**, if you don't have any special requirements for your " "security policy, it is highly recommended that you use the :func:" @@ -2940,19 +2953,19 @@ msgid "" "settings." msgstr "" -#: library/ssl.rst:2607 +#: library/ssl.rst:2620 msgid "" "For example, here is how you would use the :class:`smtplib.SMTP` class to " "create a trusted, secure connection to a SMTP server::" msgstr "" -#: library/ssl.rst:2616 +#: library/ssl.rst:2629 msgid "" "If a client certificate is needed for the connection, it can be added with :" "meth:`SSLContext.load_cert_chain`." msgstr "" -#: library/ssl.rst:2619 +#: library/ssl.rst:2632 msgid "" "By contrast, if you create the SSL context by calling the :class:" "`SSLContext` constructor yourself, it will not have certificate validation " @@ -2960,15 +2973,15 @@ msgid "" "paragraphs below to achieve a good security level." msgstr "" -#: library/ssl.rst:2625 +#: library/ssl.rst:2638 msgid "Manual settings" msgstr "" -#: library/ssl.rst:2628 +#: library/ssl.rst:2641 msgid "Verifying certificates" msgstr "" -#: library/ssl.rst:2630 +#: library/ssl.rst:2643 msgid "" "When calling the :class:`SSLContext` constructor directly, :const:" "`CERT_NONE` is the default. Since it does not authenticate the other peer, " @@ -2983,13 +2996,13 @@ msgid "" "automatically performed when :attr:`SSLContext.check_hostname` is enabled." msgstr "" -#: library/ssl.rst:2643 +#: library/ssl.rst:2656 msgid "" "Hostname matchings is now performed by OpenSSL. Python no longer uses :func:" "`match_hostname`." msgstr "" -#: library/ssl.rst:2647 +#: library/ssl.rst:2660 msgid "" "In server mode, if you want to authenticate your clients using the SSL layer " "(rather than using a higher-level authentication mechanism), you'll also " @@ -2997,11 +3010,11 @@ msgid "" "certificate." msgstr "" -#: library/ssl.rst:2653 +#: library/ssl.rst:2666 msgid "Protocol versions" msgstr "" -#: library/ssl.rst:2655 +#: library/ssl.rst:2668 msgid "" "SSL versions 2 and 3 are considered insecure and are therefore dangerous to " "use. If you want maximum compatibility between clients and servers, it is " @@ -3010,7 +3023,7 @@ msgid "" "by default." msgstr "" -#: library/ssl.rst:2668 +#: library/ssl.rst:2681 msgid "" "The SSL context created above will only allow TLSv1.2 and later (if " "supported by your system) connections to a server. :const:" @@ -3018,11 +3031,11 @@ msgid "" "default. You have to load certificates into the context." msgstr "" -#: library/ssl.rst:2675 +#: library/ssl.rst:2688 msgid "Cipher selection" msgstr "" -#: library/ssl.rst:2677 +#: library/ssl.rst:2690 msgid "" "If you have advanced security requirements, fine-tuning of the ciphers " "enabled when negotiating a SSL session is possible through the :meth:" @@ -3035,11 +3048,11 @@ msgid "" "ciphers`` command on your system." msgstr "" -#: library/ssl.rst:2688 +#: library/ssl.rst:2701 msgid "Multi-processing" msgstr "" -#: library/ssl.rst:2690 +#: library/ssl.rst:2703 msgid "" "If using this module as part of a multi-processed application (using, for " "example the :mod:`multiprocessing` or :mod:`concurrent.futures` modules), be " @@ -3050,18 +3063,18 @@ msgid "" "`~ssl.RAND_pseudo_bytes` is sufficient." msgstr "" -#: library/ssl.rst:2702 +#: library/ssl.rst:2715 msgid "TLS 1.3" msgstr "" -#: library/ssl.rst:2706 +#: library/ssl.rst:2719 msgid "" "Python has provisional and experimental support for TLS 1.3 with OpenSSL " "1.1.1. The new protocol behaves slightly differently than previous version " "of TLS/SSL. Some new TLS 1.3 features are not yet available." msgstr "" -#: library/ssl.rst:2710 +#: library/ssl.rst:2723 msgid "" "TLS 1.3 uses a disjunct set of cipher suites. All AES-GCM and ChaCha20 " "cipher suites are enabled by default. The method :meth:`SSLContext." @@ -3069,14 +3082,14 @@ msgid "" "`SSLContext.get_ciphers` returns them." msgstr "" -#: library/ssl.rst:2714 +#: library/ssl.rst:2727 msgid "" "Session tickets are no longer sent as part of the initial handshake and are " "handled differently. :attr:`SSLSocket.session` and :class:`SSLSession` are " "not compatible with TLS 1.3." msgstr "" -#: library/ssl.rst:2717 +#: library/ssl.rst:2730 msgid "" "Client-side certificates are also no longer verified during the initial " "handshake. A server can request a certificate at any time. Clients process " @@ -3084,127 +3097,127 @@ msgid "" "server." msgstr "" -#: library/ssl.rst:2721 +#: library/ssl.rst:2734 msgid "" "TLS 1.3 features like early data, deferred TLS client cert request, " "signature algorithm configuration, and rekeying are not supported yet." msgstr "" -#: library/ssl.rst:2728 +#: library/ssl.rst:2741 msgid "LibreSSL support" msgstr "" -#: library/ssl.rst:2730 +#: library/ssl.rst:2743 msgid "" "LibreSSL is a fork of OpenSSL 1.0.1. The ssl module has limited support for " "LibreSSL. Some features are not available when the ssl module is compiled " "with LibreSSL." msgstr "" -#: library/ssl.rst:2734 +#: library/ssl.rst:2747 msgid "" "LibreSSL >= 2.6.1 no longer supports NPN. The methods :meth:`SSLContext." "set_npn_protocols` and :meth:`SSLSocket.selected_npn_protocol` are not " "available." msgstr "" -#: library/ssl.rst:2737 +#: library/ssl.rst:2750 msgid "" ":meth:`SSLContext.set_default_verify_paths` ignores the env vars :envvar:" "`SSL_CERT_FILE` and :envvar:`SSL_CERT_PATH` although :func:" "`get_default_verify_paths` still reports them." msgstr "" -#: library/ssl.rst:2745 +#: library/ssl.rst:2758 msgid "Class :class:`socket.socket`" msgstr "" -#: library/ssl.rst:2745 +#: library/ssl.rst:2758 msgid "Documentation of underlying :mod:`socket` class" msgstr "" -#: library/ssl.rst:2748 +#: library/ssl.rst:2761 msgid "" "`SSL/TLS Strong Encryption: An Introduction `_" msgstr "" -#: library/ssl.rst:2748 +#: library/ssl.rst:2761 msgid "Intro from the Apache HTTP Server documentation" msgstr "" -#: library/ssl.rst:2751 +#: library/ssl.rst:2764 msgid "" ":rfc:`RFC 1422: Privacy Enhancement for Internet Electronic Mail: Part II: " "Certificate-Based Key Management <1422>`" msgstr "" -#: library/ssl.rst:2751 +#: library/ssl.rst:2764 msgid "Steve Kent" msgstr "" -#: library/ssl.rst:2754 +#: library/ssl.rst:2767 msgid ":rfc:`RFC 4086: Randomness Requirements for Security <4086>`" msgstr "" -#: library/ssl.rst:2754 +#: library/ssl.rst:2767 msgid "Donald E., Jeffrey I. Schiller" msgstr "" -#: library/ssl.rst:2757 +#: library/ssl.rst:2770 msgid "" ":rfc:`RFC 5280: Internet X.509 Public Key Infrastructure Certificate and " "Certificate Revocation List (CRL) Profile <5280>`" msgstr "" -#: library/ssl.rst:2757 +#: library/ssl.rst:2770 msgid "D. Cooper" msgstr "" -#: library/ssl.rst:2760 +#: library/ssl.rst:2773 msgid "" ":rfc:`RFC 5246: The Transport Layer Security (TLS) Protocol Version 1.2 " "<5246>`" msgstr "" -#: library/ssl.rst:2760 +#: library/ssl.rst:2773 msgid "T. Dierks et. al." msgstr "" -#: library/ssl.rst:2763 +#: library/ssl.rst:2776 msgid ":rfc:`RFC 6066: Transport Layer Security (TLS) Extensions <6066>`" msgstr "" -#: library/ssl.rst:2763 +#: library/ssl.rst:2776 msgid "D. Eastlake" msgstr "" -#: library/ssl.rst:2766 +#: library/ssl.rst:2779 msgid "" "`IANA TLS: Transport Layer Security (TLS) Parameters `_" msgstr "" -#: library/ssl.rst:2766 +#: library/ssl.rst:2779 msgid "IANA" msgstr "" -#: library/ssl.rst:2769 +#: library/ssl.rst:2782 msgid "" ":rfc:`RFC 7525: Recommendations for Secure Use of Transport Layer Security " "(TLS) and Datagram Transport Layer Security (DTLS) <7525>`" msgstr "" -#: library/ssl.rst:2769 +#: library/ssl.rst:2782 msgid "IETF" msgstr "" -#: library/ssl.rst:2771 +#: library/ssl.rst:2784 msgid "" "`Mozilla's Server Side TLS recommendations `_" msgstr "" -#: library/ssl.rst:2772 +#: library/ssl.rst:2785 msgid "Mozilla" msgstr "" diff --git a/library/stdtypes.po b/library/stdtypes.po index 483578d6..e40e063a 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-27 19:26+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-08-09 15:32+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -7141,7 +7141,7 @@ msgstr "" "`AttributeError`. Pour affecter l'attribut, vous devrez explicitement " "l'affecter à sa fonction sous-jacente ::" -#: library/stdtypes.rst:5054 +#: library/stdtypes.rst:5057 msgid "See :ref:`types` for more information." msgstr "Voir :ref:`types` pour plus d'information." @@ -7165,7 +7165,13 @@ msgstr "" "fonction native :func:`compile` et peuvent être obtenus des objets fonction " "via leur attribut :attr:`__code__`. Voir aussi le module :mod:`code`." -#: library/stdtypes.rst:5051 +#: library/stdtypes.rst:5047 +msgid "" +"Accessing ``__code__`` raises an :ref:`auditing event ` ``object." +"__getattr__`` with arguments ``obj`` and ``\"__code__\"``." +msgstr "" + +#: library/stdtypes.rst:5054 msgid "" "A code object can be executed or evaluated by passing it (instead of a " "source string) to the :func:`exec` or :func:`eval` built-in functions." @@ -7174,11 +7180,11 @@ msgstr "" "d'une chaîne contenant du code) aux fonction natives :func:`exec` ou :func:" "`eval`." -#: library/stdtypes.rst:5060 +#: library/stdtypes.rst:5063 msgid "Type Objects" msgstr "Objets type" -#: library/stdtypes.rst:5066 +#: library/stdtypes.rst:5069 msgid "" "Type objects represent the various object types. An object's type is " "accessed by the built-in function :func:`type`. There are no special " @@ -7190,15 +7196,15 @@ msgstr "" "opération spéciale sur les types. Le module standard :mod:`types` définit " "les noms de tous les types natifs." -#: library/stdtypes.rst:5071 +#: library/stdtypes.rst:5074 msgid "Types are written like this: ````." msgstr "Les types sont représentés : ````." -#: library/stdtypes.rst:5077 +#: library/stdtypes.rst:5080 msgid "The Null Object" msgstr "L'objet Null" -#: library/stdtypes.rst:5079 +#: library/stdtypes.rst:5082 msgid "" "This object is returned by functions that don't explicitly return a value. " "It supports no special operations. There is exactly one null object, named " @@ -7208,15 +7214,15 @@ msgstr "" "valeur. Il ne supporte aucune opération spéciale. Il existe exactement un " "objet *null* nommé ``None`` (c'est un nom natif). ``type(None)()``." -#: library/stdtypes.rst:5083 +#: library/stdtypes.rst:5086 msgid "It is written as ``None``." msgstr "C'est écrit ``None``." -#: library/stdtypes.rst:5090 +#: library/stdtypes.rst:5093 msgid "The Ellipsis Object" msgstr "L'objet points de suspension" -#: library/stdtypes.rst:5092 +#: library/stdtypes.rst:5095 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -7228,15 +7234,15 @@ msgstr "" "objet *ellipsis*, nommé :const:`Ellipsis` (un nom natif). ``type(Ellipsis)" "()`` produit le *singleton* :const:`Ellipsis`." -#: library/stdtypes.rst:5097 +#: library/stdtypes.rst:5100 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "C'est écrit ``Ellipsis`` ou ``...``." -#: library/stdtypes.rst:5103 +#: library/stdtypes.rst:5106 msgid "The NotImplemented Object" msgstr "L'objet *NotImplemented*" -#: library/stdtypes.rst:5105 +#: library/stdtypes.rst:5108 msgid "" "This object is returned from comparisons and binary operations when they are " "asked to operate on types they don't support. See :ref:`comparisons` for " @@ -7248,15 +7254,15 @@ msgstr "" "pour plus d'informations. Il n'y a qu'un seul objet ``NotImplemented``. " "``type(NotImplemented)()`` renvoie un *singleton*." -#: library/stdtypes.rst:5110 +#: library/stdtypes.rst:5113 msgid "It is written as ``NotImplemented``." msgstr "C'est écrit ``NotImplemented``." -#: library/stdtypes.rst:5116 +#: library/stdtypes.rst:5119 msgid "Boolean Values" msgstr "Valeurs booléennes" -#: library/stdtypes.rst:5118 +#: library/stdtypes.rst:5121 msgid "" "Boolean values are the two constant objects ``False`` and ``True``. They " "are used to represent truth values (although other values can also be " @@ -7275,15 +7281,15 @@ msgstr "" "valeur en booléen tant que la valeur peut être interprétée en une valeur de " "vérité (voir :ref:`truth` au dessus)." -#: library/stdtypes.rst:5131 +#: library/stdtypes.rst:5134 msgid "They are written as ``False`` and ``True``, respectively." msgstr "Ils s'écrivent ``False`` et ``True``, respectivement." -#: library/stdtypes.rst:5137 +#: library/stdtypes.rst:5140 msgid "Internal Objects" msgstr "Objets internes" -#: library/stdtypes.rst:5139 +#: library/stdtypes.rst:5142 msgid "" "See :ref:`types` for this information. It describes stack frame objects, " "traceback objects, and slice objects." @@ -7291,11 +7297,11 @@ msgstr "" "Voir :ref:`types`. Ils décrivent les objets *stack frame*, *traceback*, et " "*slice*." -#: library/stdtypes.rst:5146 +#: library/stdtypes.rst:5149 msgid "Special Attributes" msgstr "Attributs spéciaux" -#: library/stdtypes.rst:5148 +#: library/stdtypes.rst:5151 msgid "" "The implementation adds a few special read-only attributes to several object " "types, where they are relevant. Some of these are not reported by the :func:" @@ -7305,7 +7311,7 @@ msgstr "" "certains types, lorsque ça a du sens. Certains ne sont *pas* listés par la " "fonction native :func:`dir`." -#: library/stdtypes.rst:5155 +#: library/stdtypes.rst:5158 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes." @@ -7313,20 +7319,20 @@ msgstr "" "Un dictionnaire ou un autre *mapping object* utilisé pour stocker les " "attributs (modifiables) de l'objet." -#: library/stdtypes.rst:5161 +#: library/stdtypes.rst:5164 msgid "The class to which a class instance belongs." msgstr "La classe de l'instance de classe." -#: library/stdtypes.rst:5166 +#: library/stdtypes.rst:5169 msgid "The tuple of base classes of a class object." msgstr "Le *n*-uplet des classes parentes d'un objet classe." -#: library/stdtypes.rst:5171 +#: library/stdtypes.rst:5174 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "Le nom de la classe, fonction, méthode, descripteur, ou générateur." -#: library/stdtypes.rst:5177 +#: library/stdtypes.rst:5180 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -7334,7 +7340,7 @@ msgstr "" "Le :term:`qualified name` de la classe, fonction, méthode, descripteur, ou " "générateur." -#: library/stdtypes.rst:5185 +#: library/stdtypes.rst:5188 msgid "" "This attribute is a tuple of classes that are considered when looking for " "base classes during method resolution." @@ -7342,7 +7348,7 @@ msgstr "" "Cet attribut est un *n*-uplet contenant les classes parents prises en compte " "lors de la résolution de méthode." -#: library/stdtypes.rst:5191 +#: library/stdtypes.rst:5194 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -7353,7 +7359,7 @@ msgstr "" "la l'initialisation de la classe, et son résultat est stocké dans " "l'attribut :attr:`~class.__mro__`." -#: library/stdtypes.rst:5198 +#: library/stdtypes.rst:5201 #, fuzzy msgid "" "Each class keeps a list of weak references to its immediate subclasses. " @@ -7364,11 +7370,11 @@ msgstr "" "immédiates. Cette méthode renvoie la liste de toutes ces références encore " "valables. Exemple ::" -#: library/stdtypes.rst:5207 +#: library/stdtypes.rst:5210 msgid "Footnotes" msgstr "Notes" -#: library/stdtypes.rst:5208 +#: library/stdtypes.rst:5211 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -7376,7 +7382,7 @@ msgstr "" "Plus d'informations sur ces méthodes spéciales peuvent être trouvées dans le " "*Python Reference Manual* (:ref:`customization`)." -#: library/stdtypes.rst:5211 +#: library/stdtypes.rst:5214 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -7384,13 +7390,13 @@ msgstr "" "Par conséquent, la liste ``[1, 2]`` est considérée égale à ``[1.0, 2.0]``. " "Idem avec des *n*-uplets." -#: library/stdtypes.rst:5214 +#: library/stdtypes.rst:5217 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "Nécessairement, puisque l'analyseur ne peut pas discerner le type des " "opérandes." -#: library/stdtypes.rst:5216 +#: library/stdtypes.rst:5219 msgid "" "Cased characters are those with general category property being one of \"Lu" "\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -7400,7 +7406,7 @@ msgstr "" "category* est soit \"Lu\" (pour *Letter*, *uppercase*), soit \"Ll\" (pour " "*Letter*, *lowercase*), soit \"Lt\" (pour *Letter*, *titlecase*)." -#: library/stdtypes.rst:5219 +#: library/stdtypes.rst:5222 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." diff --git a/library/string.po b/library/string.po index c66bf32b..c6880b5a 100644 --- a/library/string.po +++ b/library/string.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-27 19:26+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-02-23 17:09+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -311,12 +311,14 @@ msgid "Format String Syntax" msgstr "Syntaxe de formatage de chaîne" #: library/string.rst:188 +#, fuzzy msgid "" "The :meth:`str.format` method and the :class:`Formatter` class share the " "same syntax for format strings (although in the case of :class:`Formatter`, " "subclasses can define their own format string syntax). The syntax is " -"related to that of :ref:`formatted string literals `, but there " -"are differences." +"related to that of :ref:`formatted string literals `, but it is " +"less sophisticated and, in particular, does not support arbitrary " +"expressions." msgstr "" "La méthode :meth:`str.format` et la classe :class:`Formatter` partagent la " "même syntaxe pour les chaînes de formatage (bien que dans le cas de :class:" @@ -554,7 +556,7 @@ msgstr "Le sens des différentes options d'alignement est donné comme suit :" msgid "Option" msgstr "Option" -#: library/string.rst:370 library/string.rst:450 library/string.rst:483 +#: library/string.rst:370 library/string.rst:450 library/string.rst:485 msgid "Meaning" msgstr "Signification" @@ -663,17 +665,18 @@ msgstr "" "doit précéder les nombres négatifs." #: library/string.rst:385 +#, fuzzy msgid "" "The ``'#'`` option causes the \"alternate form\" to be used for the " "conversion. The alternate form is defined differently for different types. " "This option is only valid for integer, float and complex types. For " "integers, when binary, octal, or hexadecimal output is used, this option " -"adds the prefix respective ``'0b'``, ``'0o'``, or ``'0x'`` to the output " -"value. For float and complex the alternate form causes the result of the " -"conversion to always contain a decimal-point character, even if no digits " -"follow it. Normally, a decimal-point character appears in the result of " -"these conversions only if a digit follows it. In addition, for ``'g'`` and " -"``'G'`` conversions, trailing zeros are not removed from the result." +"adds the respective prefix ``'0b'``, ``'0o'``, ``'0x'``, or ``'0X'`` to the " +"output value. For float and complex the alternate form causes the result of " +"the conversion to always contain a decimal-point character, even if no " +"digits follow it. Normally, a decimal-point character appears in the result " +"of these conversions only if a digit follows it. In addition, for ``'g'`` " +"and ``'G'`` conversions, trailing zeros are not removed from the result." msgstr "" "L'option ``'#'`` impose l'utilisation de la \"forme alternative\" pour la " "conversion. La forme alternative est définie différemment pour différent " @@ -770,7 +773,7 @@ msgstr "" msgid "The available string presentation types are:" msgstr "Les types disponibles de représentation de chaîne sont :" -#: library/string.rst:450 library/string.rst:483 +#: library/string.rst:450 library/string.rst:485 msgid "Type" msgstr "Type" @@ -784,7 +787,7 @@ msgstr "" "Format de chaîne. C'est le type par défaut pour les chaînes de caractères et " "peut être omis." -#: library/string.rst:471 library/string.rst:558 +#: library/string.rst:473 library/string.rst:560 msgid "None" msgstr "``None``" @@ -849,18 +852,20 @@ msgid "``'X'``" msgstr "``'X'``" #: library/string.rst:464 +#, fuzzy msgid "" "Hex format. Outputs the number in base 16, using upper-case letters for the " -"digits above 9." +"digits above 9. In case ``'#'`` is specified, the prefix ``'0x'`` will be " +"upper-cased to ``'0X'`` as well." msgstr "" "Format hexadécimal. Affiche le nombre en base 16 en utilisant les lettres " "majuscules pour les chiffres au-dessus de 9." -#: library/string.rst:551 +#: library/string.rst:553 msgid "``'n'``" msgstr "``'n'``" -#: library/string.rst:467 +#: library/string.rst:469 msgid "" "Number. This is the same as ``'d'``, except that it uses the current locale " "setting to insert the appropriate number separator characters." @@ -869,11 +874,11 @@ msgstr "" "localisation qui sont utilisés afin de déterminer le séparateur de nombres " "approprié." -#: library/string.rst:471 +#: library/string.rst:473 msgid "The same as ``'d'``." msgstr "Pareil que ``'d'``." -#: library/string.rst:474 +#: library/string.rst:476 msgid "" "In addition to the above presentation types, integers can be formatted with " "the floating point presentation types listed below (except ``'n'`` and " @@ -886,7 +891,7 @@ msgstr "" "func:`float` est utilisée pour convertir l'entier en flottant avant le " "formatage." -#: library/string.rst:479 +#: library/string.rst:481 msgid "" "The available presentation types for :class:`float` and :class:`~decimal." "Decimal` values are:" @@ -894,11 +899,11 @@ msgstr "" "Les représentations possibles pour les :class:`float` et les :class:" "`~decimal.Decimal` sont :" -#: library/string.rst:485 +#: library/string.rst:487 msgid "``'e'``" msgstr "``'e'``" -#: library/string.rst:485 +#: library/string.rst:487 msgid "" "Scientific notation. For a given precision ``p``, formats the number in " "scientific notation with the letter 'e' separating the coefficient from the " @@ -920,11 +925,11 @@ msgstr "" "la virgule (c.-à-d. le point décimal en Python) n'est pas affichée à moins " "que l'option ``#`` ne soit utilisée." -#: library/string.rst:497 +#: library/string.rst:499 msgid "``'E'``" msgstr "``'E'``" -#: library/string.rst:497 +#: library/string.rst:499 msgid "" "Scientific notation. Same as ``'e'`` except it uses an upper case 'E' as the " "separator character." @@ -932,11 +937,11 @@ msgstr "" "Notation scientifique. Pareil que ``'e'`` sauf que Python utilise la lettre " "majuscule 'E' comme séparateur." -#: library/string.rst:500 +#: library/string.rst:502 msgid "``'f'``" msgstr "``'f'``" -#: library/string.rst:500 +#: library/string.rst:502 msgid "" "Fixed-point notation. For a given precision ``p``, formats the number as a " "decimal number with exactly ``p`` digits following the decimal point. With " @@ -955,11 +960,11 @@ msgstr "" "la virgule, la virgule (c.-à-d. le point décimal en Python) n'est pas " "affichée à moins que l'option ``#`` ne soit utilisée." -#: library/string.rst:510 +#: library/string.rst:512 msgid "``'F'``" msgstr "``'F'``" -#: library/string.rst:510 +#: library/string.rst:512 msgid "" "Fixed-point notation. Same as ``'f'``, but converts ``nan`` to ``NAN`` and " "``inf`` to ``INF``." @@ -967,11 +972,11 @@ msgstr "" "Virgule fixe. Pareil que ``'f'`` à part ``nan`` qui devient ``NAN`` et " "``inf`` qui devient ``INF``." -#: library/string.rst:513 +#: library/string.rst:515 msgid "``'g'``" msgstr "``'g'``" -#: library/string.rst:513 +#: library/string.rst:515 msgid "" "General format. For a given precision ``p >= 1``, this rounds the number to " "``p`` significant digits and then formats the result in either fixed-point " @@ -983,7 +988,7 @@ msgstr "" "virgule fixe soit en notation scientifique, en fonction de la magnitude. Une " "précision de ``0`` est considérée équivalente à une précision de ``1``." -#: library/string.rst:520 +#: library/string.rst:522 msgid "" "The precise rules are as follows: suppose that the result formatted with " "presentation type ``'e'`` and precision ``p-1`` would have exponent " @@ -1006,7 +1011,7 @@ msgstr "" "retirée s'il n'y a aucun chiffre la suivant, sauf si l'option ``'#'`` est " "utilisée." -#: library/string.rst:533 +#: library/string.rst:535 msgid "" "With no precision given, uses a precision of ``6`` significant digits for :" "class:`float`. For :class:`~decimal.Decimal`, the coefficient of the result " @@ -1022,7 +1027,7 @@ msgstr "" "celles dont le dernier chiffre significatif a une position supérieure à 1 ; " "dans les autres cas, la notation en virgule fixe est utilisée." -#: library/string.rst:542 +#: library/string.rst:544 msgid "" "Positive and negative infinity, positive and negative zero, and nans, are " "formatted as ``inf``, ``-inf``, ``0``, ``-0`` and ``nan`` respectively, " @@ -1032,11 +1037,11 @@ msgstr "" "négatif, *not a number* sont formatées respectivement par ``inf``, ``-inf``, " "``0``, ``-0`` et ``nan``, peu importe la précision." -#: library/string.rst:547 +#: library/string.rst:549 msgid "``'G'``" msgstr "``'G'``" -#: library/string.rst:547 +#: library/string.rst:549 msgid "" "General format. Same as ``'g'`` except switches to ``'E'`` if the number " "gets too large. The representations of infinity and NaN are uppercased, too." @@ -1045,7 +1050,7 @@ msgstr "" "nombre est trop grand. Également, la représentation des infinis et de *NaN* " "sont en majuscules également." -#: library/string.rst:551 +#: library/string.rst:553 msgid "" "Number. This is the same as ``'g'``, except that it uses the current locale " "setting to insert the appropriate number separator characters." @@ -1053,11 +1058,11 @@ msgstr "" "Nombre. Pareil que ``'g'``, si ce n'est que la configuration de localisation " "est prise en compte pour insérer le séparateur approprié." -#: library/string.rst:555 +#: library/string.rst:557 msgid "``'%'``" msgstr "``'%'``" -#: library/string.rst:555 +#: library/string.rst:557 msgid "" "Percentage. Multiplies the number by 100 and displays in fixed (``'f'``) " "format, followed by a percent sign." @@ -1065,7 +1070,7 @@ msgstr "" "Pourcentage. Multiplie le nombre par 100 et l'affiche en virgule fixe " "(``'f'``), suivi d'un symbole pourcent ``'%'``." -#: library/string.rst:558 +#: library/string.rst:560 msgid "" "For :class:`float` this is the same as ``'g'``, except that when fixed-point " "notation is used to format the result, it always includes at least one digit " @@ -1077,7 +1082,7 @@ msgstr "" "chiffre après la virgule. La précision utilisée est celle nécessaire pour " "afficher la valeur donnée fidèlement." -#: library/string.rst:564 +#: library/string.rst:566 msgid "" "For :class:`~decimal.Decimal`, this is the same as either ``'g'`` or ``'G'`` " "depending on the value of ``context.capitals`` for the current decimal " @@ -1086,7 +1091,7 @@ msgstr "" "Pour les :class:`~decimal.Decimal`, c'est identique à ``'g'`` ou ``'G'`` en " "fonction de la valeur de ``context.capitals`` du contexte décimal courant." -#: library/string.rst:568 +#: library/string.rst:570 msgid "" "The overall effect is to match the output of :func:`str` as altered by the " "other format modifiers." @@ -1094,11 +1099,11 @@ msgstr "" "L'effet visé est de coller à la valeur renvoyée par :func:`str` telle que " "modifiée par les autres modificateurs de format." -#: library/string.rst:576 +#: library/string.rst:578 msgid "Format examples" msgstr "Exemples de formats" -#: library/string.rst:578 +#: library/string.rst:580 msgid "" "This section contains examples of the :meth:`str.format` syntax and " "comparison with the old ``%``-formatting." @@ -1106,7 +1111,7 @@ msgstr "" "Cette section contient des exemples de la syntaxe de :meth:`str.format` et " "des comparaisons avec l'ancien formatage par ``%``." -#: library/string.rst:581 +#: library/string.rst:583 msgid "" "In most of the cases the syntax is similar to the old ``%``-formatting, with " "the addition of the ``{}`` and with ``:`` used instead of ``%``. For " @@ -1116,7 +1121,7 @@ msgstr "" "%``, avec l'ajout de ``{}`` et avec ``:`` au lieu de ``%``. Par exemple : " "``'%03.2f'`` peut être changé en ``'{03.2f}'``." -#: library/string.rst:585 +#: library/string.rst:587 msgid "" "The new format syntax also supports new and different options, shown in the " "following examples." @@ -1124,61 +1129,61 @@ msgstr "" "La nouvelle syntaxe de formatage gère également de nouvelles options et des " "options différentes, montrées dans les exemples qui suivent." -#: library/string.rst:588 +#: library/string.rst:590 msgid "Accessing arguments by position::" msgstr "Accéder à un argument par sa position ::" -#: library/string.rst:601 +#: library/string.rst:603 msgid "Accessing arguments by name::" msgstr "Accéder à un argument par son nom ::" -#: library/string.rst:609 +#: library/string.rst:611 msgid "Accessing arguments' attributes::" msgstr "Accéder aux attributs d'un argument ::" -#: library/string.rst:624 +#: library/string.rst:626 msgid "Accessing arguments' items::" msgstr "Accéder aux éléments d'un argument ::" -#: library/string.rst:630 +#: library/string.rst:632 msgid "Replacing ``%s`` and ``%r``::" msgstr "Remplacer ``%s`` et ``%r`` ::" -#: library/string.rst:635 +#: library/string.rst:637 msgid "Aligning the text and specifying a width::" msgstr "Aligner le texte et spécifier une longueur minimale ::" -#: library/string.rst:646 +#: library/string.rst:648 msgid "Replacing ``%+f``, ``%-f``, and ``% f`` and specifying a sign::" msgstr "Remplacer ``%+f``, ``%-f``, et ``%f`` et spécifier un signe ::" -#: library/string.rst:655 +#: library/string.rst:657 msgid "" "Replacing ``%x`` and ``%o`` and converting the value to different bases::" msgstr "" "Remplacer ``%x`` et ``%o`` et convertir la valeur dans différentes bases ::" -#: library/string.rst:664 +#: library/string.rst:666 msgid "Using the comma as a thousands separator::" msgstr "Utiliser une virgule comme séparateur des milliers ::" -#: library/string.rst:669 +#: library/string.rst:671 msgid "Expressing a percentage::" msgstr "Exprimer un pourcentage ::" -#: library/string.rst:676 +#: library/string.rst:678 msgid "Using type-specific formatting::" msgstr "Utiliser un formatage propre au type ::" -#: library/string.rst:683 +#: library/string.rst:685 msgid "Nesting arguments and more complex examples::" msgstr "Arguments imbriqués et des exemples plus complexes ::" -#: library/string.rst:717 +#: library/string.rst:719 msgid "Template strings" msgstr "Chaînes modèles" -#: library/string.rst:719 +#: library/string.rst:721 msgid "" "Template strings provide simpler string substitutions as described in :pep:" "`292`. A primary use case for template strings is for internationalization " @@ -1196,7 +1201,7 @@ msgstr "" "l'internationalisation, voir le paquet `flufl.i18n `_ (ressource en anglais)." -#: library/string.rst:729 +#: library/string.rst:731 msgid "" "Template strings support ``$``-based substitutions, using the following " "rules:" @@ -1204,11 +1209,11 @@ msgstr "" "Les chaînes modèles prennent en charge les substitutions basées sur ``$`` en " "utilisant les règles suivantes :" -#: library/string.rst:731 +#: library/string.rst:733 msgid "``$$`` is an escape; it is replaced with a single ``$``." msgstr "``$$`` est un échappement ; il est remplacé par un simple ``$``." -#: library/string.rst:733 +#: library/string.rst:735 msgid "" "``$identifier`` names a substitution placeholder matching a mapping key of ``" "\"identifier\"``. By default, ``\"identifier\"`` is restricted to any case-" @@ -1223,7 +1228,7 @@ msgstr "" "n'étant pas un identifieur après le ``$`` termine la spécification du " "substituant." -#: library/string.rst:740 +#: library/string.rst:742 msgid "" "``${identifier}`` is equivalent to ``$identifier``. It is required when " "valid identifier characters follow the placeholder but are not part of the " @@ -1234,7 +1239,7 @@ msgstr "" "directement le substituant mais ne fait pas partie du substituant, comme ``" "\"${noun}ification\"``." -#: library/string.rst:744 +#: library/string.rst:746 msgid "" "Any other appearance of ``$`` in the string will result in a :exc:" "`ValueError` being raised." @@ -1242,7 +1247,7 @@ msgstr "" "Tout autre présence du symbole ``$`` dans une chaîne résultera en la levée " "d'une :exc:`ValueError`." -#: library/string.rst:747 +#: library/string.rst:749 msgid "" "The :mod:`string` module provides a :class:`Template` class that implements " "these rules. The methods of :class:`Template` are:" @@ -1250,12 +1255,12 @@ msgstr "" "Le module :mod:`string` fournit une classe :class:`Template` qui implémente " "ces règles. Les méthodes de :class:`Template` sont :" -#: library/string.rst:753 +#: library/string.rst:755 msgid "The constructor takes a single argument which is the template string." msgstr "" "Le constructeur prend un seul argument qui est la chaîne du *template*." -#: library/string.rst:758 +#: library/string.rst:760 msgid "" "Performs the template substitution, returning a new string. *mapping* is " "any dictionary-like object with keys that match the placeholders in the " @@ -1270,7 +1275,7 @@ msgstr "" "*mapping* et *kwds* sont donnés et qu'il y a des doublons, les substituants " "de *kwds* sont prioritaires." -#: library/string.rst:767 +#: library/string.rst:769 msgid "" "Like :meth:`substitute`, except that if placeholders are missing from " "*mapping* and *kwds*, instead of raising a :exc:`KeyError` exception, the " @@ -1285,7 +1290,7 @@ msgstr "" "$`` renverra simplement ``$`` au lieu de lever une exception :exc:" "`ValueError`." -#: library/string.rst:773 +#: library/string.rst:775 msgid "" "While other exceptions may still occur, this method is called \"safe\" " "because it always tries to return a usable string instead of raising an " @@ -1301,13 +1306,13 @@ msgstr "" "contient des délimiteurs fantômes, des accolades non fermées, ou des " "substituants qui ne sont pas des identificateurs Python valides." -#: library/string.rst:780 +#: library/string.rst:782 msgid ":class:`Template` instances also provide one public data attribute:" msgstr "" "Les instances de la classe :class:`Template` fournissent également un " "attribut public :" -#: library/string.rst:784 +#: library/string.rst:786 msgid "" "This is the object passed to the constructor's *template* argument. In " "general, you shouldn't change it, but read-only access is not enforced." @@ -1316,11 +1321,11 @@ msgstr "" "vous ne devriez pas le changer, mais un accès en lecture-seule n'est pas " "possible à fournir." -#: library/string.rst:787 +#: library/string.rst:789 msgid "Here is an example of how to use a Template::" msgstr "Voici un exemple de comment utiliser un *Template* ::" -#: library/string.rst:805 +#: library/string.rst:807 msgid "" "Advanced usage: you can derive subclasses of :class:`Template` to customize " "the placeholder syntax, delimiter character, or the entire regular " @@ -1333,7 +1338,7 @@ msgstr "" "analyser les chaînes *templates*. Pour faire cela, vous pouvez redéfinir les " "attributs suivants :" -#: library/string.rst:810 +#: library/string.rst:812 msgid "" "*delimiter* -- This is the literal string describing a placeholder " "introducing delimiter. The default value is ``$``. Note that this should " @@ -1348,7 +1353,7 @@ msgstr "" "escape` sur cette chaîne si nécessaire. Notez aussi que le délimiteur ne " "peut pas être changé après la création de la classe." -#: library/string.rst:817 +#: library/string.rst:819 msgid "" "*idpattern* -- This is the regular expression describing the pattern for non-" "braced placeholders. The default value is the regular expression ``(?a:[_a-" @@ -1361,7 +1366,7 @@ msgstr "" "donné et *braceidpattern* est ``None``, ce motif est aussi utilisé pour les " "marqueurs entre accolades." -#: library/string.rst:824 +#: library/string.rst:826 msgid "" "Since default *flags* is ``re.IGNORECASE``, pattern ``[a-z]`` can match with " "some non-ASCII characters. That's why we use the local ``a`` flag here." @@ -1370,7 +1375,7 @@ msgstr "" "ASCII* peuvent correspondre au motif ``[a-z]``. C'est pourquoi on utilise " "une option locale ``a`` ici." -#: library/string.rst:828 +#: library/string.rst:830 msgid "" "*braceidpattern* can be used to define separate patterns used inside and " "outside the braces." @@ -1378,7 +1383,7 @@ msgstr "" "*braceidpattern* peut être utilisé pour définir des motifs des motifs " "différents suivant qu’ils sont à l’intérieur ou à l’extérieur des accolades." -#: library/string.rst:832 +#: library/string.rst:834 msgid "" "*braceidpattern* -- This is like *idpattern* but describes the pattern for " "braced placeholders. Defaults to ``None`` which means to fall back to " @@ -1392,7 +1397,7 @@ msgstr "" "l’intérieur d’accolades ou non). S’il est donné, cela vous permet de définir " "des motifs entre accolades différents des motifs sans accolades." -#: library/string.rst:840 +#: library/string.rst:842 msgid "" "*flags* -- The regular expression flags that will be applied when compiling " "the regular expression used for recognizing substitutions. The default " @@ -1407,7 +1412,7 @@ msgstr "" "personnalisé doit suivre les conventions des expressions rationnelles " "*verbose*." -#: library/string.rst:848 +#: library/string.rst:850 msgid "" "Alternatively, you can provide the entire regular expression pattern by " "overriding the class attribute *pattern*. If you do this, the value must be " @@ -1421,7 +1426,7 @@ msgstr "" "noms. Les groupes de capture correspondent aux règles données au-dessus, " "ainsi qu'à la règle du substituant invalide :" -#: library/string.rst:854 +#: library/string.rst:856 msgid "" "*escaped* -- This group matches the escape sequence, e.g. ``$$``, in the " "default pattern." @@ -1429,7 +1434,7 @@ msgstr "" "*escaped* — Ce groupe lie les séquences échappées (par exemple ``$$``) dans " "le motif par défaut." -#: library/string.rst:857 +#: library/string.rst:859 msgid "" "*named* -- This group matches the unbraced placeholder name; it should not " "include the delimiter in capturing group." @@ -1437,7 +1442,7 @@ msgstr "" "*named* — Ce groupe lie les substituants non entourés d'accolades ; il ne " "devrait pas inclure le délimiteur dans le groupe de capture." -#: library/string.rst:860 +#: library/string.rst:862 msgid "" "*braced* -- This group matches the brace enclosed placeholder name; it " "should not include either the delimiter or braces in the capturing group." @@ -1445,7 +1450,7 @@ msgstr "" "*braced* — Ce groupe lie le nom entouré d'accolades ; il ne devrait inclure " "ni le délimiteur, ni les accolades dans le groupe de capture." -#: library/string.rst:863 +#: library/string.rst:865 msgid "" "*invalid* -- This group matches any other delimiter pattern (usually a " "single delimiter), and it should appear last in the regular expression." @@ -1454,11 +1459,11 @@ msgstr "" "un seul délimiteur) et il devrait apparaître en dernier dans l'expression " "rationnelle." -#: library/string.rst:868 +#: library/string.rst:870 msgid "Helper functions" msgstr "Fonctions d'assistance" -#: library/string.rst:872 +#: library/string.rst:874 msgid "" "Split the argument into words using :meth:`str.split`, capitalize each word " "using :meth:`str.capitalize`, and join the capitalized words using :meth:" diff --git a/library/subprocess.po b/library/subprocess.po index 556b18c1..fffdac57 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-04-25 23:34+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -2052,43 +2052,56 @@ msgid "Calling the program through the shell is usually not required." msgstr "" "Appeler le programme à travers un *shell* n'est habituellement pas requis." -#: library/subprocess.rst:1277 +#: library/subprocess.rst:1276 +msgid "" +"The :func:`call` return value is encoded differently to that of :func:`os." +"system`." +msgstr "" + +#: library/subprocess.rst:1279 +msgid "" +"The :func:`os.system` function ignores SIGINT and SIGQUIT signals while the " +"command is running, but the caller must do this separately when using the :" +"mod:`subprocess` module." +msgstr "" + +#: library/subprocess.rst:1283 msgid "A more realistic example would look like this::" msgstr "Un exemple plus réaliste ressemblerait à cela ::" -#: library/subprocess.rst:1290 +#: library/subprocess.rst:1296 msgid "Replacing the :func:`os.spawn ` family" msgstr "Remplacer les fonctions de la famille :func:`os.spawn `" -#: library/subprocess.rst:1292 +#: library/subprocess.rst:1298 msgid "P_NOWAIT example::" msgstr "Exemple avec *P_NOWAIT* ::" -#: library/subprocess.rst:1298 +#: library/subprocess.rst:1304 msgid "P_WAIT example::" msgstr "Exemple avec *P_WAIT* ::" -#: library/subprocess.rst:1304 +#: library/subprocess.rst:1310 msgid "Vector example::" msgstr "Exemple avec un tableau ::" -#: library/subprocess.rst:1310 +#: library/subprocess.rst:1316 msgid "Environment example::" msgstr "Exemple en passant un environnement ::" -#: library/subprocess.rst:1319 +#: library/subprocess.rst:1325 msgid "Replacing :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`" msgstr "Remplacer :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`" -#: library/subprocess.rst:1349 +#: library/subprocess.rst:1355 msgid "Return code handling translates as follows::" msgstr "La gestion du code de retour se traduit comme suit ::" -#: library/subprocess.rst:1365 +#: library/subprocess.rst:1371 msgid "Replacing functions from the :mod:`popen2` module" msgstr "Remplacer les fonctions du module :mod:`popen2`" -#: library/subprocess.rst:1369 +#: library/subprocess.rst:1375 msgid "" "If the cmd argument to popen2 functions is a string, the command is executed " "through /bin/sh. If it is a list, the command is directly executed." @@ -2097,7 +2110,7 @@ msgstr "" "la commande est exécutée à travers */bin/sh*. Si c'est une liste, la " "commande est directement exécutée." -#: library/subprocess.rst:1388 +#: library/subprocess.rst:1394 msgid "" ":class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as :class:" "`subprocess.Popen`, except that:" @@ -2105,19 +2118,19 @@ msgstr "" ":class:`popen2.Popen3` et :class:`popen2.Popen4` fonctionnent basiquement " "comme :class:`subprocess.Popen`, excepté que :" -#: library/subprocess.rst:1391 +#: library/subprocess.rst:1397 msgid ":class:`Popen` raises an exception if the execution fails." msgstr ":class:`Popen` lève une exception si l'exécution échoue." -#: library/subprocess.rst:1393 +#: library/subprocess.rst:1399 msgid "The *capturestderr* argument is replaced with the *stderr* argument." msgstr "L'argument *capturestderr* est remplacé par *stderr*." -#: library/subprocess.rst:1395 +#: library/subprocess.rst:1401 msgid "``stdin=PIPE`` and ``stdout=PIPE`` must be specified." msgstr "``stdin=PIPE`` et ``stdout=PIPE`` doivent être spécifiés." -#: library/subprocess.rst:1397 +#: library/subprocess.rst:1403 msgid "" "popen2 closes all file descriptors by default, but you have to specify " "``close_fds=True`` with :class:`Popen` to guarantee this behavior on all " @@ -2127,11 +2140,11 @@ msgstr "" "spécifier ``close_fds=True`` avec :class:`Popen` pour garantir ce " "comportement sur toutes les plateformes ou les anciennes versions de Python." -#: library/subprocess.rst:1403 +#: library/subprocess.rst:1409 msgid "Legacy Shell Invocation Functions" msgstr "Remplacement des fonctions originales d'invocation du *shell*" -#: library/subprocess.rst:1405 +#: library/subprocess.rst:1411 msgid "" "This module also provides the following legacy functions from the 2.x " "``commands`` module. These operations implicitly invoke the system shell and " @@ -2143,13 +2156,13 @@ msgstr "" "*shell* du système et n'apportent aucune des garanties décrites ci-dessus " "par rapport à la sécurité ou la cohérence de la gestion des exceptions." -#: library/subprocess.rst:1412 +#: library/subprocess.rst:1418 msgid "Return ``(exitcode, output)`` of executing *cmd* in a shell." msgstr "" "Renvoie les valeurs ``(exitcode, output)`` de l'exécution de *cmd* dans un " "*shell*." -#: library/subprocess.rst:1414 +#: library/subprocess.rst:1420 msgid "" "Execute the string *cmd* in a shell with :meth:`Popen.check_output` and " "return a 2-tuple ``(exitcode, output)``. The locale encoding is used; see " @@ -2160,7 +2173,7 @@ msgstr "" "les notes de la section :ref:`frequently-used-arguments` pour plus de " "détails." -#: library/subprocess.rst:1418 +#: library/subprocess.rst:1424 msgid "" "A trailing newline is stripped from the output. The exit code for the " "command can be interpreted as the return code of subprocess. Example::" @@ -2169,15 +2182,15 @@ msgstr "" "supprimé. Le code de statut de la commande peut être interprété comme le " "code de retour de *subprocess*. Par exemple ::" -#: library/subprocess.rst:1452 +#: library/subprocess.rst:1458 msgid ":ref:`Availability `: POSIX & Windows." msgstr ":ref:`Disponibilité ` : POSIX et Windows." -#: library/subprocess.rst:1433 +#: library/subprocess.rst:1439 msgid "Windows support was added." msgstr "Ajout de la gestion de Windows." -#: library/subprocess.rst:1436 +#: library/subprocess.rst:1442 msgid "" "The function now returns (exitcode, output) instead of (status, output) as " "it did in Python 3.3.3 and earlier. exitcode has the same value as :attr:" @@ -2187,13 +2200,13 @@ msgstr "" "output)`` comme dans les versions de Python 3.3.3 ou antérieures. " "*exitcode* vaut la même valeur que :attr:`~Popen.returncode`." -#: library/subprocess.rst:1443 +#: library/subprocess.rst:1449 msgid "Return output (stdout and stderr) of executing *cmd* in a shell." msgstr "" "Renvoie la sortie (standard et d'erreur) de l'exécution de *cmd* dans un " "*shell*." -#: library/subprocess.rst:1445 +#: library/subprocess.rst:1451 msgid "" "Like :func:`getstatusoutput`, except the exit code is ignored and the return " "value is a string containing the command's output. Example::" @@ -2202,20 +2215,20 @@ msgstr "" "ignoré et que la valeur de retour est une chaîne contenant la sortie de la " "commande. Exemple ::" -#: library/subprocess.rst:1453 +#: library/subprocess.rst:1459 msgid "Windows support added" msgstr "Ajout de la gestion de Windows" -#: library/subprocess.rst:1458 +#: library/subprocess.rst:1464 msgid "Notes" msgstr "Notes" -#: library/subprocess.rst:1463 +#: library/subprocess.rst:1469 msgid "Converting an argument sequence to a string on Windows" msgstr "" "Convertir une séquence d'arguments vers une chaîne de caractères sous Windows" -#: library/subprocess.rst:1465 +#: library/subprocess.rst:1471 msgid "" "On Windows, an *args* sequence is converted to a string that can be parsed " "using the following rules (which correspond to the rules used by the MS C " @@ -2225,14 +2238,14 @@ msgstr "" "être analysée avec les règles suivantes (qui correspondent aux règles " "utilisées par l'environnement *MS C*) :" -#: library/subprocess.rst:1469 +#: library/subprocess.rst:1475 msgid "" "Arguments are delimited by white space, which is either a space or a tab." msgstr "" "Les arguments sont délimités par des espacements, qui peuvent être des " "espaces ou des tabulations." -#: library/subprocess.rst:1472 +#: library/subprocess.rst:1478 msgid "" "A string surrounded by double quotation marks is interpreted as a single " "argument, regardless of white space contained within. A quoted string can " @@ -2242,7 +2255,7 @@ msgstr "" "seul, qu'elle contienne ou non des espacements. Une chaîne entre guillemets " "peut être intégrée dans un argument." -#: library/subprocess.rst:1477 +#: library/subprocess.rst:1483 msgid "" "A double quotation mark preceded by a backslash is interpreted as a literal " "double quotation mark." @@ -2250,7 +2263,7 @@ msgstr "" "Un guillemet double précédé d'un *backslash* est interprété comme un " "guillemet double littéral." -#: library/subprocess.rst:1480 +#: library/subprocess.rst:1486 msgid "" "Backslashes are interpreted literally, unless they immediately precede a " "double quotation mark." @@ -2258,7 +2271,7 @@ msgstr "" "Les *backslashs* sont interprétés littéralement, à moins qu'ils précèdent " "immédiatement un guillemet double." -#: library/subprocess.rst:1483 +#: library/subprocess.rst:1489 msgid "" "If backslashes immediately precede a double quotation mark, every pair of " "backslashes is interpreted as a literal backslash. If the number of " @@ -2270,11 +2283,11 @@ msgstr "" "de *backslashs* est impair, le dernier *backslash* échappe le prochain " "guillemet double comme décrit en règle 3." -#: library/subprocess.rst:1492 +#: library/subprocess.rst:1498 msgid ":mod:`shlex`" msgstr ":mod:`shlex`" -#: library/subprocess.rst:1493 +#: library/subprocess.rst:1499 msgid "Module which provides function to parse and escape command lines." msgstr "" "Module qui fournit des fonctions pour analyser et échapper les lignes de " diff --git a/library/sys.po b/library/sys.po index f5fa867b..f8b67533 100644 --- a/library/sys.po +++ b/library/sys.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-12-03 10:17+0100\n" "Last-Translator: louisMaury \n" "Language-Team: FRENCH \n" @@ -46,9 +46,10 @@ msgstr "" "(l'option ``m`` pour *pymalloc* a été enlevée)." #: library/sys.rst:28 +#, fuzzy msgid "" "Append the callable *hook* to the list of active auditing hooks for the " -"current interpreter." +"current (sub)interpreter." msgstr "" "Ajoute un *hook* appelable dans la liste des fonctions de rappel d'audits " "actifs pour l’interpréteur en cours d'exécution." @@ -59,8 +60,8 @@ msgid "" "When an auditing event is raised through the :func:`sys.audit` function, " "each hook will be called in the order it was added with the event name and " "the tuple of arguments. Native hooks added by :c:func:`PySys_AddAuditHook` " -"are called first, followed by hooks added in the current interpreter. Hooks " -"can then log the event, raise an exception to abort the operation, or " +"are called first, followed by hooks added in the current (sub)interpreter. " +"Hooks can then log the event, raise an exception to abort the operation, or " "terminate the process entirely." msgstr "" "Quand un événement d'audit est déclenché par la fonction :func:`sys.audit`, " @@ -426,7 +427,7 @@ msgstr "" msgid "Integer specifying the handle of the Python DLL." msgstr "Nombre entier spécifiant le descripteur de la DLL Python." -#: library/sys.rst:786 library/sys.rst:1661 +#: library/sys.rst:791 library/sys.rst:1666 msgid ":ref:`Availability `: Windows." msgstr ":ref:`Disponibilité ` : Windows." @@ -729,7 +730,7 @@ msgstr "" "La :term:`named tuple` *flags* expose l'état des options de ligne de " "commande. Ces attributs sont en lecture seule." -#: library/sys.rst:498 library/sys.rst:831 +#: library/sys.rst:498 library/sys.rst:836 msgid "attribute" msgstr "attribut" @@ -903,7 +904,7 @@ msgstr "" msgid "float.h macro" msgstr "macro *float.h*" -#: library/sys.rst:831 +#: library/sys.rst:836 msgid "explanation" msgstr "explication" @@ -1176,7 +1177,7 @@ msgstr "" "`dlopen`. Les noms symboliques valeurs peuvent être trouvées dans le module :" "mod:`os`. (Ce sont les constantes ``RTLD_xxx`` e.g. :data:`os.RTLD_LAZY`)." -#: library/sys.rst:1222 +#: library/sys.rst:1227 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Disponibilité ` : Unix." @@ -1465,18 +1466,26 @@ msgstr "" "champs." #: library/sys.rst:780 +#, fuzzy msgid "" -"*platform_version* returns the accurate major version, minor version and " -"build number of the current operating system, rather than the version that " -"is being emulated for the process. It is intended for use in logging rather " -"than for feature detection." +"*platform_version* returns the major version, minor version and build number " +"of the current operating system, rather than the version that is being " +"emulated for the process. It is intended for use in logging rather than for " +"feature detection." msgstr "" "*platform_version* donne précisément la version majeure, mineure, et numéro " "de compilation du système d'exploitation sous-jacent, plutôt que la version " "émulée pour ce processus. Il est destiné à être utilisé pour de la " "journalisation plutôt que pour la détection de fonctionnalités." -#: library/sys.rst:787 +#: library/sys.rst:786 +msgid "" +"*platform_version* derives the version from kernel32.dll which can be of a " +"different version than the OS version. Please use :mod:`platform` module for " +"achieving accurate OS version." +msgstr "" + +#: library/sys.rst:792 msgid "" "Changed to a named tuple and added *service_pack_minor*, " "*service_pack_major*, *suite_mask*, and *product_type*." @@ -1484,11 +1493,11 @@ msgstr "" "Changé en un *n*-uplet nommé, et ajout de *service_pack_minor*, " "*service_pack_major*, *suite_mask*, et *product_type*." -#: library/sys.rst:791 +#: library/sys.rst:796 msgid "Added *platform_version*" msgstr "Ajout de *platform_version*" -#: library/sys.rst:797 +#: library/sys.rst:802 msgid "" "Returns an *asyncgen_hooks* object, which is similar to a :class:" "`~collections.namedtuple` of the form `(firstiter, finalizer)`, where " @@ -1504,11 +1513,11 @@ msgstr "" "pour planifier la finalisation d'un générateur asynchrone par un *event " "loop*." -#: library/sys.rst:804 +#: library/sys.rst:809 msgid "See :pep:`525` for more details." msgstr "Voir la :pep:`525` pour plus d'informations." -#: library/sys.rst:1416 +#: library/sys.rst:1421 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.)" @@ -1516,7 +1525,7 @@ msgstr "" "Cette fonction à été ajoutée à titre provisoire (voir la :pep:`411` pour " "plus d'informations.)" -#: library/sys.rst:814 +#: library/sys.rst:819 msgid "" "Get the current coroutine origin tracking depth, as set by :func:" "`set_coroutine_origin_tracking_depth`." @@ -1525,7 +1534,7 @@ msgstr "" "le suivi de leur création, telle que défini par :func:" "`set_coroutine_origin_tracking_depth`." -#: library/sys.rst:1437 +#: library/sys.rst:1442 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.) Use it only for debugging purposes." @@ -1533,7 +1542,7 @@ msgstr "" "Cette fonction à été ajoutée à titre provisoire (Voir la :pep:`411` pour " "plus d'informations.) Utilisez la uniquement à des fins de débogage." -#: library/sys.rst:826 +#: library/sys.rst:831 msgid "" "A :term:`named tuple` giving parameters of the numeric hash implementation. " "For more details about hashing of numeric types, see :ref:`numeric-hash`." @@ -1542,77 +1551,77 @@ msgstr "" "fonction de hachage de nombres. Pour plus d'informations sur le hachage des " "types numériques, consultez :ref:`numeric-hash`." -#: library/sys.rst:833 +#: library/sys.rst:838 msgid ":const:`width`" msgstr ":const:`width`" -#: library/sys.rst:833 +#: library/sys.rst:838 msgid "width in bits used for hash values" msgstr "Nombre de bits des valeurs de *hash*" -#: library/sys.rst:835 +#: library/sys.rst:840 msgid ":const:`modulus`" msgstr ":const:`modulus`" -#: library/sys.rst:835 +#: library/sys.rst:840 msgid "prime modulus P used for numeric hash scheme" msgstr "" "contient le premier P utilisé dans le modulo pour les *hash* numériques" -#: library/sys.rst:837 +#: library/sys.rst:842 msgid ":const:`inf`" msgstr ":const:`inf`" -#: library/sys.rst:837 +#: library/sys.rst:842 msgid "hash value returned for a positive infinity" msgstr "valeur du *hash* pour un infini positif" -#: library/sys.rst:839 +#: library/sys.rst:844 msgid ":const:`nan`" msgstr ":const:`nan`" -#: library/sys.rst:839 +#: library/sys.rst:844 msgid "hash value returned for a nan" msgstr "valeur du *hash* pour un *nan*" -#: library/sys.rst:841 +#: library/sys.rst:846 msgid ":const:`imag`" msgstr ":const:`imag`" -#: library/sys.rst:841 +#: library/sys.rst:846 msgid "multiplier used for the imaginary part of a complex number" msgstr "multiplicateur utilisé pour la partie imaginaire d'un nombre complexe" -#: library/sys.rst:844 +#: library/sys.rst:849 msgid ":const:`algorithm`" msgstr ":const:`algorithm`" -#: library/sys.rst:844 +#: library/sys.rst:849 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*" -#: library/sys.rst:847 +#: library/sys.rst:852 msgid ":const:`hash_bits`" msgstr ":const:`hash_bits`" -#: library/sys.rst:847 +#: library/sys.rst:852 msgid "internal output size of the hash algorithm" msgstr "taille de la sortie interne de l'algorithme de hachage" -#: library/sys.rst:849 +#: library/sys.rst:854 msgid ":const:`seed_bits`" msgstr ":const:`seed_bits`" -#: library/sys.rst:849 +#: library/sys.rst:854 msgid "size of the seed key of the hash algorithm" msgstr "taille de la *seed key* utilisée par l'algorithme de hachage" -#: library/sys.rst:855 +#: library/sys.rst:860 msgid "Added *algorithm*, *hash_bits* and *seed_bits*" msgstr "Ajout de *algorithm*, *hash_bits* et *seed_bits*" -#: library/sys.rst:861 +#: library/sys.rst:866 msgid "" "The version number encoded as a single integer. This is guaranteed to " "increase with each version, including proper support for non-production " @@ -1624,7 +1633,7 @@ msgstr "" "Par exemple, pour vérifier que l'interpréteur Python est au moins la version " "1.5, utilisez ::" -#: library/sys.rst:872 +#: library/sys.rst:877 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. " @@ -1636,12 +1645,12 @@ msgstr "" "`hex`. Le :term:`named tuple` :data:`sys.version_info` représente la même " "information d'une manière plus humaine." -#: library/sys.rst:877 +#: library/sys.rst:882 msgid "More details of ``hexversion`` can be found at :ref:`apiabiversion`." msgstr "" "Consultez :ref:`apiabiversion` pour plus d'informations sur ``hexversion``." -#: library/sys.rst:882 +#: library/sys.rst:887 msgid "" "An object containing information about the implementation of the currently " "running Python interpreter. The following attributes are required to exist " @@ -1651,7 +1660,7 @@ msgstr "" "actuelle de l'interpréteur Python. Les attributs suivants existent " "obligatoirement sur toutes les implémentations Python." -#: library/sys.rst:886 +#: library/sys.rst:891 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 " @@ -1661,7 +1670,7 @@ msgstr "" "chaîne est définie par l'implémentation de Python, mais sera toujours en " "minuscule." -#: library/sys.rst:890 +#: library/sys.rst:895 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 " @@ -1681,7 +1690,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." -#: library/sys.rst:900 +#: library/sys.rst:905 msgid "" "*hexversion* is the implementation version in hexadecimal format, like :data:" "`sys.hexversion`." @@ -1689,7 +1698,7 @@ msgstr "" "*hexversion* est la version de l'implémentation sous forme hexadécimale, " "comme :data:`sys.hexversion`." -#: library/sys.rst:903 +#: library/sys.rst:908 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 " @@ -1704,7 +1713,7 @@ msgstr "" "autre valeur si nécessaire. ``cache_tag`` à ``None`` signifie que la mise " "en cache des modules doit être désactivée." -#: library/sys.rst:910 +#: library/sys.rst:915 msgid "" ":data:`sys.implementation` may contain additional attributes specific to the " "Python implementation. These non-standard attributes must start with an " @@ -1721,13 +1730,13 @@ msgstr "" "cependant changer entre les versions du langage Python.) Voir la :pep:`421` " "pour plus d'informations." -#: library/sys.rst:921 +#: library/sys.rst:926 msgid "" "The addition of new required attributes must go through the normal PEP " "process. See :pep:`421` for more information." msgstr "" -#: library/sys.rst:926 +#: library/sys.rst:931 msgid "" "A :term:`named tuple` that holds information about Python's internal " "representation of integers. The attributes are read only." @@ -1735,19 +1744,19 @@ msgstr "" "Un :term:`named tuple` qui contient des informations sur la représentation " "interne des entiers de Python. Les attributs sont en lecture seule." -#: library/sys.rst:1546 +#: library/sys.rst:1551 msgid "Attribute" msgstr "Attribut" -#: library/sys.rst:1546 +#: library/sys.rst:1551 msgid "Explanation" msgstr "Explication" -#: library/sys.rst:934 +#: library/sys.rst:939 msgid ":const:`bits_per_digit`" msgstr ":const:`bits_per_digit`" -#: library/sys.rst:934 +#: library/sys.rst:939 msgid "" "number of bits held in each digit. Python integers are stored internally in " "base ``2**int_info.bits_per_digit``" @@ -1755,15 +1764,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``" -#: library/sys.rst:938 +#: library/sys.rst:943 msgid ":const:`sizeof_digit`" msgstr ":const:`sizeof_digit`" -#: library/sys.rst:938 +#: library/sys.rst:943 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" -#: library/sys.rst:947 +#: library/sys.rst:952 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`." -#: library/sys.rst:953 +#: library/sys.rst:958 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_interactivehook`` " "with argument ``hook``." msgstr "" -#: library/sys.rst:955 +#: library/sys.rst:960 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_interactivehook`` " "with the hook object as the argument when the hook is called on startup." msgstr "" -#: library/sys.rst:964 +#: library/sys.rst:969 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 " @@ -1811,7 +1820,7 @@ msgstr "" "attributs de modules, de classes, ou d'instances ont aussi leurs clés " "internées." -#: library/sys.rst:972 +#: library/sys.rst:977 msgid "" "Interned strings are not immortal; you must keep a reference to the return " "value of :func:`intern` around to benefit from it." @@ -1819,7 +1828,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." -#: library/sys.rst:978 +#: library/sys.rst:983 msgid "" "Return :const:`True` if the Python interpreter is :term:`shutting down " "`, :const:`False` otherwise." @@ -1827,7 +1836,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." -#: library/sys.rst:988 +#: library/sys.rst:993 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 " @@ -1846,7 +1855,7 @@ msgstr "" "mortem est ``import pdb; pdb.pm()``, voir :mod:`pdb` pour plus " "d'informations.)." -#: library/sys.rst:996 +#: library/sys.rst:1001 msgid "" "The meaning of the variables is the same as that of the return values from :" "func:`exc_info` above." @@ -1854,7 +1863,7 @@ msgstr "" "La signification de ces variables est la même que celle des valeurs " "renvoyées par :func:`exc_info` ci-dessus." -#: library/sys.rst:1002 +#: library/sys.rst:1007 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`` " @@ -1864,7 +1873,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." -#: library/sys.rst:1009 +#: library/sys.rst:1014 msgid "" "An integer giving the value of the largest Unicode code point, i.e. " "``1114111`` (``0x10FFFF`` in hexadecimal)." @@ -1872,7 +1881,7 @@ msgstr "" "Un entier donnant la valeur du plus grand point de code Unicode, c'est-à-" "dire ``1114111`` (```0x10FFFF`` en hexadécimal)." -#: library/sys.rst:1012 +#: library/sys.rst:1017 msgid "" "Before :pep:`393`, ``sys.maxunicode`` used to be either ``0xFFFF`` or " "``0x10FFFF``, depending on the configuration option that specified whether " @@ -1882,7 +1891,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." -#: library/sys.rst:1020 +#: library/sys.rst:1025 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 " @@ -1901,11 +1910,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é." -#: library/sys.rst:1032 +#: library/sys.rst:1037 msgid ":class:`importlib.abc.MetaPathFinder`" msgstr ":class:`importlib.abc.MetaPathFinder`" -#: library/sys.rst:1032 +#: library/sys.rst:1037 msgid "" "The abstract base class defining the interface of finder objects on :data:" "`meta_path`." @@ -1913,11 +1922,11 @@ msgstr "" "La classe de base abstraite définissant l'interface des objets *finder* de :" "data:`meta_path`." -#: library/sys.rst:1036 +#: library/sys.rst:1041 msgid ":class:`importlib.machinery.ModuleSpec`" msgstr ":class:`importlib.machinery.ModuleSpec`" -#: library/sys.rst:1035 +#: library/sys.rst:1040 msgid "" "The concrete class which :meth:`~importlib.abc.MetaPathFinder.find_spec` " "should return instances of." @@ -1925,7 +1934,7 @@ msgstr "" "La classe concrète dont :meth:`~importlib.abc.MetaPathFinder.find_spec` " "devrait renvoyer des instances." -#: library/sys.rst:1041 +#: library/sys.rst:1046 msgid "" ":term:`Module specs ` were introduced in Python 3.4, by :pep:" "`451`. Earlier versions of Python looked for a method called :meth:" @@ -1939,7 +1948,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`." -#: library/sys.rst:1049 +#: library/sys.rst:1054 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 " @@ -1952,7 +1961,7 @@ msgstr "" "rechargé. Cependant, le remplacer ne fonctionnera pas forcément comme prévu " "et en supprimer des éléments essentiels peut planter Python." -#: library/sys.rst:1059 +#: library/sys.rst:1064 msgid "" "A list of strings that specifies the search path for modules. Initialized " "from the environment variable :envvar:`PYTHONPATH`, plus an installation-" @@ -1962,7 +1971,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." -#: library/sys.rst:1063 +#: library/sys.rst:1068 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 " @@ -1982,7 +1991,7 @@ msgstr "" "actuel. Notez que le dossier du script est inséré *avant* les dossiers de :" "envvar:`PYTHONPATH`." -#: library/sys.rst:1071 +#: library/sys.rst:1076 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 " @@ -1992,7 +2001,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." -#: library/sys.rst:1077 +#: library/sys.rst:1082 msgid "" "Module :mod:`site` This describes how to use .pth files to extend :data:`sys." "path`." @@ -2000,7 +2009,7 @@ msgstr "" "Le module :mod:`site` décrit comment utiliser les fichiers *.pth* pour " "étendre :data:`sys.path`." -#: library/sys.rst:1083 +#: library/sys.rst:1088 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 " @@ -2010,11 +2019,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." -#: library/sys.rst:1098 +#: library/sys.rst:1103 msgid "Originally specified in :pep:`302`." msgstr "Précisé à l'origine dans la :pep:`302`." -#: library/sys.rst:1092 +#: library/sys.rst:1097 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 " @@ -2027,7 +2036,7 @@ msgstr "" "de fichiers mais qu'aucun *finder* n'est trouvé dans :data:`sys.path_hooks`, " "``None`` est stocké." -#: library/sys.rst:1100 +#: library/sys.rst:1105 msgid "" "``None`` is stored instead of :class:`imp.NullImporter` when no finder is " "found." @@ -2035,7 +2044,7 @@ msgstr "" "``None`` est stocké à la place de :class:`imp.NullImporter` si aucun " "localisateur n'est trouvé." -#: library/sys.rst:1107 +#: library/sys.rst:1112 msgid "" "This string contains a platform identifier that can be used to append " "platform-specific components to :data:`sys.path`, for instance." @@ -2044,7 +2053,7 @@ msgstr "" "typiquement utilisé pour ajouter des composants spécifiques à :data:`sys." "path`." -#: library/sys.rst:1110 +#: library/sys.rst:1115 msgid "" "For Unix systems, except on Linux and AIX, this is the lowercased OS name as " "returned by ``uname -s`` with the first part of the version as returned by " @@ -2059,59 +2068,59 @@ msgstr "" "souhaitiez tester pour une version spécifique du système, vous pouvez faire " "comme suit ::" -#: library/sys.rst:1123 +#: library/sys.rst:1128 msgid "For other systems, the values are:" msgstr "Pour les autres systèmes, les valeurs sont :" -#: library/sys.rst:1126 +#: library/sys.rst:1131 msgid "System" msgstr "Le système une station de travail." -#: library/sys.rst:1126 +#: library/sys.rst:1131 msgid "``platform`` value" msgstr "Valeur pour ``plateforme``" -#: library/sys.rst:1128 +#: library/sys.rst:1133 msgid "AIX" msgstr "AIX" -#: library/sys.rst:1128 +#: library/sys.rst:1133 msgid "``'aix'``" msgstr "``'aix'``" -#: library/sys.rst:1129 +#: library/sys.rst:1134 msgid "Linux" msgstr "Linux" -#: library/sys.rst:1129 +#: library/sys.rst:1134 msgid "``'linux'``" msgstr "``'linux'``" -#: library/sys.rst:1130 +#: library/sys.rst:1135 msgid "Windows" msgstr "Windows" -#: library/sys.rst:1130 +#: library/sys.rst:1135 msgid "``'win32'``" msgstr "``'win32'``" -#: library/sys.rst:1131 +#: library/sys.rst:1136 msgid "Windows/Cygwin" msgstr "Windows/Cygwin" -#: library/sys.rst:1131 +#: library/sys.rst:1136 msgid "``'cygwin'``" msgstr "``'cygwin'``" -#: library/sys.rst:1132 +#: library/sys.rst:1137 msgid "macOS" msgstr "macOS" -#: library/sys.rst:1132 +#: library/sys.rst:1137 msgid "``'darwin'``" msgstr "``'darwin'``" -#: library/sys.rst:1135 +#: library/sys.rst:1140 msgid "" "On Linux, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'linux'``, instead of ``'linux2'`` or ``'linux3'``. Since older " @@ -2123,7 +2132,7 @@ msgstr "" "anciennes versions de Python incluent le numéro de version, il est " "recommandé de toujours utiliser ``startswith``, tel qu'utilisé ci-dessus." -#: library/sys.rst:1141 +#: library/sys.rst:1146 msgid "" "On AIX, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'``. Since older " @@ -2135,7 +2144,7 @@ msgstr "" "anciennes versions de Python incluent le numéro de version, il est " "recommandé de toujours utiliser ``startswith``, tel qu'utilisé ci-dessus." -#: library/sys.rst:1149 +#: library/sys.rst:1154 msgid "" ":attr:`os.name` has a coarser granularity. :func:`os.uname` gives system-" "dependent version information." @@ -2143,7 +2152,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." -#: library/sys.rst:1152 +#: library/sys.rst:1157 msgid "" "The :mod:`platform` module provides detailed checks for the system's " "identity." @@ -2151,45 +2160,45 @@ msgstr "" "Le module :mod:`platform` fournit des vérifications détaillées pour " "l'identité du système." -#: library/sys.rst:1158 +#: library/sys.rst:1163 msgid "" "Name of the platform-specific library directory. It is used to build the " "path of standard library and the paths of installed extension modules." msgstr "" -#: library/sys.rst:1161 +#: library/sys.rst:1166 msgid "" "It is equal to ``\"lib\"`` on most platforms. On Fedora and SuSE, it is " "equal to ``\"lib64\"`` on 64-bit platforms which gives the following ``sys." "path`` paths (where ``X.Y`` is the Python ``major.minor`` version):" msgstr "" -#: library/sys.rst:1165 +#: library/sys.rst:1170 msgid "" "``/usr/lib64/pythonX.Y/``: Standard library (like ``os.py`` of the :mod:`os` " "module)" msgstr "" -#: library/sys.rst:1167 +#: library/sys.rst:1172 msgid "" "``/usr/lib64/pythonX.Y/lib-dynload/``: C extension modules of the standard " "library (like the :mod:`errno` module, the exact filename is platform " "specific)" msgstr "" -#: library/sys.rst:1170 +#: library/sys.rst:1175 msgid "" "``/usr/lib/pythonX.Y/site-packages/`` (always use ``lib``, not :data:`sys." "platlibdir`): Third-party modules" msgstr "" -#: library/sys.rst:1172 +#: library/sys.rst:1177 msgid "" "``/usr/lib64/pythonX.Y/site-packages/``: C extension modules of third-party " "packages" msgstr "" -#: library/sys.rst:1180 +#: library/sys.rst:1185 msgid "" "A string giving the site-specific directory prefix where the platform " "independent Python files are installed; by default, this is the string ``'/" @@ -2210,7 +2219,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``." -#: library/sys.rst:1189 +#: library/sys.rst:1194 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 " @@ -2221,7 +2230,7 @@ msgstr "" "donnée au moment de la compilation de Python sera toujours disponible, dans :" "data:`base_prefix`." -#: library/sys.rst:1204 +#: library/sys.rst:1209 msgid "" "Strings specifying the primary and secondary prompt of the interpreter. " "These are only defined if the interpreter is in interactive mode. Their " @@ -2238,7 +2247,7 @@ msgstr "" "à lire une nouvelle commande interactive, c'est donc utilisable pour " "implémenter une invite dynamique." -#: library/sys.rst:1214 +#: library/sys.rst:1219 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 " @@ -2257,7 +2266,7 @@ msgstr "" "trouvés dans le module :mod:`os` (ce sont les constantes ``RTLD_xxx``, " "comme :data:`os.RTLD_LAZY`)." -#: library/sys.rst:1230 +#: library/sys.rst:1235 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 " @@ -2285,7 +2294,7 @@ msgstr "" "*multithread*. Sa valeur de retour n'est pas utilisée, elle peut simplement " "renvoyer ``None``." -#: library/sys.rst:1241 +#: library/sys.rst:1246 msgid "" "Profile functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -2298,21 +2307,21 @@ msgstr "" "``'c_call'``, ``'c_return'`` ou ``'c_exception'``. *arg* dépend du type de " "l'évènement." -#: library/sys.rst:1246 +#: library/sys.rst:1251 msgid "" "Raises an :ref:`auditing event ` ``sys.setprofile`` with no " "arguments." msgstr "" -#: library/sys.rst:1329 +#: library/sys.rst:1334 msgid "The events have the following meaning:" msgstr "Les événements ont la signification suivante :" -#: library/sys.rst:1334 +#: library/sys.rst:1339 msgid "``'call'``" msgstr "``'call'``" -#: library/sys.rst:1251 +#: library/sys.rst:1256 msgid "" "A function is called (or some other code block entered). The profile " "function is called; *arg* is ``None``." @@ -2320,11 +2329,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``." -#: library/sys.rst:1349 +#: library/sys.rst:1354 msgid "``'return'``" msgstr "``'return'``" -#: library/sys.rst:1255 +#: library/sys.rst:1260 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 " @@ -2334,11 +2343,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." -#: library/sys.rst:1261 +#: library/sys.rst:1266 msgid "``'c_call'``" msgstr "``'c_call'``" -#: library/sys.rst:1260 +#: library/sys.rst:1265 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." @@ -2346,23 +2355,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." -#: library/sys.rst:1264 +#: library/sys.rst:1269 msgid "``'c_return'``" msgstr "``'c_return'``" -#: library/sys.rst:1264 +#: library/sys.rst:1269 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." -#: library/sys.rst:1266 +#: library/sys.rst:1271 msgid "``'c_exception'``" msgstr "``'c_exception'``" -#: library/sys.rst:1267 +#: library/sys.rst:1272 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." -#: library/sys.rst:1271 +#: library/sys.rst:1276 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 " @@ -2372,7 +2381,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." -#: library/sys.rst:1275 +#: library/sys.rst:1280 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 " @@ -2384,7 +2393,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." -#: library/sys.rst:1280 +#: library/sys.rst:1285 msgid "" "If the new limit is too low at the current recursion depth, a :exc:" "`RecursionError` exception is raised." @@ -2392,7 +2401,7 @@ msgstr "" "Si la nouvelle limite est plus basse que la profondeur actuelle, une :exc:" "`RecursionError` est levée." -#: library/sys.rst:1283 +#: library/sys.rst:1288 msgid "" "A :exc:`RecursionError` exception is now raised if the new limit is too low " "at the current recursion depth." @@ -2400,7 +2409,7 @@ msgstr "" "Une :exc:`RecursionError` est maintenant levée si la nouvelle limite est " "plus basse que la profondeur de récursion actuelle." -#: library/sys.rst:1290 +#: library/sys.rst:1295 msgid "" "Set the interpreter's thread switch interval (in seconds). This floating-" "point value determines the ideal duration of the \"timeslices\" allocated to " @@ -2418,7 +2427,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." -#: library/sys.rst:1307 +#: library/sys.rst:1312 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 " @@ -2433,7 +2442,7 @@ msgstr "" "pour chaque fil d'exécution qu'il souhaite surveiller ou utilisez :func:" "`threading.settrace`." -#: library/sys.rst:1312 +#: library/sys.rst:1317 msgid "" "Trace functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -2445,7 +2454,7 @@ msgstr "" "chaîne de caractères pouvant valoir : ``'call'``, ``'line'``, ``'return'``, " "``'exception'`` ou ``'opcode'``. *arg* dépend du type de l'évènement." -#: library/sys.rst:1317 +#: library/sys.rst:1322 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 " @@ -2457,7 +2466,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é." -#: library/sys.rst:1322 +#: library/sys.rst:1327 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 " @@ -2467,7 +2476,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." -#: library/sys.rst:1326 +#: library/sys.rst:1331 msgid "" "If there is any error occurred in the trace function, it will be unset, just " "like ``settrace(None)`` is called." @@ -2475,7 +2484,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." -#: library/sys.rst:1332 +#: library/sys.rst:1337 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 " @@ -2485,11 +2494,11 @@ msgstr "" "globale est appelée, *arg* est ``None``, la valeur renvoyée donne la " "fonction de traçage locale." -#: library/sys.rst:1343 +#: library/sys.rst:1348 msgid "``'line'``" msgstr "``'line'``" -#: library/sys.rst:1337 +#: library/sys.rst:1342 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``; " @@ -2506,7 +2515,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." -#: library/sys.rst:1346 +#: library/sys.rst:1351 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 " @@ -2518,11 +2527,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." -#: library/sys.rst:1354 +#: library/sys.rst:1359 msgid "``'exception'``" msgstr "``'exception'``" -#: library/sys.rst:1352 +#: library/sys.rst:1357 msgid "" "An exception has occurred. The local trace function is called; *arg* is a " "tuple ``(exception, value, traceback)``; the return value specifies the new " @@ -2532,11 +2541,11 @@ msgstr "" "est le triplet ``(exception, valeur, traceback)``, la valeur renvoyée " "spécifie la nouvelle fonction de traçage locale." -#: library/sys.rst:1362 +#: library/sys.rst:1367 msgid "``'opcode'``" msgstr "``'opcode'``" -#: library/sys.rst:1357 +#: library/sys.rst:1362 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 " @@ -2551,7 +2560,7 @@ msgstr "" "explicitement requis en mettant :attr:`f_trace_opcodes` à :const:`True` pour " "cette *frame*." -#: library/sys.rst:1364 +#: library/sys.rst:1369 msgid "" "Note that as an exception is propagated down the chain of callers, an " "``'exception'`` event is generated at each level." @@ -2559,7 +2568,7 @@ msgstr "" "Remarquez que, comme une exception se propage au travers de toute chaîne " "d'appelants, un événement ``'exception'`` est généré à chaque niveau." -#: library/sys.rst:1367 +#: library/sys.rst:1372 msgid "" "For more fine-grained usage, it's possible to set a trace function by " "assigning ``frame.f_trace = tracefunc`` explicitly, rather than relying on " @@ -2573,19 +2582,19 @@ msgid "" "on each frame)." msgstr "" -#: library/sys.rst:1378 +#: library/sys.rst:1383 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`." -#: library/sys.rst:1380 +#: library/sys.rst:1385 msgid "" "Raises an :ref:`auditing event ` ``sys.settrace`` with no " "arguments." msgstr "" -#: library/sys.rst:1384 +#: library/sys.rst:1389 msgid "" "The :func:`settrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -2598,7 +2607,7 @@ msgstr "" "que de la définition du langage, et peut donc ne pas être disponible dans " "toutes les implémentations de Python." -#: library/sys.rst:1391 +#: library/sys.rst:1396 msgid "" "``'opcode'`` event type added; :attr:`f_trace_lines` and :attr:" "`f_trace_opcodes` attributes added to frames" @@ -2606,7 +2615,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" -#: library/sys.rst:1396 +#: library/sys.rst:1401 msgid "" "Accepts two optional keyword arguments which are callables that accept an :" "term:`asynchronous generator iterator` as an argument. The *firstiter* " @@ -2620,25 +2629,25 @@ msgstr "" "première fois, et l'appelable *finalizer* sera appelé lorsqu'un générateur " "asynchrone est sur le point d'être détruit." -#: library/sys.rst:1402 +#: library/sys.rst:1407 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_firstiter`` with no arguments." msgstr "" -#: library/sys.rst:1404 +#: library/sys.rst:1409 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_finalizer`` with no arguments." msgstr "" -#: library/sys.rst:1406 +#: library/sys.rst:1411 msgid "" "Two auditing events are raised because the underlying API consists of two " "calls, each of which must raise its own event." msgstr "" -#: library/sys.rst:1409 +#: library/sys.rst:1414 msgid "" "See :pep:`525` for more details, and for a reference example of a " "*finalizer* method see the implementation of ``asyncio.Loop." @@ -2648,7 +2657,7 @@ msgstr "" "voir l'implémentation de ``asyncio.Loop.shutdown_asyncgens`` dans :source:" "`Lib/asyncio/base_events.py`" -#: library/sys.rst:1421 +#: library/sys.rst:1426 msgid "" "Allows enabling or disabling coroutine origin tracking. When enabled, the " "``cr_origin`` attribute on coroutine objects will contain a tuple of " @@ -2663,7 +2672,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``." -#: library/sys.rst:1428 +#: library/sys.rst:1433 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 " @@ -2673,11 +2682,11 @@ msgstr "" "le nombre de cadres d'exécution dont les informations sont capturées. Pour " "le désactiver, mettez *depth* à zéro." -#: library/sys.rst:1432 +#: library/sys.rst:1437 msgid "This setting is thread-specific." msgstr "Ce paramètre est spécifique au fil d'exécution courant." -#: library/sys.rst:1442 +#: library/sys.rst:1447 msgid "" "Changes the default filesystem encoding and errors mode to 'mbcs' and " "'replace' respectively, for consistency with versions of Python prior to 3.6." @@ -2686,7 +2695,7 @@ msgstr "" "fichiers à *mbcs* et *replace* respectivement, par cohérence avec les " "versions de Python antérieures à la 3.6." -#: library/sys.rst:1445 +#: library/sys.rst:1450 msgid "" "This is equivalent to defining the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` " "environment variable before launching Python." @@ -2694,11 +2703,11 @@ msgstr "" "Équivaut à définir la variable d'environnement :envvar:" "`PYTHONLEGACYWINDOWSFSENCODING` avant de lancer Python." -#: library/sys.rst:1450 +#: library/sys.rst:1455 msgid "See :pep:`529` for more details." msgstr "Voir la :pep:`529` pour plus d'informations." -#: library/sys.rst:1457 +#: library/sys.rst:1462 msgid "" ":term:`File objects ` used by the interpreter for standard " "input, output and errors:" @@ -2706,7 +2715,7 @@ msgstr "" ":term:`objets fichiers ` utilisés par l'interpréteur pour " "l'entrée standard, la sortie standard et la sortie d'erreurs :" -#: library/sys.rst:1460 +#: library/sys.rst:1465 msgid "" "``stdin`` is used for all interactive input (including calls to :func:" "`input`);" @@ -2714,7 +2723,7 @@ msgstr "" "``stdin`` est utilisé pour toutes les entrées interactives (y compris les " "appels à :func:`input`)" -#: library/sys.rst:1462 +#: library/sys.rst:1467 msgid "" "``stdout`` is used for the output of :func:`print` and :term:`expression` " "statements and for the prompts of :func:`input`;" @@ -2722,13 +2731,13 @@ msgstr "" "``stdout`` est utilisé pour la sortie de :func:`print`, des :term:" "`expression` et pour les invites de :func:`input` ;" -#: library/sys.rst:1464 +#: library/sys.rst:1469 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``." -#: library/sys.rst:1466 +#: library/sys.rst:1471 msgid "" "These streams are regular :term:`text files ` like those returned " "by the :func:`open` function. Their parameters are chosen as follows:" @@ -2737,7 +2746,7 @@ msgstr "" "renvoyés par la fonction :func:`open`. Leurs paramètres sont choisis comme " "suit :" -#: library/sys.rst:1470 +#: library/sys.rst:1475 msgid "" "The character encoding is platform-dependent. Non-Windows platforms use the " "locale encoding (see :meth:`locale.getpreferredencoding()`)." @@ -2746,7 +2755,7 @@ msgstr "" "Windows utilisent l'encodage défini dans les paramètres régionaux (voir :" "meth:`locale.getpreferredencoding()`)." -#: library/sys.rst:1474 +#: library/sys.rst:1479 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 " @@ -2767,7 +2776,7 @@ msgstr "" "régionaux système si le processus n'est pas attaché initialement à une " "console." -#: library/sys.rst:1483 +#: library/sys.rst:1488 msgid "" "The special behaviour of the console can be overridden by setting the " "environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In " @@ -2778,7 +2787,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." -#: library/sys.rst:1488 +#: library/sys.rst:1493 msgid "" "Under all platforms, you can override the character encoding by setting the :" "envvar:`PYTHONIOENCODING` environment variable before starting Python or by " @@ -2793,7 +2802,7 @@ msgstr "" "Toutefois, pour la console Windows, cela s'applique uniquement lorsque :" "envvar:`PYTHONLEGACYWINDOWSSTDIO` est également défini." -#: library/sys.rst:1495 +#: library/sys.rst:1500 #, fuzzy msgid "" "When interactive, the ``stdout`` stream is line-buffered. Otherwise, it is " @@ -2807,12 +2816,12 @@ msgstr "" "fichiers textes classiques. Vous pouvez remplacer cette valeur avec " "l'option :option:`-u` en ligne de commande." -#: library/sys.rst:1501 +#: library/sys.rst:1506 msgid "" "Non-interactive ``stderr`` is now line-buffered instead of fully buffered." msgstr "" -#: library/sys.rst:1507 +#: library/sys.rst:1512 msgid "" "To write or read binary data from/to the standard streams, use the " "underlying binary :data:`~io.TextIOBase.buffer` object. For example, to " @@ -2823,7 +2832,7 @@ msgstr "" "pour écrire des octets sur :data:`stdout`, utilisez ``sys.stdout.buffer." "write(b'abc')``." -#: library/sys.rst:1511 +#: library/sys.rst:1516 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 " @@ -2835,7 +2844,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`." -#: library/sys.rst:1521 +#: library/sys.rst:1526 msgid "" "These objects contain the original values of ``stdin``, ``stderr`` and " "``stdout`` at the start of the program. They are used during finalization, " @@ -2847,7 +2856,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é." -#: library/sys.rst:1526 +#: library/sys.rst:1531 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, " @@ -2859,7 +2868,7 @@ msgstr "" "cependant la bonne façon de faire serait de sauvegarder explicitement les " "flux avant de les remplacer et ainsi pouvoir les restaurer." -#: library/sys.rst:1532 +#: library/sys.rst:1537 msgid "" "Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the " "original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be " @@ -2872,59 +2881,59 @@ msgstr "" "Windows qui ne sont pas connectées à une console, ou les applications Python " "démarrées avec :program:`pythonw`." -#: library/sys.rst:1540 +#: library/sys.rst:1545 msgid "" "A :term:`named tuple` holding information about the thread implementation." msgstr "" "Un :term:`named tuple` contenant des informations sur l'implémentation des " "fils d'exécution." -#: library/sys.rst:1548 +#: library/sys.rst:1553 msgid ":const:`name`" msgstr ":const:`name`" -#: library/sys.rst:1548 +#: library/sys.rst:1553 msgid "Name of the thread implementation:" msgstr "Nom de l'implémentation des fils d'exécution :" -#: library/sys.rst:1550 +#: library/sys.rst:1555 msgid "``'nt'``: Windows threads" msgstr "``'nt'`` : Fils d'exécution Windows" -#: library/sys.rst:1551 +#: library/sys.rst:1556 msgid "``'pthread'``: POSIX threads" msgstr "``'pthread'`` : Fils d'exécution POSIX" -#: library/sys.rst:1552 +#: library/sys.rst:1557 msgid "``'solaris'``: Solaris threads" msgstr "``'solaris'`` : Fils d'exécution Solaris" -#: library/sys.rst:1554 +#: library/sys.rst:1559 msgid ":const:`lock`" msgstr ":const:`lock`" -#: library/sys.rst:1554 +#: library/sys.rst:1559 msgid "Name of the lock implementation:" msgstr "Nom de l'implémentation du système de verrou :" -#: library/sys.rst:1556 +#: library/sys.rst:1561 msgid "``'semaphore'``: a lock uses a semaphore" msgstr "``'semaphore'`` : Verrou utilisant une sémaphore" -#: library/sys.rst:1557 +#: library/sys.rst:1562 msgid "``'mutex+cond'``: a lock uses a mutex and a condition variable" msgstr "" "``'mutex+cond'`` : Un verrou utilisant un *mutex* et une *condition variable*" -#: library/sys.rst:1559 +#: library/sys.rst:1564 msgid "``None`` if this information is unknown" msgstr "``None`` si cette information n'est pas connue" -#: library/sys.rst:1561 +#: library/sys.rst:1566 msgid ":const:`version`" msgstr ":const:`version`" -#: library/sys.rst:1561 +#: library/sys.rst:1566 msgid "" "Name and version of the thread library. It is a string, or ``None`` if this " "information is unknown." @@ -2932,7 +2941,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." -#: library/sys.rst:1570 +#: library/sys.rst:1575 msgid "" "When this variable is set to an integer value, it determines the maximum " "number of levels of traceback information printed when an unhandled " @@ -2946,55 +2955,55 @@ 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." -#: library/sys.rst:1578 +#: library/sys.rst:1583 msgid "Handle an unraisable exception." msgstr "" -#: library/sys.rst:1580 +#: library/sys.rst:1585 msgid "" "Called when an exception has occurred but there is no way for Python to " "handle it. For example, when a destructor raises an exception or during " "garbage collection (:func:`gc.collect`)." msgstr "" -#: library/sys.rst:1584 +#: library/sys.rst:1589 msgid "The *unraisable* argument has the following attributes:" msgstr "Les arguments *unraisable* ont la signification suivante :" -#: library/sys.rst:1586 +#: library/sys.rst:1591 msgid "*exc_type*: Exception type." msgstr "*exc_type* : le type de l'exception ;" -#: library/sys.rst:1587 +#: library/sys.rst:1592 msgid "*exc_value*: Exception value, can be ``None``." msgstr "*exc_value*: la valeur de l'exception, peut être ``None`` ;" -#: library/sys.rst:1588 +#: library/sys.rst:1593 msgid "*exc_traceback*: Exception traceback, can be ``None``." msgstr "" "*exc_traceback* : la pile d'appels pour cette exception, peut être ``None`` ;" -#: library/sys.rst:1589 +#: library/sys.rst:1594 msgid "*err_msg*: Error message, can be ``None``." msgstr "" -#: library/sys.rst:1590 +#: library/sys.rst:1595 msgid "*object*: Object causing the exception, can be ``None``." msgstr "" -#: library/sys.rst:1592 +#: library/sys.rst:1597 msgid "" "The default hook formats *err_msg* and *object* as: ``f'{err_msg}: {object!" "r}'``; use \"Exception ignored in\" error message if *err_msg* is ``None``." msgstr "" -#: library/sys.rst:1596 +#: library/sys.rst:1601 msgid "" ":func:`sys.unraisablehook` can be overridden to control how unraisable " "exceptions are handled." msgstr "" -#: library/sys.rst:1599 +#: library/sys.rst:1604 msgid "" "Storing *exc_value* using a custom hook can create a reference cycle. It " "should be cleared explicitly to break the reference cycle when the exception " @@ -3004,7 +3013,7 @@ msgstr "" "créer un cycle de références. *exc_value* doit être nettoyée explicitement " "pour casser ce cycle lorsque l'exception n'est plus nécessaire." -#: library/sys.rst:1603 +#: library/sys.rst:1608 #, fuzzy msgid "" "Storing *object* using a custom hook can resurrect it if it is set to an " @@ -3016,17 +3025,17 @@ msgstr "" "*thread* après la fin de la fonction de rappel, pour éviter de ressusciter " "des objets." -#: library/sys.rst:1607 +#: library/sys.rst:1612 msgid "See also :func:`excepthook` which handles uncaught exceptions." msgstr "" -#: library/sys.rst:1609 +#: library/sys.rst:1614 msgid "" "Raises an :ref:`auditing event ` ``sys.unraisablehook`` with " "arguments ``hook``, ``unraisable``." msgstr "" -#: library/sys.rst:1611 +#: library/sys.rst:1616 msgid "" "Raise an auditing event ``sys.unraisablehook`` with arguments ``hook``, " "``unraisable`` when an exception that cannot be handled occurs. The " @@ -3034,7 +3043,7 @@ msgid "" "hook has been set, ``hook`` may be ``None``." msgstr "" -#: library/sys.rst:1620 +#: library/sys.rst:1625 msgid "" "A string containing the version number of the Python interpreter plus " "additional information on the build number and compiler used. This string " @@ -3049,7 +3058,7 @@ msgstr "" "utilisez plutôt :data:`version_info` et les fonctions fournies par le " "module :mod:`platform`." -#: library/sys.rst:1629 +#: library/sys.rst:1634 msgid "" "The C API version for this interpreter. Programmers may find this useful " "when debugging version conflicts between Python and extension modules." @@ -3058,7 +3067,7 @@ msgstr "" "trouver cette information utile en déboguant des conflits de versions entre " "Python et des modules d'extension." -#: library/sys.rst:1635 +#: library/sys.rst:1640 msgid "" "A tuple containing the five components of the version number: *major*, " "*minor*, *micro*, *releaselevel*, and *serial*. All values except " @@ -3076,11 +3085,11 @@ msgstr "" "attributs sont aussi accessibles par leur nom, ainsi ``sys.version_info[0]`` " "est équivalent à ``sys.version_info.major``, et ainsi de suite." -#: library/sys.rst:1643 +#: library/sys.rst:1648 msgid "Added named component attributes." msgstr "Ajout des attributs nommés." -#: library/sys.rst:1648 +#: library/sys.rst:1653 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 " @@ -3090,7 +3099,7 @@ msgstr "" "Ne modifiez pas cette valeur. Reportez-vous au module :mod:`warnings` pour " "plus d'informations sur le gestionnaire d'avertissements." -#: library/sys.rst:1655 +#: library/sys.rst:1660 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 " @@ -3105,7 +3114,7 @@ msgstr "" "d'information, et la modifier n'a aucun effet sur les clés de registre " "utilisées par Python." -#: library/sys.rst:1666 +#: library/sys.rst:1671 msgid "" "A dictionary of the various implementation-specific flags passed through " "the :option:`-X` command-line option. Option names are either mapped to " @@ -3116,7 +3125,7 @@ msgstr "" "correspondent soit leur valeur, si elle est donnée explicitement, soit à :" "const:`True`. Exemple :" -#: library/sys.rst:1682 +#: library/sys.rst:1687 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 " @@ -3126,11 +3135,11 @@ msgstr "" "l'option :option:`-X`. D'autres implémentations pourraient les exposer par " "d'autres moyens, ou pas du tout." -#: library/sys.rst:1690 +#: library/sys.rst:1695 msgid "Citations" msgstr "Citations" -#: library/sys.rst:1691 +#: library/sys.rst:1696 msgid "" "ISO/IEC 9899:1999. \"Programming languages -- C.\" A public draft of this " "standard is available at http://www.open-std.org/jtc1/sc22/wg14/www/docs/" diff --git a/library/threading.po b/library/threading.po index 587f8359..35237729 100644 --- a/library/threading.po +++ b/library/threading.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-03-29 11:56+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -206,18 +206,20 @@ msgstr "" "OpenBSD, NetBSD, AIX." #: library/threading.rst:113 +#, fuzzy msgid "" -"Return a list of all :class:`Thread` objects currently alive. The list " -"includes daemonic threads, dummy thread objects created by :func:" -"`current_thread`, and the main thread. It excludes terminated threads and " -"threads that have not yet been started." +"Return a list of all :class:`Thread` objects currently active. The list " +"includes daemonic threads and dummy thread objects created by :func:" +"`current_thread`. It excludes terminated threads and threads that have not " +"yet been started. However, the main thread is always part of the result, " +"even when terminated." msgstr "" "Renvoie une liste de tous les objets fil d'exécution :class:`Thread` " "actuellement vivants. La liste inclut les fils démons, les fils factices " "créés par :func:`current_thread` et le fil principal. Elle exclut les fils " "terminés et les fils qui n'ont pas encore été lancés." -#: library/threading.rst:121 +#: library/threading.rst:122 msgid "" "Return the main :class:`Thread` object. In normal conditions, the main " "thread is the thread from which the Python interpreter was started." @@ -226,7 +228,7 @@ msgstr "" "conditions normales, le fil principal est le fil à partir duquel " "l'interpréteur Python a été lancé." -#: library/threading.rst:132 +#: library/threading.rst:133 msgid "" "Set a trace function for all threads started from the :mod:`threading` " "module. The *func* will be passed to :func:`sys.settrace` for each thread, " @@ -237,7 +239,7 @@ msgstr "" "settrace` pour chaque fil, avant que sa méthode :meth:`~Thread.run` soit " "appelée." -#: library/threading.rst:141 +#: library/threading.rst:142 msgid "" "Set a profile function for all threads started from the :mod:`threading` " "module. The *func* will be passed to :func:`sys.setprofile` for each " @@ -248,7 +250,7 @@ msgstr "" "`sys.setprofile` pour chaque fil, avant que sa méthode :meth:`~Thread.run` " "soit appelée." -#: library/threading.rst:148 +#: library/threading.rst:149 msgid "" "Return the thread stack size used when creating new threads. The optional " "*size* argument specifies the stack size to be used for subsequently created " @@ -285,18 +287,18 @@ msgstr "" "spécifiques, l'approche proposée est l'utilisation de multiples de 4 096 " "pour la taille de la pile)." -#: library/threading.rst:163 +#: library/threading.rst:164 msgid "" ":ref:`Availability `: Windows, systems with POSIX threads." msgstr "" ":ref:`Disponibilité ` : Windows et systèmes gérant les fils " "d'exécution POSIX." -#: library/threading.rst:166 +#: library/threading.rst:167 msgid "This module also defines the following constant:" msgstr "Ce module définit également la constante suivante :" -#: library/threading.rst:170 +#: library/threading.rst:171 msgid "" "The maximum value allowed for the *timeout* parameter of blocking functions " "(:meth:`Lock.acquire`, :meth:`RLock.acquire`, :meth:`Condition.wait`, etc.). " @@ -308,7 +310,7 @@ msgstr "" "wait`, etc.). Spécifier un délai d'attente supérieur à cette valeur lève " "une :exc:`OverflowError`." -#: library/threading.rst:178 +#: library/threading.rst:179 msgid "" "This module defines a number of classes, which are detailed in the sections " "below." @@ -316,7 +318,7 @@ msgstr "" "Ce module définit un certain nombre de classes, qui sont détaillées dans les " "sections ci-dessous." -#: library/threading.rst:181 +#: library/threading.rst:182 msgid "" "The design of this module is loosely based on Java's threading model. " "However, where Java makes locks and condition variables basic behavior of " @@ -336,16 +338,16 @@ msgstr "" "méthodes statiques de la classe *Thread* de Java, lorsqu'elles sont " "implémentées, correspondent à des fonctions au niveau du module." -#: library/threading.rst:189 +#: library/threading.rst:190 msgid "All of the methods described below are executed atomically." msgstr "" "Toutes les méthodes décrites ci-dessous sont exécutées de manière atomique." -#: library/threading.rst:193 +#: library/threading.rst:194 msgid "Thread-Local Data" msgstr "Données locales au fil d'exécution" -#: library/threading.rst:195 +#: library/threading.rst:196 msgid "" "Thread-local data is data whose values are thread specific. To manage " "thread-local data, just create an instance of :class:`local` (or a subclass) " @@ -356,16 +358,16 @@ msgstr "" "locales au fil, il suffit de créer une instance de :class:`local` (ou une " "sous-classe) et d'y stocker des données ::" -#: library/threading.rst:202 +#: library/threading.rst:203 msgid "The instance's values will be different for separate threads." msgstr "" "Les valeurs dans l'instance sont différentes pour des *threads* différents." -#: library/threading.rst:207 +#: library/threading.rst:208 msgid "A class that represents thread-local data." msgstr "Classe qui représente les données locales au fil d'exécution." -#: library/threading.rst:209 +#: library/threading.rst:210 msgid "" "For more details and extensive examples, see the documentation string of " "the :mod:`_threading_local` module." @@ -373,11 +375,11 @@ msgstr "" "Pour plus de détails et de nombreux exemples, voir la chaîne de " "documentation du module :mod:`_threading_local`." -#: library/threading.rst:216 +#: library/threading.rst:217 msgid "Thread Objects" msgstr "Objets *Threads*" -#: library/threading.rst:218 +#: library/threading.rst:219 msgid "" "The :class:`Thread` class represents an activity that is run in a separate " "thread of control. There are two ways to specify the activity: by passing a " @@ -394,7 +396,7 @@ msgstr "" "une sous-classe. En d'autres termes, réimplémentez *seulement* les méthodes :" "meth:`~Thread.__init__` et :meth:`~Thread.run` de cette classe." -#: library/threading.rst:225 +#: library/threading.rst:226 msgid "" "Once a thread object is created, its activity must be started by calling the " "thread's :meth:`~Thread.start` method. This invokes the :meth:`~Thread.run` " @@ -404,7 +406,7 @@ msgstr "" "en appelant la méthode :meth:`~Thread.start` du fil. Ceci invoque la " "méthode :meth:`~Thread.run` dans un fil d'exécution séparé." -#: library/threading.rst:229 +#: library/threading.rst:230 msgid "" "Once the thread's activity is started, the thread is considered 'alive'. It " "stops being alive when its :meth:`~Thread.run` method terminates -- either " @@ -416,7 +418,7 @@ msgstr "" "run` se termine – soit normalement, soit en levant une exception non gérée. " "La méthode :meth:`~Thread.is_alive` teste si le fil est vivant." -#: library/threading.rst:234 +#: library/threading.rst:235 msgid "" "Other threads can call a thread's :meth:`~Thread.join` method. This blocks " "the calling thread until the thread whose :meth:`~Thread.join` method is " @@ -426,7 +428,7 @@ msgstr "" "d'un fil. Ceci bloque le fil appelant jusqu'à ce que le fil dont la méthode :" "meth:`~Thread.join` est appelée soit terminé." -#: library/threading.rst:238 +#: library/threading.rst:239 msgid "" "A thread has a name. The name can be passed to the constructor, and read or " "changed through the :attr:`~Thread.name` attribute." @@ -434,7 +436,7 @@ msgstr "" "Un fil d'exécution a un nom. Le nom peut être passé au constructeur, et lu " "ou modifié via l'attribut :attr:`~Thread.name`." -#: library/threading.rst:241 +#: library/threading.rst:242 msgid "" "If the :meth:`~Thread.run` method raises an exception, :func:`threading." "excepthook` is called to handle it. By default, :func:`threading.excepthook` " @@ -444,7 +446,7 @@ msgstr "" "excepthook` est appelée pour s'en occuper. Par défaut, :func:`threading." "excepthook` ignore silencieusement :exc:`SystemExit`." -#: library/threading.rst:245 +#: library/threading.rst:246 msgid "" "A thread can be flagged as a \"daemon thread\". The significance of this " "flag is that the entire Python program exits when only daemon threads are " @@ -458,7 +460,7 @@ msgstr "" "par la propriété :attr:`~Thread.daemon` ou par l'argument *daemon* du " "constructeur." -#: library/threading.rst:252 +#: library/threading.rst:253 msgid "" "Daemon threads are abruptly stopped at shutdown. Their resources (such as " "open files, database transactions, etc.) may not be released properly. If " @@ -472,7 +474,7 @@ msgstr "" "utilisez un mécanisme de signalisation approprié tel qu'un objet évènement :" "class:`Event`." -#: library/threading.rst:257 +#: library/threading.rst:258 msgid "" "There is a \"main thread\" object; this corresponds to the initial thread of " "control in the Python program. It is not a daemon thread." @@ -480,7 +482,7 @@ msgstr "" "Il y a un objet \"fil principal\", qui correspond au fil de contrôle initial " "dans le programme Python. Ce n'est pas un fil démon." -#: library/threading.rst:260 +#: library/threading.rst:261 msgid "" "There is the possibility that \"dummy thread objects\" are created. These " "are thread objects corresponding to \"alien threads\", which are threads of " @@ -498,7 +500,7 @@ msgstr "" "meth:`~Thread.join`. Ils ne sont jamais supprimés, car il est impossible de " "détecter la fin des fils d'exécution étrangers." -#: library/threading.rst:271 +#: library/threading.rst:272 msgid "" "This constructor should always be called with keyword arguments. Arguments " "are:" @@ -506,7 +508,7 @@ msgstr "" "Ce constructeur doit toujours être appelé avec des arguments nommés. Les " "arguments sont :" -#: library/threading.rst:274 +#: library/threading.rst:275 msgid "" "*group* should be ``None``; reserved for future extension when a :class:" "`ThreadGroup` class is implemented." @@ -514,7 +516,7 @@ msgstr "" "*group* doit être ``None`` ; cet argument est réservé pour une extension " "future lorsqu'une classe :class:`ThreadGroup` sera implémentée." -#: library/threading.rst:277 +#: library/threading.rst:278 msgid "" "*target* is the callable object to be invoked by the :meth:`run` method. " "Defaults to ``None``, meaning nothing is called." @@ -523,7 +525,7 @@ msgstr "" "`run`. La valeur par défaut est ``None``, ce qui signifie que rien n'est " "appelé." -#: library/threading.rst:280 +#: library/threading.rst:281 msgid "" "*name* is the thread name. By default, a unique name is constructed of the " "form \"Thread-*N*\" where *N* is a small decimal number." @@ -531,14 +533,14 @@ msgstr "" "*name* est le nom du fil d'exécution. Par défaut, un nom unique est " "construit de la forme « Thread–*N* » où *N* est un petit nombre décimal." -#: library/threading.rst:283 +#: library/threading.rst:284 msgid "" "*args* is the argument tuple for the target invocation. Defaults to ``()``." msgstr "" "*args* est le *n*-uplet d'arguments pour l'invocation de l'objet appelable. " "La valeur par défaut est ``()``." -#: library/threading.rst:285 +#: library/threading.rst:286 msgid "" "*kwargs* is a dictionary of keyword arguments for the target invocation. " "Defaults to ``{}``." @@ -546,7 +548,7 @@ msgstr "" "*kwargs* est un dictionnaire d'arguments nommés pour l'invocation de l'objet " "appelable. La valeur par défaut est ``{}``." -#: library/threading.rst:288 +#: library/threading.rst:289 msgid "" "If not ``None``, *daemon* explicitly sets whether the thread is daemonic. If " "``None`` (the default), the daemonic property is inherited from the current " @@ -556,7 +558,7 @@ msgstr "" "d'exécution est démonique ou pas. S'il vaut ``None`` (par défaut), la valeur " "est héritée du fil courant." -#: library/threading.rst:292 +#: library/threading.rst:293 msgid "" "If the subclass overrides the constructor, it must make sure to invoke the " "base class constructor (``Thread.__init__()``) before doing anything else to " @@ -566,15 +568,15 @@ msgstr "" "d'appeler le constructeur de la classe de base (``Thread.__init__()``) avant " "de faire autre chose au fil d'exécution." -#: library/threading.rst:296 +#: library/threading.rst:297 msgid "Added the *daemon* argument." msgstr "Ajout de l'argument *daemon*." -#: library/threading.rst:301 +#: library/threading.rst:302 msgid "Start the thread's activity." msgstr "Lance l'activité du fil d'exécution." -#: library/threading.rst:303 +#: library/threading.rst:304 msgid "" "It must be called at most once per thread object. It arranges for the " "object's :meth:`~Thread.run` method to be invoked in a separate thread of " @@ -584,7 +586,7 @@ msgstr "" "que la méthode :meth:`~Thread.run` de l'objet soit invoquée dans un fil " "d'exécution." -#: library/threading.rst:307 +#: library/threading.rst:308 msgid "" "This method will raise a :exc:`RuntimeError` if called more than once on the " "same thread object." @@ -592,11 +594,11 @@ msgstr "" "Cette méthode lève une :exc:`RuntimeError` si elle est appelée plus d'une " "fois sur le même objet fil d'exécution." -#: library/threading.rst:312 +#: library/threading.rst:313 msgid "Method representing the thread's activity." msgstr "Méthode représentant l'activité du fil d'exécution." -#: library/threading.rst:314 +#: library/threading.rst:315 msgid "" "You may override this method in a subclass. The standard :meth:`run` method " "invokes the callable object passed to the object's constructor as the " @@ -609,7 +611,7 @@ msgstr "" "positionnels et des arguments nommés tirés respectivement des arguments " "*args* et *kwargs*." -#: library/threading.rst:321 +#: library/threading.rst:322 msgid "" "Wait until the thread terminates. This blocks the calling thread until the " "thread whose :meth:`~Thread.join` method is called terminates -- either " @@ -621,7 +623,7 @@ msgstr "" "termine – soit normalement, soit par une exception non gérée – ou jusqu'à ce " "que le délai optionnel *timeout* soit atteint." -#: library/threading.rst:326 +#: library/threading.rst:327 msgid "" "When the *timeout* argument is present and not ``None``, it should be a " "floating point number specifying a timeout for the operation in seconds (or " @@ -637,7 +639,7 @@ msgstr "" "`~Thread.join` pour déterminer si le délai a expiré – si le fil d'exécution " "est toujours vivant, c'est que l'appel à :meth:`~Thread.join` a expiré." -#: library/threading.rst:333 +#: library/threading.rst:334 msgid "" "When the *timeout* argument is not present or ``None``, the operation will " "block until the thread terminates." @@ -645,13 +647,13 @@ msgstr "" "Lorsque l'argument *timeout* n'est pas présent ou vaut ``None``, l'opération " "se bloque jusqu'à ce que le fil d'exécution se termine." -#: library/threading.rst:336 +#: library/threading.rst:337 msgid "A thread can be :meth:`~Thread.join`\\ ed many times." msgstr "" "Un fil d'exécution peut être attendu via :meth:`~Thread.join` de nombreuses " "fois." -#: library/threading.rst:338 +#: library/threading.rst:339 msgid "" ":meth:`~Thread.join` raises a :exc:`RuntimeError` if an attempt is made to " "join the current thread as that would cause a deadlock. It is also an error " @@ -664,7 +666,7 @@ msgstr "" "fil d'exécution avant son lancement est aussi une erreur et, si vous tentez " "de le faire, lève la même exception." -#: library/threading.rst:345 +#: library/threading.rst:346 msgid "" "A string used for identification purposes only. It has no semantics. " "Multiple threads may be given the same name. The initial name is set by the " @@ -674,7 +676,7 @@ msgstr "" "Elle n'a pas de sémantique. Plusieurs fils d'exécution peuvent porter le " "même nom. Le nom initial est défini par le constructeur." -#: library/threading.rst:352 +#: library/threading.rst:353 msgid "" "Old getter/setter API for :attr:`~Thread.name`; use it directly as a " "property instead." @@ -682,7 +684,7 @@ msgstr "" "Anciens accesseur et mutateur pour :attr:`~Thread.name` ; utilisez plutôt ce " "dernier directement." -#: library/threading.rst:357 +#: library/threading.rst:358 msgid "" "The 'thread identifier' of this thread or ``None`` if the thread has not " "been started. This is a nonzero integer. See the :func:`get_ident` " @@ -696,7 +698,7 @@ msgstr "" "se termine et qu'un autre fil est créé. L'identifiant est disponible même " "après que le fil ait terminé." -#: library/threading.rst:365 +#: library/threading.rst:366 msgid "" "The native integral thread ID of this thread. This is a non-negative " "integer, or ``None`` if the thread has not been started. See the :func:" @@ -713,7 +715,7 @@ msgstr "" "tout le système (jusqu'à la fin de l'exécution de ce fil, après quoi le " "système d'exploitation peut recycler la valeur)." -#: library/threading.rst:375 +#: library/threading.rst:376 msgid "" "Similar to Process IDs, Thread IDs are only valid (guaranteed unique system-" "wide) from the time the thread is created until the thread has been " @@ -722,18 +724,18 @@ msgstr "" "Tout comme pour les *Process IDs*, les *Thread IDs* ne sont valides " "(garantis uniques sur le système) uniquement du démarrage du fil à sa fin." -#: library/threading.rst:380 +#: library/threading.rst:381 msgid "" ":ref:`Availability `: Requires :func:`get_native_id` function." msgstr "" ":ref:`Disponibilité ` : nécessite la fonction :func:" "`get_native_id`." -#: library/threading.rst:385 +#: library/threading.rst:386 msgid "Return whether the thread is alive." msgstr "Renvoie si le fil d'exécution est vivant ou pas." -#: library/threading.rst:387 +#: library/threading.rst:388 msgid "" "This method returns ``True`` just before the :meth:`~Thread.run` method " "starts until just after the :meth:`~Thread.run` method terminates. The " @@ -744,7 +746,7 @@ msgstr "" "méthode :meth:`~Thread.run`. La fonction :func:`.enumerate` du module " "renvoie une liste de tous les fils d'exécution vivants." -#: library/threading.rst:393 +#: library/threading.rst:394 msgid "" "A boolean value indicating whether this thread is a daemon thread (True) or " "not (False). This must be set before :meth:`~Thread.start` is called, " @@ -760,14 +762,14 @@ msgstr "" "démon et donc tous les fils créés dans ce fil principal ont par défaut la " "valeur :attr:`~Thread.daemon` = ``False``." -#: library/threading.rst:400 +#: library/threading.rst:401 msgid "" "The entire Python program exits when no alive non-daemon threads are left." msgstr "" "Le programme Python se termine lorsqu'il ne reste plus de fils d'exécution " "non-démons vivants." -#: library/threading.rst:405 +#: library/threading.rst:406 msgid "" "Old getter/setter API for :attr:`~Thread.daemon`; use it directly as a " "property instead." @@ -775,11 +777,11 @@ msgstr "" "Anciens accesseur et mutateur pour :attr:`~Thread.daemon` ; utilisez plutôt " "ce dernier directement." -#: library/threading.rst:412 +#: library/threading.rst:413 msgid "Lock Objects" msgstr "Verrous" -#: library/threading.rst:414 +#: library/threading.rst:415 msgid "" "A primitive lock is a synchronization primitive that is not owned by a " "particular thread when locked. In Python, it is currently the lowest level " @@ -791,7 +793,7 @@ msgstr "" "plus bas-niveau qui soit disponible, implémentée directement par le module " "d'extension :mod:`_thread`." -#: library/threading.rst:419 +#: library/threading.rst:420 msgid "" "A primitive lock is in one of two states, \"locked\" or \"unlocked\". It is " "created in the unlocked state. It has two basic methods, :meth:`~Lock." @@ -816,11 +818,11 @@ msgstr "" "Déverrouiller un verrou qui n'est pas verrouillé provoque une :exc:" "`RuntimeError`." -#: library/threading.rst:430 +#: library/threading.rst:431 msgid "Locks also support the :ref:`context management protocol `." msgstr "" -#: library/threading.rst:432 +#: library/threading.rst:433 msgid "" "When more than one thread is blocked in :meth:`~Lock.acquire` waiting for " "the state to turn to unlocked, only one thread proceeds when a :meth:`~Lock." @@ -828,42 +830,42 @@ msgid "" "proceeds is not defined, and may vary across implementations." msgstr "" -#: library/threading.rst:437 +#: library/threading.rst:438 msgid "All methods are executed atomically." msgstr "" -#: library/threading.rst:442 +#: library/threading.rst:443 msgid "" "The class implementing primitive lock objects. Once a thread has acquired a " "lock, subsequent attempts to acquire it block, until it is released; any " "thread may release it." msgstr "" -#: library/threading.rst:446 +#: library/threading.rst:447 msgid "" "Note that ``Lock`` is actually a factory function which returns an instance " "of the most efficient version of the concrete Lock class that is supported " "by the platform." msgstr "" -#: library/threading.rst:533 +#: library/threading.rst:534 msgid "Acquire a lock, blocking or non-blocking." msgstr "Acquiert un verrou, bloquant ou non bloquant." -#: library/threading.rst:455 +#: library/threading.rst:456 msgid "" "When invoked with the *blocking* argument set to ``True`` (the default), " "block until the lock is unlocked, then set it to locked and return ``True``." msgstr "" -#: library/threading.rst:458 +#: library/threading.rst:459 msgid "" "When invoked with the *blocking* argument set to ``False``, do not block. If " "a call with *blocking* set to ``True`` would block, return ``False`` " "immediately; otherwise, set the lock to locked and return ``True``." msgstr "" -#: library/threading.rst:462 +#: library/threading.rst:463 msgid "" "When invoked with the floating-point *timeout* argument set to a positive " "value, block for at most the number of seconds specified by *timeout* and as " @@ -872,52 +874,52 @@ msgid "" "*blocking* is false." msgstr "" -#: library/threading.rst:468 +#: library/threading.rst:469 msgid "" "The return value is ``True`` if the lock is acquired successfully, ``False`` " "if not (for example if the *timeout* expired)." msgstr "" -#: library/threading.rst:555 library/threading.rst:800 +#: library/threading.rst:556 library/threading.rst:801 msgid "The *timeout* parameter is new." msgstr "Le paramètre *timeout* est nouveau." -#: library/threading.rst:474 +#: library/threading.rst:475 msgid "" "Lock acquisition can now be interrupted by signals on POSIX if the " "underlying threading implementation supports it." msgstr "" -#: library/threading.rst:481 +#: library/threading.rst:482 msgid "" "Release a lock. This can be called from any thread, not only the thread " "which has acquired the lock." msgstr "" -#: library/threading.rst:484 +#: library/threading.rst:485 msgid "" "When the lock is locked, reset it to unlocked, and return. If any other " "threads are blocked waiting for the lock to become unlocked, allow exactly " "one of them to proceed." msgstr "" -#: library/threading.rst:488 +#: library/threading.rst:489 msgid "When invoked on an unlocked lock, a :exc:`RuntimeError` is raised." msgstr "" -#: library/threading.rst:571 +#: library/threading.rst:572 msgid "There is no return value." msgstr "Il n'y a pas de valeur de retour." -#: library/threading.rst:494 +#: library/threading.rst:495 msgid "Return true if the lock is acquired." msgstr "Renvoie ``True`` si le verrou est acquis." -#: library/threading.rst:501 +#: library/threading.rst:502 msgid "RLock Objects" msgstr "" -#: library/threading.rst:503 +#: library/threading.rst:504 msgid "" "A reentrant lock is a synchronization primitive that may be acquired " "multiple times by the same thread. Internally, it uses the concepts of " @@ -926,7 +928,7 @@ msgid "" "lock; in the unlocked state, no thread owns it." msgstr "" -#: library/threading.rst:509 +#: library/threading.rst:510 msgid "" "To lock the lock, a thread calls its :meth:`~RLock.acquire` method; this " "returns once the thread owns the lock. To unlock the lock, a thread calls " @@ -937,13 +939,13 @@ msgid "" "proceed." msgstr "" -#: library/threading.rst:516 +#: library/threading.rst:517 msgid "" "Reentrant locks also support the :ref:`context management protocol `." msgstr "" -#: library/threading.rst:521 +#: library/threading.rst:522 msgid "" "This class implements reentrant lock objects. A reentrant lock must be " "released by the thread that acquired it. Once a thread has acquired a " @@ -951,14 +953,14 @@ msgid "" "thread must release it once for each time it has acquired it." msgstr "" -#: library/threading.rst:526 +#: library/threading.rst:527 msgid "" "Note that ``RLock`` is actually a factory function which returns an instance " "of the most efficient version of the concrete RLock class that is supported " "by the platform." msgstr "" -#: library/threading.rst:535 +#: library/threading.rst:536 msgid "" "When invoked without arguments: if this thread already owns the lock, " "increment the recursion level by one, and return immediately. Otherwise, if " @@ -969,13 +971,13 @@ msgid "" "ownership of the lock. There is no return value in this case." msgstr "" -#: library/threading.rst:543 +#: library/threading.rst:544 msgid "" "When invoked with the *blocking* argument set to true, do the same thing as " "when called without arguments, and return ``True``." msgstr "" -#: library/threading.rst:546 +#: library/threading.rst:547 msgid "" "When invoked with the *blocking* argument set to false, do not block. If a " "call without an argument would block, return ``False`` immediately; " @@ -983,7 +985,7 @@ msgid "" "``True``." msgstr "" -#: library/threading.rst:550 +#: library/threading.rst:551 msgid "" "When invoked with the floating-point *timeout* argument set to a positive " "value, block for at most the number of seconds specified by *timeout* and as " @@ -991,7 +993,7 @@ msgid "" "acquired, false if the timeout has elapsed." msgstr "" -#: library/threading.rst:561 +#: library/threading.rst:562 msgid "" "Release a lock, decrementing the recursion level. If after the decrement it " "is zero, reset the lock to unlocked (not owned by any thread), and if any " @@ -1000,17 +1002,17 @@ msgid "" "is still nonzero, the lock remains locked and owned by the calling thread." msgstr "" -#: library/threading.rst:567 +#: library/threading.rst:568 msgid "" "Only call this method when the calling thread owns the lock. A :exc:" "`RuntimeError` is raised if this method is called when the lock is unlocked." msgstr "" -#: library/threading.rst:577 +#: library/threading.rst:578 msgid "Condition Objects" msgstr "" -#: library/threading.rst:579 +#: library/threading.rst:580 msgid "" "A condition variable is always associated with some kind of lock; this can " "be passed in or one will be created by default. Passing one in is useful " @@ -1018,7 +1020,7 @@ msgid "" "of the condition object: you don't have to track it separately." msgstr "" -#: library/threading.rst:584 +#: library/threading.rst:585 msgid "" "A condition variable obeys the :ref:`context management protocol `: using the ``with`` statement acquires the associated lock for the " @@ -1027,7 +1029,7 @@ msgid "" "associated lock." msgstr "" -#: library/threading.rst:590 +#: library/threading.rst:591 msgid "" "Other methods must be called with the associated lock held. The :meth:" "`~Condition.wait` method releases the lock, and then blocks until another " @@ -1036,14 +1038,14 @@ msgid "" "and returns. It is also possible to specify a timeout." msgstr "" -#: library/threading.rst:596 +#: library/threading.rst:597 msgid "" "The :meth:`~Condition.notify` method wakes up one of the threads waiting for " "the condition variable, if any are waiting. The :meth:`~Condition." "notify_all` method wakes up all threads waiting for the condition variable." msgstr "" -#: library/threading.rst:600 +#: library/threading.rst:601 msgid "" "Note: the :meth:`~Condition.notify` and :meth:`~Condition.notify_all` " "methods don't release the lock; this means that the thread or threads " @@ -1052,7 +1054,7 @@ msgid "" "or :meth:`~Condition.notify_all` finally relinquishes ownership of the lock." msgstr "" -#: library/threading.rst:606 +#: library/threading.rst:607 msgid "" "The typical programming style using condition variables uses the lock to " "synchronize access to some shared state; threads that are interested in a " @@ -1064,7 +1066,7 @@ msgid "" "situation with unlimited buffer capacity::" msgstr "" -#: library/threading.rst:626 +#: library/threading.rst:627 msgid "" "The ``while`` loop checking for the application's condition is necessary " "because :meth:`~Condition.wait` can return after an arbitrary long time, and " @@ -1074,7 +1076,7 @@ msgid "" "checking, and eases the computation of timeouts::" msgstr "" -#: library/threading.rst:638 +#: library/threading.rst:639 msgid "" "To choose between :meth:`~Condition.notify` and :meth:`~Condition." "notify_all`, consider whether one state change can be interesting for only " @@ -1083,44 +1085,44 @@ msgid "" "thread." msgstr "" -#: library/threading.rst:646 +#: library/threading.rst:647 msgid "" "This class implements condition variable objects. A condition variable " "allows one or more threads to wait until they are notified by another thread." msgstr "" -#: library/threading.rst:649 +#: library/threading.rst:650 msgid "" "If the *lock* argument is given and not ``None``, it must be a :class:`Lock` " "or :class:`RLock` object, and it is used as the underlying lock. Otherwise, " "a new :class:`RLock` object is created and used as the underlying lock." msgstr "" -#: library/threading.rst:775 library/threading.rst:873 -#: library/threading.rst:942 +#: library/threading.rst:776 library/threading.rst:874 +#: library/threading.rst:943 msgid "changed from a factory function to a class." msgstr "" -#: library/threading.rst:658 +#: library/threading.rst:659 msgid "" "Acquire the underlying lock. This method calls the corresponding method on " "the underlying lock; the return value is whatever that method returns." msgstr "" -#: library/threading.rst:663 +#: library/threading.rst:664 msgid "" "Release the underlying lock. This method calls the corresponding method on " "the underlying lock; there is no return value." msgstr "" -#: library/threading.rst:668 +#: library/threading.rst:669 msgid "" "Wait until notified or until a timeout occurs. If the calling thread has not " "acquired the lock when this method is called, a :exc:`RuntimeError` is " "raised." msgstr "" -#: library/threading.rst:672 +#: library/threading.rst:673 msgid "" "This method releases the underlying lock, and then blocks until it is " "awakened by a :meth:`notify` or :meth:`notify_all` call for the same " @@ -1128,14 +1130,14 @@ msgid "" "Once awakened or timed out, it re-acquires the lock and returns." msgstr "" -#: library/threading.rst:677 +#: library/threading.rst:678 msgid "" "When the *timeout* argument is present and not ``None``, it should be a " "floating point number specifying a timeout for the operation in seconds (or " "fractions thereof)." msgstr "" -#: library/threading.rst:681 +#: library/threading.rst:682 msgid "" "When the underlying lock is an :class:`RLock`, it is not released using its :" "meth:`release` method, since this may not actually unlock the lock when it " @@ -1145,24 +1147,24 @@ msgid "" "used to restore the recursion level when the lock is reacquired." msgstr "" -#: library/threading.rst:689 +#: library/threading.rst:690 msgid "" "The return value is ``True`` unless a given *timeout* expired, in which case " "it is ``False``." msgstr "" -#: library/threading.rst:907 +#: library/threading.rst:908 msgid "Previously, the method always returned ``None``." msgstr "" -#: library/threading.rst:697 +#: library/threading.rst:698 msgid "" "Wait until a condition evaluates to true. *predicate* should be a callable " "which result will be interpreted as a boolean value. A *timeout* may be " "provided giving the maximum time to wait." msgstr "" -#: library/threading.rst:701 +#: library/threading.rst:702 msgid "" "This utility method may call :meth:`wait` repeatedly until the predicate is " "satisfied, or until a timeout occurs. The return value is the last return " @@ -1170,33 +1172,33 @@ msgid "" "out." msgstr "" -#: library/threading.rst:706 +#: library/threading.rst:707 msgid "" "Ignoring the timeout feature, calling this method is roughly equivalent to " "writing::" msgstr "" -#: library/threading.rst:712 +#: library/threading.rst:713 msgid "" "Therefore, the same rules apply as with :meth:`wait`: The lock must be held " "when called and is re-acquired on return. The predicate is evaluated with " "the lock held." msgstr "" -#: library/threading.rst:720 +#: library/threading.rst:721 msgid "" "By default, wake up one thread waiting on this condition, if any. If the " "calling thread has not acquired the lock when this method is called, a :exc:" "`RuntimeError` is raised." msgstr "" -#: library/threading.rst:724 +#: library/threading.rst:725 msgid "" "This method wakes up at most *n* of the threads waiting for the condition " "variable; it is a no-op if no threads are waiting." msgstr "" -#: library/threading.rst:727 +#: library/threading.rst:728 msgid "" "The current implementation wakes up exactly *n* threads, if at least *n* " "threads are waiting. However, it's not safe to rely on this behavior. A " @@ -1204,14 +1206,14 @@ msgid "" "threads." msgstr "" -#: library/threading.rst:732 +#: library/threading.rst:733 msgid "" "Note: an awakened thread does not actually return from its :meth:`wait` call " "until it can reacquire the lock. Since :meth:`notify` does not release the " "lock, its caller should." msgstr "" -#: library/threading.rst:738 +#: library/threading.rst:739 msgid "" "Wake up all threads waiting on this condition. This method acts like :meth:" "`notify`, but wakes up all waiting threads instead of one. If the calling " @@ -1219,11 +1221,11 @@ msgid "" "`RuntimeError` is raised." msgstr "" -#: library/threading.rst:747 +#: library/threading.rst:748 msgid "Semaphore Objects" msgstr "" -#: library/threading.rst:749 +#: library/threading.rst:750 msgid "" "This is one of the oldest synchronization primitives in the history of " "computer science, invented by the early Dutch computer scientist Edsger W. " @@ -1231,7 +1233,7 @@ msgid "" "acquire` and :meth:`~Semaphore.release`)." msgstr "" -#: library/threading.rst:754 +#: library/threading.rst:755 msgid "" "A semaphore manages an internal counter which is decremented by each :meth:" "`~Semaphore.acquire` call and incremented by each :meth:`~Semaphore.release` " @@ -1240,12 +1242,12 @@ msgid "" "meth:`~Semaphore.release`." msgstr "" -#: library/threading.rst:760 +#: library/threading.rst:761 msgid "" "Semaphores also support the :ref:`context management protocol `." msgstr "" -#: library/threading.rst:765 +#: library/threading.rst:766 msgid "" "This class implements semaphore objects. A semaphore manages an atomic " "counter representing the number of :meth:`release` calls minus the number " @@ -1254,28 +1256,28 @@ msgid "" "If not given, *value* defaults to 1." msgstr "" -#: library/threading.rst:771 +#: library/threading.rst:772 msgid "" "The optional argument gives the initial *value* for the internal counter; it " "defaults to ``1``. If the *value* given is less than 0, :exc:`ValueError` is " "raised." msgstr "" -#: library/threading.rst:780 +#: library/threading.rst:781 msgid "Acquire a semaphore." msgstr "" -#: library/threading.rst:782 +#: library/threading.rst:783 msgid "When invoked without arguments:" msgstr "" -#: library/threading.rst:784 +#: library/threading.rst:785 msgid "" "If the internal counter is larger than zero on entry, decrement it by one " "and return ``True`` immediately." msgstr "" -#: library/threading.rst:786 +#: library/threading.rst:787 msgid "" "If the internal counter is zero on entry, block until awoken by a call to :" "meth:`~Semaphore.release`. Once awoken (and the counter is greater than 0), " @@ -1284,32 +1286,32 @@ msgid "" "threads are awoken should not be relied on." msgstr "" -#: library/threading.rst:792 +#: library/threading.rst:793 msgid "" "When invoked with *blocking* set to false, do not block. If a call without " "an argument would block, return ``False`` immediately; otherwise, do the " "same thing as when called without arguments, and return ``True``." msgstr "" -#: library/threading.rst:796 +#: library/threading.rst:797 msgid "" "When invoked with a *timeout* other than ``None``, it will block for at most " "*timeout* seconds. If acquire does not complete successfully in that " "interval, return ``False``. Return ``True`` otherwise." msgstr "" -#: library/threading.rst:805 +#: library/threading.rst:806 msgid "" "Release a semaphore, incrementing the internal counter by *n*. When it was " "zero on entry and other threads are waiting for it to become larger than " "zero again, wake up *n* of those threads." msgstr "" -#: library/threading.rst:809 +#: library/threading.rst:810 msgid "Added the *n* parameter to release multiple waiting threads at once." msgstr "" -#: library/threading.rst:815 +#: library/threading.rst:816 msgid "" "Class implementing bounded semaphore objects. A bounded semaphore checks to " "make sure its current value doesn't exceed its initial value. If it does, :" @@ -1318,11 +1320,11 @@ msgid "" "times it's a sign of a bug. If not given, *value* defaults to 1." msgstr "" -#: library/threading.rst:828 +#: library/threading.rst:829 msgid ":class:`Semaphore` Example" msgstr "" -#: library/threading.rst:830 +#: library/threading.rst:831 msgid "" "Semaphores are often used to guard resources with limited capacity, for " "example, a database server. In any situation where the size of the resource " @@ -1330,37 +1332,37 @@ msgid "" "threads, your main thread would initialize the semaphore::" msgstr "" -#: library/threading.rst:839 +#: library/threading.rst:840 msgid "" "Once spawned, worker threads call the semaphore's acquire and release " "methods when they need to connect to the server::" msgstr "" -#: library/threading.rst:849 +#: library/threading.rst:850 msgid "" "The use of a bounded semaphore reduces the chance that a programming error " "which causes the semaphore to be released more than it's acquired will go " "undetected." msgstr "" -#: library/threading.rst:856 +#: library/threading.rst:857 msgid "Event Objects" msgstr "" -#: library/threading.rst:858 +#: library/threading.rst:859 msgid "" "This is one of the simplest mechanisms for communication between threads: " "one thread signals an event and other threads wait for it." msgstr "" -#: library/threading.rst:861 +#: library/threading.rst:862 msgid "" "An event object manages an internal flag that can be set to true with the :" "meth:`~Event.set` method and reset to false with the :meth:`~Event.clear` " "method. The :meth:`~Event.wait` method blocks until the flag is true." msgstr "" -#: library/threading.rst:868 +#: library/threading.rst:869 msgid "" "Class implementing event objects. An event manages a flag that can be set " "to true with the :meth:`~Event.set` method and reset to false with the :meth:" @@ -1368,39 +1370,39 @@ msgid "" "flag is initially false." msgstr "" -#: library/threading.rst:878 +#: library/threading.rst:879 msgid "Return ``True`` if and only if the internal flag is true." msgstr "" -#: library/threading.rst:882 +#: library/threading.rst:883 msgid "" "Set the internal flag to true. All threads waiting for it to become true are " "awakened. Threads that call :meth:`wait` once the flag is true will not " "block at all." msgstr "" -#: library/threading.rst:888 +#: library/threading.rst:889 msgid "" "Reset the internal flag to false. Subsequently, threads calling :meth:`wait` " "will block until :meth:`.set` is called to set the internal flag to true " "again." msgstr "" -#: library/threading.rst:894 +#: library/threading.rst:895 msgid "" "Block until the internal flag is true. If the internal flag is true on " "entry, return immediately. Otherwise, block until another thread calls :" "meth:`.set` to set the flag to true, or until the optional timeout occurs." msgstr "" -#: library/threading.rst:898 +#: library/threading.rst:899 msgid "" "When the timeout argument is present and not ``None``, it should be a " "floating point number specifying a timeout for the operation in seconds (or " "fractions thereof)." msgstr "" -#: library/threading.rst:902 +#: library/threading.rst:903 msgid "" "This method returns ``True`` if and only if the internal flag has been set " "to true, either before the wait call or after the wait starts, so it will " @@ -1408,11 +1410,11 @@ msgid "" "out." msgstr "" -#: library/threading.rst:914 +#: library/threading.rst:915 msgid "Timer Objects" msgstr "" -#: library/threading.rst:916 +#: library/threading.rst:917 msgid "" "This class represents an action that should be run only after a certain " "amount of time has passed --- a timer. :class:`Timer` is a subclass of :" @@ -1420,7 +1422,7 @@ msgid "" "threads." msgstr "" -#: library/threading.rst:920 +#: library/threading.rst:921 msgid "" "Timers are started, as with threads, by calling their :meth:`~Timer.start` " "method. The timer can be stopped (before its action has begun) by calling " @@ -1429,11 +1431,11 @@ msgid "" "by the user." msgstr "" -#: library/threading.rst:926 +#: library/threading.rst:927 msgid "For example::" msgstr "Par exemple ::" -#: library/threading.rst:937 +#: library/threading.rst:938 msgid "" "Create a timer that will run *function* with arguments *args* and keyword " "arguments *kwargs*, after *interval* seconds have passed. If *args* is " @@ -1441,17 +1443,17 @@ msgid "" "``None`` (the default) then an empty dict will be used." msgstr "" -#: library/threading.rst:947 +#: library/threading.rst:948 msgid "" "Stop the timer, and cancel the execution of the timer's action. This will " "only work if the timer is still in its waiting stage." msgstr "" -#: library/threading.rst:952 +#: library/threading.rst:953 msgid "Barrier Objects" msgstr "" -#: library/threading.rst:956 +#: library/threading.rst:957 msgid "" "This class provides a simple synchronization primitive for use by a fixed " "number of threads that need to wait for each other. Each of the threads " @@ -1460,18 +1462,18 @@ msgid "" "calls. At this point, the threads are released simultaneously." msgstr "" -#: library/threading.rst:962 +#: library/threading.rst:963 msgid "" "The barrier can be reused any number of times for the same number of threads." msgstr "" -#: library/threading.rst:964 +#: library/threading.rst:965 msgid "" "As an example, here is a simple way to synchronize a client and server " "thread::" msgstr "" -#: library/threading.rst:984 +#: library/threading.rst:985 msgid "" "Create a barrier object for *parties* number of threads. An *action*, when " "provided, is a callable to be called by one of the threads when they are " @@ -1479,7 +1481,7 @@ msgid "" "the :meth:`wait` method." msgstr "" -#: library/threading.rst:991 +#: library/threading.rst:992 msgid "" "Pass the barrier. When all the threads party to the barrier have called " "this function, they are all released simultaneously. If a *timeout* is " @@ -1487,44 +1489,44 @@ msgid "" "constructor." msgstr "" -#: library/threading.rst:996 +#: library/threading.rst:997 msgid "" "The return value is an integer in the range 0 to *parties* -- 1, different " "for each thread. This can be used to select a thread to do some special " "housekeeping, e.g.::" msgstr "" -#: library/threading.rst:1005 +#: library/threading.rst:1006 msgid "" "If an *action* was provided to the constructor, one of the threads will have " "called it prior to being released. Should this call raise an error, the " "barrier is put into the broken state." msgstr "" -#: library/threading.rst:1009 +#: library/threading.rst:1010 msgid "If the call times out, the barrier is put into the broken state." msgstr "" -#: library/threading.rst:1011 +#: library/threading.rst:1012 msgid "" "This method may raise a :class:`BrokenBarrierError` exception if the barrier " "is broken or reset while a thread is waiting." msgstr "" -#: library/threading.rst:1016 +#: library/threading.rst:1017 msgid "" "Return the barrier to the default, empty state. Any threads waiting on it " "will receive the :class:`BrokenBarrierError` exception." msgstr "" -#: library/threading.rst:1019 +#: library/threading.rst:1020 msgid "" "Note that using this function may require some external synchronization if " "there are other threads whose state is unknown. If a barrier is broken it " "may be better to just leave it and create a new one." msgstr "" -#: library/threading.rst:1025 +#: library/threading.rst:1026 msgid "" "Put the barrier into a broken state. This causes any active or future calls " "to :meth:`wait` to fail with the :class:`BrokenBarrierError`. Use this for " @@ -1532,36 +1534,36 @@ msgid "" "application." msgstr "" -#: library/threading.rst:1030 +#: library/threading.rst:1031 msgid "" "It may be preferable to simply create the barrier with a sensible *timeout* " "value to automatically guard against one of the threads going awry." msgstr "" -#: library/threading.rst:1036 +#: library/threading.rst:1037 msgid "The number of threads required to pass the barrier." msgstr "" -#: library/threading.rst:1040 +#: library/threading.rst:1041 msgid "The number of threads currently waiting in the barrier." msgstr "" -#: library/threading.rst:1044 +#: library/threading.rst:1045 msgid "A boolean that is ``True`` if the barrier is in the broken state." msgstr "" -#: library/threading.rst:1049 +#: library/threading.rst:1050 msgid "" "This exception, a subclass of :exc:`RuntimeError`, is raised when the :class:" "`Barrier` object is reset or broken." msgstr "" -#: library/threading.rst:1056 +#: library/threading.rst:1057 msgid "" "Using locks, conditions, and semaphores in the :keyword:`!with` statement" msgstr "" -#: library/threading.rst:1058 +#: library/threading.rst:1059 msgid "" "All of the objects provided by this module that have :meth:`acquire` and :" "meth:`release` methods can be used as context managers for a :keyword:`with` " @@ -1570,11 +1572,11 @@ msgid "" "Hence, the following snippet::" msgstr "" -#: library/threading.rst:1067 +#: library/threading.rst:1068 msgid "is equivalent to::" msgstr "est équivalente à ::" -#: library/threading.rst:1075 +#: library/threading.rst:1076 msgid "" "Currently, :class:`Lock`, :class:`RLock`, :class:`Condition`, :class:" "`Semaphore`, and :class:`BoundedSemaphore` objects may be used as :keyword:" diff --git a/library/types.po b/library/types.po index 45993bbf..d79bff6b 100644 --- a/library/types.po +++ b/library/types.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2018-09-28 10:04+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -61,7 +61,8 @@ msgid "" "The *exec_body* argument is a callback that is used to populate the freshly " "created class namespace. It should accept the class namespace as its sole " "argument and update the namespace directly with the class contents. If no " -"callback is provided, it has the same effect as passing in ``lambda ns: ns``." +"callback is provided, it has the same effect as passing in ``lambda ns: " +"None``." msgstr "" #: library/types.rst:43 @@ -260,7 +261,7 @@ msgstr "" #: library/types.rst:212 msgid "" -"The type of :term:`modules `. Constructor takes the name of the " +"The type of :term:`modules `. The constructor takes the name of the " "module to be created and optionally its :term:`docstring`." msgstr "" @@ -278,15 +279,31 @@ msgstr "" msgid "The :term:`loader` which loaded the module. Defaults to ``None``." msgstr "" -#: library/types.rst:241 +#: library/types.rst:227 +msgid "" +"This attribute is to match :attr:`importlib.machinery.ModuleSpec.loader` as " +"stored in the attr:`__spec__` object." +msgstr "" + +#: library/types.rst:231 +msgid "" +"A future version of Python may stop setting this attribute by default. To " +"guard against this potential change, preferrably read from the :attr:" +"`__spec__` attribute instead or use ``getattr(module, \"__loader__\", " +"None)`` if you explicitly need to use this attribute." +msgstr "" + +#: library/types.rst:262 msgid "Defaults to ``None``. Previously the attribute was optional." msgstr "" -#: library/types.rst:232 -msgid "The name of the module." +#: library/types.rst:242 +msgid "" +"The name of the module. Expected to match :attr:`importlib.machinery." +"ModuleSpec.name`." msgstr "" -#: library/types.rst:236 +#: library/types.rst:247 msgid "" "Which :term:`package` a module belongs to. If the module is top-level (i.e. " "not a part of any specific package) then the attribute should be set to " @@ -294,47 +311,67 @@ msgid "" "`__name__` if the module is a package itself). Defaults to ``None``." msgstr "" -#: library/types.rst:247 +#: library/types.rst:252 +msgid "" +"This attribute is to match :attr:`importlib.machinery.ModuleSpec.parent` as " +"stored in the attr:`__spec__` object." +msgstr "" + +#: library/types.rst:256 +msgid "" +"A future version of Python may stop setting this attribute by default. To " +"guard against this potential change, preferrably read from the :attr:" +"`__spec__` attribute instead or use ``getattr(module, \"__package__\", " +"None)`` if you explicitly need to use this attribute." +msgstr "" + +#: library/types.rst:267 +msgid "" +"A record of the the module's import-system-related state. Expected to be an " +"instance of :class:`importlib.machinery.ModuleSpec`." +msgstr "" + +#: library/types.rst:275 msgid "" "The type of :ref:`parameterized generics ` such as " "``list[int]``." msgstr "" -#: library/types.rst:250 +#: library/types.rst:278 msgid "" "``t_origin`` should be a non-parameterized generic class, such as ``list``, " "``tuple`` or ``dict``. ``t_args`` should be a :class:`tuple` (possibly of " "length 1) of types which parameterize ``t_origin``::" msgstr "" -#: library/types.rst:263 +#: library/types.rst:291 msgid "This type can now be subclassed." msgstr "" -#: library/types.rst:269 +#: library/types.rst:297 msgid "The type of traceback objects such as found in ``sys.exc_info()[2]``." msgstr "" -#: library/types.rst:271 +#: library/types.rst:299 msgid "" "See :ref:`the language reference ` for details of the " "available attributes and operations, and guidance on creating tracebacks " "dynamically." msgstr "" -#: library/types.rst:278 +#: library/types.rst:306 msgid "" "The type of frame objects such as found in ``tb.tb_frame`` if ``tb`` is a " "traceback object." msgstr "" -#: library/types.rst:281 +#: library/types.rst:309 msgid "" "See :ref:`the language reference ` for details of the " "available attributes and operations." msgstr "" -#: library/types.rst:287 +#: library/types.rst:315 msgid "" "The type of objects defined in extension modules with ``PyGetSetDef``, such " "as ``FrameType.f_locals`` or ``array.array.typecode``. This type is used as " @@ -342,7 +379,7 @@ msgid "" "`property` type, but for classes defined in extension modules." msgstr "" -#: library/types.rst:295 +#: library/types.rst:323 msgid "" "The type of objects defined in extension modules with ``PyMemberDef``, such " "as ``datetime.timedelta.days``. This type is used as descriptor for simple " @@ -351,51 +388,51 @@ msgid "" "modules." msgstr "" -#: library/types.rst:302 +#: library/types.rst:330 msgid "" "In other implementations of Python, this type may be identical to " "``GetSetDescriptorType``." msgstr "" -#: library/types.rst:307 +#: library/types.rst:335 msgid "" "Read-only proxy of a mapping. It provides a dynamic view on the mapping's " "entries, which means that when the mapping changes, the view reflects these " "changes." msgstr "" -#: library/types.rst:315 +#: library/types.rst:343 msgid "" "Updated to support the new union (``|``) operator from :pep:`584`, which " "simply delegates to the underlying mapping." msgstr "" -#: library/types.rst:320 +#: library/types.rst:348 msgid "" "Return ``True`` if the underlying mapping has a key *key*, else ``False``." msgstr "" -#: library/types.rst:325 +#: library/types.rst:353 msgid "" "Return the item of the underlying mapping with key *key*. Raises a :exc:" "`KeyError` if *key* is not in the underlying mapping." msgstr "" -#: library/types.rst:330 +#: library/types.rst:358 msgid "" "Return an iterator over the keys of the underlying mapping. This is a " "shortcut for ``iter(proxy.keys())``." msgstr "" -#: library/types.rst:335 +#: library/types.rst:363 msgid "Return the number of items in the underlying mapping." msgstr "" -#: library/types.rst:339 +#: library/types.rst:367 msgid "Return a shallow copy of the underlying mapping." msgstr "" -#: library/types.rst:343 +#: library/types.rst:371 #, fuzzy msgid "" "Return the value for *key* if *key* is in the underlying mapping, else " @@ -406,62 +443,62 @@ msgstr "" "*default*. Si *default* n'est pas donné, il vaut ``None`` par défaut, de " "manière à ce que cette méthode ne lève jamais :exc:`KeyError`." -#: library/types.rst:349 +#: library/types.rst:377 msgid "" "Return a new view of the underlying mapping's items (``(key, value)`` pairs)." msgstr "" -#: library/types.rst:354 +#: library/types.rst:382 msgid "Return a new view of the underlying mapping's keys." msgstr "" -#: library/types.rst:358 +#: library/types.rst:386 msgid "Return a new view of the underlying mapping's values." msgstr "" -#: library/types.rst:362 +#: library/types.rst:390 msgid "Return a reverse iterator over the keys of the underlying mapping." msgstr "" -#: library/types.rst:368 +#: library/types.rst:396 msgid "Additional Utility Classes and Functions" msgstr "" -#: library/types.rst:372 +#: library/types.rst:400 msgid "" "A simple :class:`object` subclass that provides attribute access to its " "namespace, as well as a meaningful repr." msgstr "" -#: library/types.rst:375 +#: library/types.rst:403 msgid "" "Unlike :class:`object`, with ``SimpleNamespace`` you can add and remove " "attributes. If a ``SimpleNamespace`` object is initialized with keyword " "arguments, those are directly added to the underlying namespace." msgstr "" -#: library/types.rst:379 +#: library/types.rst:407 msgid "The type is roughly equivalent to the following code::" msgstr "" -#: library/types.rst:394 +#: library/types.rst:422 msgid "" "``SimpleNamespace`` may be useful as a replacement for ``class NS: pass``. " "However, for a structured record type use :func:`~collections.namedtuple` " "instead." msgstr "" -#: library/types.rst:400 +#: library/types.rst:428 msgid "" "Attribute order in the repr changed from alphabetical to insertion (like " "``dict``)." msgstr "" -#: library/types.rst:406 +#: library/types.rst:434 msgid "Route attribute access on a class to __getattr__." msgstr "" -#: library/types.rst:408 +#: library/types.rst:436 msgid "" "This is a descriptor, used to define attributes that act differently when " "accessed through an instance and through a class. Instance access remains " @@ -469,18 +506,18 @@ msgid "" "class's __getattr__ method; this is done by raising AttributeError." msgstr "" -#: library/types.rst:413 +#: library/types.rst:441 msgid "" "This allows one to have properties active on an instance, and have virtual " "attributes on the class with the same name (see :class:`enum.Enum` for an " "example)." msgstr "" -#: library/types.rst:420 +#: library/types.rst:448 msgid "Coroutine Utility Functions" msgstr "" -#: library/types.rst:424 +#: library/types.rst:452 msgid "" "This function transforms a :term:`generator` function into a :term:" "`coroutine function` which returns a generator-based coroutine. The " @@ -489,11 +526,11 @@ msgid "" "However, it may not necessarily implement the :meth:`__await__` method." msgstr "" -#: library/types.rst:431 +#: library/types.rst:459 msgid "If *gen_func* is a generator function, it will be modified in-place." msgstr "" -#: library/types.rst:433 +#: library/types.rst:461 msgid "" "If *gen_func* is not a generator function, it will be wrapped. If it returns " "an instance of :class:`collections.abc.Generator`, the instance will be " diff --git a/library/typing.po b/library/typing.po index 787cfe4a..24f54671 100644 --- a/library/typing.po +++ b/library/typing.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-05-18 11:06-0400\n" "Last-Translator: Jean-Michel Laprise \n" "Language-Team: FRENCH \n" @@ -806,10 +806,10 @@ msgstr "" #: library/typing.rst:658 msgid "" -"``Literal`` now de-duplicates parameters. Equality comparison of " +"``Literal`` now de-duplicates parameters. Equality comparisons of " "``Literal`` objects are no longer order dependent. ``Literal`` objects will " "now raise a :exc:`TypeError` exception during equality comparisons if one of " -"their parameters are not :term:`immutable`." +"their parameters are not :term:`hashable`." msgstr "" #: library/typing.rst:666 @@ -2111,8 +2111,8 @@ msgstr "" #, fuzzy msgid "" "A class used for internal typing representation of string forward " -"references. For example, ``list[\"SomeClass\"]`` is implicitly transformed " -"into ``list[ForwardRef(\"SomeClass\")]``. This class should not be " +"references. For example, ``List[\"SomeClass\"]`` is implicitly transformed " +"into ``List[ForwardRef(\"SomeClass\")]``. This class should not be " "instantiated by a user, but may be used by introspection tools." msgstr "" "Une classe utilisée pour le typage interne de la représentation des " @@ -2122,11 +2122,18 @@ msgstr "" "instanciée par un utilisateur, mais peut être utilisée par des outils " "d'introspection." -#: library/typing.rst:1720 +#: library/typing.rst:1718 +msgid "" +":pep:`585` generic types such as ``list[\"SomeClass\"]`` will not be " +"implicitly transformed into ``list[ForwardRef(\"SomeClass\")]`` and thus " +"will not automatically resolve to ``list[SomeClass]``." +msgstr "" + +#: library/typing.rst:1725 msgid "Constant" msgstr "" -#: library/typing.rst:1724 +#: library/typing.rst:1729 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime. Usage::" @@ -2134,7 +2141,7 @@ msgstr "" "Constante spéciale qui vaut ``True`` pour les vérificateurs de type " "statiques tiers et ``False`` à l'exécution. Utilisation ::" -#: library/typing.rst:1733 +#: library/typing.rst:1738 #, fuzzy msgid "" "The first type annotation must be enclosed in quotes, making it a \"forward " @@ -2149,7 +2156,7 @@ msgstr "" "sorte que la deuxième annotation n'a pas besoin d'être placée entre " "guillemets." -#: library/typing.rst:1740 +#: library/typing.rst:1745 msgid "" "If ``from __future__ import annotations`` is used in Python 3.7 or later, " "annotations are not evaluated at function definition time. Instead, they are " diff --git a/library/unittest.po b/library/unittest.po index 6c68b383..7b2e1cad 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -4,8 +4,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" -"Report-Msgid-Bugs-To:\n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-27 15:01+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -590,21 +590,22 @@ msgstr "" "découverte des tests en utilisant le protocole `load_tests protocol`_." #: library/unittest.rst:332 +#, fuzzy msgid "" "Test discovery supports :term:`namespace packages ` for " -"start directory. Note that you need to the top level directory too. (e.g. " -"``python -m unittest discover -s root/namespace -t root``)." +"the start directory. Note that you need to specify the top level directory " +"too (e.g. ``python -m unittest discover -s root/namespace -t root``)." msgstr "" "La découverte de test dans des :term:`paquets-espace de nommage ` est possible, mais le dossier racine doit être donné " "explicitement. (par exemple ``python -m unittest discover -s root/namespace -" "t root``)." -#: library/unittest.rst:341 +#: library/unittest.rst:342 msgid "Organizing test code" msgstr "Organiser le code de test" -#: library/unittest.rst:343 +#: library/unittest.rst:344 msgid "" "The basic building blocks of unit testing are :dfn:`test cases` --- single " "scenarios that must be set up and checked for correctness. In :mod:" @@ -619,7 +620,7 @@ msgstr "" "TestCase`. Pour créer vos propres scénarios de test, vous devez écrire des " "sous-classes de :class:`TestCase` ou utiliser :class:`FunctionTestCase`." -#: library/unittest.rst:349 +#: library/unittest.rst:350 msgid "" "The testing code of a :class:`TestCase` instance should be entirely self " "contained, such that it can be run either in isolation or in arbitrary " @@ -629,7 +630,7 @@ msgstr "" "autonome, de sorte qu'il puisse être exécuté soit de manière isolée, soit en " "combinaison arbitraire avec un nombre quelconque d'autres scénarios de test." -#: library/unittest.rst:353 +#: library/unittest.rst:354 msgid "" "The simplest :class:`TestCase` subclass will simply implement a test method " "(i.e. a method whose name starts with ``test``) in order to perform specific " @@ -639,7 +640,7 @@ msgstr "" "implémenter une méthode de test (c'est-à-dire une méthode dont le nom " "commence par ``test``) afin d'exécuter un code de test spécifique ::" -#: library/unittest.rst:364 +#: library/unittest.rst:365 msgid "" "Note that in order to test something, we use one of the :meth:`assert\\*` " "methods provided by the :class:`TestCase` base class. If the test fails, an " @@ -653,7 +654,7 @@ msgstr "" "`unittest` identifie ce scénario de test comme un :dfn:`échec`. Toute autre " "exception est traitée comme une :dfn:`erreur`." -#: library/unittest.rst:370 +#: library/unittest.rst:371 msgid "" "Tests can be numerous, and their set-up can be repetitive. Luckily, we can " "factor out set-up code by implementing a method called :meth:`~TestCase." @@ -665,7 +666,7 @@ msgstr "" "une méthode appelée :meth:`~TestCase.setUp`, que le système de test appelle " "automatiquement pour chaque test exécuté ::" -#: library/unittest.rst:391 +#: library/unittest.rst:392 msgid "" "The order in which the various tests will be run is determined by sorting " "the test method names with respect to the built-in ordering for strings." @@ -674,7 +675,7 @@ msgstr "" "classant les noms des méthodes de test en fonction de la relation d'ordre " "des chaines de caractères ." -#: library/unittest.rst:395 +#: library/unittest.rst:396 msgid "" "If the :meth:`~TestCase.setUp` method raises an exception while the test is " "running, the framework will consider the test to have suffered an error, and " @@ -684,7 +685,7 @@ msgstr "" "du test, le système considère que le test a subi une erreur, et la méthode " "test n'est pas exécutée." -#: library/unittest.rst:399 +#: library/unittest.rst:400 msgid "" "Similarly, we can provide a :meth:`~TestCase.tearDown` method that tidies up " "after the test method has been run::" @@ -692,7 +693,7 @@ msgstr "" "De même, on peut fournir une méthode :meth:`~TestCase.tearDown` qui nettoie " "après l'exécution de la méthode de test ::" -#: library/unittest.rst:411 +#: library/unittest.rst:412 msgid "" "If :meth:`~TestCase.setUp` succeeded, :meth:`~TestCase.tearDown` will be run " "whether the test method succeeded or not." @@ -700,7 +701,7 @@ msgstr "" "Si :meth:`~TestCase.setUp` a réussi, :meth:`~TestCase.tearDown` est " "exécutée, que la méthode de test ait réussi ou non." -#: library/unittest.rst:414 +#: library/unittest.rst:415 msgid "" "Such a working environment for the testing code is called a :dfn:`test " "fixture`. A new TestCase instance is created as a unique test fixture used " @@ -715,7 +716,7 @@ msgstr "" "setUp`, :meth:`~TestCase.tearDown` et :meth:`~TestCase.__init__` ne sont " "appelées qu'une fois par test." -#: library/unittest.rst:420 +#: library/unittest.rst:421 msgid "" "It is recommended that you use TestCase implementations to group tests " "together according to the features they test. :mod:`unittest` provides a " @@ -731,7 +732,7 @@ msgstr "" "main` fait correctement les choses et trouve tous les scénarios de test du " "module pour vous et les exécute." -#: library/unittest.rst:427 +#: library/unittest.rst:428 msgid "" "However, should you want to customize the building of your test suite, you " "can do it yourself::" @@ -739,7 +740,7 @@ msgstr "" "Cependant, si vous voulez personnaliser la construction de votre suite de " "tests, vous pouvez le faire vous-même ::" -#: library/unittest.rst:440 +#: library/unittest.rst:441 msgid "" "You can place the definitions of test cases and test suites in the same " "modules as the code they are to test (such as :file:`widget.py`), but there " @@ -751,17 +752,17 @@ msgstr "" "py`), mais il y a plusieurs avantages à placer le code de test dans un " "module séparé, tel que :file:`test_composant.py` :" -#: library/unittest.rst:445 +#: library/unittest.rst:446 msgid "The test module can be run standalone from the command line." msgstr "" "Le module de test peut être exécuté indépendamment depuis la ligne de " "commande." -#: library/unittest.rst:447 +#: library/unittest.rst:448 msgid "The test code can more easily be separated from shipped code." msgstr "Le code de test est plus facilement séparable du code livré." -#: library/unittest.rst:449 +#: library/unittest.rst:450 msgid "" "There is less temptation to change test code to fit the code it tests " "without a good reason." @@ -769,18 +770,18 @@ msgstr "" "La tentation est moins grande de changer le code de test pour l'adapter au " "code qu'il teste sans avoir une bonne raison." -#: library/unittest.rst:452 +#: library/unittest.rst:453 msgid "" "Test code should be modified much less frequently than the code it tests." msgstr "" "Le code de test doit être modifié beaucoup moins souvent que le code qu'il " "teste." -#: library/unittest.rst:454 +#: library/unittest.rst:455 msgid "Tested code can be refactored more easily." msgstr "Le code testé peut être réusiné plus facilement." -#: library/unittest.rst:456 +#: library/unittest.rst:457 msgid "" "Tests for modules written in C must be in separate modules anyway, so why " "not be consistent?" @@ -788,18 +789,18 @@ msgstr "" "Les tests pour les modules écrits en C doivent de toute façon être dans des " "modules séparés, alors pourquoi ne pas être cohérent ?" -#: library/unittest.rst:459 +#: library/unittest.rst:460 msgid "" "If the testing strategy changes, there is no need to change the source code." msgstr "" "Si la stratégie de test change, il n'est pas nécessaire de changer le code " "source." -#: library/unittest.rst:465 +#: library/unittest.rst:466 msgid "Re-using old test code" msgstr "Réutilisation d'ancien code de test" -#: library/unittest.rst:467 +#: library/unittest.rst:468 msgid "" "Some users will find that they have existing test code that they would like " "to run from :mod:`unittest`, without converting every old test function to " @@ -809,7 +810,7 @@ msgstr "" "souhaitent exécuter à partir de :mod:`unittest`, sans convertir chaque " "ancienne fonction de test en une sous-classe de :class:`TestCase`." -#: library/unittest.rst:471 +#: library/unittest.rst:472 msgid "" "For this reason, :mod:`unittest` provides a :class:`FunctionTestCase` class. " "This subclass of :class:`TestCase` can be used to wrap an existing test " @@ -821,11 +822,11 @@ msgstr "" "mise en place (*setUp*) et de démantèlement (*tearDown*) peuvent également " "être fournies." -#: library/unittest.rst:475 +#: library/unittest.rst:476 msgid "Given the following test function::" msgstr "Étant donnée la fonction de test suivante ::" -#: library/unittest.rst:482 +#: library/unittest.rst:483 msgid "" "one can create an equivalent test case instance as follows, with optional " "set-up and tear-down methods::" @@ -833,7 +834,7 @@ msgstr "" "on peut créer une instance de scénario de test équivalente, avec des " "méthodes optionnelles de mise en place et de démantèlement ::" -#: library/unittest.rst:491 +#: library/unittest.rst:492 msgid "" "Even though :class:`FunctionTestCase` can be used to quickly convert an " "existing test base over to a :mod:`unittest`\\ -based system, this approach " @@ -846,7 +847,7 @@ msgstr "" "bien configurer les sous-classes de :class:`TestCase` simplifiera " "considérablement les futurs réusinages des tests." -#: library/unittest.rst:496 +#: library/unittest.rst:497 msgid "" "In some cases, the existing tests may have been written using the :mod:" "`doctest` module. If so, :mod:`doctest` provides a :class:`DocTestSuite` " @@ -859,11 +860,11 @@ msgstr "" "classe :class:`unittest.TestSuite` depuis des tests basés sur le module :mod:" "`doctest`." -#: library/unittest.rst:505 +#: library/unittest.rst:506 msgid "Skipping tests and expected failures" msgstr "Ignorer des tests et des erreurs prévisibles" -#: library/unittest.rst:509 +#: library/unittest.rst:510 msgid "" "Unittest supports skipping individual test methods and even whole classes of " "tests. In addition, it supports marking a test as an \"expected failure,\" " @@ -876,7 +877,7 @@ msgstr "" "qui ne doit pas être considéré comme un échec dans la classe :class:" "`TestResult`." -#: library/unittest.rst:514 +#: library/unittest.rst:515 msgid "" "Skipping a test is simply a matter of using the :func:`skip` :term:" "`decorator` or one of its conditional variants, calling :meth:`TestCase." @@ -888,20 +889,20 @@ msgstr "" "`TestCase.skipTest` à l'intérieur d'une méthode :meth:`~TestCase.setUp` ou " "de test, soit lever :exc:`SkipTest` directement." -#: library/unittest.rst:518 +#: library/unittest.rst:519 msgid "Basic skipping looks like this::" msgstr "Un exemple de tests à ignorer ::" -#: library/unittest.rst:543 +#: library/unittest.rst:544 msgid "This is the output of running the example above in verbose mode::" msgstr "" "Ceci est le résultat de l'exécution de l'exemple ci-dessus en mode verbeux ::" -#: library/unittest.rst:555 +#: library/unittest.rst:556 msgid "Classes can be skipped just like methods::" msgstr "Les classes peuvent être ignorées tout comme les méthodes ::" -#: library/unittest.rst:562 +#: library/unittest.rst:563 msgid "" ":meth:`TestCase.setUp` can also skip the test. This is useful when a " "resource that needs to be set up is not available." @@ -909,12 +910,12 @@ msgstr "" "La méthode :meth:`TestCase.setUp` permet également d'ignorer le test. Ceci " "est utile lorsqu'une ressource qui doit être configurée n'est pas disponible." -#: library/unittest.rst:565 +#: library/unittest.rst:566 msgid "Expected failures use the :func:`expectedFailure` decorator. ::" msgstr "" "Les erreurs prévisibles utilisent le décorateur :func:`expectedFailure` ::" -#: library/unittest.rst:572 +#: library/unittest.rst:573 msgid "" "It's easy to roll your own skipping decorators by making a decorator that " "calls :func:`skip` on the test when it wants it to be skipped. This " @@ -925,7 +926,7 @@ msgstr "" "décorateur ignore le test à moins que l'objet passé ne possède un certain " "attribut ::" -#: library/unittest.rst:581 +#: library/unittest.rst:582 msgid "" "The following decorators and exception implement test skipping and expected " "failures:" @@ -933,7 +934,7 @@ msgstr "" "Les décorateurs et exceptions suivants implémentent le système d'omission " "des tests et les erreurs prévisibles  ::" -#: library/unittest.rst:585 +#: library/unittest.rst:586 msgid "" "Unconditionally skip the decorated test. *reason* should describe why the " "test is being skipped." @@ -941,29 +942,31 @@ msgstr "" "Ignore sans condition le test décoré. *La raison* doit décrire la raison " "pour laquelle le test est omis." -#: library/unittest.rst:590 +#: library/unittest.rst:591 msgid "Skip the decorated test if *condition* is true." msgstr "Ignore le test décoré si la *condition* est vraie." -#: library/unittest.rst:594 +#: library/unittest.rst:595 msgid "Skip the decorated test unless *condition* is true." msgstr "Ignore le test décoré sauf si la *condition* est vraie." -#: library/unittest.rst:598 +#: library/unittest.rst:599 +#, fuzzy msgid "" "Mark the test as an expected failure or error. If the test fails or errors " -"it will be considered a success. If the test passes, it will be considered " -"a failure." +"in the test function itself (rather than in one of the :dfn:`test fixture` " +"methods) then it will be considered a success. If the test passes, it will " +"be considered a failure." msgstr "" "Marque le test comme étant un erreur attendue (assertion ou exception). Si " "le test échoue, c'est considéré comme un succès. S'il passe, c'est considéré " "comme étant un échec." -#: library/unittest.rst:604 +#: library/unittest.rst:606 msgid "This exception is raised to skip a test." msgstr "Cette exception est levée pour ignorer un test." -#: library/unittest.rst:606 +#: library/unittest.rst:608 msgid "" "Usually you can use :meth:`TestCase.skipTest` or one of the skipping " "decorators instead of raising this directly." @@ -971,7 +974,7 @@ msgstr "" "Habituellement, on utilise :meth:`TestCase.skipTest` ou l'un des décorateurs " "d'omission au lieu de le lever une exception directement." -#: library/unittest.rst:609 +#: library/unittest.rst:611 msgid "" "Skipped tests will not have :meth:`~TestCase.setUp` or :meth:`~TestCase." "tearDown` run around them. Skipped classes will not have :meth:`~TestCase." @@ -983,11 +986,11 @@ msgstr "" "ni :meth:`~TestCase.tearDownClass`. Les modules sautés n'ont pas :func:" "`setUpModule` ou :func:`tearDownModule` d'exécutés." -#: library/unittest.rst:617 +#: library/unittest.rst:619 msgid "Distinguishing test iterations using subtests" msgstr "Distinguer les itérations de test à l'aide de sous-tests" -#: library/unittest.rst:621 +#: library/unittest.rst:623 msgid "" "When there are very small differences among your tests, for instance some " "parameters, unittest allows you to distinguish them inside the body of a " @@ -998,15 +1001,15 @@ msgstr "" "distinguer en utilisant le gestionnaire de contexte :meth:`~TestCase." "subTest` dans le corps d'une méthode de test." -#: library/unittest.rst:625 +#: library/unittest.rst:627 msgid "For example, the following test::" msgstr "Par exemple, le test suivant ::" -#: library/unittest.rst:637 +#: library/unittest.rst:639 msgid "will produce the following output::" msgstr "produit le résultat suivant ::" -#: library/unittest.rst:663 +#: library/unittest.rst:665 msgid "" "Without using a subtest, execution would stop after the first failure, and " "the error would be less easy to diagnose because the value of ``i`` wouldn't " @@ -1016,19 +1019,19 @@ msgstr "" "échec, et l'erreur est moins facile à diagnostiquer car la valeur de ``i`` " "ne s'affiche pas ::" -#: library/unittest.rst:679 +#: library/unittest.rst:681 msgid "Classes and functions" msgstr "Classes et fonctions" -#: library/unittest.rst:681 +#: library/unittest.rst:683 msgid "This section describes in depth the API of :mod:`unittest`." msgstr "Cette section décrit en détail l'API de :mod:`unittest`." -#: library/unittest.rst:687 +#: library/unittest.rst:689 msgid "Test cases" msgstr "Scénarios de tests" -#: library/unittest.rst:691 +#: library/unittest.rst:693 msgid "" "Instances of the :class:`TestCase` class represent the logical test units in " "the :mod:`unittest` universe. This class is intended to be used as a base " @@ -1045,7 +1048,7 @@ msgstr "" "que le code de test peut utiliser pour vérifier et signaler les différents " "types d'erreurs." -#: library/unittest.rst:698 +#: library/unittest.rst:700 msgid "" "Each instance of :class:`TestCase` will run a single base method: the method " "named *methodName*. In most uses of :class:`TestCase`, you will neither " @@ -1056,7 +1059,7 @@ msgstr "" "utilisations de la classe :class:`TestCase`, vous n'avez pas à changer le " "nom de la méthode, ni à réimplémenter la méthode ``runTest()``." -#: library/unittest.rst:703 +#: library/unittest.rst:705 msgid "" ":class:`TestCase` can be instantiated successfully without providing a " "*methodName*. This makes it easier to experiment with :class:`TestCase` from " @@ -1066,7 +1069,7 @@ msgstr "" "paramètre *methodName*. Cela facilite l'usage de :class:`TestCase` dans " "l'interpréteur interactif." -#: library/unittest.rst:708 +#: library/unittest.rst:710 msgid "" ":class:`TestCase` instances provide three groups of methods: one group used " "to run the test, another used by the test implementation to check conditions " @@ -1079,11 +1082,11 @@ msgstr "" "échecs, et quelques méthodes de recherche permettant de recueillir des " "informations sur le test lui-même." -#: library/unittest.rst:713 +#: library/unittest.rst:715 msgid "Methods in the first group (running the test) are:" msgstr "Les méthodes du premier groupe (exécution du test) sont :" -#: library/unittest.rst:717 +#: library/unittest.rst:719 msgid "" "Method called to prepare the test fixture. This is called immediately " "before calling the test method; other than :exc:`AssertionError` or :exc:" @@ -1096,7 +1099,7 @@ msgstr "" "est considérée comme une erreur et non pas comme un échec du test. " "L'implémentation par défaut ne fait rien." -#: library/unittest.rst:725 +#: library/unittest.rst:727 msgid "" "Method called immediately after the test method has been called and the " "result recorded. This is called even if the test method raised an " @@ -1119,7 +1122,7 @@ msgstr "" "`setUp` est réussie quel que soit le résultat de la méthode de test. " "L'implémentation par défaut ne fait rien." -#: library/unittest.rst:738 +#: library/unittest.rst:740 msgid "" "A class method called before tests in an individual class are run. " "``setUpClass`` is called with the class as the only argument and must be " @@ -1129,11 +1132,11 @@ msgstr "" "question. ``setUpClass`` est appelée avec la classe comme seul argument et " "doit être décorée comme une :func:`classmethod` ::" -#: library/unittest.rst:761 +#: library/unittest.rst:763 msgid "See `Class and Module Fixtures`_ for more details." msgstr "Voir `Class and Module Fixtures`_ pour plus de détails." -#: library/unittest.rst:753 +#: library/unittest.rst:755 msgid "" "A class method called after tests in an individual class have run. " "``tearDownClass`` is called with the class as the only argument and must be " @@ -1143,7 +1146,7 @@ msgstr "" "question. ``tearDownClass`` est appelée avec la classe comme seul argument " "et doit être décorée comme une :meth:`classmethod` ::" -#: library/unittest.rst:768 +#: library/unittest.rst:770 msgid "" "Run the test, collecting the result into the :class:`TestResult` object " "passed as *result*. If *result* is omitted or ``None``, a temporary result " @@ -1156,14 +1159,14 @@ msgstr "" "`defaultTestResult`) et utilisé. L'objet résultat est renvoyé à l'appelant " "de :meth:`run`." -#: library/unittest.rst:774 +#: library/unittest.rst:776 msgid "" "The same effect may be had by simply calling the :class:`TestCase` instance." msgstr "" "Le même effet peut être obtenu en appelant simplement l'instance :class:" "`TestCase`." -#: library/unittest.rst:777 +#: library/unittest.rst:779 msgid "" "Previous versions of ``run`` did not return the result. Neither did calling " "an instance." @@ -1171,7 +1174,7 @@ msgstr "" "Les versions précédentes de ``run`` ne renvoyaient pas le résultat. Pas plus " "que l'appel d'une instance." -#: library/unittest.rst:783 +#: library/unittest.rst:785 msgid "" "Calling this during a test method or :meth:`setUp` skips the current test. " "See :ref:`unittest-skipping` for more information." @@ -1180,7 +1183,7 @@ msgstr "" "`setUp` permet d'ignorer le test en cours. Voir :ref:`unittest-skipping` " "pour plus d'informations." -#: library/unittest.rst:791 +#: library/unittest.rst:793 msgid "" "Return a context manager which executes the enclosed code block as a " "subtest. *msg* and *params* are optional, arbitrary values which are " @@ -1191,7 +1194,7 @@ msgstr "" "arbitraires qui sont affichées chaque fois qu'un sous-test échoue, " "permettant de les identifier clairement." -#: library/unittest.rst:796 +#: library/unittest.rst:798 msgid "" "A test case can contain any number of subtest declarations, and they can be " "arbitrarily nested." @@ -1199,11 +1202,11 @@ msgstr "" "Un scénario de test peut contenir un nombre quelconque de déclarations de " "sous-test, et elles peuvent être imbriquées librement." -#: library/unittest.rst:799 +#: library/unittest.rst:801 msgid "See :ref:`subtests` for more information." msgstr "Voir :ref:`subtests` pour plus d'informations." -#: library/unittest.rst:806 +#: library/unittest.rst:808 msgid "" "Run the test without collecting the result. This allows exceptions raised " "by the test to be propagated to the caller, and can be used to support " @@ -1213,7 +1216,7 @@ msgstr "" "par le test d'être propagées à l'appelant, et donc peut être utilisé pour " "exécuter des tests sous un débogueur." -#: library/unittest.rst:812 +#: library/unittest.rst:814 msgid "" "The :class:`TestCase` class provides several assert methods to check for and " "report failures. The following table lists the most commonly used methods " @@ -1224,126 +1227,126 @@ msgstr "" "les plus couramment utilisées (voir les tableaux ci-dessous pour plus de " "méthodes d'assertion) :" -#: library/unittest.rst:938 library/unittest.rst:1258 +#: library/unittest.rst:940 library/unittest.rst:1260 msgid "Method" msgstr "Méthode" -#: library/unittest.rst:938 library/unittest.rst:1131 +#: library/unittest.rst:940 library/unittest.rst:1133 msgid "Checks that" msgstr "Vérifie que" -#: library/unittest.rst:938 library/unittest.rst:1258 +#: library/unittest.rst:940 library/unittest.rst:1260 msgid "New in" msgstr "Disponible en" -#: library/unittest.rst:819 +#: library/unittest.rst:821 msgid ":meth:`assertEqual(a, b) `" msgstr ":meth:`assertEqual(a, b) `" -#: library/unittest.rst:819 +#: library/unittest.rst:821 msgid "``a == b``" msgstr "``a == b``" -#: library/unittest.rst:822 +#: library/unittest.rst:824 msgid ":meth:`assertNotEqual(a, b) `" msgstr ":meth:`assertNotEqual(a, b) `" -#: library/unittest.rst:822 +#: library/unittest.rst:824 msgid "``a != b``" msgstr "``a != b``" -#: library/unittest.rst:825 +#: library/unittest.rst:827 msgid ":meth:`assertTrue(x) `" msgstr ":meth:`assertTrue(x) `" -#: library/unittest.rst:825 +#: library/unittest.rst:827 msgid "``bool(x) is True``" msgstr "``bool(x) is True``" -#: library/unittest.rst:828 +#: library/unittest.rst:830 msgid ":meth:`assertFalse(x) `" msgstr ":meth:`assertFalse(x) `" -#: library/unittest.rst:828 +#: library/unittest.rst:830 msgid "``bool(x) is False``" msgstr "``bool(x) is False``" -#: library/unittest.rst:831 +#: library/unittest.rst:833 msgid ":meth:`assertIs(a, b) `" msgstr ":meth:`assertIs(a, b) `" -#: library/unittest.rst:831 +#: library/unittest.rst:833 msgid "``a is b``" msgstr "``a is b``" -#: library/unittest.rst:834 library/unittest.rst:840 library/unittest.rst:846 -#: library/unittest.rst:1139 library/unittest.rst:1145 -#: library/unittest.rst:1151 library/unittest.rst:1263 -#: library/unittest.rst:1269 library/unittest.rst:1275 +#: library/unittest.rst:836 library/unittest.rst:842 library/unittest.rst:848 +#: library/unittest.rst:1141 library/unittest.rst:1147 +#: library/unittest.rst:1153 library/unittest.rst:1265 +#: library/unittest.rst:1271 library/unittest.rst:1277 msgid "3.1" msgstr "3.1" -#: library/unittest.rst:834 +#: library/unittest.rst:836 msgid ":meth:`assertIsNot(a, b) `" msgstr ":meth:`assertIsNot(a, b) `" -#: library/unittest.rst:834 +#: library/unittest.rst:836 msgid "``a is not b``" msgstr "``a is not b``" -#: library/unittest.rst:837 +#: library/unittest.rst:839 msgid ":meth:`assertIsNone(x) `" msgstr ":meth:`assertIsNone(x) `" -#: library/unittest.rst:837 +#: library/unittest.rst:839 msgid "``x is None``" msgstr "``x is None``" -#: library/unittest.rst:840 +#: library/unittest.rst:842 msgid ":meth:`assertIsNotNone(x) `" msgstr ":meth:`assertIsNotNone(x) `" -#: library/unittest.rst:840 +#: library/unittest.rst:842 msgid "``x is not None``" msgstr "``x is not None``" -#: library/unittest.rst:843 +#: library/unittest.rst:845 msgid ":meth:`assertIn(a, b) `" msgstr ":meth:`assertIn(a, b) `" -#: library/unittest.rst:843 +#: library/unittest.rst:845 msgid "``a in b``" msgstr "``a in b``" -#: library/unittest.rst:846 +#: library/unittest.rst:848 msgid ":meth:`assertNotIn(a, b) `" msgstr ":meth:`assertNotIn(a, b) `" -#: library/unittest.rst:846 +#: library/unittest.rst:848 msgid "``a not in b``" msgstr "``a not in b``" -#: library/unittest.rst:849 +#: library/unittest.rst:851 msgid ":meth:`assertIsInstance(a, b) `" msgstr ":meth:`assertIsInstance(a, b) `" -#: library/unittest.rst:849 +#: library/unittest.rst:851 msgid "``isinstance(a, b)``" msgstr "``isinstance(a, b)``" -#: library/unittest.rst:852 library/unittest.rst:949 library/unittest.rst:1157 +#: library/unittest.rst:854 library/unittest.rst:951 library/unittest.rst:1159 msgid "3.2" msgstr "3.2" -#: library/unittest.rst:852 +#: library/unittest.rst:854 msgid ":meth:`assertNotIsInstance(a, b) `" msgstr ":meth:`assertNotIsInstance(a, b) `" -#: library/unittest.rst:852 +#: library/unittest.rst:854 msgid "``not isinstance(a, b)``" msgstr "``not isinstance(a, b)``" -#: library/unittest.rst:856 +#: library/unittest.rst:858 msgid "" "All the assert methods accept a *msg* argument that, if specified, is used " "as the error message on failure (see also :data:`longMessage`). Note that " @@ -1358,7 +1361,7 @@ msgstr "" "`assertWarnsRegex`, seulement quand elles sont utilisées comme gestionnaire " "de contexte." -#: library/unittest.rst:864 +#: library/unittest.rst:866 msgid "" "Test that *first* and *second* are equal. If the values do not compare " "equal, the test will fail." @@ -1366,7 +1369,7 @@ msgstr "" "Vérifie que *first* et *second* sont égaux. Si les valeurs ne sont pas " "égales, le test échouera." -#: library/unittest.rst:867 +#: library/unittest.rst:869 msgid "" "In addition, if *first* and *second* are the exact same type and one of " "list, tuple, dict, set, frozenset or str or any type that a subclass " @@ -1382,12 +1385,12 @@ msgstr "" "(voir aussi :ref:`liste des méthodes spécifiques de type `)." -#: library/unittest.rst:874 +#: library/unittest.rst:876 msgid "Added the automatic calling of type-specific equality function." msgstr "" "Ajout de l'appel automatique de la fonction d'égalité spécifique au type." -#: library/unittest.rst:877 +#: library/unittest.rst:879 msgid "" ":meth:`assertMultiLineEqual` added as the default type equality function for " "comparing strings." @@ -1395,7 +1398,7 @@ msgstr "" "Ajout de :meth:`assertMultiLineEqual` comme fonction d'égalité de type par " "défaut pour comparer les chaînes." -#: library/unittest.rst:884 +#: library/unittest.rst:886 msgid "" "Test that *first* and *second* are not equal. If the values do compare " "equal, the test will fail." @@ -1403,11 +1406,11 @@ msgstr "" "Vérifie que *first* et *second* ne sont pas égaux. Si les valeurs sont " "égales, le test échouera." -#: library/unittest.rst:890 +#: library/unittest.rst:892 msgid "Test that *expr* is true (or false)." msgstr "Vérifie que *expr* est vraie (ou fausse)." -#: library/unittest.rst:892 +#: library/unittest.rst:894 msgid "" "Note that this is equivalent to ``bool(expr) is True`` and not to ``expr is " "True`` (use ``assertIs(expr, True)`` for the latter). This method should " @@ -1422,19 +1425,19 @@ msgstr "" "``assertTrue(a == b)``), car elles fournissent un meilleur message d'erreur " "en cas d' échec." -#: library/unittest.rst:902 +#: library/unittest.rst:904 msgid "Test that *first* and *second* are (or are not) the same object." msgstr "Vérifie que *first* et *second* sont (ou ne sont pas) le même objet." -#: library/unittest.rst:910 +#: library/unittest.rst:912 msgid "Test that *expr* is (or is not) ``None``." msgstr "Vérifie que *expr* est (ou n'est pas) la valeur ``None``." -#: library/unittest.rst:918 +#: library/unittest.rst:920 msgid "Test that *member* is (or is not) in *container*." msgstr "Vérifie que *member* est (ou n'est pas) dans *container*." -#: library/unittest.rst:926 +#: library/unittest.rst:928 msgid "" "Test that *obj* is (or is not) an instance of *cls* (which can be a class or " "a tuple of classes, as supported by :func:`isinstance`). To check for the " @@ -1445,7 +1448,7 @@ msgstr "" "`isinstance`). Pour vérifier le type exact, utilisez :func:" "`assertIs(type(obj), cls) `." -#: library/unittest.rst:934 +#: library/unittest.rst:936 msgid "" "It is also possible to check the production of exceptions, warnings, and log " "messages using the following methods:" @@ -1453,15 +1456,15 @@ msgstr "" "Il est également possible de vérifier la production des exceptions, des " "avertissements et des messages de journaux à l'aide des méthodes suivantes :" -#: library/unittest.rst:940 +#: library/unittest.rst:942 msgid ":meth:`assertRaises(exc, fun, *args, **kwds) `" msgstr ":meth:`assertRaises(exc, fun, *args, **kwds) `" -#: library/unittest.rst:940 +#: library/unittest.rst:942 msgid "``fun(*args, **kwds)`` raises *exc*" msgstr "``fun(*args, **kwds)`` lève bien l'exception *exc*" -#: library/unittest.rst:943 +#: library/unittest.rst:945 msgid "" ":meth:`assertRaisesRegex(exc, r, fun, *args, **kwds) `" @@ -1469,21 +1472,21 @@ msgstr "" ":meth:`assertRaisesRegex(exc, r, fun, *args, **kwds) `" -#: library/unittest.rst:943 +#: library/unittest.rst:945 msgid "``fun(*args, **kwds)`` raises *exc* and the message matches regex *r*" msgstr "" "``fun(*args, **kwds)`` lève bien l'exception *exc* et que le message " "correspond au motif de l'expression régulière *r*" -#: library/unittest.rst:946 +#: library/unittest.rst:948 msgid ":meth:`assertWarns(warn, fun, *args, **kwds) `" msgstr ":meth:`assertWarns(warn, fun, *args, **kwds) `" -#: library/unittest.rst:946 +#: library/unittest.rst:948 msgid "``fun(*args, **kwds)`` raises *warn*" msgstr "``fun(*args, **kwds)`` lève bien l'avertissement *warn*" -#: library/unittest.rst:949 +#: library/unittest.rst:951 msgid "" ":meth:`assertWarnsRegex(warn, r, fun, *args, **kwds) `" @@ -1491,27 +1494,27 @@ msgstr "" ":meth:`assertWarnsRegex(warn, r, fun, *args, **kwds) `" -#: library/unittest.rst:949 +#: library/unittest.rst:951 msgid "``fun(*args, **kwds)`` raises *warn* and the message matches regex *r*" msgstr "" "``fun(*args, **kwds)`` lève bien l'avertissement *warn* et que le message " "correspond au motif de l'expression régulière *r*" -#: library/unittest.rst:952 +#: library/unittest.rst:954 msgid ":meth:`assertLogs(logger, level) `" msgstr ":meth:`assertLogs(logger, level) `" -#: library/unittest.rst:952 +#: library/unittest.rst:954 msgid "The ``with`` block logs on *logger* with minimum *level*" msgstr "" "Le bloc ``with`` écrit dans le *logger* avec un niveau minimum égal à " "*level*" -#: library/unittest.rst:952 +#: library/unittest.rst:954 msgid "3.4" msgstr "3.4" -#: library/unittest.rst:959 +#: library/unittest.rst:961 msgid "" "Test that an exception is raised when *callable* is called with any " "positional or keyword arguments that are also passed to :meth:" @@ -1527,7 +1530,7 @@ msgstr "" "Pour capturer une exception d'un groupe d'exceptions, un *n*-uplet contenant " "les classes d'exceptions peut être passé à *exception*." -#: library/unittest.rst:966 +#: library/unittest.rst:968 msgid "" "If only the *exception* and possibly the *msg* arguments are given, return a " "context manager so that the code under test can be written inline rather " @@ -1537,7 +1540,7 @@ msgstr "" "renvoie un gestionnaire de contexte pour que le code sous test puisse être " "écrit en ligne plutôt que comme une fonction ::" -#: library/unittest.rst:973 +#: library/unittest.rst:975 msgid "" "When used as a context manager, :meth:`assertRaises` accepts the additional " "keyword argument *msg*." @@ -1545,7 +1548,7 @@ msgstr "" "Lorsqu'il est utilisé comme gestionnaire de contexte, :meth:`assertRaises` " "accepte l'argument nommé supplémentaire *msg*." -#: library/unittest.rst:976 +#: library/unittest.rst:978 msgid "" "The context manager will store the caught exception object in its :attr:" "`exception` attribute. This can be useful if the intention is to perform " @@ -1555,23 +1558,23 @@ msgstr "" "attribut :attr:`exception`. Ceci est particulièrement utile si l'intention " "est d'effectuer des contrôles supplémentaires sur l'exception levée ::" -#: library/unittest.rst:986 +#: library/unittest.rst:988 msgid "Added the ability to use :meth:`assertRaises` as a context manager." msgstr "" "Ajout de la possibilité d'utiliser :meth:`assertRaises` comme gestionnaire " "de contexte." -#: library/unittest.rst:989 +#: library/unittest.rst:991 msgid "Added the :attr:`exception` attribute." msgstr "Ajout de l'attribut :attr:`exception`." -#: library/unittest.rst:1018 library/unittest.rst:1082 +#: library/unittest.rst:1020 library/unittest.rst:1084 msgid "Added the *msg* keyword argument when used as a context manager." msgstr "" "Ajout de l'argument nommé *msg* lorsqu'il est utilisé comme gestionnaire de " "contexte." -#: library/unittest.rst:999 +#: library/unittest.rst:1001 msgid "" "Like :meth:`assertRaises` but also tests that *regex* matches on the string " "representation of the raised exception. *regex* may be a regular expression " @@ -1584,19 +1587,19 @@ msgstr "" "expression rationnelle appropriée pour être utilisée par :func:`re.search`. " "Exemples ::" -#: library/unittest.rst:1075 +#: library/unittest.rst:1077 msgid "or::" msgstr "ou ::" -#: library/unittest.rst:1012 +#: library/unittest.rst:1014 msgid "Added under the name ``assertRaisesRegexp``." msgstr "Sous le nom ``assertRaisesRegexp``." -#: library/unittest.rst:1015 +#: library/unittest.rst:1017 msgid "Renamed to :meth:`assertRaisesRegex`." msgstr "Renommé en :meth:`assertRaisesRegex`." -#: library/unittest.rst:1025 +#: library/unittest.rst:1027 msgid "" "Test that a warning is triggered when *callable* is called with any " "positional or keyword arguments that are also passed to :meth:" @@ -1611,7 +1614,7 @@ msgstr "" "dans un ensemble d'avertissements, un *n*-uplet contenant les classes " "d'avertissement peut être passé à *warnings*." -#: library/unittest.rst:1032 +#: library/unittest.rst:1034 msgid "" "If only the *warning* and possibly the *msg* arguments are given, return a " "context manager so that the code under test can be written inline rather " @@ -1621,7 +1624,7 @@ msgstr "" "renvoie un gestionnaire de contexte pour que le code testé puisse être écrit " "en ligne plutôt que comme une fonction ::" -#: library/unittest.rst:1039 +#: library/unittest.rst:1041 msgid "" "When used as a context manager, :meth:`assertWarns` accepts the additional " "keyword argument *msg*." @@ -1629,7 +1632,7 @@ msgstr "" "Lorsqu'il est utilisé comme gestionnaire de contexte, :meth:`assertWarns` " "accepte l'argument nommé supplémentaire *msg*." -#: library/unittest.rst:1042 +#: library/unittest.rst:1044 msgid "" "The context manager will store the caught warning object in its :attr:" "`warning` attribute, and the source line which triggered the warnings in " @@ -1642,7 +1645,7 @@ msgstr "" "fonction peut être utile si l'intention est d'effectuer des contrôles " "supplémentaires sur l'avertissement capturé ::" -#: library/unittest.rst:1054 +#: library/unittest.rst:1056 msgid "" "This method works regardless of the warning filters in place when it is " "called." @@ -1650,7 +1653,7 @@ msgstr "" "Cette méthode fonctionne indépendamment des filtres d'avertissement en place " "lorsqu'elle est appelée." -#: library/unittest.rst:1066 +#: library/unittest.rst:1068 msgid "" "Like :meth:`assertWarns` but also tests that *regex* matches on the message " "of the triggered warning. *regex* may be a regular expression object or a " @@ -1662,7 +1665,7 @@ msgstr "" "régulière ou une chaîne contenant une expression régulière appropriée pour " "être utilisée par :func:`re.search`. Exemple ::" -#: library/unittest.rst:1087 +#: library/unittest.rst:1089 msgid "" "A context manager to test that at least one message is logged on the " "*logger* or one of its children, with at least the given *level*." @@ -1671,7 +1674,7 @@ msgstr "" "enregistré sur le *logger* ou un de ses enfants, avec au moins le *niveau* " "donné." -#: library/unittest.rst:1091 +#: library/unittest.rst:1093 msgid "" "If given, *logger* should be a :class:`logging.Logger` object or a :class:" "`str` giving the name of a logger. The default is the root logger, which " @@ -1683,7 +1686,7 @@ msgstr "" "journal racine *root*, qui capture tous les messages qui n'ont pas été " "arrêtés par un *logger* ne propageant pas les messages." -#: library/unittest.rst:1096 +#: library/unittest.rst:1098 msgid "" "If given, *level* should be either a numeric logging level or its string " "equivalent (for example either ``\"ERROR\"`` or :attr:`logging.ERROR`). The " @@ -1693,7 +1696,7 @@ msgstr "" "forme de chaîne (par exemple ``\"ERROR\"`` ou :attr:`logging.ERROR`). La " "valeur par défaut est :attr:`logging.INFO`." -#: library/unittest.rst:1100 +#: library/unittest.rst:1102 msgid "" "The test passes if at least one message emitted inside the ``with`` block " "matches the *logger* and *level* conditions, otherwise it fails." @@ -1701,7 +1704,7 @@ msgstr "" "Le test passe si au moins un message émis à l'intérieur du bloc ``with`` " "correspond aux conditions *logger* et *level*, sinon il échoue." -#: library/unittest.rst:1103 +#: library/unittest.rst:1105 msgid "" "The object returned by the context manager is a recording helper which keeps " "tracks of the matching log messages. It has two attributes:" @@ -1710,14 +1713,14 @@ msgstr "" "l'enregistrement qui garde la trace des messages de journal correspondants. " "Il a deux attributs  ::" -#: library/unittest.rst:1109 +#: library/unittest.rst:1111 msgid "" "A list of :class:`logging.LogRecord` objects of the matching log messages." msgstr "" "Une liste d'objets :class:`logging.LogRecord` de messages de log " "correspondants." -#: library/unittest.rst:1114 +#: library/unittest.rst:1116 msgid "" "A list of :class:`str` objects with the formatted output of matching " "messages." @@ -1725,86 +1728,86 @@ msgstr "" "Une liste d'objets :class:`str` avec la sortie formatée des messages " "correspondants." -#: library/unittest.rst:1117 +#: library/unittest.rst:1119 msgid "Example::" msgstr "Exemple ::" -#: library/unittest.rst:1128 +#: library/unittest.rst:1130 msgid "" "There are also other methods used to perform more specific checks, such as:" msgstr "" "Il existe également d'autres méthodes utilisées pour effectuer des contrôles " "plus spécifiques, telles que  ::" -#: library/unittest.rst:1133 +#: library/unittest.rst:1135 msgid ":meth:`assertAlmostEqual(a, b) `" msgstr ":meth:`assertAlmostEqual(a, b) `" -#: library/unittest.rst:1133 +#: library/unittest.rst:1135 msgid "``round(a-b, 7) == 0``" msgstr "``round(a-b, 7) == 0``" -#: library/unittest.rst:1136 +#: library/unittest.rst:1138 msgid ":meth:`assertNotAlmostEqual(a, b) `" msgstr ":meth:`assertNotAlmostEqual(a, b) `" -#: library/unittest.rst:1136 +#: library/unittest.rst:1138 msgid "``round(a-b, 7) != 0``" msgstr "``round(a-b, 7) != 0``" -#: library/unittest.rst:1139 +#: library/unittest.rst:1141 msgid ":meth:`assertGreater(a, b) `" msgstr ":meth:`assertGreater(a, b) `" -#: library/unittest.rst:1139 +#: library/unittest.rst:1141 msgid "``a > b``" msgstr "``a > b``" -#: library/unittest.rst:1142 +#: library/unittest.rst:1144 msgid ":meth:`assertGreaterEqual(a, b) `" msgstr ":meth:`assertGreaterEqual(a, b) `" -#: library/unittest.rst:1142 +#: library/unittest.rst:1144 msgid "``a >= b``" msgstr "``a >= b``" -#: library/unittest.rst:1145 +#: library/unittest.rst:1147 msgid ":meth:`assertLess(a, b) `" msgstr ":meth:`assertLess(a, b) `" -#: library/unittest.rst:1145 +#: library/unittest.rst:1147 msgid "``a < b``" msgstr "``a < b``" -#: library/unittest.rst:1148 +#: library/unittest.rst:1150 msgid ":meth:`assertLessEqual(a, b) `" msgstr ":meth:`assertLessEqual(a, b) `" -#: library/unittest.rst:1148 +#: library/unittest.rst:1150 msgid "``a <= b``" msgstr "``a <= b``" -#: library/unittest.rst:1151 +#: library/unittest.rst:1153 msgid ":meth:`assertRegex(s, r) `" msgstr ":meth:`assertRegex(s, r) `" -#: library/unittest.rst:1151 +#: library/unittest.rst:1153 msgid "``r.search(s)``" msgstr "``r.search(s)``" -#: library/unittest.rst:1154 +#: library/unittest.rst:1156 msgid ":meth:`assertNotRegex(s, r) `" msgstr ":meth:`assertNotRegex(s, r) `" -#: library/unittest.rst:1154 +#: library/unittest.rst:1156 msgid "``not r.search(s)``" msgstr "``not r.search(s)``" -#: library/unittest.rst:1157 +#: library/unittest.rst:1159 msgid ":meth:`assertCountEqual(a, b) `" msgstr ":meth:`assertCountEqual(a, b) `" -#: library/unittest.rst:1157 +#: library/unittest.rst:1159 msgid "" "*a* and *b* have the same elements in the same number, regardless of their " "order." @@ -1812,7 +1815,7 @@ msgstr "" "*a* et *b* ont les mêmes éléments dans le même nombre, quel que soit leur " "ordre." -#: library/unittest.rst:1166 +#: library/unittest.rst:1168 msgid "" "Test that *first* and *second* are approximately (or not approximately) " "equal by computing the difference, rounding to the given number of decimal " @@ -1827,7 +1830,7 @@ msgstr "" "*décimales* (par exemple comme la fonction :func:`round`) et non aux " "*chiffres significatifs*." -#: library/unittest.rst:1172 +#: library/unittest.rst:1174 msgid "" "If *delta* is supplied instead of *places* then the difference between " "*first* and *second* must be less or equal to (or greater than) *delta*." @@ -1835,11 +1838,11 @@ msgstr "" "Si *delta* est fourni au lieu de *places*, la différence entre *first* et " "*second* doit être inférieure ou égale (ou supérieure) à *delta*." -#: library/unittest.rst:1175 +#: library/unittest.rst:1177 msgid "Supplying both *delta* and *places* raises a :exc:`TypeError`." msgstr "Fournir à la fois *delta* et *places* lève une :exc:`TypeError`." -#: library/unittest.rst:1177 +#: library/unittest.rst:1179 msgid "" ":meth:`assertAlmostEqual` automatically considers almost equal objects that " "compare equal. :meth:`assertNotAlmostEqual` automatically fails if the " @@ -1850,7 +1853,7 @@ msgstr "" "automatiquement si les objets qui se comparent sont égaux. Ajout de " "l'argument nommé *delta*." -#: library/unittest.rst:1188 +#: library/unittest.rst:1190 msgid "" "Test that *first* is respectively >, >=, < or <= than *second* depending on " "the method name. If not, the test will fail::" @@ -1858,7 +1861,7 @@ msgstr "" "Vérifie que *first* est respectivement >, >=, >=, < ou <= à *second* selon " "le nom de la méthode. Sinon, le test échouera ::" -#: library/unittest.rst:1200 +#: library/unittest.rst:1202 msgid "" "Test that a *regex* search matches (or does not match) *text*. In case of " "failure, the error message will include the pattern and the *text* (or the " @@ -1873,22 +1876,22 @@ msgstr "" "chaîne contenant une expression régulière appropriée pour être utilisée par :" "func:`re.search`." -#: library/unittest.rst:1206 +#: library/unittest.rst:1208 msgid "Added under the name ``assertRegexpMatches``." msgstr "Ajouté sous le nom ``assertRegexpMatches``." -#: library/unittest.rst:1208 +#: library/unittest.rst:1210 msgid "" "The method ``assertRegexpMatches()`` has been renamed to :meth:`." "assertRegex`." msgstr "" "La méthode ``assertRegexpMatches()`` a été renommé en :meth:`.assertRegex`." -#: library/unittest.rst:1211 +#: library/unittest.rst:1213 msgid ":meth:`.assertNotRegex`." msgstr ":meth:`.assertNotRegex`." -#: library/unittest.rst:1213 +#: library/unittest.rst:1215 msgid "" "The name ``assertNotRegexpMatches`` is a deprecated alias for :meth:`." "assertNotRegex`." @@ -1896,7 +1899,7 @@ msgstr "" "Le nom ``assertNotRegexpMatches``` est un alias obsolète pour :meth:`." "assertNotRegex`." -#: library/unittest.rst:1220 +#: library/unittest.rst:1222 msgid "" "Test that sequence *first* contains the same elements as *second*, " "regardless of their order. When they don't, an error message listing the " @@ -1906,7 +1909,7 @@ msgstr "" "quel que soit leur ordre. Si ce n'est pas le cas, un message d'erreur " "indiquant les différences entre les séquences est généré." -#: library/unittest.rst:1224 +#: library/unittest.rst:1226 msgid "" "Duplicate elements are *not* ignored when comparing *first* and *second*. It " "verifies whether each element has the same count in both sequences. " @@ -1919,7 +1922,7 @@ msgstr "" "Counter(list(second)))`` mais fonctionne aussi avec des séquences d'objets " "non *hachables*." -#: library/unittest.rst:1235 +#: library/unittest.rst:1237 msgid "" "The :meth:`assertEqual` method dispatches the equality check for objects of " "the same type to different type-specific methods. These methods are already " @@ -1932,7 +1935,7 @@ msgstr "" "possible d'enregistrer de nouvelles méthodes en utilisant :meth:" "`addTypeEqualityFunc`  ::" -#: library/unittest.rst:1242 +#: library/unittest.rst:1244 msgid "" "Registers a type-specific method called by :meth:`assertEqual` to check if " "two objects of exactly the same *typeobj* (not subclasses) compare equal. " @@ -1951,7 +1954,7 @@ msgstr "" "fournissant éventuellement des informations utiles et expliquant l'inégalité " "en détail dans le message d'erreur." -#: library/unittest.rst:1253 +#: library/unittest.rst:1255 msgid "" "The list of type-specific methods automatically used by :meth:`~TestCase." "assertEqual` are summarized in the following table. Note that it's usually " @@ -1961,59 +1964,59 @@ msgstr "" "`~TestCase.assertEqual` est résumée dans le tableau suivant. Notez qu'il " "n'est généralement pas nécessaire d'invoquer ces méthodes directement." -#: library/unittest.rst:1258 +#: library/unittest.rst:1260 msgid "Used to compare" msgstr "Utilisé pour comparer" -#: library/unittest.rst:1260 +#: library/unittest.rst:1262 msgid ":meth:`assertMultiLineEqual(a, b) `" msgstr ":meth:`assertMultiLineEqual(a, b) `" -#: library/unittest.rst:1260 +#: library/unittest.rst:1262 msgid "strings" msgstr "chaînes" -#: library/unittest.rst:1263 +#: library/unittest.rst:1265 msgid ":meth:`assertSequenceEqual(a, b) `" msgstr ":meth:`assertSequenceEqual(a, b) `" -#: library/unittest.rst:1263 +#: library/unittest.rst:1265 msgid "sequences" msgstr "séquences" -#: library/unittest.rst:1266 +#: library/unittest.rst:1268 msgid ":meth:`assertListEqual(a, b) `" msgstr ":meth:`assertListEqual(a, b) `" -#: library/unittest.rst:1266 +#: library/unittest.rst:1268 msgid "lists" msgstr "listes" -#: library/unittest.rst:1269 +#: library/unittest.rst:1271 msgid ":meth:`assertTupleEqual(a, b) `" msgstr ":meth:`assertTupleEqual(a, b) `" -#: library/unittest.rst:1269 +#: library/unittest.rst:1271 msgid "tuples" msgstr "*n*-uplets" -#: library/unittest.rst:1272 +#: library/unittest.rst:1274 msgid ":meth:`assertSetEqual(a, b) `" msgstr ":meth:`assertSetEqual(a, b) `" -#: library/unittest.rst:1272 +#: library/unittest.rst:1274 msgid "sets or frozensets" msgstr "*sets* ou *frozensets*" -#: library/unittest.rst:1275 +#: library/unittest.rst:1277 msgid ":meth:`assertDictEqual(a, b) `" msgstr ":meth:`assertDictEqual(a, b) `" -#: library/unittest.rst:1275 +#: library/unittest.rst:1277 msgid "dicts" msgstr "dictionnaires" -#: library/unittest.rst:1283 +#: library/unittest.rst:1285 msgid "" "Test that the multiline string *first* is equal to the string *second*. When " "not equal a diff of the two strings highlighting the differences will be " @@ -2026,7 +2029,7 @@ msgstr "" "Cette méthode est utilisée par défaut pour comparer les chaînes avec :meth:" "`assertEqual`." -#: library/unittest.rst:1293 +#: library/unittest.rst:1295 msgid "" "Tests that two sequences are equal. If a *seq_type* is supplied, both " "*first* and *second* must be instances of *seq_type* or a failure will be " @@ -2038,7 +2041,7 @@ msgstr "" "est levé. Si les séquences sont différentes, un message d'erreur indiquant " "la différence entre les deux est généré." -#: library/unittest.rst:1298 +#: library/unittest.rst:1300 msgid "" "This method is not called directly by :meth:`assertEqual`, but it's used to " "implement :meth:`assertListEqual` and :meth:`assertTupleEqual`." @@ -2046,7 +2049,7 @@ msgstr "" "Cette méthode n'est pas appelée directement par :meth:`assertEqual`, mais " "sert à implémenter :meth:`assertListEqual` et :meth:`assertTupleEqual`." -#: library/unittest.rst:1308 +#: library/unittest.rst:1310 msgid "" "Tests that two lists or tuples are equal. If not, an error message is " "constructed that shows only the differences between the two. An error is " @@ -2059,7 +2062,7 @@ msgstr "" "paramètres n'est pas du bon type. Ces méthodes sont utilisées par défaut " "pour comparer des listes ou des *n*-uplets avec :meth:`assertEqual`." -#: library/unittest.rst:1319 +#: library/unittest.rst:1321 msgid "" "Tests that two sets are equal. If not, an error message is constructed that " "lists the differences between the sets. This method is used by default when " @@ -2070,7 +2073,7 @@ msgstr "" "méthode est utilisée par défaut lors de la comparaison de *sets* ou de " "*frozensets* avec :meth:`assertEqual`." -#: library/unittest.rst:1323 +#: library/unittest.rst:1325 msgid "" "Fails if either of *first* or *second* does not have a :meth:`set." "difference` method." @@ -2078,7 +2081,7 @@ msgstr "" "Échoue si l'un des objets *first* ou *second* n'a pas de méthode :meth:`set." "difference`." -#: library/unittest.rst:1331 +#: library/unittest.rst:1333 msgid "" "Test that two dictionaries are equal. If not, an error message is " "constructed that shows the differences in the dictionaries. This method will " @@ -2089,14 +2092,14 @@ msgstr "" "généré. Cette méthode est utilisée par défaut pour comparer les " "dictionnaires dans les appels à :meth:`assertEqual`." -#: library/unittest.rst:1342 +#: library/unittest.rst:1344 msgid "" "Finally the :class:`TestCase` provides the following methods and attributes:" msgstr "" "Enfin, la classe :class:`TestCase` fournit les méthodes et attributs " "suivants :" -#: library/unittest.rst:1347 +#: library/unittest.rst:1349 msgid "" "Signals a test failure unconditionally, with *msg* or ``None`` for the error " "message." @@ -2104,7 +2107,7 @@ msgstr "" "Indique un échec du test sans condition, avec *msg* ou ``None`` pour le " "message d'erreur." -#: library/unittest.rst:1353 +#: library/unittest.rst:1355 msgid "" "This class attribute gives the exception raised by the test method. If a " "test framework needs to use a specialized exception, possibly to carry " @@ -2118,7 +2121,7 @@ msgstr "" "hériter de cette classe d'exception pour *bien fonctionner* avec le " "*framework*. La valeur initiale de cet attribut est :exc:`AssertionError`." -#: library/unittest.rst:1362 +#: library/unittest.rst:1364 msgid "" "This class attribute determines what happens when a custom failure message " "is passed as the msg argument to an assertXYY call that fails. ``True`` is " @@ -2133,7 +2136,7 @@ msgstr "" "Lorsqu'il est réglé sur ``False``, le message personnalisé remplace le " "message standard." -#: library/unittest.rst:1368 +#: library/unittest.rst:1370 msgid "" "The class setting can be overridden in individual test methods by assigning " "an instance attribute, self.longMessage, to ``True`` or ``False`` before " @@ -2143,11 +2146,11 @@ msgstr "" "individuelles en assignant un attribut d'instance, *self.longMessage*, à " "``True`` ou ``False`` avant d'appeler les méthodes d'assertion." -#: library/unittest.rst:1372 +#: library/unittest.rst:1374 msgid "The class setting gets reset before each test call." msgstr "Le réglage de la classe est réinitialisé avant chaque appel de test." -#: library/unittest.rst:1379 +#: library/unittest.rst:1381 msgid "" "This attribute controls the maximum length of diffs output by assert methods " "that report diffs on failure. It defaults to 80*8 characters. Assert methods " @@ -2162,7 +2165,7 @@ msgstr "" "séquences qui lui sont déléguées), :meth:`assertDictEqual` et :meth:" "`assertMultiLineEqual`." -#: library/unittest.rst:1386 +#: library/unittest.rst:1388 msgid "" "Setting ``maxDiff`` to ``None`` means that there is no maximum length of " "diffs." @@ -2170,7 +2173,7 @@ msgstr "" "Régler ``maxDiff`` sur ``None``` signifie qu'il n'y a pas de longueur " "maximale pour les *diffs*." -#: library/unittest.rst:1392 +#: library/unittest.rst:1394 msgid "" "Testing frameworks can use the following methods to collect information on " "the test:" @@ -2178,7 +2181,7 @@ msgstr "" "Les *frameworks* de test peuvent utiliser les méthodes suivantes pour " "recueillir des informations sur le test :" -#: library/unittest.rst:1398 +#: library/unittest.rst:1400 msgid "" "Return the number of tests represented by this test object. For :class:" "`TestCase` instances, this will always be ``1``." @@ -2186,7 +2189,7 @@ msgstr "" "Renvoie le nombre de tests représentés par cet objet test. Pour les " "instances de :class:`TestCase`, c'est toujours ``1``." -#: library/unittest.rst:1404 +#: library/unittest.rst:1406 msgid "" "Return an instance of the test result class that should be used for this " "test case class (if no other result instance is provided to the :meth:`run` " @@ -2196,7 +2199,7 @@ msgstr "" "utilisée pour cette classe de cas de test (si aucune autre instance de " "résultat n'est fournie à la méthode :meth:`run`)." -#: library/unittest.rst:1408 +#: library/unittest.rst:1410 msgid "" "For :class:`TestCase` instances, this will always be an instance of :class:" "`TestResult`; subclasses of :class:`TestCase` should override this as " @@ -2206,7 +2209,7 @@ msgstr "" "class:`TestResult` ; les sous-classes de :class:`TestCase` peuvent la " "remplacer au besoin." -#: library/unittest.rst:1415 +#: library/unittest.rst:1417 msgid "" "Return a string identifying the specific test case. This is usually the " "full name of the test method, including the module and class name." @@ -2215,7 +2218,7 @@ msgstr "" "généralement du nom complet de la méthode de test, y compris le nom du " "module et de la classe." -#: library/unittest.rst:1421 +#: library/unittest.rst:1423 msgid "" "Returns a description of the test, or ``None`` if no description has been " "provided. The default implementation of this method returns the first line " @@ -2225,7 +2228,7 @@ msgstr "" "fournie. L'implémentation par défaut de cette méthode renvoie la première " "ligne de la *docstring* de la méthode de test, si disponible, ou ``None``." -#: library/unittest.rst:1426 +#: library/unittest.rst:1428 msgid "" "In 3.1 this was changed to add the test name to the short description even " "in the presence of a docstring. This caused compatibility issues with " @@ -2237,7 +2240,7 @@ msgstr "" "compatibilité avec les extensions *unittest* et l'ajout du nom du test a été " "déplacé dans la classe :class:`TextTestResult` dans Python 3.2." -#: library/unittest.rst:1435 +#: library/unittest.rst:1437 msgid "" "Add a function to be called after :meth:`tearDown` to cleanup resources used " "during the test. Functions will be called in reverse order to the order they " @@ -2252,7 +2255,7 @@ msgstr "" "arguments positionnels et arguments nommés passés à :meth:`addCleanup` quand " "elles sont ajoutées." -#: library/unittest.rst:1441 +#: library/unittest.rst:1443 msgid "" "If :meth:`setUp` fails, meaning that :meth:`tearDown` is not called, then " "any cleanup functions added will still be called." @@ -2261,7 +2264,7 @@ msgstr "" "appelé, alors que les fonctions de nettoyage ajoutées seront toujours " "appelées." -#: library/unittest.rst:1449 +#: library/unittest.rst:1451 msgid "" "This method is called unconditionally after :meth:`tearDown`, or after :meth:" "`setUp` if :meth:`setUp` raises an exception." @@ -2269,7 +2272,7 @@ msgstr "" "Cette méthode est appelée sans conditions après :meth:`tearDown`, ou après :" "meth:`setUp` si :meth:`setUp` lève une exception." -#: library/unittest.rst:1452 +#: library/unittest.rst:1454 msgid "" "It is responsible for calling all the cleanup functions added by :meth:" "`addCleanup`. If you need cleanup functions to be called *prior* to :meth:" @@ -2280,7 +2283,7 @@ msgstr "" "nettoyage à appeler *avant* l'appel à :meth:`tearDown` alors vous pouvez " "appeler :meth:`doCleanups` vous-même." -#: library/unittest.rst:1457 +#: library/unittest.rst:1459 msgid "" ":meth:`doCleanups` pops methods off the stack of cleanup functions one at a " "time, so it can be called at any time." @@ -2289,7 +2292,7 @@ msgstr "" "nettoyage une à la fois, de sorte qu'elles peuvent être appelées à tout " "moment." -#: library/unittest.rst:1464 +#: library/unittest.rst:1466 msgid "" "Add a function to be called after :meth:`tearDownClass` to cleanup resources " "used during the test class. Functions will be called in reverse order to the " @@ -2304,7 +2307,7 @@ msgstr "" "arguments positionnels et nommés passés à :meth:`addClassCleanup` quand " "elles sont ajoutées." -#: library/unittest.rst:1470 +#: library/unittest.rst:1472 msgid "" "If :meth:`setUpClass` fails, meaning that :meth:`tearDownClass` is not " "called, then any cleanup functions added will still be called." @@ -2312,7 +2315,7 @@ msgstr "" "Si :meth:`setUpClass` échoue, impliquant que :meth:`tearDownClass` n'est pas " "appelé, alors les fonctions de nettoyage ajoutées sont quand même appelées." -#: library/unittest.rst:1478 +#: library/unittest.rst:1480 msgid "" "This method is called unconditionally after :meth:`tearDownClass`, or after :" "meth:`setUpClass` if :meth:`setUpClass` raises an exception." @@ -2320,7 +2323,7 @@ msgstr "" "Cette méthode est appelée sans conditions après :meth:`tearDownClass`, ou " "après :meth:`setUpClass` si :meth:`setUpClass` lève une exception." -#: library/unittest.rst:1481 +#: library/unittest.rst:1483 msgid "" "It is responsible for calling all the cleanup functions added by :meth:" "`addClassCleanup`. If you need cleanup functions to be called *prior* to :" @@ -2331,7 +2334,7 @@ msgstr "" "nettoyage à appeler *avant* l'appel à :meth:`tearDownClass` alors vous " "pouvez appeler :meth:`doClassCleanups` vous-même." -#: library/unittest.rst:1486 +#: library/unittest.rst:1488 msgid "" ":meth:`doClassCleanups` pops methods off the stack of cleanup functions one " "at a time, so it can be called at any time." @@ -2340,7 +2343,7 @@ msgstr "" "nettoyage une à la fois, de sorte qu'elles peuvent être appelées à tout " "moment." -#: library/unittest.rst:1494 +#: library/unittest.rst:1496 msgid "" "This class provides an API similar to :class:`TestCase` and also accepts " "coroutines as test functions." @@ -2348,7 +2351,7 @@ msgstr "" "Cette classe fournit une API similaire à :class:`TestCase` et accepte aussi " "les coroutines en tant que fonctions de test." -#: library/unittest.rst:1501 +#: library/unittest.rst:1503 msgid "" "Method called to prepare the test fixture. This is called after :meth:" "`setUp`. This is called immediately before calling the test method; other " @@ -2363,7 +2366,7 @@ msgstr "" "erreur et non pas comme un échec du test. L'implémentation par défaut ne " "fait rien." -#: library/unittest.rst:1509 +#: library/unittest.rst:1511 msgid "" "Method called immediately after the test method has been called and the " "result recorded. This is called before :meth:`tearDown`. This is called " @@ -2387,13 +2390,13 @@ msgstr "" "soit le résultat de la méthode de test. L'implémentation par défaut ne fait " "rien." -#: library/unittest.rst:1521 +#: library/unittest.rst:1523 msgid "This method accepts a coroutine that can be used as a cleanup function." msgstr "" "Cette méthode accepte une coroutine qui peut être utilisée comme fonction de " "nettoyage." -#: library/unittest.rst:1525 +#: library/unittest.rst:1527 msgid "" "Sets up a new event loop to run the test, collecting the result into the :" "class:`TestResult` object passed as *result*. If *result* is omitted or " @@ -2409,11 +2412,11 @@ msgstr "" "utilisé. L'objet résultat est renvoyé à l'appelant de :meth:`run`. À la fin " "du test, toutes les taches de la boucle d’événements sont annulées." -#: library/unittest.rst:1533 +#: library/unittest.rst:1535 msgid "An example illustrating the order::" msgstr "Exemple illustrant l'ordre ::" -#: library/unittest.rst:1569 +#: library/unittest.rst:1571 msgid "" "After running the test, ``events`` would contain ``[\"setUp\", \"asyncSetUp" "\", \"test_response\", \"asyncTearDown\", \"tearDown\", \"cleanup\"]``." @@ -2422,7 +2425,7 @@ msgstr "" "\"asyncSetUp\", \"test_response\", \"asyncTearDown\", \"tearDown\", \"cleanup" "\"]``." -#: library/unittest.rst:1574 +#: library/unittest.rst:1576 msgid "" "This class implements the portion of the :class:`TestCase` interface which " "allows the test runner to drive the test, but does not provide the methods " @@ -2437,11 +2440,11 @@ msgstr "" "code de test existant afin de faciliter l'intégration dans un *framework* de " "test basé sur :mod:`unittest`." -#: library/unittest.rst:1584 +#: library/unittest.rst:1586 msgid "Deprecated aliases" msgstr "Alias obsolètes" -#: library/unittest.rst:1586 +#: library/unittest.rst:1588 msgid "" "For historical reasons, some of the :class:`TestCase` methods had one or " "more aliases that are now deprecated. The following table lists the correct " @@ -2451,123 +2454,123 @@ msgstr "" "`TestCase` avaient un ou plusieurs alias qui sont maintenant obsolètes. Le " "tableau suivant énumère les noms corrects ainsi que leurs alias obsolètes  ::" -#: library/unittest.rst:1591 +#: library/unittest.rst:1593 msgid "Method Name" msgstr "Nom de méthode" -#: library/unittest.rst:1591 +#: library/unittest.rst:1593 msgid "Deprecated alias" msgstr "Alias obsolètes" -#: library/unittest.rst:1593 +#: library/unittest.rst:1595 msgid ":meth:`.assertEqual`" msgstr ":meth:`.assertEqual`" -#: library/unittest.rst:1593 +#: library/unittest.rst:1595 msgid "failUnlessEqual" msgstr "failUnlessEqual" -#: library/unittest.rst:1593 +#: library/unittest.rst:1595 msgid "assertEquals" msgstr "assertEquals" -#: library/unittest.rst:1594 +#: library/unittest.rst:1596 msgid ":meth:`.assertNotEqual`" msgstr ":meth:`.assertNotEqual`" -#: library/unittest.rst:1594 +#: library/unittest.rst:1596 msgid "failIfEqual" msgstr "failIfEqual" -#: library/unittest.rst:1594 +#: library/unittest.rst:1596 msgid "assertNotEquals" msgstr "assertNotEquals" -#: library/unittest.rst:1595 +#: library/unittest.rst:1597 msgid ":meth:`.assertTrue`" msgstr ":meth:`.assertTrue`" -#: library/unittest.rst:1595 +#: library/unittest.rst:1597 msgid "failUnless" msgstr "failUnless" -#: library/unittest.rst:1595 +#: library/unittest.rst:1597 msgid "assert\\_" msgstr "assert\\_" -#: library/unittest.rst:1596 +#: library/unittest.rst:1598 msgid ":meth:`.assertFalse`" msgstr ":meth:`.assertFalse`" -#: library/unittest.rst:1596 +#: library/unittest.rst:1598 msgid "failIf" msgstr "failIf" -#: library/unittest.rst:1597 +#: library/unittest.rst:1599 msgid ":meth:`.assertRaises`" msgstr ":meth:`.assertRaises`" -#: library/unittest.rst:1597 +#: library/unittest.rst:1599 msgid "failUnlessRaises" msgstr "failUnlessRaises" -#: library/unittest.rst:1598 +#: library/unittest.rst:1600 msgid ":meth:`.assertAlmostEqual`" msgstr ":meth:`.assertAlmostEqual`" -#: library/unittest.rst:1598 +#: library/unittest.rst:1600 msgid "failUnlessAlmostEqual" msgstr "failUnlessAlmostEqual" -#: library/unittest.rst:1598 +#: library/unittest.rst:1600 msgid "assertAlmostEquals" msgstr "assertAlmostEquals" -#: library/unittest.rst:1599 +#: library/unittest.rst:1601 msgid ":meth:`.assertNotAlmostEqual`" msgstr ":meth:`.assertNotAlmostEqual`" -#: library/unittest.rst:1599 +#: library/unittest.rst:1601 msgid "failIfAlmostEqual" msgstr "failIfAlmostEqual" -#: library/unittest.rst:1599 +#: library/unittest.rst:1601 msgid "assertNotAlmostEquals" msgstr "assertNotAlmostEquals" -#: library/unittest.rst:1600 +#: library/unittest.rst:1602 msgid ":meth:`.assertRegex`" msgstr ":meth:`.assertRegex`" -#: library/unittest.rst:1600 +#: library/unittest.rst:1602 msgid "assertRegexpMatches" msgstr "assertRegexpMatches" -#: library/unittest.rst:1601 +#: library/unittest.rst:1603 msgid ":meth:`.assertNotRegex`" msgstr ":meth:`.assertNotRegex`" -#: library/unittest.rst:1601 +#: library/unittest.rst:1603 msgid "assertNotRegexpMatches" msgstr "assertNotRegexpMatches" -#: library/unittest.rst:1602 +#: library/unittest.rst:1604 msgid ":meth:`.assertRaisesRegex`" msgstr ":meth:`.assertRaisesRegex`" -#: library/unittest.rst:1602 +#: library/unittest.rst:1604 msgid "assertRaisesRegexp" msgstr "assertRaisesRegexp" -#: library/unittest.rst:1605 +#: library/unittest.rst:1607 msgid "The fail* aliases listed in the second column have been deprecated." msgstr "Les alias ``fail*`` sont énumérés dans la deuxième colonne." -#: library/unittest.rst:1607 +#: library/unittest.rst:1609 msgid "The assert* aliases listed in the third column have been deprecated." msgstr "Les alias ``assert*`` sont énumérés dans la troisième colonne." -#: library/unittest.rst:1609 +#: library/unittest.rst:1611 msgid "" "``assertRegexpMatches`` and ``assertRaisesRegexp`` have been renamed to :" "meth:`.assertRegex` and :meth:`.assertRaisesRegex`." @@ -2575,7 +2578,7 @@ msgstr "" "Les expressions ``assertRegexpMatches`` et ``assertRaisesRegexp`` ont été " "renommées en :meth:`.assertRegex` et :meth:`.assertRaisesRegex`." -#: library/unittest.rst:1612 +#: library/unittest.rst:1614 msgid "" "The ``assertNotRegexpMatches`` name is deprecated in favor of :meth:`." "assertNotRegex`." @@ -2583,11 +2586,11 @@ msgstr "" "Le nom ``assertNotRegexpMatches`` est obsolète en faveur de :meth:`." "assertNotRegex`." -#: library/unittest.rst:1618 +#: library/unittest.rst:1620 msgid "Grouping tests" msgstr "Regroupement des tests" -#: library/unittest.rst:1622 +#: library/unittest.rst:1624 msgid "" "This class represents an aggregation of individual test cases and test " "suites. The class presents the interface needed by the test runner to allow " @@ -2600,7 +2603,7 @@ msgstr "" "instance de :class:`TestSuite` est identique à l'itération sur la suite, en " "exécutant chaque test indépendamment." -#: library/unittest.rst:1627 +#: library/unittest.rst:1629 msgid "" "If *tests* is given, it must be an iterable of individual test cases or " "other test suites that will be used to build the suite initially. Additional " @@ -2611,7 +2614,7 @@ msgstr "" "la suite initial. Des méthodes supplémentaires sont fournies pour ajouter " "ultérieurement des cas de test et des suites à la collection." -#: library/unittest.rst:1631 +#: library/unittest.rst:1633 msgid "" ":class:`TestSuite` objects behave much like :class:`TestCase` objects, " "except they do not actually implement a test. Instead, they are used to " @@ -2625,12 +2628,12 @@ msgstr "" "doivent être exécutés ensemble. Des méthodes supplémentaires sont " "disponibles pour ajouter des tests aux instances de :class:`TestSuite` :" -#: library/unittest.rst:1639 +#: library/unittest.rst:1641 msgid "Add a :class:`TestCase` or :class:`TestSuite` to the suite." msgstr "" "Ajouter un objet :class:`TestCase` ou :class:`TestSuite` à la suite de tests." -#: library/unittest.rst:1644 +#: library/unittest.rst:1646 msgid "" "Add all the tests from an iterable of :class:`TestCase` and :class:" "`TestSuite` instances to this test suite." @@ -2638,7 +2641,7 @@ msgstr "" "Ajouter tous les tests d'un itérable d'instances de :class:`TestCase` et de :" "class:`TestSuite` à cette suite de tests." -#: library/unittest.rst:1647 +#: library/unittest.rst:1649 msgid "" "This is equivalent to iterating over *tests*, calling :meth:`addTest` for " "each element." @@ -2646,12 +2649,12 @@ msgstr "" "C'est l'équivalent d'une itération sur *tests*, appelant :meth:`addTest` " "pour chaque élément." -#: library/unittest.rst:1650 +#: library/unittest.rst:1652 msgid ":class:`TestSuite` shares the following methods with :class:`TestCase`:" msgstr "" ":class:`TestSuite` partage les méthodes suivantes avec :class:`TestCase` :" -#: library/unittest.rst:1655 +#: library/unittest.rst:1657 msgid "" "Run the tests associated with this suite, collecting the result into the " "test result object passed as *result*. Note that unlike :meth:`TestCase." @@ -2662,7 +2665,7 @@ msgstr "" "à :meth:`TestCase.run`, :meth:`TestSuite.run` nécessite que l'objet résultat " "soit passé." -#: library/unittest.rst:1663 +#: library/unittest.rst:1665 msgid "" "Run the tests associated with this suite without collecting the result. This " "allows exceptions raised by the test to be propagated to the caller and can " @@ -2672,7 +2675,7 @@ msgstr "" "permet aux exceptions levées par le test d'être propagées à l'appelant et " "peut être utilisé pour exécuter des tests sous un débogueur." -#: library/unittest.rst:1670 +#: library/unittest.rst:1672 msgid "" "Return the number of tests represented by this test object, including all " "individual tests and sub-suites." @@ -2680,7 +2683,7 @@ msgstr "" "Renvoie le nombre de tests représentés par cet objet de test, y compris tous " "les tests individuels et les sous-suites." -#: library/unittest.rst:1676 +#: library/unittest.rst:1678 msgid "" "Tests grouped by a :class:`TestSuite` are always accessed by iteration. " "Subclasses can lazily provide tests by overriding :meth:`__iter__`. Note " @@ -2702,7 +2705,7 @@ msgstr "" "n'utilisent une sous-classe qui remplace :meth:`TestSuite." "_removeTestAtIndex` pour préserver les références des tests." -#: library/unittest.rst:1686 +#: library/unittest.rst:1688 msgid "" "In earlier versions the :class:`TestSuite` accessed tests directly rather " "than through iteration, so overriding :meth:`__iter__` wasn't sufficient for " @@ -2712,7 +2715,7 @@ msgstr "" "tests directement plutôt que par itération, donc surcharger la méthode :meth:" "`__iter__` n'était pas suffisante pour fournir les tests." -#: library/unittest.rst:1691 +#: library/unittest.rst:1693 msgid "" "In earlier versions the :class:`TestSuite` held references to each :class:" "`TestCase` after :meth:`TestSuite.run`. Subclasses can restore that behavior " @@ -2723,7 +2726,7 @@ msgstr "" "Les sous-classes peuvent restaurer ce comportement en surchargeant :meth:" "`TestSuite._removeTestAtIndex`." -#: library/unittest.rst:1696 +#: library/unittest.rst:1698 msgid "" "In the typical usage of a :class:`TestSuite` object, the :meth:`run` method " "is invoked by a :class:`TestRunner` rather than by the end-user test harness." @@ -2732,11 +2735,11 @@ msgstr "" "`run` est invoquée par une classe :class:`TestRunner` plutôt que par le " "système de test de l'utilisateur." -#: library/unittest.rst:1701 +#: library/unittest.rst:1703 msgid "Loading and running tests" msgstr "Chargement et exécution des tests" -#: library/unittest.rst:1705 +#: library/unittest.rst:1707 msgid "" "The :class:`TestLoader` class is used to create test suites from classes and " "modules. Normally, there is no need to create an instance of this class; " @@ -2751,12 +2754,12 @@ msgstr "" "L'utilisation d'une sous-classe ou d'une instance permet cependant de " "personnaliser certaines propriétés configurables." -#: library/unittest.rst:1711 +#: library/unittest.rst:1713 msgid ":class:`TestLoader` objects have the following attributes:" msgstr "" "Les objets de la classe :class:`TestLoader` ont les attributs suivants :" -#: library/unittest.rst:1716 +#: library/unittest.rst:1718 msgid "" "A list of the non-fatal errors encountered while loading tests. Not reset by " "the loader at any point. Fatal errors are signalled by the relevant a method " @@ -2769,12 +2772,12 @@ msgstr "" "exception à l'appelant. Les erreurs non fatales sont également indiquées par " "un test synthétique qui lève l'erreur initiale lors de l'exécution." -#: library/unittest.rst:1725 +#: library/unittest.rst:1727 msgid ":class:`TestLoader` objects have the following methods:" msgstr "" "Les objets de la classe :class:`TestLoader` ont les attributs suivants :" -#: library/unittest.rst:1730 +#: library/unittest.rst:1732 msgid "" "Return a suite of all test cases contained in the :class:`TestCase`\\ -" "derived :class:`testCaseClass`." @@ -2782,7 +2785,7 @@ msgstr "" "Renvoie une suite de tous les cas de test contenus dans la classe :class:" "`TestCaseClass`\\ dérivée de :class:`testCase`." -#: library/unittest.rst:1733 +#: library/unittest.rst:1735 msgid "" "A test case instance is created for each method named by :meth:" "`getTestCaseNames`. By default these are the method names beginning with " @@ -2796,7 +2799,7 @@ msgstr "" "que la méthode :meth:`runTest` est implémentée, un seul cas de test est créé " "pour cette méthode à la place." -#: library/unittest.rst:1742 +#: library/unittest.rst:1744 msgid "" "Return a suite of all test cases contained in the given module. This method " "searches *module* for classes derived from :class:`TestCase` and creates an " @@ -2807,7 +2810,7 @@ msgstr "" "`TestCase` et crée une instance de la classe pour chaque méthode de test " "définie pour cette classe." -#: library/unittest.rst:1749 +#: library/unittest.rst:1751 msgid "" "While using a hierarchy of :class:`TestCase`\\ -derived classes can be " "convenient in sharing fixtures and helper functions, defining test methods " @@ -2822,7 +2825,7 @@ msgstr "" "pas bien avec cette méthode. Cela peut toutefois s'avérer utile lorsque les " "*fixtures* sont différentes et définies dans des sous-classes." -#: library/unittest.rst:1755 +#: library/unittest.rst:1757 msgid "" "If a module provides a ``load_tests`` function it will be called to load the " "tests. This allows modules to customize test loading. This is the " @@ -2834,11 +2837,11 @@ msgstr "" "C'est le protocole `load_tests protocol`_. L'argument *pattern* est passé " "comme troisième argument à ``load_tests``." -#: library/unittest.rst:1760 +#: library/unittest.rst:1762 msgid "Support for ``load_tests`` added." msgstr "Ajout de la prise en charge de ``load_tests``." -#: library/unittest.rst:1763 +#: library/unittest.rst:1765 msgid "" "The undocumented and unofficial *use_load_tests* default argument is " "deprecated and ignored, although it is still accepted for backward " @@ -2850,13 +2853,13 @@ msgstr "" "descendante. La méthode accepte aussi maintenant un argument *pattern* qui " "est passé à ``load_tests`` comme troisième argument." -#: library/unittest.rst:1772 +#: library/unittest.rst:1774 msgid "Return a suite of all test cases given a string specifier." msgstr "" "Renvoie une suite de tous les cas de test en fonction d'un spécificateur de " "chaîne de caractères." -#: library/unittest.rst:1774 +#: library/unittest.rst:1776 msgid "" "The specifier *name* is a \"dotted name\" that may resolve either to a " "module, a test case class, a test method within a test case class, a :class:" @@ -2875,7 +2878,7 @@ msgstr "" "choisie comme \"méthode de test dans une classe de cas de test\", plutôt que " "comme \"un objet appelable\"." -#: library/unittest.rst:1782 +#: library/unittest.rst:1784 msgid "" "For example, if you have a module :mod:`SampleTests` containing a :class:" "`TestCase`\\ -derived class :class:`SampleTestCase` with three test methods " @@ -2897,11 +2900,11 @@ msgstr "" "spécificateur peut se référer à des modules et packages qui n'ont pas été " "importés. Ils seront importés par un effet de bord." -#: library/unittest.rst:1792 +#: library/unittest.rst:1794 msgid "The method optionally resolves *name* relative to the given *module*." msgstr "La méthode résout facultativement *name* relatif au *module* donné." -#: library/unittest.rst:1794 +#: library/unittest.rst:1796 msgid "" "If an :exc:`ImportError` or :exc:`AttributeError` occurs while traversing " "*name* then a synthetic test that raises that error when run will be " @@ -2912,7 +2915,7 @@ msgstr "" "de l'exécution est renvoyé. Ces erreurs sont incluses dans les erreurs " "accumulées par *self.errors*." -#: library/unittest.rst:1803 +#: library/unittest.rst:1805 msgid "" "Similar to :meth:`loadTestsFromName`, but takes a sequence of names rather " "than a single name. The return value is a test suite which supports all the " @@ -2922,7 +2925,7 @@ msgstr "" "plutôt qu'un seul nom. La valeur renvoyée est une suite de tests qui gère " "tous les tests définis pour chaque nom." -#: library/unittest.rst:1810 +#: library/unittest.rst:1812 msgid "" "Return a sorted sequence of method names found within *testCaseClass*; this " "should be a subclass of :class:`TestCase`." @@ -2930,7 +2933,7 @@ msgstr "" "Renvoie une séquence triée de noms de méthodes trouvés dans " "*testCaseClass* ; ceci doit être une sous-classe de :class:`TestCase`." -#: library/unittest.rst:1816 +#: library/unittest.rst:1818 msgid "" "Find all the test modules by recursing into subdirectories from the " "specified start directory, and return a TestSuite object containing them. " @@ -2944,7 +2947,7 @@ msgstr "" "chargés. Seuls les noms de modules qui sont importables (c'est-à-dire qui " "sont des identifiants Python valides) sont chargés." -#: library/unittest.rst:1822 +#: library/unittest.rst:1824 msgid "" "All test modules must be importable from the top level of the project. If " "the start directory is not the top level directory then the top level " @@ -2954,7 +2957,7 @@ msgstr "" "projet. Si le répertoire de démarrage n'est pas la racine, le répertoire " "racine doit être spécifié séparément." -#: library/unittest.rst:1826 +#: library/unittest.rst:1828 msgid "" "If importing a module fails, for example due to a syntax error, then this " "will be recorded as a single error and discovery will continue. If the " @@ -2967,7 +2970,7 @@ msgstr "" "`SkipTest` est levé, il est enregistré comme un saut plutôt que comme un " "message d'erreur." -#: library/unittest.rst:1831 +#: library/unittest.rst:1833 msgid "" "If a package (a directory containing a file named :file:`__init__.py`) is " "found, the package will be checked for a ``load_tests`` function. If this " @@ -2983,7 +2986,7 @@ msgstr "" "paquet n'est vérifié qu'une seule fois au cours d'une invocation, même si la " "fonction *load_tests* appelle elle-même ``loader.discover``." -#: library/unittest.rst:1839 +#: library/unittest.rst:1841 msgid "" "If ``load_tests`` exists then discovery does *not* recurse into the package, " "``load_tests`` is responsible for loading all tests in the package." @@ -2992,7 +2995,7 @@ msgstr "" "dans le paquet, ``load_tests`` a la responsabilité de charger tous les tests " "dans le paquet." -#: library/unittest.rst:1843 +#: library/unittest.rst:1845 msgid "" "The pattern is deliberately not stored as a loader attribute so that " "packages can continue discovery themselves. *top_level_dir* is stored so " @@ -3004,11 +3007,11 @@ msgstr "" "*top_level_dir* est stocké de sorte que ``load_tests`` n'a pas besoin de " "passer cet argument a ``loader. discover()``." -#: library/unittest.rst:1848 +#: library/unittest.rst:1850 msgid "*start_dir* can be a dotted module name as well as a directory." msgstr "*start_dir* peut être un nom de module ainsi qu'un répertoire." -#: library/unittest.rst:1852 +#: library/unittest.rst:1854 msgid "" "Modules that raise :exc:`SkipTest` on import are recorded as skips, not " "errors." @@ -3017,13 +3020,13 @@ msgstr "" "importation ne sont pas considérés comme des erreurs, et sont marqués à " "sauter." -#: library/unittest.rst:1856 +#: library/unittest.rst:1858 msgid "*start_dir* can be a :term:`namespace packages `." msgstr "" "*start_dir* peut être un :term:`paquet-espace de nommage `." -#: library/unittest.rst:1859 +#: library/unittest.rst:1861 msgid "" "Paths are sorted before being imported so that execution order is the same " "even if the underlying file system's ordering is not dependent on file name." @@ -3032,7 +3035,7 @@ msgstr "" "soit toujours le même, même si le système de fichiers sous-jacent ne classe " "pas les fichiers par leur nom." -#: library/unittest.rst:1864 +#: library/unittest.rst:1866 msgid "" "Found packages are now checked for ``load_tests`` regardless of whether " "their path matches *pattern*, because it is impossible for a package name to " @@ -3043,7 +3046,7 @@ msgstr "" "*pattern*, car il est impossible pour un nom de paquet de correspondre au " "motif par défaut." -#: library/unittest.rst:1870 +#: library/unittest.rst:1872 msgid "" "The following attributes of a :class:`TestLoader` can be configured either " "by subclassing or assignment on an instance:" @@ -3051,7 +3054,7 @@ msgstr "" "Les attributs suivants d'une classe :class:`TestLoader` peuvent être " "configurés soit par héritage, soit par affectation sur une instance  ::" -#: library/unittest.rst:1876 +#: library/unittest.rst:1878 msgid "" "String giving the prefix of method names which will be interpreted as test " "methods. The default value is ``'test'``." @@ -3059,7 +3062,7 @@ msgstr "" "Chaîne donnant le préfixe des noms de méthodes qui seront interprétés comme " "méthodes de test. La valeur par défaut est ``'test'``." -#: library/unittest.rst:1879 +#: library/unittest.rst:1881 msgid "" "This affects :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\\*` " "methods." @@ -3067,7 +3070,7 @@ msgstr "" "Ceci affecte les méthodes :meth:`getTestCaseNames` et toutes les méthodes :" "meth:`loadTestsFrom\\*`." -#: library/unittest.rst:1885 +#: library/unittest.rst:1887 msgid "" "Function to be used to compare method names when sorting them in :meth:" "`getTestCaseNames` and all the :meth:`loadTestsFrom\\*` methods." @@ -3076,7 +3079,7 @@ msgstr "" "les méthodes :meth:`getTestCaseNames` et toutes les méthodes :meth:" "`loadTestsFrom\\*`." -#: library/unittest.rst:1891 +#: library/unittest.rst:1893 msgid "" "Callable object that constructs a test suite from a list of tests. No " "methods on the resulting object are needed. The default value is the :class:" @@ -3086,11 +3089,11 @@ msgstr "" "tests. Aucune méthode sur l'objet résultant n'est nécessaire. La valeur par " "défaut est la classe :class:`TestSuite`." -#: library/unittest.rst:1908 +#: library/unittest.rst:1910 msgid "This affects all the :meth:`loadTestsFrom\\*` methods." msgstr "Cela affecte toutes les méthodes :meth:`loadTestsFrom\\*`." -#: library/unittest.rst:1899 +#: library/unittest.rst:1901 msgid "" "List of Unix shell-style wildcard test name patterns that test methods have " "to match to be included in test suites (see ``-v`` option)." @@ -3099,7 +3102,7 @@ msgstr "" "méthodes de test doivent valider pour être incluses dans les suites de test " "(voir l'option ``-v``)." -#: library/unittest.rst:1902 +#: library/unittest.rst:1904 msgid "" "If this attribute is not ``None`` (the default), all test methods to be " "included in test suites must match one of the patterns in this list. Note " @@ -3114,7 +3117,7 @@ msgstr "" "à l'option ``-v``, les motifs de sous-chaînes simples doivent être convertis " "avec le joker ``*``." -#: library/unittest.rst:1915 +#: library/unittest.rst:1917 msgid "" "This class is used to compile information about which tests have succeeded " "and which have failed." @@ -3122,7 +3125,7 @@ msgstr "" "Cette classe est utilisée pour compiler des informations sur les tests qui " "ont réussi et ceux qui ont échoué." -#: library/unittest.rst:1918 +#: library/unittest.rst:1920 msgid "" "A :class:`TestResult` object stores the results of a set of tests. The :" "class:`TestCase` and :class:`TestSuite` classes ensure that results are " @@ -3134,7 +3137,7 @@ msgstr "" "résultats sont correctement enregistrés. Les auteurs du test n'ont pas à se " "soucier de l'enregistrement des résultats des tests." -#: library/unittest.rst:1923 +#: library/unittest.rst:1925 msgid "" "Testing frameworks built on top of :mod:`unittest` may want access to the :" "class:`TestResult` object generated by running a set of tests for reporting " @@ -3147,7 +3150,7 @@ msgstr "" "`TestResult` est alors renvoyée par la méthode :meth:`TestRunner.run` à " "cette fin." -#: library/unittest.rst:1928 +#: library/unittest.rst:1930 msgid "" ":class:`TestResult` instances have the following attributes that will be of " "interest when inspecting the results of running a set of tests:" @@ -3156,7 +3159,7 @@ msgstr "" "intéressant pour l'inspection des résultats de l'exécution d'un ensemble de " "tests  ::" -#: library/unittest.rst:1934 +#: library/unittest.rst:1936 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test which raised an " @@ -3166,7 +3169,7 @@ msgstr "" "chaînes de caractères contenant des traces de pile d'appels formatées. " "Chaque paire représente un test qui a levé une exception inattendue." -#: library/unittest.rst:1940 +#: library/unittest.rst:1942 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test where a failure " @@ -3177,7 +3180,7 @@ msgstr "" "Chaque paire représente un test où un échec a été explicitement signalé en " "utilisant les méthodes :meth:`TestCase.assert\\*`." -#: library/unittest.rst:1946 +#: library/unittest.rst:1948 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding the reason for skipping the test." @@ -3185,7 +3188,7 @@ msgstr "" "Une liste contenant des paires d'instances de :class:`TestCase` et de " "chaînes de caractères contenant la raison de l'omission du test." -#: library/unittest.rst:1953 +#: library/unittest.rst:1955 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents an expected failure or " @@ -3195,7 +3198,7 @@ msgstr "" "de caractères contenant des traces de pile d'appels formatées. Chaque paire " "représente un échec attendu ou une erreur du scénario de test." -#: library/unittest.rst:1959 +#: library/unittest.rst:1961 msgid "" "A list containing :class:`TestCase` instances that were marked as expected " "failures, but succeeded." @@ -3203,18 +3206,18 @@ msgstr "" "Une liste contenant les instances :class:`TestCase` qui ont été marquées " "comme des échecs attendus, mais qui ont réussi." -#: library/unittest.rst:1964 +#: library/unittest.rst:1966 msgid "" "Set to ``True`` when the execution of tests should stop by :meth:`stop`." msgstr "" "A positionner sur ``True`` quand l'exécution des tests doit être arrêter " "par :meth:`stop`." -#: library/unittest.rst:1968 +#: library/unittest.rst:1970 msgid "The total number of tests run so far." msgstr "Le nombre total de tests effectués jusqu'à présent." -#: library/unittest.rst:1972 +#: library/unittest.rst:1974 msgid "" "If set to true, ``sys.stdout`` and ``sys.stderr`` will be buffered in " "between :meth:`startTest` and :meth:`stopTest` being called. Collected " @@ -3228,7 +3231,7 @@ msgstr "" "stderr`` réels uniquement en cas d'échec ou d'erreur du test. Toute sortie " "est également attachée au message d'erreur." -#: library/unittest.rst:1981 +#: library/unittest.rst:1983 msgid "" "If set to true :meth:`stop` will be called on the first failure or error, " "halting the test run." @@ -3236,13 +3239,13 @@ msgstr "" "Si la valeur est *true* :meth:`stop` est appelée lors de la première " "défaillance ou erreur, ce qui interrompt le test en cours d'exécution." -#: library/unittest.rst:1988 +#: library/unittest.rst:1990 msgid "If set to true then local variables will be shown in tracebacks." msgstr "" "Si la valeur est *true*, les variables locales sont affichées dans les " "traces d'appels." -#: library/unittest.rst:1994 +#: library/unittest.rst:1996 msgid "" "Return ``True`` if all tests run so far have passed, otherwise returns " "``False``." @@ -3250,7 +3253,7 @@ msgstr "" "Renvoie ``True`` si tous les tests effectués jusqu'à présent ont réussi, " "sinon renvoie ``False``." -#: library/unittest.rst:1997 +#: library/unittest.rst:1999 msgid "" "Returns ``False`` if there were any :attr:`unexpectedSuccesses` from tests " "marked with the :func:`expectedFailure` decorator." @@ -3258,7 +3261,7 @@ msgstr "" "Renvoie ``False`` s'il y a eu des :attr:`unexpectedSuccesses` dans les tests " "annotés avec le décorateur :func:`expectedFailure`." -#: library/unittest.rst:2003 +#: library/unittest.rst:2005 msgid "" "This method can be called to signal that the set of tests being run should " "be aborted by setting the :attr:`shouldStop` attribute to ``True``. :class:" @@ -3270,7 +3273,7 @@ msgstr "" "`shouldStop` sur ``True``. Les instances de :class:`TestRunner` doivent " "respecter ce signal et se terminer sans exécuter de tests supplémentaires." -#: library/unittest.rst:2008 +#: library/unittest.rst:2010 msgid "" "For example, this feature is used by the :class:`TextTestRunner` class to " "stop the test framework when the user signals an interrupt from the " @@ -3282,7 +3285,7 @@ msgstr "" "lance une interruption clavier. Les outils interactifs qui fournissent des " "implémentations de :class:`TestRunner` peuvent l'utiliser de la même manière." -#: library/unittest.rst:2013 +#: library/unittest.rst:2015 msgid "" "The following methods of the :class:`TestResult` class are used to maintain " "the internal data structures, and may be extended in subclasses to support " @@ -3296,27 +3299,27 @@ msgstr "" "outils qui prennent en charge la génération de rapports interactifs pendant " "l'exécution des tests." -#: library/unittest.rst:2021 +#: library/unittest.rst:2023 msgid "Called when the test case *test* is about to be run." msgstr "" "Appelé lorsque le scénario de test *test* est sur le point d'être exécuté." -#: library/unittest.rst:2025 +#: library/unittest.rst:2027 msgid "" "Called after the test case *test* has been executed, regardless of the " "outcome." msgstr "" "Appelé après l'exécution du cas de test *test*, quel qu'en soit le résultat." -#: library/unittest.rst:2030 +#: library/unittest.rst:2032 msgid "Called once before any tests are executed." msgstr "Appelé une fois avant l'exécution des tests." -#: library/unittest.rst:2037 +#: library/unittest.rst:2039 msgid "Called once after all tests are executed." msgstr "Appelé une fois après l'exécution des tests." -#: library/unittest.rst:2044 +#: library/unittest.rst:2046 msgid "" "Called when the test case *test* raises an unexpected exception. *err* is a " "tuple of the form returned by :func:`sys.exc_info`: ``(type, value, " @@ -3326,7 +3329,7 @@ msgstr "" "est un *n*-uplet de la même forme que celle renvoyée par :func:`sys." "exc_info` : ``(type, valeur, traceback)``." -#: library/unittest.rst:2048 +#: library/unittest.rst:2050 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`errors` attribute, where *formatted_err* is a formatted " @@ -3336,7 +3339,7 @@ msgstr "" "l'attribut :attr:`errors` de l'instance, où *formatted_err* est une trace " "formatée à partir de *err*." -#: library/unittest.rst:2055 +#: library/unittest.rst:2057 msgid "" "Called when the test case *test* signals a failure. *err* is a tuple of the " "form returned by :func:`sys.exc_info`: ``(type, value, traceback)``." @@ -3345,7 +3348,7 @@ msgstr "" "est un triplet de la même forme que celui renvoyé par :func:`sys.exc_info` : " "``(type, valeur, traceback)``." -#: library/unittest.rst:2058 +#: library/unittest.rst:2060 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`failures` attribute, where *formatted_err* is a formatted " @@ -3355,15 +3358,15 @@ msgstr "" "l'attribut :attr:`errors` de l'instance, où *formatted_err* est une trace " "formatée à partir de *err*." -#: library/unittest.rst:2065 +#: library/unittest.rst:2067 msgid "Called when the test case *test* succeeds." msgstr "Appelé lorsque le scénario de test *test* réussit." -#: library/unittest.rst:2067 +#: library/unittest.rst:2069 msgid "The default implementation does nothing." msgstr "L'implémentation par défaut ne fait rien." -#: library/unittest.rst:2072 +#: library/unittest.rst:2074 msgid "" "Called when the test case *test* is skipped. *reason* is the reason the " "test gave for skipping." @@ -3371,7 +3374,7 @@ msgstr "" "Appelé lorsque le scénario de test *test* est ignoré. *raison* est la raison " "pour laquelle le test donné à été ignoré." -#: library/unittest.rst:2075 +#: library/unittest.rst:2077 msgid "" "The default implementation appends a tuple ``(test, reason)`` to the " "instance's :attr:`skipped` attribute." @@ -3379,7 +3382,7 @@ msgstr "" "L'implémentation par défaut ajoute un *n*-uplet ``(test, raison)`` à " "l'attribut :attr:`skipped` de l'instance." -#: library/unittest.rst:2081 +#: library/unittest.rst:2083 msgid "" "Called when the test case *test* fails or errors, but was marked with the :" "func:`expectedFailure` decorator." @@ -3387,7 +3390,7 @@ msgstr "" "Appelé lorsque le scénario de test *test* échoue (assertion ou exception), " "mais qui a été marqué avec le décorateur :func:`expectedFailure`." -#: library/unittest.rst:2084 +#: library/unittest.rst:2086 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`expectedFailures` attribute, where *formatted_err* is a " @@ -3397,7 +3400,7 @@ msgstr "" "l'attribut :attr:`errors` de l'instance, où *formatted_err* est une trace " "formatée à partir de *err*." -#: library/unittest.rst:2091 +#: library/unittest.rst:2093 msgid "" "Called when the test case *test* was marked with the :func:`expectedFailure` " "decorator, but succeeded." @@ -3405,7 +3408,7 @@ msgstr "" "Appelé lorsque le scénario de test *test* réussit, mais que ce scénario a " "été marqué avec le décorateur :func:`expectedFailure`." -#: library/unittest.rst:2094 +#: library/unittest.rst:2096 msgid "" "The default implementation appends the test to the instance's :attr:" "`unexpectedSuccesses` attribute." @@ -3413,7 +3416,7 @@ msgstr "" "L'implémentation par défaut ajoute le test à l'attribut :attr:" "`unexpectedSuccesses` de l'instance." -#: library/unittest.rst:2100 +#: library/unittest.rst:2102 msgid "" "Called when a subtest finishes. *test* is the test case corresponding to " "the test method. *subtest* is a custom :class:`TestCase` instance " @@ -3423,7 +3426,7 @@ msgstr "" "méthode de test. *subtest* est une instance dérivée de :class:`TestCase` " "décrivant le sous-test." -#: library/unittest.rst:2104 +#: library/unittest.rst:2106 msgid "" "If *outcome* is :const:`None`, the subtest succeeded. Otherwise, it failed " "with an exception where *outcome* is a tuple of the form returned by :func:" @@ -3433,7 +3436,7 @@ msgstr "" "avec une exception où *outcome* est un triplet du formulaire renvoyé par :" "func:`sys.exc_info` : ``(type, valeur, traceback)``." -#: library/unittest.rst:2108 +#: library/unittest.rst:2110 msgid "" "The default implementation does nothing when the outcome is a success, and " "records subtest failures as normal failures." @@ -3441,7 +3444,7 @@ msgstr "" "L'implémentation par défaut ne fait rien lorsque le résultat est un succès, " "et enregistre les échecs de sous-test comme des échecs normaux." -#: library/unittest.rst:2116 +#: library/unittest.rst:2118 msgid "" "A concrete implementation of :class:`TestResult` used by the :class:" "`TextTestRunner`." @@ -3449,7 +3452,7 @@ msgstr "" "Une implémentation concrète de :class:`TestResult` utilisé par la classe :" "class:`TextTestRunner`." -#: library/unittest.rst:2119 +#: library/unittest.rst:2121 msgid "" "This class was previously named ``_TextTestResult``. The old name still " "exists as an alias but is deprecated." @@ -3457,7 +3460,7 @@ msgstr "" "Cette classe s'appelait auparavant ``_TextTestResult``. L'ancien nom existe " "toujours en tant qu'alias, mais il est obsolète." -#: library/unittest.rst:2126 +#: library/unittest.rst:2128 msgid "" "Instance of the :class:`TestLoader` class intended to be shared. If no " "customization of the :class:`TestLoader` is needed, this instance can be " @@ -3468,7 +3471,7 @@ msgstr "" "cette instance peut être utilisée au lieu de créer plusieurs fois de " "nouvelles instances." -#: library/unittest.rst:2134 +#: library/unittest.rst:2136 msgid "" "A basic test runner implementation that outputs results to a stream. If " "*stream* is ``None``, the default, :data:`sys.stderr` is used as the output " @@ -3487,7 +3490,7 @@ msgstr "" "``**kwargs`` car l'interface pour construire les lanceurs change lorsque des " "fonctionnalités sont ajoutées à *unittest*." -#: library/unittest.rst:2141 +#: library/unittest.rst:2143 msgid "" "By default this runner shows :exc:`DeprecationWarning`, :exc:" "`PendingDeprecationWarning`, :exc:`ResourceWarning` and :exc:`ImportWarning` " @@ -3510,11 +3513,11 @@ msgstr "" "de Python (voir :ref:`Gestion des avertissements `) et en " "laissant *warnings* à ``None``." -#: library/unittest.rst:2152 +#: library/unittest.rst:2154 msgid "Added the ``warnings`` argument." msgstr "Ajout du paramètre ``warnings``." -#: library/unittest.rst:2155 +#: library/unittest.rst:2157 msgid "" "The default stream is set to :data:`sys.stderr` at instantiation time rather " "than import time." @@ -3522,11 +3525,11 @@ msgstr "" "Le flux par défaut est défini sur :data:`sys.stderr` au moment de " "l'instanciation plutôt qu'à l'importation." -#: library/unittest.rst:2159 +#: library/unittest.rst:2161 msgid "Added the tb_locals parameter." msgstr "Ajout du paramètre *tb_locals*." -#: library/unittest.rst:2164 +#: library/unittest.rst:2166 msgid "" "This method returns the instance of ``TestResult`` used by :meth:`run`. It " "is not intended to be called directly, but can be overridden in subclasses " @@ -3536,7 +3539,7 @@ msgstr "" "Il n'est pas destiné à être appelé directement, mais peut être surchargée " "dans des sous-classes pour fournir un ``TestResult`` personnalisé." -#: library/unittest.rst:2168 +#: library/unittest.rst:2170 msgid "" "``_makeResult()`` instantiates the class or callable passed in the " "``TextTestRunner`` constructor as the ``resultclass`` argument. It defaults " @@ -3548,7 +3551,7 @@ msgstr "" "défaut :class:`TextTestResult` si aucune ``resultclass`` n'est fournie. La " "classe de résultat est instanciée avec les arguments suivants ::" -#: library/unittest.rst:2177 +#: library/unittest.rst:2179 msgid "" "This method is the main public interface to the ``TextTestRunner``. This " "method takes a :class:`TestSuite` or :class:`TestCase` instance. A :class:" @@ -3560,7 +3563,7 @@ msgstr "" "Un :class:`TestResult` est créé en appelant :func:`_makeResult` et le ou les " "tests sont exécutés et les résultats affichés sur la sortie standard." -#: library/unittest.rst:2188 +#: library/unittest.rst:2190 msgid "" "A command-line program that loads a set of tests from *module* and runs " "them; this is primarily for making test modules conveniently executable. The " @@ -3573,7 +3576,7 @@ msgstr "" "cette fonction est d'inclure la ligne suivante à la fin d'un script de " "test ::" -#: library/unittest.rst:2196 +#: library/unittest.rst:2198 msgid "" "You can run tests with more detailed information by passing in the verbosity " "argument::" @@ -3581,7 +3584,7 @@ msgstr "" "Vous pouvez exécuter des tests avec des informations plus détaillées en " "utilisant l'option de verbosité ::" -#: library/unittest.rst:2202 +#: library/unittest.rst:2204 msgid "" "The *defaultTest* argument is either the name of a single test or an " "iterable of test names to run if no test names are specified via *argv*. If " @@ -3593,7 +3596,7 @@ msgstr "" "aucun nom de test n'est fourni via *argv*, tous les tests trouvés dans " "*module* sont exécutés." -#: library/unittest.rst:2207 +#: library/unittest.rst:2209 msgid "" "The *argv* argument can be a list of options passed to the program, with the " "first element being the program name. If not specified or ``None``, the " @@ -3603,7 +3606,7 @@ msgstr "" "premier élément étant le nom du programme. S'il n'est pas spécifié ou vaut " "``None``, les valeurs de :data:`sys.argv` sont utilisées." -#: library/unittest.rst:2211 +#: library/unittest.rst:2213 msgid "" "The *testRunner* argument can either be a test runner class or an already " "created instance of it. By default ``main`` calls :func:`sys.exit` with an " @@ -3614,7 +3617,7 @@ msgstr "" "exit` avec un code de sortie indiquant le succès ou l'échec des tests " "exécutés." -#: library/unittest.rst:2215 +#: library/unittest.rst:2217 msgid "" "The *testLoader* argument has to be a :class:`TestLoader` instance, and " "defaults to :data:`defaultTestLoader`." @@ -3622,7 +3625,7 @@ msgstr "" "L'argument *testLoader* doit être une instance de :class:`TestLoader`, et " "par défaut de :data:`defaultTestLoader`." -#: library/unittest.rst:2218 +#: library/unittest.rst:2220 msgid "" "``main`` supports being used from the interactive interpreter by passing in " "the argument ``exit=False``. This displays the result on standard output " @@ -3632,7 +3635,7 @@ msgstr "" "dans l'argument ``exit=False``. Ceci affiche le résultat sur la sortie " "standard sans appeler :func:`sys.exit` ::" -#: library/unittest.rst:2225 +#: library/unittest.rst:2227 msgid "" "The *failfast*, *catchbreak* and *buffer* parameters have the same effect as " "the same-name `command-line options`_." @@ -3640,7 +3643,7 @@ msgstr "" "Les paramètres *failfast*, *catchbreak* et *buffer* ont le même effet que la " "même option en ligne de commande `command-line options`_." -#: library/unittest.rst:2228 +#: library/unittest.rst:2230 msgid "" "The *warnings* argument specifies the :ref:`warning filter ` " "that should be used while running the tests. If it's not specified, it will " @@ -3655,7 +3658,7 @@ msgstr "" "avertissements `), sinon elle sera réglée sur " "``'default'``." -#: library/unittest.rst:2234 +#: library/unittest.rst:2236 msgid "" "Calling ``main`` actually returns an instance of the ``TestProgram`` class. " "This stores the result of the tests run as the ``result`` attribute." @@ -3664,11 +3667,11 @@ msgstr "" "``TestProgram``. Le résultat des tests effectués est enregistré sous " "l'attribut ``result``." -#: library/unittest.rst:2237 +#: library/unittest.rst:2239 msgid "The *exit* parameter was added." msgstr "Ajout du paramètre *exit*." -#: library/unittest.rst:2240 +#: library/unittest.rst:2242 msgid "" "The *verbosity*, *failfast*, *catchbreak*, *buffer* and *warnings* " "parameters were added." @@ -3676,7 +3679,7 @@ msgstr "" "Ajout des paramètres *verbosity*, *failfast*, *catchbreak*, *buffer* et " "*warnings*." -#: library/unittest.rst:2244 +#: library/unittest.rst:2246 msgid "" "The *defaultTest* parameter was changed to also accept an iterable of test " "names." @@ -3684,11 +3687,11 @@ msgstr "" "Le paramètre *defaultTest* a été modifié pour accepter également un itérable " "de noms de test." -#: library/unittest.rst:2250 +#: library/unittest.rst:2252 msgid "load_tests Protocol" msgstr "Protocole de chargement des tests (*load_tests Protocol*)" -#: library/unittest.rst:2254 +#: library/unittest.rst:2256 msgid "" "Modules or packages can customize how tests are loaded from them during " "normal test runs or test discovery by implementing a function called " @@ -3698,7 +3701,7 @@ msgstr "" "chargés à partir de ceux-ci pendant l'exécution des tests ou pendant la " "découverte de tests en implémentant une fonction appelée ``load_tests``." -#: library/unittest.rst:2257 +#: library/unittest.rst:2259 msgid "" "If a test module defines ``load_tests`` it will be called by :meth:" "`TestLoader.loadTestsFromModule` with the following arguments::" @@ -3706,7 +3709,7 @@ msgstr "" "Si un module de test définit ``load_tests`` il est appelé par :meth:" "`TestLoader.loadTestsFromModule` avec les arguments suivants ::" -#: library/unittest.rst:2262 +#: library/unittest.rst:2264 msgid "" "where *pattern* is passed straight through from ``loadTestsFromModule``. It " "defaults to ``None``." @@ -3714,11 +3717,11 @@ msgstr "" "où *pattern* est passé directement depuis ``loadTestsFromModule``. La valeur " "par défaut est ``None``." -#: library/unittest.rst:2265 +#: library/unittest.rst:2267 msgid "It should return a :class:`TestSuite`." msgstr "Elle doit renvoyer une classe :class:`TestSuite`." -#: library/unittest.rst:2267 +#: library/unittest.rst:2269 msgid "" "*loader* is the instance of :class:`TestLoader` doing the loading. " "*standard_tests* are the tests that would be loaded by default from the " @@ -3733,7 +3736,7 @@ msgstr "" "argument est utilisé lors du chargement de paquets dans le cadre de la " "découverte de tests." -#: library/unittest.rst:2273 +#: library/unittest.rst:2275 msgid "" "A typical ``load_tests`` function that loads tests from a specific set of :" "class:`TestCase` classes may look like::" @@ -3741,7 +3744,7 @@ msgstr "" "Une fonction typique de ``load_tests`` qui charge les tests d'un ensemble " "spécifique de classes :class:`TestCase` peut ressembler à ::" -#: library/unittest.rst:2285 +#: library/unittest.rst:2287 msgid "" "If discovery is started in a directory containing a package, either from the " "command line or by calling :meth:`TestLoader.discover`, then the package :" @@ -3758,7 +3761,7 @@ msgstr "" "répertoire. Sinon, la découverte des tests du paquet est effectuée par " "``load_tests`` qui est appelé avec les arguments suivants ::" -#: library/unittest.rst:2294 +#: library/unittest.rst:2296 msgid "" "This should return a :class:`TestSuite` representing all the tests from the " "package. (``standard_tests`` will only contain tests collected from :file:" @@ -3768,7 +3771,7 @@ msgstr "" "paquet. (``standard_tests`` ne contient que les tests collectés dans le " "fichier :file:`__init__.py`)." -#: library/unittest.rst:2298 +#: library/unittest.rst:2300 msgid "" "Because the pattern is passed into ``load_tests`` the package is free to " "continue (and potentially modify) test discovery. A 'do nothing' " @@ -3778,7 +3781,7 @@ msgstr "" "(et potentiellement de modifier) la découverte des tests. Une fonction « ne " "rien faire » ``load_tests`` pour un paquet de test ressemblerait à ::" -#: library/unittest.rst:2309 +#: library/unittest.rst:2311 msgid "" "Discovery no longer checks package names for matching *pattern* due to the " "impossibility of package names matching the default pattern." @@ -3787,11 +3790,11 @@ msgstr "" "à *pattern* en raison de l'impossibilité de trouver des noms de paquets " "correspondant au motif par défaut." -#: library/unittest.rst:2316 +#: library/unittest.rst:2318 msgid "Class and Module Fixtures" msgstr "Classes et modules d'aménagements des tests" -#: library/unittest.rst:2318 +#: library/unittest.rst:2320 msgid "" "Class and module level fixtures are implemented in :class:`TestSuite`. When " "the test suite encounters a test from a new class then :meth:`tearDownClass` " @@ -3803,7 +3806,7 @@ msgstr "" "classe, alors :meth:`tearDownClass` de la classe précédente (s'il y en a " "une) est appelé, suivi de :meth:`setUpClass` de la nouvelle classe." -#: library/unittest.rst:2323 +#: library/unittest.rst:2325 msgid "" "Similarly if a test is from a different module from the previous test then " "``tearDownModule`` from the previous module is run, followed by " @@ -3813,7 +3816,7 @@ msgstr "" "``tearDownModule`` du module précédent est exécuté, suivi par " "``setUpModule`` du nouveau module." -#: library/unittest.rst:2327 +#: library/unittest.rst:2329 msgid "" "After all the tests have run the final ``tearDownClass`` and " "``tearDownModule`` are run." @@ -3821,7 +3824,7 @@ msgstr "" "Après que tous les tests ont été exécutés, les ``tearDownClass`` et " "``tearDownModule`` finaux sont exécutés." -#: library/unittest.rst:2330 +#: library/unittest.rst:2332 msgid "" "Note that shared fixtures do not play well with [potential] features like " "test parallelization and they break test isolation. They should be used with " @@ -3831,7 +3834,7 @@ msgstr "" "de « potentielles » fonctions comme la parallélisation de test et qu'ils " "brisent l'isolation des tests. Ils doivent être utilisés avec parcimonie." -#: library/unittest.rst:2333 +#: library/unittest.rst:2335 msgid "" "The default ordering of tests created by the unittest test loaders is to " "group all tests from the same modules and classes together. This will lead " @@ -3848,7 +3851,7 @@ msgstr "" "uns aux autres, alors ces fonctions d'aménagements partagées peuvent être " "appelées plusieurs fois dans un même test." -#: library/unittest.rst:2340 +#: library/unittest.rst:2342 msgid "" "Shared fixtures are not intended to work with suites with non-standard " "ordering. A ``BaseTestSuite`` still exists for frameworks that don't want to " @@ -3859,7 +3862,7 @@ msgstr "" "toujours pour les cadriciels qui ne veulent pas gérer les aménagements de " "tests partagés." -#: library/unittest.rst:2344 +#: library/unittest.rst:2346 msgid "" "If there are any exceptions raised during one of the shared fixture " "functions the test is reported as an error. Because there is no " @@ -3876,17 +3879,17 @@ msgstr "" "détail n'a pas d'importance, mais si vous êtes un auteur de cadriciel de " "test, il peut être pertinent." -#: library/unittest.rst:2353 +#: library/unittest.rst:2355 msgid "setUpClass and tearDownClass" msgstr "" "Classes de mise en place (*setUpClass*) et de démantèlement des tests " "(*tearDownClass*)" -#: library/unittest.rst:2355 +#: library/unittest.rst:2357 msgid "These must be implemented as class methods::" msgstr "Elles doivent être implémentées en tant que méthodes de classe ::" -#: library/unittest.rst:2368 +#: library/unittest.rst:2370 msgid "" "If you want the ``setUpClass`` and ``tearDownClass`` on base classes called " "then you must call up to them yourself. The implementations in :class:" @@ -3896,7 +3899,7 @@ msgstr "" "soient appelées, vous devez les appeler vous-même. Les implémentations dans :" "class:`TestCase` sont vides." -#: library/unittest.rst:2372 +#: library/unittest.rst:2374 msgid "" "If an exception is raised during a ``setUpClass`` then the tests in the " "class are not run and the ``tearDownClass`` is not run. Skipped classes will " @@ -3911,17 +3914,17 @@ msgstr "" "`SkipTest` alors la classe est signalée comme ayant été ignorée au lieu " "d'être en échec." -#: library/unittest.rst:2380 +#: library/unittest.rst:2382 msgid "setUpModule and tearDownModule" msgstr "" "Module de mise en place (*setUpModule*) et de démantèlement des tests " "(*tearDownModule*)" -#: library/unittest.rst:2382 +#: library/unittest.rst:2384 msgid "These should be implemented as functions::" msgstr "Elles doivent être implémentées en tant que fonctions ::" -#: library/unittest.rst:2390 +#: library/unittest.rst:2392 msgid "" "If an exception is raised in a ``setUpModule`` then none of the tests in the " "module will be run and the ``tearDownModule`` will not be run. If the " @@ -3934,7 +3937,7 @@ msgstr "" "exception :exc:`SkipTest` alors le module est signalé comme ayant été ignoré " "au lieu d'être en échec." -#: library/unittest.rst:2395 +#: library/unittest.rst:2397 msgid "" "To add cleanup code that must be run even in the case of an exception, use " "``addModuleCleanup``:" @@ -3942,7 +3945,7 @@ msgstr "" "Pour ajouter du code de nettoyage qui doit être exécuté même en cas " "d'exception, utilisez ``addModuleCleanup`` :" -#: library/unittest.rst:2401 +#: library/unittest.rst:2403 msgid "" "Add a function to be called after :func:`tearDownModule` to cleanup " "resources used during the test class. Functions will be called in reverse " @@ -3957,7 +3960,7 @@ msgstr "" "arguments et arguments nommés passés à :meth:`addModuleCleanup` quand elles " "sont ajoutées." -#: library/unittest.rst:2407 +#: library/unittest.rst:2409 msgid "" "If :meth:`setUpModule` fails, meaning that :func:`tearDownModule` is not " "called, then any cleanup functions added will still be called." @@ -3966,7 +3969,7 @@ msgstr "" "pas appelée, alors les fonctions de nettoyage ajoutées sont quand même " "toujours appelées." -#: library/unittest.rst:2415 +#: library/unittest.rst:2417 msgid "" "This function is called unconditionally after :func:`tearDownModule`, or " "after :func:`setUpModule` if :func:`setUpModule` raises an exception." @@ -3974,7 +3977,7 @@ msgstr "" "Cette méthode est appelée sans conditions après :meth:`tearDownModule`, ou " "après :meth:`setUpModule` si :meth:`setUpModule` lève une exception." -#: library/unittest.rst:2418 +#: library/unittest.rst:2420 msgid "" "It is responsible for calling all the cleanup functions added by :func:" "`addCleanupModule`. If you need cleanup functions to be called *prior* to :" @@ -3985,7 +3988,7 @@ msgstr "" "nettoyage à appeler *avant* l'appel à :meth:`tearDownModule` alors vous " "pouvez appeler :meth:`doCleanupsModule` vous-même." -#: library/unittest.rst:2423 +#: library/unittest.rst:2425 msgid "" ":func:`doModuleCleanups` pops methods off the stack of cleanup functions one " "at a time, so it can be called at any time." @@ -3994,11 +3997,11 @@ msgstr "" "nettoyage une à la fois, de sorte qu'elles peuvent être appelées à tout " "moment." -#: library/unittest.rst:2429 +#: library/unittest.rst:2431 msgid "Signal Handling" msgstr "Traitement des signaux" -#: library/unittest.rst:2433 +#: library/unittest.rst:2435 msgid "" "The :option:`-c/--catch ` command-line option to unittest, " "along with the ``catchbreak`` parameter to :func:`unittest.main()`, provide " @@ -4015,7 +4018,7 @@ msgstr "" "rapporte tous les résultats obtenus jusqu'à présent. Un deuxième contrôle-C " "lève une exception classique :exc:`KeyboardInterrupt`." -#: library/unittest.rst:2440 +#: library/unittest.rst:2442 msgid "" "The control-c handling signal handler attempts to remain compatible with " "code or tests that install their own :const:`signal.SIGINT` handler. If the " @@ -4036,7 +4039,7 @@ msgstr "" "individuels qui ont besoin que le signal *contrôle-C* \"*unittest*\" soit " "désactivée, le décorateur :func:`removeHandler` peut être utilisé." -#: library/unittest.rst:2449 +#: library/unittest.rst:2451 msgid "" "There are a few utility functions for framework authors to enable control-c " "handling functionality within test frameworks." @@ -4045,7 +4048,7 @@ msgstr "" "d'activer la fonctionnalité de gestion des *contrôle-C* dans les cadriciels " "de test." -#: library/unittest.rst:2454 +#: library/unittest.rst:2456 msgid "" "Install the control-c handler. When a :const:`signal.SIGINT` is received " "(usually in response to the user pressing control-c) all registered results " @@ -4056,7 +4059,7 @@ msgstr "" "tous les résultats enregistrés vont appeler la méthode :meth:`~TestResult." "stop`." -#: library/unittest.rst:2461 +#: library/unittest.rst:2463 msgid "" "Register a :class:`TestResult` object for control-c handling. Registering a " "result stores a weak reference to it, so it doesn't prevent the result from " @@ -4067,7 +4070,7 @@ msgstr "" "sorte qu'il n'empêche pas que le résultat soit collecté par le ramasse-" "miette." -#: library/unittest.rst:2465 +#: library/unittest.rst:2467 msgid "" "Registering a :class:`TestResult` object has no side-effects if control-c " "handling is not enabled, so test frameworks can unconditionally register all " @@ -4078,7 +4081,7 @@ msgstr "" "peuvent enregistrer sans condition tous les résultats qu'ils créent " "indépendamment du fait que la gestion soit activée ou non." -#: library/unittest.rst:2472 +#: library/unittest.rst:2474 msgid "" "Remove a registered result. Once a result has been removed then :meth:" "`~TestResult.stop` will no longer be called on that result object in " @@ -4088,7 +4091,7 @@ msgstr "" "meth:`~TestResult.stop` n'est plus appelé sur cet objet résultat en réponse " "à un *contrôle-c*." -#: library/unittest.rst:2479 +#: library/unittest.rst:2481 msgid "" "When called without arguments this function removes the control-c handler if " "it has been installed. This function can also be used as a test decorator to " diff --git a/library/urllib.parse.po b/library/urllib.parse.po index 1e0851e1..1d70a470 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 17:33+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" @@ -97,19 +97,19 @@ msgid "" "accessed by index or as named attributes, which are:" msgstr "" -#: library/urllib.parse.rst:280 library/urllib.parse.rst:377 +#: library/urllib.parse.rst:280 library/urllib.parse.rst:384 msgid "Attribute" msgstr "Attribut" -#: library/urllib.parse.rst:280 library/urllib.parse.rst:377 +#: library/urllib.parse.rst:280 library/urllib.parse.rst:384 msgid "Index" msgstr "Index" -#: library/urllib.parse.rst:280 library/urllib.parse.rst:377 +#: library/urllib.parse.rst:280 library/urllib.parse.rst:384 msgid "Value" msgstr "Valeur" -#: library/urllib.parse.rst:280 library/urllib.parse.rst:377 +#: library/urllib.parse.rst:280 library/urllib.parse.rst:384 msgid "Value if not present" msgstr "" @@ -117,7 +117,7 @@ msgstr "" msgid ":attr:`scheme`" msgstr ":attr:`scheme`" -#: library/urllib.parse.rst:282 library/urllib.parse.rst:379 +#: library/urllib.parse.rst:282 library/urllib.parse.rst:386 msgid "0" msgstr "0" @@ -133,7 +133,7 @@ msgstr "" msgid ":attr:`netloc`" msgstr ":attr:`netloc`" -#: library/urllib.parse.rst:284 library/urllib.parse.rst:381 +#: library/urllib.parse.rst:284 library/urllib.parse.rst:388 msgid "1" msgstr "1" @@ -143,7 +143,7 @@ msgstr "" #: library/urllib.parse.rst:102 library/urllib.parse.rst:107 #: library/urllib.parse.rst:284 library/urllib.parse.rst:288 -#: library/urllib.parse.rst:379 library/urllib.parse.rst:381 +#: library/urllib.parse.rst:386 library/urllib.parse.rst:388 msgid "empty string" msgstr "" @@ -183,7 +183,7 @@ msgstr "4" msgid "Query component" msgstr "" -#: library/urllib.parse.rst:290 library/urllib.parse.rst:381 +#: library/urllib.parse.rst:290 library/urllib.parse.rst:388 msgid ":attr:`fragment`" msgstr ":attr:`fragment`" @@ -191,7 +191,7 @@ msgstr ":attr:`fragment`" msgid "5" msgstr "5" -#: library/urllib.parse.rst:290 library/urllib.parse.rst:381 +#: library/urllib.parse.rst:290 library/urllib.parse.rst:388 msgid "Fragment identifier" msgstr "" @@ -272,13 +272,13 @@ msgid "" "that support fragments existed." msgstr "" -#: library/urllib.parse.rst:314 +#: library/urllib.parse.rst:317 msgid "" "Out-of-range port numbers now raise :exc:`ValueError`, instead of returning :" "const:`None`." msgstr "" -#: library/urllib.parse.rst:318 +#: library/urllib.parse.rst:321 msgid "" "Characters that affect netloc parsing under NFKC normalization will now " "raise :exc:`ValueError`." @@ -382,13 +382,23 @@ msgid "" "returns a 5-item :term:`named tuple`::" msgstr "" -#: library/urllib.parse.rst:373 +#: library/urllib.parse.rst:380 msgid "" "The return value is a :term:`named tuple`, its items can be accessed by " "index or as named attributes:" msgstr "" +#: library/urllib.parse.rst:314 +msgid "" +"Following the `WHATWG spec`_ that updates RFC 3986, ASCII newline ``\\n``, ``" +"\\r`` and tab ``\\t`` characters are stripped from the URL." +msgstr "" + #: library/urllib.parse.rst:325 +msgid "ASCII newline and tab characters are stripped from the URL." +msgstr "" + +#: library/urllib.parse.rst:332 msgid "" "Combine the elements of a tuple as returned by :func:`urlsplit` into a " "complete URL as a string. The *parts* argument can be any five-item " @@ -397,7 +407,7 @@ msgid "" "a ? with an empty query; the RFC states that these are equivalent)." msgstr "" -#: library/urllib.parse.rst:334 +#: library/urllib.parse.rst:341 msgid "" "Construct a full (\"absolute\") URL by combining a \"base URL\" (*base*) " "with another URL (*url*). Informally, this uses components of the base URL, " @@ -405,30 +415,30 @@ msgid "" "path, to provide missing components in the relative URL. For example:" msgstr "" -#: library/urllib.parse.rst:343 +#: library/urllib.parse.rst:350 msgid "" "The *allow_fragments* argument has the same meaning and default as for :func:" "`urlparse`." msgstr "" -#: library/urllib.parse.rst:348 +#: library/urllib.parse.rst:355 msgid "" "If *url* is an absolute URL (that is, it starts with ``//`` or ``scheme://" "``), the *url*'s hostname and/or scheme will be present in the result. For " "example:" msgstr "" -#: library/urllib.parse.rst:357 +#: library/urllib.parse.rst:364 msgid "" "If you do not want that behavior, preprocess the *url* with :func:`urlsplit` " "and :func:`urlunsplit`, removing possible *scheme* and *netloc* parts." msgstr "" -#: library/urllib.parse.rst:363 +#: library/urllib.parse.rst:370 msgid "Behavior updated to match the semantics defined in :rfc:`3986`." msgstr "" -#: library/urllib.parse.rst:368 +#: library/urllib.parse.rst:375 msgid "" "If *url* contains a fragment identifier, return a modified version of *url* " "with no fragment identifier, and the fragment identifier as a separate " @@ -436,25 +446,25 @@ msgid "" "unmodified and an empty string." msgstr "" -#: library/urllib.parse.rst:379 +#: library/urllib.parse.rst:386 msgid ":attr:`url`" msgstr ":attr:`url`" -#: library/urllib.parse.rst:379 +#: library/urllib.parse.rst:386 msgid "URL with no fragment" msgstr "" -#: library/urllib.parse.rst:384 +#: library/urllib.parse.rst:391 msgid "" "See section :ref:`urlparse-result-object` for more information on the result " "object." msgstr "" -#: library/urllib.parse.rst:387 +#: library/urllib.parse.rst:394 msgid "Result is a structured object rather than a simple 2-tuple." msgstr "" -#: library/urllib.parse.rst:392 +#: library/urllib.parse.rst:399 msgid "" "Extract the url from a wrapped URL (that is, a string formatted as ````, ````, ``URL:scheme://host/path`` " @@ -462,11 +472,11 @@ msgid "" "without changes." msgstr "" -#: library/urllib.parse.rst:400 +#: library/urllib.parse.rst:407 msgid "Parsing ASCII Encoded Bytes" msgstr "" -#: library/urllib.parse.rst:402 +#: library/urllib.parse.rst:409 msgid "" "The URL parsing functions were originally designed to operate on character " "strings only. In practice, it is useful to be able to manipulate properly " @@ -475,14 +485,14 @@ msgid "" "`bytearray` objects in addition to :class:`str` objects." msgstr "" -#: library/urllib.parse.rst:408 +#: library/urllib.parse.rst:415 msgid "" "If :class:`str` data is passed in, the result will also contain only :class:" "`str` data. If :class:`bytes` or :class:`bytearray` data is passed in, the " "result will contain only :class:`bytes` data." msgstr "" -#: library/urllib.parse.rst:412 +#: library/urllib.parse.rst:419 msgid "" "Attempting to mix :class:`str` data with :class:`bytes` or :class:" "`bytearray` in a single function call will result in a :exc:`TypeError` " @@ -490,7 +500,7 @@ msgid "" "trigger :exc:`UnicodeDecodeError`." msgstr "" -#: library/urllib.parse.rst:417 +#: library/urllib.parse.rst:424 msgid "" "To support easier conversion of result objects between :class:`str` and :" "class:`bytes`, all return values from URL parsing functions provide either " @@ -503,14 +513,14 @@ msgid "" "`str` data (for :meth:`decode` methods)." msgstr "" -#: library/urllib.parse.rst:428 +#: library/urllib.parse.rst:435 msgid "" "Applications that need to operate on potentially improperly quoted URLs that " "may contain non-ASCII data will need to do their own decoding from bytes to " "characters before invoking the URL parsing methods." msgstr "" -#: library/urllib.parse.rst:432 +#: library/urllib.parse.rst:439 msgid "" "The behaviour described in this section applies only to the URL parsing " "functions. The URL quoting functions use their own rules when producing or " @@ -518,15 +528,15 @@ msgid "" "URL quoting functions." msgstr "" -#: library/urllib.parse.rst:437 +#: library/urllib.parse.rst:444 msgid "URL parsing functions now accept ASCII encoded byte sequences" msgstr "" -#: library/urllib.parse.rst:444 +#: library/urllib.parse.rst:451 msgid "Structured Parse Results" msgstr "" -#: library/urllib.parse.rst:446 +#: library/urllib.parse.rst:453 msgid "" "The result objects from the :func:`urlparse`, :func:`urlsplit` and :func:" "`urldefrag` functions are subclasses of the :class:`tuple` type. These " @@ -535,7 +545,7 @@ msgid "" "section, as well as an additional method:" msgstr "" -#: library/urllib.parse.rst:454 +#: library/urllib.parse.rst:461 msgid "" "Return the re-combined version of the original URL as a string. This may " "differ from the original URL in that the scheme may be normalized to lower " @@ -543,72 +553,72 @@ msgid "" "queries, and fragment identifiers will be removed." msgstr "" -#: library/urllib.parse.rst:459 +#: library/urllib.parse.rst:466 msgid "" "For :func:`urldefrag` results, only empty fragment identifiers will be " "removed. For :func:`urlsplit` and :func:`urlparse` results, all noted " "changes will be made to the URL returned by this method." msgstr "" -#: library/urllib.parse.rst:463 +#: library/urllib.parse.rst:470 msgid "" "The result of this method remains unchanged if passed back through the " "original parsing function:" msgstr "" -#: library/urllib.parse.rst:476 +#: library/urllib.parse.rst:483 msgid "" "The following classes provide the implementations of the structured parse " "results when operating on :class:`str` objects:" msgstr "" -#: library/urllib.parse.rst:481 +#: library/urllib.parse.rst:488 msgid "" "Concrete class for :func:`urldefrag` results containing :class:`str` data. " "The :meth:`encode` method returns a :class:`DefragResultBytes` instance." msgstr "" -#: library/urllib.parse.rst:489 +#: library/urllib.parse.rst:496 msgid "" "Concrete class for :func:`urlparse` results containing :class:`str` data. " "The :meth:`encode` method returns a :class:`ParseResultBytes` instance." msgstr "" -#: library/urllib.parse.rst:495 +#: library/urllib.parse.rst:502 msgid "" "Concrete class for :func:`urlsplit` results containing :class:`str` data. " "The :meth:`encode` method returns a :class:`SplitResultBytes` instance." msgstr "" -#: library/urllib.parse.rst:500 +#: library/urllib.parse.rst:507 msgid "" "The following classes provide the implementations of the parse results when " "operating on :class:`bytes` or :class:`bytearray` objects:" msgstr "" -#: library/urllib.parse.rst:505 +#: library/urllib.parse.rst:512 msgid "" "Concrete class for :func:`urldefrag` results containing :class:`bytes` data. " "The :meth:`decode` method returns a :class:`DefragResult` instance." msgstr "" -#: library/urllib.parse.rst:513 +#: library/urllib.parse.rst:520 msgid "" "Concrete class for :func:`urlparse` results containing :class:`bytes` data. " "The :meth:`decode` method returns a :class:`ParseResult` instance." msgstr "" -#: library/urllib.parse.rst:521 +#: library/urllib.parse.rst:528 msgid "" "Concrete class for :func:`urlsplit` results containing :class:`bytes` data. " "The :meth:`decode` method returns a :class:`SplitResult` instance." msgstr "" -#: library/urllib.parse.rst:529 +#: library/urllib.parse.rst:536 msgid "URL Quoting" msgstr "" -#: library/urllib.parse.rst:531 +#: library/urllib.parse.rst:538 msgid "" "The URL quoting functions focus on taking program data and making it safe " "for use as URL components by quoting special characters and appropriately " @@ -617,7 +627,7 @@ msgid "" "isn't already covered by the URL parsing functions above." msgstr "" -#: library/urllib.parse.rst:539 +#: library/urllib.parse.rst:546 msgid "" "Replace special characters in *string* using the ``%xx`` escape. Letters, " "digits, and the characters ``'_.-~'`` are never quoted. By default, this " @@ -626,17 +636,17 @@ msgid "" "quoted --- its default value is ``'/'``." msgstr "" -#: library/urllib.parse.rst:591 library/urllib.parse.rst:620 +#: library/urllib.parse.rst:598 library/urllib.parse.rst:627 msgid "*string* may be either a :class:`str` or a :class:`bytes` object." msgstr "" -#: library/urllib.parse.rst:547 +#: library/urllib.parse.rst:554 msgid "" "Moved from :rfc:`2396` to :rfc:`3986` for quoting URL strings. \"~\" is now " "included in the set of unreserved characters." msgstr "" -#: library/urllib.parse.rst:551 +#: library/urllib.parse.rst:558 msgid "" "The optional *encoding* and *errors* parameters specify how to deal with non-" "ASCII characters, as accepted by the :meth:`str.encode` method. *encoding* " @@ -646,17 +656,17 @@ msgid "" "`TypeError` is raised." msgstr "" -#: library/urllib.parse.rst:559 +#: library/urllib.parse.rst:566 msgid "" "Note that ``quote(string, safe, encoding, errors)`` is equivalent to " "``quote_from_bytes(string.encode(encoding, errors), safe)``." msgstr "" -#: library/urllib.parse.rst:562 +#: library/urllib.parse.rst:569 msgid "Example: ``quote('/El Niño/')`` yields ``'/El%20Ni%C3%B1o/'``." msgstr "" -#: library/urllib.parse.rst:567 +#: library/urllib.parse.rst:574 msgid "" "Like :func:`quote`, but also replace spaces with plus signs, as required for " "quoting HTML form values when building up a query string to go into a URL. " @@ -664,21 +674,21 @@ msgid "" "*safe*. It also does not have *safe* default to ``'/'``." msgstr "" -#: library/urllib.parse.rst:572 +#: library/urllib.parse.rst:579 msgid "Example: ``quote_plus('/El Niño/')`` yields ``'%2FEl+Ni%C3%B1o%2F'``." msgstr "" -#: library/urllib.parse.rst:577 +#: library/urllib.parse.rst:584 msgid "" "Like :func:`quote`, but accepts a :class:`bytes` object rather than a :class:" "`str`, and does not perform string-to-bytes encoding." msgstr "" -#: library/urllib.parse.rst:580 +#: library/urllib.parse.rst:587 msgid "Example: ``quote_from_bytes(b'a&\\xef')`` yields ``'a%26%EF'``." msgstr "" -#: library/urllib.parse.rst:586 +#: library/urllib.parse.rst:593 msgid "" "Replace ``%xx`` escapes with their single-character equivalent. The optional " "*encoding* and *errors* parameters specify how to decode percent-encoded " @@ -686,52 +696,52 @@ msgid "" "method." msgstr "" -#: library/urllib.parse.rst:593 +#: library/urllib.parse.rst:600 msgid "" "*encoding* defaults to ``'utf-8'``. *errors* defaults to ``'replace'``, " "meaning invalid sequences are replaced by a placeholder character." msgstr "" -#: library/urllib.parse.rst:597 +#: library/urllib.parse.rst:604 msgid "Example: ``unquote('/El%20Ni%C3%B1o/')`` yields ``'/El Niño/'``." msgstr "" -#: library/urllib.parse.rst:599 +#: library/urllib.parse.rst:606 msgid "" "*string* parameter supports bytes and str objects (previously only str)." msgstr "" -#: library/urllib.parse.rst:607 +#: library/urllib.parse.rst:614 msgid "" "Like :func:`unquote`, but also replace plus signs with spaces, as required " "for unquoting HTML form values." msgstr "" -#: library/urllib.parse.rst:610 +#: library/urllib.parse.rst:617 msgid "*string* must be a :class:`str`." msgstr "" -#: library/urllib.parse.rst:612 +#: library/urllib.parse.rst:619 msgid "Example: ``unquote_plus('/El+Ni%C3%B1o/')`` yields ``'/El Niño/'``." msgstr "" -#: library/urllib.parse.rst:617 +#: library/urllib.parse.rst:624 msgid "" "Replace ``%xx`` escapes with their single-octet equivalent, and return a :" "class:`bytes` object." msgstr "" -#: library/urllib.parse.rst:622 +#: library/urllib.parse.rst:629 msgid "" "If it is a :class:`str`, unescaped non-ASCII characters in *string* are " "encoded into UTF-8 bytes." msgstr "" -#: library/urllib.parse.rst:625 +#: library/urllib.parse.rst:632 msgid "Example: ``unquote_to_bytes('a%26%EF')`` yields ``b'a&\\xef'``." msgstr "" -#: library/urllib.parse.rst:631 +#: library/urllib.parse.rst:638 msgid "" "Convert a mapping object or a sequence of two-element tuples, which may " "contain :class:`str` or :class:`bytes` objects, to a percent-encoded ASCII " @@ -740,7 +750,7 @@ msgid "" "be encoded to bytes, otherwise it would result in a :exc:`TypeError`." msgstr "" -#: library/urllib.parse.rst:638 +#: library/urllib.parse.rst:645 msgid "" "The resulting string is a series of ``key=value`` pairs separated by ``'&'`` " "characters, where both *key* and *value* are quoted using the *quote_via* " @@ -753,7 +763,7 @@ msgid "" "``quote`` and specify a value for *safe*." msgstr "" -#: library/urllib.parse.rst:648 +#: library/urllib.parse.rst:655 msgid "" "When a sequence of two-element tuples is used as the *query* argument, the " "first element of each tuple is a key and the second is a value. The value " @@ -764,39 +774,49 @@ msgid "" "order of parameter tuples in the sequence." msgstr "" -#: library/urllib.parse.rst:656 +#: library/urllib.parse.rst:663 msgid "" "The *safe*, *encoding*, and *errors* parameters are passed down to " "*quote_via* (the *encoding* and *errors* parameters are only passed when a " "query element is a :class:`str`)." msgstr "" -#: library/urllib.parse.rst:660 +#: library/urllib.parse.rst:667 msgid "" "To reverse this encoding process, :func:`parse_qs` and :func:`parse_qsl` are " "provided in this module to parse query strings into Python data structures." msgstr "" -#: library/urllib.parse.rst:663 +#: library/urllib.parse.rst:670 msgid "" "Refer to :ref:`urllib examples ` to find out how the :func:" "`urllib.parse.urlencode` method can be used for generating the query string " "of a URL or data for a POST request." msgstr "" -#: library/urllib.parse.rst:667 +#: library/urllib.parse.rst:674 msgid "*query* supports bytes and string objects." msgstr "" -#: library/urllib.parse.rst:670 +#: library/urllib.parse.rst:677 msgid "*quote_via* parameter." msgstr "" -#: library/urllib.parse.rst:680 +#: library/urllib.parse.rst:685 +msgid "`WHATWG`_ - URL Living standard" +msgstr "" + +#: library/urllib.parse.rst:684 +msgid "" +"Working Group for the URL Standard that defines URLs, domains, IP addresses, " +"the application/x-www-form-urlencoded format, and their API." +msgstr "" + +#: library/urllib.parse.rst:691 msgid ":rfc:`3986` - Uniform Resource Identifiers" msgstr "" -#: library/urllib.parse.rst:677 +#: library/urllib.parse.rst:688 msgid "" "This is the current standard (STD66). Any changes to urllib.parse module " "should conform to this. Certain deviations could be observed, which are " @@ -804,47 +824,47 @@ msgid "" "requirements as commonly observed in major browsers." msgstr "" -#: library/urllib.parse.rst:683 +#: library/urllib.parse.rst:694 msgid ":rfc:`2732` - Format for Literal IPv6 Addresses in URL's." msgstr "" -#: library/urllib.parse.rst:683 +#: library/urllib.parse.rst:694 msgid "This specifies the parsing requirements of IPv6 URLs." msgstr "" -#: library/urllib.parse.rst:687 +#: library/urllib.parse.rst:698 msgid ":rfc:`2396` - Uniform Resource Identifiers (URI): Generic Syntax" msgstr "" -#: library/urllib.parse.rst:686 +#: library/urllib.parse.rst:697 msgid "" "Document describing the generic syntactic requirements for both Uniform " "Resource Names (URNs) and Uniform Resource Locators (URLs)." msgstr "" -#: library/urllib.parse.rst:690 +#: library/urllib.parse.rst:701 msgid ":rfc:`2368` - The mailto URL scheme." msgstr "" -#: library/urllib.parse.rst:690 +#: library/urllib.parse.rst:701 msgid "Parsing requirements for mailto URL schemes." msgstr "" -#: library/urllib.parse.rst:695 +#: library/urllib.parse.rst:706 msgid ":rfc:`1808` - Relative Uniform Resource Locators" msgstr "" -#: library/urllib.parse.rst:693 +#: library/urllib.parse.rst:704 msgid "" "This Request For Comments includes the rules for joining an absolute and a " "relative URL, including a fair number of \"Abnormal Examples\" which govern " "the treatment of border cases." msgstr "" -#: library/urllib.parse.rst:697 +#: library/urllib.parse.rst:708 msgid ":rfc:`1738` - Uniform Resource Locators (URL)" msgstr "" -#: library/urllib.parse.rst:698 +#: library/urllib.parse.rst:709 msgid "This specifies the formal syntax and semantics of absolute URLs." msgstr "" diff --git a/library/zipfile.po b/library/zipfile.po index b60394ab..eb2df01d 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -4,8 +4,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" -"Report-Msgid-Bugs-To:\n" -"POT-Creation-Date: 2020-10-01 16:00+0200\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-27 11:30+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 6e03889e..268da7e5 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-27 19:26+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-10 16:40+0200\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -613,13 +613,13 @@ msgstr "" "valeur de retour de :meth:`__exit__` est ignorée et l'exécution se poursuit " "à l'endroit normal pour le type de sortie prise." -#: reference/compound_stmts.rst:437 reference/compound_stmts.rst:810 -#: reference/compound_stmts.rst:851 +#: reference/compound_stmts.rst:437 reference/compound_stmts.rst:815 +#: reference/compound_stmts.rst:856 msgid "The following code::" msgstr "Le code suivant ::" #: reference/compound_stmts.rst:442 reference/compound_stmts.rst:467 -#: reference/compound_stmts.rst:856 +#: reference/compound_stmts.rst:861 msgid "is semantically equivalent to::" msgstr "est sémantiquement équivalent à ::" @@ -659,7 +659,7 @@ msgstr "" "Une définition de fonction définit un objet fonction allogène (voir la " "section :ref:`types`) :" -#: reference/compound_stmts.rst:525 +#: reference/compound_stmts.rst:524 msgid "" "A function definition is an executable statement. Its execution binds the " "function name in the current local namespace to a function object (a wrapper " @@ -674,7 +674,7 @@ msgstr "" "globaux courant comme espace des noms globaux à utiliser lorsque la fonction " "est appelée." -#: reference/compound_stmts.rst:531 +#: reference/compound_stmts.rst:530 msgid "" "The function definition does not execute the function body; this gets " "executed only when the function is called. [#]_" @@ -682,7 +682,7 @@ msgstr "" "La définition de la fonction n'exécute pas le corps de la fonction ; elle " "n'est exécutée que lorsque la fonction est appelée. [#]_" -#: reference/compound_stmts.rst:537 +#: reference/compound_stmts.rst:536 msgid "" "A function definition may be wrapped by one or more :term:`decorator` " "expressions. Decorator expressions are evaluated when the function is " @@ -701,11 +701,11 @@ msgstr "" "décorateurs, ils sont appliqués par imbrication ; par exemple, le code " "suivant ::" -#: reference/compound_stmts.rst:548 reference/compound_stmts.rst:719 +#: reference/compound_stmts.rst:547 reference/compound_stmts.rst:724 msgid "is roughly equivalent to ::" msgstr "est à peu près équivalent à ::" -#: reference/compound_stmts.rst:553 +#: reference/compound_stmts.rst:552 msgid "" "except that the original function is not temporarily bound to the name " "``func``." @@ -713,7 +713,7 @@ msgstr "" "sauf que la fonction originale n'est pas temporairement liée au nom ``func``." # Pas de majuscule : ok. -#: reference/compound_stmts.rst:555 +#: reference/compound_stmts.rst:554 msgid "" "Functions may be decorated with any valid :token:`assignment_expression`. " "Previously, the grammar was much more restrictive; see :pep:`614` for " @@ -724,7 +724,7 @@ msgstr "" "était beaucoup plus restrictive ; voir la :pep:`614` pour obtenir les " "détails." -#: reference/compound_stmts.rst:565 +#: reference/compound_stmts.rst:564 msgid "" "When one or more :term:`parameters ` have the form *parameter* " "``=`` *expression*, the function is said to have \"default parameter values." @@ -743,7 +743,7 @@ msgstr "" "une valeur par défaut — ceci est une restriction syntaxique qui n'est pas " "exprimée dans la grammaire." -#: reference/compound_stmts.rst:573 +#: reference/compound_stmts.rst:572 msgid "" "**Default parameter values are evaluated from left to right when the " "function definition is executed.** This means that the expression is " @@ -767,17 +767,20 @@ msgstr "" "explicitement la valeur dans le corps de la fonction. Par exemple ::" #: reference/compound_stmts.rst:593 +#, fuzzy msgid "" "Function call semantics are described in more detail in section :ref:" "`calls`. A function call always assigns values to all parameters mentioned " -"in the parameter list, either from position arguments, from keyword " +"in the parameter list, either from positional arguments, from keyword " "arguments, or from default values. If the form \"``*identifier``\" is " "present, it is initialized to a tuple receiving any excess positional " "parameters, defaulting to the empty tuple. If the form \"``**identifier``\" " "is present, it is initialized to a new ordered mapping receiving any excess " "keyword arguments, defaulting to a new empty mapping of the same type. " "Parameters after \"``*``\" or \"``*identifier``\" are keyword-only " -"parameters and may only be passed used keyword arguments." +"parameters and may only be passed by keyword arguments. Parameters before " +"\"``/``\" are positional-only parameters and may only be passed by " +"positional arguments." msgstr "" "La sémantique de l'appel de fonction est décrite plus en détail dans la " "section :ref:`calls`. Un appel de fonction assigne toujours des valeurs à " @@ -792,7 +795,13 @@ msgstr "" "\"``*``\" ou \"``*identifier``\" sont forcément des paramètres par mot-clé " "et ne peuvent être passés qu'en utilisant des arguments par mot-clé." -#: reference/compound_stmts.rst:609 +#: reference/compound_stmts.rst:605 +msgid "" +"The ``/`` function parameter syntax may be used to indicate positional-only " +"parameters. See :pep:`570` for details." +msgstr "" + +#: reference/compound_stmts.rst:614 msgid "" "Parameters may have an :term:`annotation ` of the form " "\"``: expression``\" following the parameter name. Any parameter may have " @@ -824,7 +833,7 @@ msgstr "" "cas, les annotations peuvent être interprétées dans un ordre différent de " "l'ordre dans lequel elles apparaissent dans le fichier." -#: reference/compound_stmts.rst:624 +#: reference/compound_stmts.rst:629 msgid "" "It is also possible to create anonymous functions (functions not bound to a " "name), for immediate use in expressions. This uses lambda expressions, " @@ -845,7 +854,7 @@ msgstr "" "en fait plus puissante puisqu'elle permet l'exécution de plusieurs " "instructions et les annotations." -#: reference/compound_stmts.rst:632 +#: reference/compound_stmts.rst:637 msgid "" "**Programmer's note:** Functions are first-class objects. A \"``def``\" " "statement executed inside a function definition defines a local function " @@ -860,29 +869,29 @@ msgstr "" "ont accès aux variables locales de la fonction contenant le \"``def``\". " "Voir la section :ref:`naming` pour plus de détails." -#: reference/compound_stmts.rst:641 +#: reference/compound_stmts.rst:646 msgid ":pep:`3107` - Function Annotations" msgstr ":pep:`3107` — Annotations de fonctions" -#: reference/compound_stmts.rst:641 +#: reference/compound_stmts.rst:646 msgid "The original specification for function annotations." msgstr "La spécification originale pour les annotations de fonctions." -#: reference/compound_stmts.rst:644 +#: reference/compound_stmts.rst:649 msgid ":pep:`484` - Type Hints" msgstr ":pep:`484` — Indications de types" -#: reference/compound_stmts.rst:644 +#: reference/compound_stmts.rst:649 msgid "Definition of a standard meaning for annotations: type hints." msgstr "" "Définition de la signification standard pour les annotations : indications " "de types." -#: reference/compound_stmts.rst:648 +#: reference/compound_stmts.rst:653 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr ":pep:`526` — Syntaxe pour les annotations de variables" -#: reference/compound_stmts.rst:647 +#: reference/compound_stmts.rst:652 msgid "" "Ability to type hint variable declarations, including class variables and " "instance variables" @@ -890,11 +899,11 @@ msgstr "" "Capacité d'indiquer des types pour les déclarations de variables, y compris " "les variables de classes et les variables d'instances" -#: reference/compound_stmts.rst:651 +#: reference/compound_stmts.rst:656 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr ":pep:`563` — Évaluation différée des annotations" -#: reference/compound_stmts.rst:651 +#: reference/compound_stmts.rst:656 msgid "" "Support for forward references within annotations by preserving annotations " "in a string form at runtime instead of eager evaluation." @@ -903,17 +912,17 @@ msgstr "" "préservant les annotations sous forme de chaînes à l'exécution au lieu d'une " "évaluation directe." -#: reference/compound_stmts.rst:658 +#: reference/compound_stmts.rst:663 msgid "Class definitions" msgstr "Définition de classes" -#: reference/compound_stmts.rst:673 +#: reference/compound_stmts.rst:678 msgid "A class definition defines a class object (see section :ref:`types`):" msgstr "" "Une définition de classe définit un objet classe (voir la section :ref:" "`types`) :" -#: reference/compound_stmts.rst:680 +#: reference/compound_stmts.rst:685 msgid "" "A class definition is an executable statement. The inheritance list usually " "gives a list of base classes (see :ref:`metaclasses` for more advanced " @@ -929,11 +938,11 @@ msgstr "" "classes sans liste d'héritage héritent, par défaut, de la classe de base :" "class:`object` ; d'où ::" -#: reference/compound_stmts.rst:689 +#: reference/compound_stmts.rst:694 msgid "is equivalent to ::" msgstr "est équivalente à ::" -#: reference/compound_stmts.rst:694 +#: reference/compound_stmts.rst:699 msgid "" "The class's suite is then executed in a new execution frame (see :ref:" "`naming`), using a newly created local namespace and the original global " @@ -954,7 +963,7 @@ msgstr "" "de nommage sauvegardé comme dictionnaire des attributs. Le nom de classe est " "lié à l'objet classe dans l'espace de nommage local original." -#: reference/compound_stmts.rst:703 +#: reference/compound_stmts.rst:708 msgid "" "The order in which attributes are defined in the class body is preserved in " "the new class's ``__dict__``. Note that this is reliable only right after " @@ -966,7 +975,7 @@ msgstr "" "n'est fiable que juste après la création de la classe et seulement pour les " "classes qui ont été définies en utilisant la syntaxe de définition." -#: reference/compound_stmts.rst:708 +#: reference/compound_stmts.rst:713 msgid "" "Class creation can be customized heavily using :ref:`metaclasses " "`." @@ -974,13 +983,13 @@ msgstr "" "La création de classes peut être fortement personnalisée en utilisant les :" "ref:`métaclasses `." -#: reference/compound_stmts.rst:713 +#: reference/compound_stmts.rst:718 msgid "Classes can also be decorated: just like when decorating functions, ::" msgstr "" "Les classes peuvent aussi être décorées : comme pour les décorateurs de " "fonctions,::" -#: reference/compound_stmts.rst:724 +#: reference/compound_stmts.rst:729 msgid "" "The evaluation rules for the decorator expressions are the same as for " "function decorators. The result is then bound to the class name." @@ -989,7 +998,7 @@ msgstr "" "que pour les décorateurs de fonctions. Le résultat est alors lié au nom de " "la classe." -#: reference/compound_stmts.rst:727 +#: reference/compound_stmts.rst:732 msgid "" "Classes may be decorated with any valid :token:`assignment_expression`. " "Previously, the grammar was much more restrictive; see :pep:`614` for " @@ -999,7 +1008,7 @@ msgstr "" "` valide. Auparavant, la grammaire était beaucoup " "plus restrictive ; voir la :pep:`614` pour obtenir les détails." -#: reference/compound_stmts.rst:732 +#: reference/compound_stmts.rst:737 msgid "" "**Programmer's note:** Variables defined in the class definition are class " "attributes; they are shared by instances. Instance attributes can be set in " @@ -1023,11 +1032,11 @@ msgstr "" "peuvent être utilisés pour créer des variables d'instances avec des détails " "d'implémentation différents." -#: reference/compound_stmts.rst:747 +#: reference/compound_stmts.rst:752 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr ":pep:`3115` — Métaclasses dans Python 3000" -#: reference/compound_stmts.rst:745 +#: reference/compound_stmts.rst:750 msgid "" "The proposal that changed the declaration of metaclasses to the current " "syntax, and the semantics for how classes with metaclasses are constructed." @@ -1036,11 +1045,11 @@ msgstr "" "actuelle, et la sémantique pour la façon dont les classes avec métaclasses " "sont construites." -#: reference/compound_stmts.rst:750 +#: reference/compound_stmts.rst:755 msgid ":pep:`3129` - Class Decorators" msgstr ":pep:`3129` — Décorateurs de classes" -#: reference/compound_stmts.rst:750 +#: reference/compound_stmts.rst:755 msgid "" "The proposal that added class decorators. Function and method decorators " "were introduced in :pep:`318`." @@ -1048,15 +1057,15 @@ msgstr "" "La proposition qui a ajouté des décorateurs de classe. Les décorateurs de " "fonction et de méthode ont été introduits dans :pep:`318`." -#: reference/compound_stmts.rst:757 +#: reference/compound_stmts.rst:762 msgid "Coroutines" msgstr "Coroutines" -#: reference/compound_stmts.rst:765 +#: reference/compound_stmts.rst:770 msgid "Coroutine function definition" msgstr "Définition de fonctions coroutines" -#: reference/compound_stmts.rst:775 +#: reference/compound_stmts.rst:780 msgid "" "Execution of Python coroutines can be suspended and resumed at many points " "(see :term:`coroutine`). Inside the body of a coroutine function, ``await`` " @@ -1070,7 +1079,7 @@ msgstr "" "expressions :keyword:`await`, :keyword:`async for` et :keyword:`async with` " "ne peuvent être utilisées que dans les corps de coroutines." -#: reference/compound_stmts.rst:781 +#: reference/compound_stmts.rst:786 msgid "" "Functions defined with ``async def`` syntax are always coroutine functions, " "even if they do not contain ``await`` or ``async`` keywords." @@ -1079,7 +1088,7 @@ msgstr "" "fonctions coroutines, même si elles ne contiennent aucun mot-clé ``await`` " "ou ``async``." -#: reference/compound_stmts.rst:784 +#: reference/compound_stmts.rst:789 msgid "" "It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the " "body of a coroutine function." @@ -1087,15 +1096,15 @@ msgstr "" "C'est une :exc:`SyntaxError` d'utiliser une expression ``yield from`` dans " "une coroutine." -#: reference/compound_stmts.rst:787 +#: reference/compound_stmts.rst:792 msgid "An example of a coroutine function::" msgstr "Un exemple de fonction coroutine ::" -#: reference/compound_stmts.rst:798 +#: reference/compound_stmts.rst:803 msgid "The :keyword:`!async for` statement" msgstr "L'instruction :keyword:`!async for`" -#: reference/compound_stmts.rst:803 +#: reference/compound_stmts.rst:808 msgid "" "An :term:`asynchronous iterable` provides an ``__aiter__`` method that " "directly returns an :term:`asynchronous iterator`, which can call " @@ -1106,7 +1115,7 @@ msgstr "" "`, celui-ci pouvant appeler du code asynchrone dans " "sa méthode ``__anext__``." -#: reference/compound_stmts.rst:807 +#: reference/compound_stmts.rst:812 msgid "" "The ``async for`` statement allows convenient iteration over asynchronous " "iterables." @@ -1114,16 +1123,16 @@ msgstr "" "L'instruction ``async for`` permet d'itérer facilement sur des itérables " "asynchrones." -#: reference/compound_stmts.rst:817 +#: reference/compound_stmts.rst:822 msgid "Is semantically equivalent to::" msgstr "est sémantiquement équivalent à ::" -#: reference/compound_stmts.rst:833 +#: reference/compound_stmts.rst:838 msgid "See also :meth:`__aiter__` and :meth:`__anext__` for details." msgstr "" "Voir aussi :meth:`__aiter__` et :meth:`__anext__` pour plus de détails." -#: reference/compound_stmts.rst:835 +#: reference/compound_stmts.rst:840 msgid "" "It is a :exc:`SyntaxError` to use an ``async for`` statement outside the " "body of a coroutine function." @@ -1131,11 +1140,11 @@ msgstr "" "C'est une :exc:`SyntaxError` d'utiliser une instruction ``async for`` en " "dehors d'une fonction coroutine." -#: reference/compound_stmts.rst:843 +#: reference/compound_stmts.rst:848 msgid "The :keyword:`!async with` statement" msgstr "L'instruction :keyword:`!async with`" -#: reference/compound_stmts.rst:848 +#: reference/compound_stmts.rst:853 msgid "" "An :term:`asynchronous context manager` is a :term:`context manager` that is " "able to suspend execution in its *enter* and *exit* methods." @@ -1144,12 +1153,12 @@ msgstr "" "manager>` est un :term:`gestionnaire de contexte ` qui est " "capable de suspendre l'exécution dans ses méthodes *enter* et *exit*." -#: reference/compound_stmts.rst:875 +#: reference/compound_stmts.rst:880 msgid "See also :meth:`__aenter__` and :meth:`__aexit__` for details." msgstr "" "Voir aussi :meth:`__aenter__` et :meth:`__aexit__` pour plus de détails." -#: reference/compound_stmts.rst:877 +#: reference/compound_stmts.rst:882 msgid "" "It is a :exc:`SyntaxError` to use an ``async with`` statement outside the " "body of a coroutine function." @@ -1157,11 +1166,11 @@ msgstr "" "C'est une :exc:`SyntaxError` d'utiliser l'instruction ``async with`` en " "dehors d'une fonction coroutine." -#: reference/compound_stmts.rst:883 +#: reference/compound_stmts.rst:888 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr ":pep:`492` — Coroutines avec les syntaxes *async* et *await*" -#: reference/compound_stmts.rst:883 +#: reference/compound_stmts.rst:888 msgid "" "The proposal that made coroutines a proper standalone concept in Python, and " "added supporting syntax." @@ -1169,11 +1178,11 @@ msgstr "" "La proposition qui a fait que les coroutines soient un concept propre en " "Python, et a ajouté la syntaxe de prise en charge de celles-ci." -#: reference/compound_stmts.rst:888 +#: reference/compound_stmts.rst:893 msgid "Footnotes" msgstr "Notes" -#: reference/compound_stmts.rst:889 +#: reference/compound_stmts.rst:894 msgid "" "The exception is propagated to the invocation stack unless there is a :" "keyword:`finally` clause which happens to raise another exception. That new " @@ -1184,7 +1193,7 @@ msgstr "" "perte de l'ancienne exception. Cette nouvelle exception entraîne la perte " "pure et simple de l'ancienne." -#: reference/compound_stmts.rst:893 +#: reference/compound_stmts.rst:898 msgid "" "A string literal appearing as the first statement in the function body is " "transformed into the function's ``__doc__`` attribute and therefore the " @@ -1194,7 +1203,7 @@ msgstr "" "de la fonction est transformée en attribut ``__doc__`` de la fonction et " "donc en :term:`docstring` de la fonction." -#: reference/compound_stmts.rst:897 +#: reference/compound_stmts.rst:902 msgid "" "A string literal appearing as the first statement in the class body is " "transformed into the namespace's ``__doc__`` item and therefore the class's :" diff --git a/reference/datamodel.po b/reference/datamodel.po index 33f57792..7df05c5e 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-13 17:29+0200\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -1596,7 +1596,7 @@ msgstr "" "et se conforment donc à l'interface définie par la classe abstraite :class:" "`io.TextIOBase`." -#: reference/datamodel.rst:1145 +#: reference/datamodel.rst:1151 msgid "Internal types" msgstr "Types internes" @@ -1725,7 +1725,7 @@ msgstr "" "`co_consts` est le texte de documentation de la fonction (ou ``None`` s'il " "n'y en a pas)." -#: reference/datamodel.rst:1041 +#: reference/datamodel.rst:1044 msgid "Frame objects" msgstr "Objets cadres" @@ -1757,7 +1757,16 @@ msgstr "" "l'instruction précise (c'est un indice dans la chaîne de *bytecode* de " "l'objet code)." -#: reference/datamodel.rst:1014 +#: reference/datamodel.rst:1008 +#, fuzzy +msgid "" +"Accessing ``f_code`` raises an :ref:`auditing event ` ``object." +"__getattr__`` with arguments ``obj`` and ``\"f_code\"``." +msgstr "" +"Lève un :ref:`événement d'audit ` ``object.__getattr__`` avec les " +"arguments ``obj`` et ``name``." + +#: reference/datamodel.rst:1017 msgid "" "Special writable attributes: :attr:`f_trace`, if not ``None``, is a function " "called for various events during code execution (this is used by the " @@ -1770,7 +1779,7 @@ msgstr "" "événement est déclenché pour chaque ligne de code source — ce comportement " "peut être désactivé en définissant :attr:`f_trace_lines` à :const:`False`." -#: reference/datamodel.rst:1019 +#: reference/datamodel.rst:1022 msgid "" "Implementations *may* allow per-opcode events to be requested by setting :" "attr:`f_trace_opcodes` to :const:`True`. Note that this may lead to " @@ -1783,7 +1792,7 @@ msgstr "" "exceptions levées la fonction de traçage s'échappent vers la fonction en " "train d'être tracée." -#: reference/datamodel.rst:1024 +#: reference/datamodel.rst:1027 msgid "" ":attr:`f_lineno` is the current line number of the frame --- writing to this " "from within a trace function jumps to the given line (only for the bottom-" @@ -1796,11 +1805,11 @@ msgstr "" "vers » (aussi appelée « Définir la prochaine instruction » ou *Set Next " "Statement* en anglais) en écrivant dans ``f_lineno``." -#: reference/datamodel.rst:1029 +#: reference/datamodel.rst:1032 msgid "Frame objects support one method:" msgstr "Les objets cadres comprennent une méthode :" -#: reference/datamodel.rst:1033 +#: reference/datamodel.rst:1036 msgid "" "This method clears all references to local variables held by the frame. " "Also, if the frame belonged to a generator, the generator is finalized. " @@ -1813,15 +1822,15 @@ msgstr "" "incluent des objets cadres (par exemple, lors de la capture d'une exception " "et du stockage de la pile d'appels pour une utilisation future)." -#: reference/datamodel.rst:1039 +#: reference/datamodel.rst:1042 msgid ":exc:`RuntimeError` is raised if the frame is currently executing." msgstr ":exc:`RuntimeError` est levée si le cadre est en cours d'exécution." -#: reference/datamodel.rst:1101 +#: reference/datamodel.rst:1107 msgid "Traceback objects" msgstr "Objets traces" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1059 msgid "" "Traceback objects represent a stack trace of an exception. A traceback " "object is implicitly created when an exception occurs, and may also be " @@ -1832,7 +1841,7 @@ msgstr "" "quand une exception apparaît et peut être explicitement créé en appelant :" "class:`types.TracebackType`." -#: reference/datamodel.rst:1060 +#: reference/datamodel.rst:1063 msgid "" "For implicitly created tracebacks, when the search for an exception handler " "unwinds the execution stack, at each unwound level a traceback object is " @@ -1849,7 +1858,7 @@ msgstr "" "par le troisième élément du triplet renvoyé par ``sys.exc_info()`` et comme " "attribut ``__traceback__`` de l'exception qui est traitée." -#: reference/datamodel.rst:1068 +#: reference/datamodel.rst:1071 msgid "" "When the program contains no suitable handler, the stack trace is written " "(nicely formatted) to the standard error stream; if the interpreter is " @@ -1860,7 +1869,7 @@ msgstr "" "l'interpréteur est interactif, elle est rendue disponible pour l'utilisateur " "en tant que ``sys.last_traceback``." -#: reference/datamodel.rst:1073 +#: reference/datamodel.rst:1076 msgid "" "For explicitly created tracebacks, it is up to the creator of the traceback " "to determine how the ``tb_next`` attributes should be linked to form a full " @@ -1870,7 +1879,7 @@ msgstr "" "déterminer comment les attributs ``tb_next`` doivent être liés pour former " "la pile complète des traces." -#: reference/datamodel.rst:1083 +#: reference/datamodel.rst:1086 msgid "" "Special read-only attributes: :attr:`tb_frame` points to the execution frame " "of the current level; :attr:`tb_lineno` gives the line number where the " @@ -1888,6 +1897,15 @@ msgstr "" "adéquate ou sans clause *finally*." #: reference/datamodel.rst:1095 +#, fuzzy +msgid "" +"Accessing ``tb_frame`` raises an :ref:`auditing event ` ``object." +"__getattr__`` with arguments ``obj`` and ``\"tb_frame\"``." +msgstr "" +"Lève un :ref:`événement d'audit ` ``object.__getattr__`` avec les " +"arguments ``obj`` et ``name``." + +#: reference/datamodel.rst:1101 msgid "" "Special writable attribute: :attr:`tb_next` is the next level in the stack " "trace (towards the frame where the exception occurred), or ``None`` if there " @@ -1897,7 +1915,7 @@ msgstr "" "dans la pile d'exécution (en direction du cadre où l'exception a eu lieu) ou " "``None`` s'il n'y a pas de niveau suivant." -#: reference/datamodel.rst:1099 +#: reference/datamodel.rst:1105 msgid "" "Traceback objects can now be explicitly instantiated from Python code, and " "the ``tb_next`` attribute of existing instances can be updated." @@ -1906,11 +1924,11 @@ msgstr "" "instanciés depuis le code Python et l'attribut ``tb_next`` des instances " "existantes peut être mis à jour." -#: reference/datamodel.rst:1127 +#: reference/datamodel.rst:1133 msgid "Slice objects" msgstr "Objets tranches" -#: reference/datamodel.rst:1106 +#: reference/datamodel.rst:1112 msgid "" "Slice objects are used to represent slices for :meth:`__getitem__` methods. " "They are also created by the built-in :func:`slice` function." @@ -1919,7 +1937,7 @@ msgstr "" "meth:`__getitem__`. Ils sont aussi créés par la fonction native :func:" "`slice`." -#: reference/datamodel.rst:1114 +#: reference/datamodel.rst:1120 msgid "" "Special read-only attributes: :attr:`~slice.start` is the lower bound; :attr:" "`~slice.stop` is the upper bound; :attr:`~slice.step` is the step value; " @@ -1930,11 +1948,11 @@ msgstr "" "step` est la valeur du pas ; chaque attribut vaut ``None`` s'il est omis. " "Ces attributs peuvent être de n'importe quel type." -#: reference/datamodel.rst:1118 +#: reference/datamodel.rst:1124 msgid "Slice objects support one method:" msgstr "Les objets tranches comprennent une méthode :" -#: reference/datamodel.rst:1122 +#: reference/datamodel.rst:1128 msgid "" "This method takes a single integer argument *length* and computes " "information about the slice that the slice object would describe if applied " @@ -1950,11 +1968,11 @@ msgstr "" "indices manquants ou en dehors sont gérés de manière cohérente avec les " "tranches normales." -#: reference/datamodel.rst:1137 +#: reference/datamodel.rst:1143 msgid "Static method objects" msgstr "Objets méthodes statiques" -#: reference/datamodel.rst:1130 +#: reference/datamodel.rst:1136 msgid "" "Static method objects provide a way of defeating the transformation of " "function objects to method objects described above. A static method object " @@ -1975,11 +1993,11 @@ msgstr "" "les objets qu'ils encapsulent le soient souvent. Les objets méthodes " "statiques sont créés par le constructeur natif :func:`staticmethod`." -#: reference/datamodel.rst:1145 +#: reference/datamodel.rst:1151 msgid "Class method objects" msgstr "Objets méthodes de classes" -#: reference/datamodel.rst:1140 +#: reference/datamodel.rst:1146 msgid "" "A class method object, like a static method object, is a wrapper around " "another object that alters the way in which that object is retrieved from " @@ -1994,11 +2012,11 @@ msgstr "" "« méthodes définies par l'utilisateur ». Les objets méthodes de classes sont " "créés par le constructeur natif :func:`classmethod`." -#: reference/datamodel.rst:1150 +#: reference/datamodel.rst:1156 msgid "Special method names" msgstr "Méthodes spéciales" -#: reference/datamodel.rst:1156 +#: reference/datamodel.rst:1162 msgid "" "A class can implement certain operations that are invoked by special syntax " "(such as arithmetic operations or subscripting and slicing) by defining " @@ -2023,7 +2041,7 @@ msgstr "" "méthode appropriée n'est pas définie lève une exception (typiquement :exc:" "`AttributeError` ou :exc:`TypeError`)." -#: reference/datamodel.rst:1166 +#: reference/datamodel.rst:1172 msgid "" "Setting a special method to ``None`` indicates that the corresponding " "operation is not available. For example, if a class sets :meth:`__iter__` " @@ -2037,7 +2055,7 @@ msgstr "" "appeler :func:`iter` sur une instance lève :exc:`TypeError` (sans se replier " "sur :meth:`__getitem__`) [#]_." -#: reference/datamodel.rst:1172 +#: reference/datamodel.rst:1178 msgid "" "When implementing a class that emulates any built-in type, it is important " "that the emulation only be implemented to the degree that it makes sense for " @@ -2053,11 +2071,11 @@ msgstr "" "est l'interface de :class:`~xml.dom.NodeList` dans le modèle objet des " "documents W3C)." -#: reference/datamodel.rst:1183 +#: reference/datamodel.rst:1189 msgid "Basic customization" msgstr "Personnalisation de base" -#: reference/datamodel.rst:1189 +#: reference/datamodel.rst:1195 msgid "" "Called to create a new instance of class *cls*. :meth:`__new__` is a static " "method (special-cased so you need not declare it as such) that takes the " @@ -2074,7 +2092,7 @@ msgstr "" "valeur de retour de :meth:`__new__` doit être l'instance du nouvel objet " "(classiquement une instance de *cls*)." -#: reference/datamodel.rst:1196 +#: reference/datamodel.rst:1202 msgid "" "Typical implementations create a new instance of the class by invoking the " "superclass's :meth:`__new__` method using ``super().__new__(cls[, ...])`` " @@ -2086,7 +2104,7 @@ msgstr "" "__new__(cls[, …])`` avec les arguments adéquats, puis modifie l'instance " "nouvellement créée en tant que de besoin avant de la renvoyer." -#: reference/datamodel.rst:1201 +#: reference/datamodel.rst:1207 msgid "" "If :meth:`__new__` is invoked during object construction and it returns an " "instance or subclass of *cls*, then the new instance’s :meth:`__init__` " @@ -2100,7 +2118,7 @@ msgstr "" "où *self* est la nouvelle instance et les autres arguments sont les mêmes " "que ceux passés au constructeur de l'objet." -#: reference/datamodel.rst:1206 +#: reference/datamodel.rst:1212 msgid "" "If :meth:`__new__` does not return an instance of *cls*, then the new " "instance's :meth:`__init__` method will not be invoked." @@ -2108,7 +2126,7 @@ msgstr "" "Si :meth:`__new__` ne renvoie pas une instance de *cls*, alors la méthode :" "meth:`__init__` de la nouvelle instance n'est pas invoquée." -#: reference/datamodel.rst:1209 +#: reference/datamodel.rst:1215 msgid "" ":meth:`__new__` is intended mainly to allow subclasses of immutable types " "(like int, str, or tuple) to customize instance creation. It is also " @@ -2120,7 +2138,7 @@ msgstr "" "création sur mesure des instances. Elle est aussi souvent surchargée dans " "les métaclasses pour particulariser la création des classes." -#: reference/datamodel.rst:1218 +#: reference/datamodel.rst:1224 msgid "" "Called after the instance has been created (by :meth:`__new__`), but before " "it is returned to the caller. The arguments are those passed to the class " @@ -2137,7 +2155,7 @@ msgstr "" "initialisation correcte de la partie classe de base de l'instance ; par " "exemple : ``super().__init__([args…])``." -#: reference/datamodel.rst:1225 +#: reference/datamodel.rst:1231 msgid "" "Because :meth:`__new__` and :meth:`__init__` work together in constructing " "objects (:meth:`__new__` to create it, and :meth:`__init__` to customize " @@ -2149,7 +2167,7 @@ msgstr "" "particulariser), :meth:`__init__` ne doit pas renvoyer de valeur ``None`` ; " "sinon une exception :exc:`TypeError` est levée à l'exécution." -#: reference/datamodel.rst:1238 +#: reference/datamodel.rst:1244 msgid "" "Called when the instance is about to be destroyed. This is also called a " "finalizer or (improperly) a destructor. If a base class has a :meth:" @@ -2163,7 +2181,7 @@ msgstr "" "classe dérivée, si elle existe, doit explicitement l'appeler pour s'assurer " "de l'effacement correct de la partie classe de base de l'instance." -#: reference/datamodel.rst:1244 +#: reference/datamodel.rst:1250 msgid "" "It is possible (though not recommended!) for the :meth:`__del__` method to " "postpone destruction of the instance by creating a new reference to it. " @@ -2179,7 +2197,7 @@ msgstr "" "moment où l'objet ressuscité va être détruit ; l'implémentation actuelle de :" "term:`CPython` ne l'appelle qu'une fois." -#: reference/datamodel.rst:1251 +#: reference/datamodel.rst:1257 msgid "" "It is not guaranteed that :meth:`__del__` methods are called for objects " "that still exist when the interpreter exits." @@ -2187,7 +2205,7 @@ msgstr "" "Il n'est pas garanti que soient appelées les méthodes :meth:`__del__` des " "objets qui existent toujours quand l'interpréteur termine." -#: reference/datamodel.rst:1256 +#: reference/datamodel.rst:1262 msgid "" "``del x`` doesn't directly call ``x.__del__()`` --- the former decrements " "the reference count for ``x`` by one, and the latter is only called when " @@ -2197,11 +2215,11 @@ msgstr "" "le compteur de références de ``x``. La seconde n'est appelée que quand le " "compteur de références de ``x`` atteint zéro." -#: reference/datamodel.rst:1271 +#: reference/datamodel.rst:1277 msgid "Documentation for the :mod:`gc` module." msgstr "Documentation du module :mod:`gc`." -#: reference/datamodel.rst:1275 +#: reference/datamodel.rst:1281 msgid "" "Due to the precarious circumstances under which :meth:`__del__` methods are " "invoked, exceptions that occur during their execution are ignored, and a " @@ -2211,7 +2229,7 @@ msgstr "" "appelée, les exceptions levées pendant son exécution sont ignorées et, à la " "place, un avertissement est affiché sur ``sys.stderr``. En particulier :" -#: reference/datamodel.rst:1279 +#: reference/datamodel.rst:1285 msgid "" ":meth:`__del__` can be invoked when arbitrary code is being executed, " "including from any arbitrary thread. If :meth:`__del__` needs to take a " @@ -2226,7 +2244,7 @@ msgstr "" "ressource peut être déjà utilisée par le code qui est interrompu pour " "exécuter la méthode :meth:`__del__`." -#: reference/datamodel.rst:1285 +#: reference/datamodel.rst:1291 msgid "" ":meth:`__del__` can be executed during interpreter shutdown. As a " "consequence, the global variables it needs to access (including other " @@ -2246,7 +2264,7 @@ msgstr "" "importés soient toujours accessibles au moment où la méthode :meth:`__del__` " "est appelée." -#: reference/datamodel.rst:1300 +#: reference/datamodel.rst:1306 msgid "" "Called by the :func:`repr` built-in function to compute the \"official\" " "string representation of an object. If at all possible, this should look " @@ -2267,7 +2285,7 @@ msgstr "" "`__repr__` est aussi utilisée quand une représentation « informelle » en " "chaîne de caractères est demandée pour une instance de cette classe." -#: reference/datamodel.rst:1309 +#: reference/datamodel.rst:1315 msgid "" "This is typically used for debugging, so it is important that the " "representation is information-rich and unambiguous." @@ -2276,7 +2294,7 @@ msgstr "" "important que la représentation donne beaucoup d'informations et ne soit pas " "ambigüe." -#: reference/datamodel.rst:1320 +#: reference/datamodel.rst:1326 msgid "" "Called by :func:`str(object) ` and the built-in functions :func:" "`format` and :func:`print` to compute the \"informal\" or nicely printable " @@ -2288,7 +2306,7 @@ msgstr "" "« informelle » ou joliment mise en forme de représentation de l'objet. La " "valeur renvoyée doit être un objet :ref:`string `." -#: reference/datamodel.rst:1325 +#: reference/datamodel.rst:1331 msgid "" "This method differs from :meth:`object.__repr__` in that there is no " "expectation that :meth:`__str__` return a valid Python expression: a more " @@ -2298,7 +2316,7 @@ msgstr "" "que :meth:`__str__` renvoie une expression Python valide : une " "représentation plus agréable à lire ou plus concise peut être utilisée." -#: reference/datamodel.rst:1329 +#: reference/datamodel.rst:1335 msgid "" "The default implementation defined by the built-in type :class:`object` " "calls :meth:`object.__repr__`." @@ -2306,7 +2324,7 @@ msgstr "" "C'est l'implémentation par défaut des appels à :meth:`object.__repr__` du " "type natif :class:`object`." -#: reference/datamodel.rst:1339 +#: reference/datamodel.rst:1345 msgid "" "Called by :ref:`bytes ` to compute a byte-string representation " "of an object. This should return a :class:`bytes` object." @@ -2314,7 +2332,7 @@ msgstr "" "Appelée par :ref:`bytes ` pour calculer une représentation en " "chaîne *bytes* d'un objet. Elle doit renvoyer un objet :class:`bytes`." -#: reference/datamodel.rst:1350 +#: reference/datamodel.rst:1356 msgid "" "Called by the :func:`format` built-in function, and by extension, evaluation " "of :ref:`formatted string literals ` and the :meth:`str.format` " @@ -2335,18 +2353,18 @@ msgstr "" "le formatage aux types natifs ou utilisent une syntaxe similaire d'options " "de formatage." -#: reference/datamodel.rst:1360 +#: reference/datamodel.rst:1366 msgid "" "See :ref:`formatspec` for a description of the standard formatting syntax." msgstr "" "Lisez :ref:`formatspec` pour une description de la syntaxe standard du " "formatage." -#: reference/datamodel.rst:1362 +#: reference/datamodel.rst:1368 msgid "The return value must be a string object." msgstr "La valeur renvoyée doit être un objet chaîne de caractères." -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1370 msgid "" "The __format__ method of ``object`` itself raises a :exc:`TypeError` if " "passed any non-empty string." @@ -2354,7 +2372,7 @@ msgstr "" "La méthode ``__format__`` de ``object`` lui-même lève une :exc:`TypeError` " "si vous lui passez une chaîne non vide." -#: reference/datamodel.rst:1368 +#: reference/datamodel.rst:1374 msgid "" "``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than " "``format(str(x), '')``." @@ -2362,7 +2380,7 @@ msgstr "" "``object.__format__(x, '')`` est maintenant équivalent à ``str(x)`` plutôt " "qu'à ``format(str(x), '')``." -#: reference/datamodel.rst:1384 +#: reference/datamodel.rst:1390 msgid "" "These are the so-called \"rich comparison\" methods. The correspondence " "between operator symbols and method names is as follows: ``xy`` appelle " "``x.__gt__(y)`` et ``x>=y`` appelle ``x.__ge__(y)``." -#: reference/datamodel.rst:1390 +#: reference/datamodel.rst:1396 msgid "" "A rich comparison method may return the singleton ``NotImplemented`` if it " "does not implement the operation for a given pair of arguments. By " @@ -2395,7 +2413,7 @@ msgstr "" "``if``), Python appelle :func:`bool` sur la valeur pour déterminer si le " "résultat est faux ou vrai." -#: reference/datamodel.rst:1397 +#: reference/datamodel.rst:1403 msgid "" "By default, ``object`` implements :meth:`__eq__` by using ``is``, returning " "``NotImplemented`` in the case of a false comparison: ``True if x is y else " @@ -2415,7 +2433,7 @@ msgstr "" "``x<=y``. Pour obtenir une relation d'ordre total automatique à partir d'une " "seule opération, reportez-vous à :func:`functools.total_ordering`." -#: reference/datamodel.rst:1406 +#: reference/datamodel.rst:1412 msgid "" "See the paragraph on :meth:`__hash__` for some important notes on creating :" "term:`hashable` objects which support custom comparison operations and are " @@ -2426,7 +2444,7 @@ msgstr "" "les opérations de comparaison personnalisées et qui sont utilisables en tant " "que clés de dictionnaires." -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1416 msgid "" "There are no swapped-argument versions of these methods (to be used when the " "left argument does not support the operation but the right argument does); " @@ -2450,7 +2468,7 @@ msgstr "" "méthode de l'opérande de gauche qui est prioritaire. Les sous-classes " "virtuelles ne sont pas prises en compte." -#: reference/datamodel.rst:1427 +#: reference/datamodel.rst:1433 msgid "" "Called by built-in function :func:`hash` and for operations on members of " "hashed collections including :class:`set`, :class:`frozenset`, and :class:" @@ -2469,7 +2487,7 @@ msgstr "" "de la comparaison des objets, en les plaçant dans un *n*-uplet dont on " "calcule l'empreinte. Par exemple ::" -#: reference/datamodel.rst:1440 +#: reference/datamodel.rst:1446 msgid "" ":func:`hash` truncates the value returned from an object's custom :meth:" "`__hash__` method to the size of a :c:type:`Py_ssize_t`. This is typically " @@ -2487,7 +2505,7 @@ msgstr "" "Une manière facile de le faire est la suivante : ``python -c \"import sys; " "print(sys.hash_info.width)\"``." -#: reference/datamodel.rst:1448 +#: reference/datamodel.rst:1454 msgid "" "If a class does not define an :meth:`__eq__` method it should not define a :" "meth:`__hash__` operation either; if it defines :meth:`__eq__` but not :meth:" @@ -2508,7 +2526,7 @@ msgstr "" "(si l'empreinte d'un objet change, il ne sera plus trouvé correctement dans " "le stockage du dictionnaire)." -#: reference/datamodel.rst:1457 +#: reference/datamodel.rst:1463 msgid "" "User-defined classes have :meth:`__eq__` and :meth:`__hash__` methods by " "default; with them, all objects compare unequal (except with themselves) and " @@ -2520,7 +2538,7 @@ msgstr "" "sont différents (sauf avec eux-mêmes) et ``x.__hash__()`` renvoie une valeur " "telle que ``x == y`` implique à la fois ``x is y`` et ``hash(x) == hash(y)``." -#: reference/datamodel.rst:1462 +#: reference/datamodel.rst:1468 msgid "" "A class that overrides :meth:`__eq__` and does not define :meth:`__hash__` " "will have its :meth:`__hash__` implicitly set to ``None``. When the :meth:" @@ -2536,7 +2554,7 @@ msgstr "" "empreinte et elle est correctement identifiée comme *non hachable* quand on " "vérifie ``isinstance(obj, collections.abc.Hashable)``." -#: reference/datamodel.rst:1469 +#: reference/datamodel.rst:1475 msgid "" "If a class that overrides :meth:`__eq__` needs to retain the implementation " "of :meth:`__hash__` from a parent class, the interpreter must be told this " @@ -2547,7 +2565,7 @@ msgstr "" "l'indiquer explicitement à l'interpréteur en définissant ``__hash__ = " ".__hash__``." -#: reference/datamodel.rst:1473 +#: reference/datamodel.rst:1479 msgid "" "If a class that does not override :meth:`__eq__` wishes to suppress hash " "support, it should include ``__hash__ = None`` in the class definition. A " @@ -2561,7 +2579,7 @@ msgstr "" "lève explicitement :exc:`TypeError` serait incorrectement identifiée comme " "hachable par un appel à ``isinstance(obj, collections.abc.Hashable)``." -#: reference/datamodel.rst:1482 +#: reference/datamodel.rst:1488 msgid "" "By default, the :meth:`__hash__` values of str and bytes objects are \"salted" "\" with an unpredictable random value. Although they remain constant within " @@ -2573,7 +2591,7 @@ msgstr "" "qu'une empreinte reste constante tout au long d'un processus Python, sa " "valeur n'est pas prévisible entre deux invocations de Python." -#: reference/datamodel.rst:1487 +#: reference/datamodel.rst:1493 msgid "" "This is intended to provide protection against a denial-of-service caused by " "carefully-chosen inputs that exploit the worst case performance of a dict " @@ -2586,7 +2604,7 @@ msgstr "" "\\ :sup:`2`). Lisez http://www.ocert.org/advisories/ocert-2011-003.html pour " "en obtenir les détails (article en anglais)." -#: reference/datamodel.rst:1492 +#: reference/datamodel.rst:1498 msgid "" "Changing hash values affects the iteration order of sets. Python has never " "made guarantees about this ordering (and it typically varies between 32-bit " @@ -2596,15 +2614,15 @@ msgstr "" "les *sets*. Python n'a jamais donné de garantie sur cet ordre (d'ailleurs, " "l'ordre n'est pas le même entre les implémentations 32 et 64 bits)." -#: reference/datamodel.rst:1496 +#: reference/datamodel.rst:1502 msgid "See also :envvar:`PYTHONHASHSEED`." msgstr "Voir aussi :envvar:`PYTHONHASHSEED`." -#: reference/datamodel.rst:1498 +#: reference/datamodel.rst:1504 msgid "Hash randomization is enabled by default." msgstr "la randomisation des empreintes est activée par défaut." -#: reference/datamodel.rst:1506 +#: reference/datamodel.rst:1512 msgid "" "Called to implement truth value testing and the built-in operation " "``bool()``; should return ``False`` or ``True``. When this method is not " @@ -2619,11 +2637,11 @@ msgstr "" "définit ni :meth:`__len__` ni :meth:`__bool__`, toutes ses instances sont " "considérées comme vraies." -#: reference/datamodel.rst:1517 +#: reference/datamodel.rst:1523 msgid "Customizing attribute access" msgstr "Personnalisation de l'accès aux attributs" -#: reference/datamodel.rst:1519 +#: reference/datamodel.rst:1525 msgid "" "The following methods can be defined to customize the meaning of attribute " "access (use of, assignment to, or deletion of ``x.name``) for class " @@ -2633,7 +2651,7 @@ msgstr "" "attributs (utilisation, assignation, suppression de ``x.name``) pour les " "instances de classes." -#: reference/datamodel.rst:1527 +#: reference/datamodel.rst:1533 msgid "" "Called when the default attribute access fails with an :exc:`AttributeError` " "(either :meth:`__getattribute__` raises an :exc:`AttributeError` because " @@ -2650,7 +2668,7 @@ msgstr "" "valeur (calculée) de l'attribut, soit lever une exception :exc:" "`AttributeError`." -#: reference/datamodel.rst:1534 +#: reference/datamodel.rst:1540 msgid "" "Note that if the attribute is found through the normal mechanism, :meth:" "`__getattr__` is not called. (This is an intentional asymmetry between :" @@ -2673,7 +2691,7 @@ msgstr "" "place). Lisez la partie relative à la méthode :meth:`__getattribute__` ci-" "dessous pour obtenir un contrôle total effectif sur l'accès aux attributs." -#: reference/datamodel.rst:1547 +#: reference/datamodel.rst:1553 msgid "" "Called unconditionally to implement attribute accesses for instances of the " "class. If the class also defines :meth:`__getattr__`, the latter will not be " @@ -2695,7 +2713,7 @@ msgstr "" "accéder à n'importe quel attribut dont elle a besoin. Par exemple, ``object." "__getattribute__(self, name)``." -#: reference/datamodel.rst:1558 +#: reference/datamodel.rst:1564 msgid "" "This method may still be bypassed when looking up special methods as the " "result of implicit invocation via language syntax or built-in functions. " @@ -2705,7 +2723,7 @@ msgstr "" "spéciales en tant que résultat d'une invocation implicite *via* la syntaxe " "du langage ou les fonctions natives. Lisez :ref:`special-lookup`." -#: reference/datamodel.rst:1562 +#: reference/datamodel.rst:1568 msgid "" "Raises an :ref:`auditing event ` ``object.__getattr__`` with " "arguments ``obj``, ``name``." @@ -2713,7 +2731,7 @@ msgstr "" "Lève un :ref:`événement d'audit ` ``object.__getattr__`` avec les " "arguments ``obj`` et ``name``." -#: reference/datamodel.rst:1564 +#: reference/datamodel.rst:1570 msgid "" "For certain sensitive attribute accesses, raises an :ref:`auditing event " "` ``object.__getattr__`` with arguments ``obj`` and ``name``." @@ -2722,7 +2740,7 @@ msgstr "" "d'audit ` ``object.__getattr__`` avec les arguments ``obj`` et " "``name``." -#: reference/datamodel.rst:1571 +#: reference/datamodel.rst:1577 msgid "" "Called when an attribute assignment is attempted. This is called instead of " "the normal mechanism (i.e. store the value in the instance dictionary). " @@ -2733,7 +2751,7 @@ msgstr "" "l'instance). *name* est le nom de l'attribut, *value* est la valeur à " "assigner à cet attribut." -#: reference/datamodel.rst:1575 +#: reference/datamodel.rst:1581 msgid "" "If :meth:`__setattr__` wants to assign to an instance attribute, it should " "call the base class method with the same name, for example, ``object." @@ -2743,7 +2761,7 @@ msgstr "" "appeler la méthode de la classe de base avec le même nom, par exemple " "``object.__setattr__(self, name, value)``." -#: reference/datamodel.rst:1579 +#: reference/datamodel.rst:1585 msgid "" "Raises an :ref:`auditing event ` ``object.__setattr__`` with " "arguments ``obj``, ``name``, ``value``." @@ -2751,7 +2769,7 @@ msgstr "" "Lève un :ref:`événement d'audit ` ``object.__setattr__`` avec les " "arguments ``obj``, ``name`` et ``value``." -#: reference/datamodel.rst:1581 +#: reference/datamodel.rst:1587 msgid "" "For certain sensitive attribute assignments, raises an :ref:`auditing event " "` ``object.__setattr__`` with arguments ``obj``, ``name``, " @@ -2761,7 +2779,7 @@ msgstr "" "`événement d'audit ` ``object.__setattr__`` avec les arguments " "``obj``, ``name`` et ``value``." -#: reference/datamodel.rst:1588 +#: reference/datamodel.rst:1594 msgid "" "Like :meth:`__setattr__` but for attribute deletion instead of assignment. " "This should only be implemented if ``del obj.name`` is meaningful for the " @@ -2771,7 +2789,7 @@ msgstr "" "l'assigner. Elle ne doit être implémentée que si ``del obj.name`` a du sens " "pour cet objet." -#: reference/datamodel.rst:1591 +#: reference/datamodel.rst:1597 msgid "" "Raises an :ref:`auditing event ` ``object.__delattr__`` with " "arguments ``obj``, ``name``." @@ -2779,7 +2797,7 @@ msgstr "" "Lève un :ref:`événement d'audit ` ``object.__deltattr__`` avec les " "arguments ``obj`` et ``name``." -#: reference/datamodel.rst:1593 +#: reference/datamodel.rst:1599 msgid "" "For certain sensitive attribute deletions, raises an :ref:`auditing event " "` ``object.__delattr__`` with arguments ``obj`` and ``name``." @@ -2788,7 +2806,7 @@ msgstr "" "`événement d'audit ` ``object.__deltattr__`` avec les arguments " "``obj`` et ``name``." -#: reference/datamodel.rst:1600 +#: reference/datamodel.rst:1606 msgid "" "Called when :func:`dir` is called on the object. A sequence must be " "returned. :func:`dir` converts the returned sequence to a list and sorts it." @@ -2797,11 +2815,11 @@ msgstr "" "séquence. :func:`dir` convertit la séquence renvoyée en liste et effectue le " "classement." -#: reference/datamodel.rst:1605 +#: reference/datamodel.rst:1611 msgid "Customizing module attribute access" msgstr "Personnalisation de l'accès aux attributs d'un module" -#: reference/datamodel.rst:1612 +#: reference/datamodel.rst:1618 msgid "" "Special names ``__getattr__`` and ``__dir__`` can be also used to customize " "access to module attributes. The ``__getattr__`` function at the module " @@ -2822,7 +2840,7 @@ msgstr "" "``__dict__`` du module avant de lever une :exc:`AttributeError`. S'il la " "trouve, il l'appelle avec le nom de l'attribut et renvoie le résultat." -#: reference/datamodel.rst:1621 +#: reference/datamodel.rst:1627 msgid "" "The ``__dir__`` function should accept no arguments, and return a sequence " "of strings that represents the names accessible on module. If present, this " @@ -2832,7 +2850,7 @@ msgstr "" "chaînes qui représente les noms accessibles du module. Si elle existe, cette " "fonction surcharge la fonction de recherche standard :func:`dir` du module." -#: reference/datamodel.rst:1625 +#: reference/datamodel.rst:1631 msgid "" "For a more fine grained customization of the module behavior (setting " "attributes, properties, etc.), one can set the ``__class__`` attribute of a " @@ -2843,7 +2861,7 @@ msgstr "" "``__class__`` d'un objet module à une sous-classe de :class:`types." "ModuleType`. Par exemple ::" -#: reference/datamodel.rst:1643 +#: reference/datamodel.rst:1649 msgid "" "Defining module ``__getattr__`` and setting module ``__class__`` only affect " "lookups made using the attribute access syntax -- directly accessing the " @@ -2856,27 +2874,27 @@ msgstr "" "module, soit *via* une référence au dictionnaire des variables globales du " "module) fonctionne toujours de la même façon." -#: reference/datamodel.rst:1648 +#: reference/datamodel.rst:1654 msgid "``__class__`` module attribute is now writable." msgstr "l'attribut ``__class__`` du module est maintenant en lecture-écriture." -#: reference/datamodel.rst:1651 +#: reference/datamodel.rst:1657 msgid "``__getattr__`` and ``__dir__`` module attributes." msgstr "attributs ``__getattr__`` et ``__dir__`` du module." -#: reference/datamodel.rst:1656 +#: reference/datamodel.rst:1662 msgid ":pep:`562` - Module __getattr__ and __dir__" msgstr ":pep:`562` — ``__getattr__`` et ``__dir__`` pour un module" -#: reference/datamodel.rst:1657 +#: reference/datamodel.rst:1663 msgid "Describes the ``__getattr__`` and ``__dir__`` functions on modules." msgstr "Décrit les fonctions ``__getattr__`` et ``__dir__`` des modules." -#: reference/datamodel.rst:1663 +#: reference/datamodel.rst:1669 msgid "Implementing Descriptors" msgstr "Implémentation de descripteurs" -#: reference/datamodel.rst:1665 +#: reference/datamodel.rst:1671 msgid "" "The following methods only apply when an instance of the class containing " "the method (a so-called *descriptor* class) appears in an *owner* class (the " @@ -2893,7 +2911,7 @@ msgstr "" "« l'attribut » fait référence à l'attribut dont le nom est une clé du :attr:" "`~object.__dict__` de la classe propriétaire." -#: reference/datamodel.rst:1675 +#: reference/datamodel.rst:1681 msgid "" "Called to get the attribute of the owner class (class attribute access) or " "of an instance of that class (instance attribute access). The optional " @@ -2907,7 +2925,7 @@ msgstr "" "que *instance* est l'instance par laquelle on accède à l'attribut ou " "``None`` lorsque l'on accède par la classe *owner*." -#: reference/datamodel.rst:1681 +#: reference/datamodel.rst:1687 msgid "" "This method should return the computed attribute value or raise an :exc:" "`AttributeError` exception." @@ -2915,7 +2933,7 @@ msgstr "" "Il convient que cette méthode renvoie la valeur calculée de l'attribut ou " "lève une exception :exc:`AttributeError`." -#: reference/datamodel.rst:1684 +#: reference/datamodel.rst:1690 msgid "" ":PEP:`252` specifies that :meth:`__get__` is callable with one or two " "arguments. Python's own built-in descriptors support this specification; " @@ -2930,7 +2948,7 @@ msgstr "" "requièrent les deux arguments. L'implémentation de :meth:`__getattribute__` " "de Python passe toujours les deux arguments, qu'ils soient requis ou non." -#: reference/datamodel.rst:1693 +#: reference/datamodel.rst:1699 msgid "" "Called to set the attribute on an instance *instance* of the owner class to " "a new value, *value*." @@ -2938,7 +2956,7 @@ msgstr "" "Appelée pour définir l'attribut d'une instance *instance* de la classe " "propriétaire à la nouvelle valeur *value*." -#: reference/datamodel.rst:1696 +#: reference/datamodel.rst:1702 msgid "" "Note, adding :meth:`__set__` or :meth:`__delete__` changes the kind of " "descriptor to a \"data descriptor\". See :ref:`descriptor-invocation` for " @@ -2948,14 +2966,14 @@ msgstr "" "descripteur vers un « descripteur de donnée ». Reportez-vous à :ref:" "`descriptor-invocation` pour plus de détails." -#: reference/datamodel.rst:1702 +#: reference/datamodel.rst:1708 msgid "" "Called to delete the attribute on an instance *instance* of the owner class." msgstr "" "Appelée pour supprimer l'attribut de l'instance *instance* de la classe " "propriétaire." -#: reference/datamodel.rst:1707 +#: reference/datamodel.rst:1713 msgid "" "Called at the time the owning class *owner* is created. The descriptor has " "been assigned to *name*." @@ -2963,7 +2981,7 @@ msgstr "" "Appelée au moment où la classe propriétaire *owner* est créée. La classe " "descripteur a été assignée à *name*." -#: reference/datamodel.rst:1712 +#: reference/datamodel.rst:1718 msgid "" ":meth:`__set_name__` is only called implicitly as part of the :class:`type` " "constructor, so it will need to be called explicitly with the appropriate " @@ -2973,11 +2991,11 @@ msgstr "" "class:`type`, vous devez donc l'appeler explicitement avec les paramètres " "adéquats quand un descripteur est ajouté à une classe après sa création ::" -#: reference/datamodel.rst:1723 +#: reference/datamodel.rst:1729 msgid "See :ref:`class-object-creation` for more details." msgstr "Consultez :ref:`class-object-creation` pour davantage de détails." -#: reference/datamodel.rst:1727 +#: reference/datamodel.rst:1733 msgid "" "The attribute :attr:`__objclass__` is interpreted by the :mod:`inspect` " "module as specifying the class where this object was defined (setting this " @@ -2995,11 +3013,11 @@ msgstr "" "premier argument positionnel (par exemple, CPython définit cet attribut pour " "les méthodes non liées qui sont implémentées en C)." -#: reference/datamodel.rst:1738 +#: reference/datamodel.rst:1744 msgid "Invoking Descriptors" msgstr "Invocation des descripteurs" -#: reference/datamodel.rst:1740 +#: reference/datamodel.rst:1746 msgid "" "In general, a descriptor is an object attribute with \"binding behavior\", " "one whose attribute access has been overridden by methods in the descriptor " @@ -3013,7 +3031,7 @@ msgstr "" "l'une de ces méthodes est définie pour un objet, il est réputé être un " "descripteur." -#: reference/datamodel.rst:1745 +#: reference/datamodel.rst:1751 msgid "" "The default behavior for attribute access is to get, set, or delete the " "attribute from an object's dictionary. For instance, ``a.x`` has a lookup " @@ -3026,7 +3044,7 @@ msgstr "" "puis ``type(a).__dict__['x']`` ; ensuite Python continue en remontant les " "classes de base de ``type(a)``, en excluant les métaclasses." -#: reference/datamodel.rst:1750 +#: reference/datamodel.rst:1756 msgid "" "However, if the looked-up value is an object defining one of the descriptor " "methods, then Python may override the default behavior and invoke the " @@ -3039,7 +3057,7 @@ msgstr "" "citée ci-dessus dépend de l'endroit où a été définie la méthode de " "descripteur et comment elle a été appelée." -#: reference/datamodel.rst:1755 +#: reference/datamodel.rst:1761 msgid "" "The starting point for descriptor invocation is a binding, ``a.x``. How the " "arguments are assembled depends on ``a``:" @@ -3047,11 +3065,11 @@ msgstr "" "Le point de départ pour une invocation de descripteur est la liaison ``a." "x``. La façon dont les arguments sont assemblés dépend de ``a`` :" -#: reference/datamodel.rst:1760 +#: reference/datamodel.rst:1766 msgid "Direct Call" msgstr "Appel direct" -#: reference/datamodel.rst:1759 +#: reference/datamodel.rst:1765 msgid "" "The simplest and least common call is when user code directly invokes a " "descriptor method: ``x.__get__(a)``." @@ -3059,11 +3077,11 @@ msgstr "" "Le plus simple et le plus rare des appels est quand l'utilisateur code " "directement l'appel à la méthode du descripteur : ``x.__get__(a)``." -#: reference/datamodel.rst:1764 +#: reference/datamodel.rst:1770 msgid "Instance Binding" msgstr "Liaison avec une instance" -#: reference/datamodel.rst:1763 +#: reference/datamodel.rst:1769 msgid "" "If binding to an object instance, ``a.x`` is transformed into the call: " "``type(a).__dict__['x'].__get__(a, type(a))``." @@ -3071,11 +3089,11 @@ msgstr "" "Si elle est liée à un objet instance, ``a.x`` est transformé en l'appel " "suivant : ``type(a).__dict__['x'].__get__(a, type(a))``." -#: reference/datamodel.rst:1768 +#: reference/datamodel.rst:1774 msgid "Class Binding" msgstr "Liaison avec une classe" -#: reference/datamodel.rst:1767 +#: reference/datamodel.rst:1773 msgid "" "If binding to a class, ``A.x`` is transformed into the call: ``A." "__dict__['x'].__get__(None, A)``." @@ -3083,11 +3101,11 @@ msgstr "" "Si elle est liée à une classe, ``A.x`` est transformé en l'appel suivant : " "``A.__dict__['x'].__get__(None, A)``." -#: reference/datamodel.rst:1774 +#: reference/datamodel.rst:1780 msgid "Super Binding" msgstr "Liaison super" -#: reference/datamodel.rst:1771 +#: reference/datamodel.rst:1777 msgid "" "If ``a`` is an instance of :class:`super`, then the binding ``super(B, obj)." "m()`` searches ``obj.__class__.__mro__`` for the base class ``A`` " @@ -3099,10 +3117,11 @@ msgstr "" "immédiatement avant ``B`` puis invoque le descripteur avec l'appel suivant : " "``A.__dict__['m'].__get__(obj, obj.__class__)``." -#: reference/datamodel.rst:1776 +#: reference/datamodel.rst:1782 +#, fuzzy msgid "" "For instance bindings, the precedence of descriptor invocation depends on " -"the which descriptor methods are defined. A descriptor can define any " +"which descriptor methods are defined. A descriptor can define any " "combination of :meth:`__get__`, :meth:`__set__` and :meth:`__delete__`. If " "it does not define :meth:`__get__`, then accessing the attribute will return " "the descriptor object itself unless there is a value in the object's " @@ -3131,7 +3150,7 @@ msgstr "" "redéfinition du dictionnaire de l'instance. En revanche, les descripteurs " "hors-données peuvent être shuntés par les instances." -#: reference/datamodel.rst:1789 +#: reference/datamodel.rst:1795 msgid "" "Python methods (including :func:`staticmethod` and :func:`classmethod`) are " "implemented as non-data descriptors. Accordingly, instances can redefine " @@ -3144,7 +3163,7 @@ msgstr "" "chaque instance d'avoir un comportement qui diffère des autres instances de " "la même classe." -#: reference/datamodel.rst:1794 +#: reference/datamodel.rst:1800 msgid "" "The :func:`property` function is implemented as a data descriptor. " "Accordingly, instances cannot override the behavior of a property." @@ -3153,11 +3172,11 @@ msgstr "" "données. Ainsi, les instances ne peuvent pas surcharger le comportement " "d'une propriété." -#: reference/datamodel.rst:1801 +#: reference/datamodel.rst:1807 msgid "__slots__" msgstr "``__slots__``" -#: reference/datamodel.rst:1803 +#: reference/datamodel.rst:1809 msgid "" "*__slots__* allow us to explicitly declare data members (like properties) " "and deny the creation of *__dict__* and *__weakref__* (unless explicitly " @@ -3168,7 +3187,7 @@ msgstr "" "*__weakref__* (à moins qu'ils ne soient explicitement déclarés dans le " "``__slots__`` ou présent dans le parent)." -#: reference/datamodel.rst:1807 +#: reference/datamodel.rst:1813 msgid "" "The space saved over using *__dict__* can be significant. Attribute lookup " "speed can be significantly improved as well." @@ -3177,7 +3196,7 @@ msgstr "" "significatif. La recherche d'attribut peut aussi s'avérer beaucoup plus " "rapide." -#: reference/datamodel.rst:1812 +#: reference/datamodel.rst:1818 msgid "" "This class variable can be assigned a string, iterable, or sequence of " "strings with variable names used by instances. *__slots__* reserves space " @@ -3190,11 +3209,11 @@ msgstr "" "interdit la création automatique de *__dict__* et *__weakref__* pour chaque " "instance." -#: reference/datamodel.rst:1819 +#: reference/datamodel.rst:1825 msgid "Notes on using *__slots__*" msgstr "Note sur l'utilisation de *__slots__*" -#: reference/datamodel.rst:1821 +#: reference/datamodel.rst:1827 msgid "" "When inheriting from a class without *__slots__*, the *__dict__* and " "*__weakref__* attribute of the instances will always be accessible." @@ -3202,7 +3221,7 @@ msgstr "" "Lorsque vous héritez d'une classe sans *__slots__*, les attributs *__dict__* " "et *__weakref__* des instances sont toujours accessibles." -#: reference/datamodel.rst:1824 +#: reference/datamodel.rst:1830 msgid "" "Without a *__dict__* variable, instances cannot be assigned new variables " "not listed in the *__slots__* definition. Attempts to assign to an unlisted " @@ -3216,7 +3235,7 @@ msgstr "" "Si l'assignation dynamique de nouvelles variables est nécessaire, ajoutez " "``'__dict__'`` à la séquence de chaînes dans la déclaration *__slots__*." -#: reference/datamodel.rst:1830 +#: reference/datamodel.rst:1836 msgid "" "Without a *__weakref__* variable for each instance, classes defining " "*__slots__* do not support weak references to its instances. If weak " @@ -3229,7 +3248,7 @@ msgstr "" "``'__weakref__'`` à la séquence de chaînes dans la déclaration de " "*__slots__*." -#: reference/datamodel.rst:1835 +#: reference/datamodel.rst:1841 msgid "" "*__slots__* are implemented at the class level by creating descriptors (:ref:" "`descriptors`) for each variable name. As a result, class attributes cannot " @@ -3242,7 +3261,7 @@ msgstr "" "aux variables d'instances définies par *__slots__* ; sinon, l'attribut de " "classe surchargerait l'assignation par descripteur." -#: reference/datamodel.rst:1841 +#: reference/datamodel.rst:1847 msgid "" "The action of a *__slots__* declaration is not limited to the class where it " "is defined. *__slots__* declared in parents are available in child classes. " @@ -3256,7 +3275,7 @@ msgstr "" "et un *__weakref__* à moins qu'elles ne définissent aussi un *__slots__* " "(qui ne doit contenir alors que les noms *supplémentaires* du *slot*)." -#: reference/datamodel.rst:1847 +#: reference/datamodel.rst:1853 msgid "" "If a class defines a slot also defined in a base class, the instance " "variable defined by the base class slot is inaccessible (except by " @@ -3270,7 +3289,7 @@ msgstr "" "signification du programme indéfinie. Dans le futur, une vérification sera " "ajoutée pour empêcher cela." -#: reference/datamodel.rst:1852 +#: reference/datamodel.rst:1858 msgid "" "Nonempty *__slots__* does not work for classes derived from \"variable-length" "\" built-in types such as :class:`int`, :class:`bytes` and :class:`tuple`." @@ -3279,7 +3298,7 @@ msgstr "" "natifs à longueur variable tels que :class:`int`, :class:`bytes` et :class:" "`tuple`." -#: reference/datamodel.rst:1855 +#: reference/datamodel.rst:1861 msgid "" "Any non-string iterable may be assigned to *__slots__*. Mappings may also be " "used; however, in the future, special meaning may be assigned to the values " @@ -3290,14 +3309,14 @@ msgstr "" "le futur, des significations spéciales pourraient être associées à chacune " "des clés." -#: reference/datamodel.rst:1859 +#: reference/datamodel.rst:1865 msgid "" "*__class__* assignment works only if both classes have the same *__slots__*." msgstr "" "Les assignations de *__class__* ne fonctionnent que si les deux classes ont " "le même *__slots__*." -#: reference/datamodel.rst:1861 +#: reference/datamodel.rst:1867 msgid "" "Multiple inheritance with multiple slotted parent classes can be used, but " "only one parent is allowed to have attributes created by slots (the other " @@ -3308,7 +3327,7 @@ msgstr "" "*__slots__* (les autres classes parentes doivent avoir des *__slots__* " "vides). La violation de cette règle lève :exc:`TypeError`." -#: reference/datamodel.rst:1866 +#: reference/datamodel.rst:1872 msgid "" "If an iterator is used for *__slots__* then a descriptor is created for each " "of the iterator's values. However, the *__slots__* attribute will be an " @@ -3318,11 +3337,11 @@ msgstr "" "pour chacune des valeurs de l'itérateur. Cependant, l'attribut de " "*__slots__* est un itérateur vide." -#: reference/datamodel.rst:1873 +#: reference/datamodel.rst:1879 msgid "Customizing class creation" msgstr "Personnalisation de la création de classes" -#: reference/datamodel.rst:1875 +#: reference/datamodel.rst:1881 msgid "" "Whenever a class inherits from another class, *__init_subclass__* is called " "on that class. This way, it is possible to write classes which change the " @@ -3339,7 +3358,7 @@ msgstr "" "uniquement sur les futures sous-classes de la classe qui définit cette " "méthode." -#: reference/datamodel.rst:1884 +#: reference/datamodel.rst:1890 msgid "" "This method is called whenever the containing class is subclassed. *cls* is " "then the new subclass. If defined as a normal instance method, this method " @@ -3349,7 +3368,7 @@ msgstr "" "la nouvelle sous-classe. Si elle est définie en tant que méthode d'instance " "normale, cette méthode est implicitement convertie en méthode de classe." -#: reference/datamodel.rst:1888 +#: reference/datamodel.rst:1894 msgid "" "Keyword arguments which are given to a new class are passed to the parent's " "class ``__init_subclass__``. For compatibility with other classes using " @@ -3362,7 +3381,7 @@ msgstr "" "les arguments nommés dont vous avez besoin et passer les autres à la classe " "de base, comme ci-dessous ::" -#: reference/datamodel.rst:1902 +#: reference/datamodel.rst:1908 msgid "" "The default implementation ``object.__init_subclass__`` does nothing, but " "raises an error if it is called with any arguments." @@ -3370,7 +3389,7 @@ msgstr "" "L'implémentation par défaut ``object.__init_subclass__`` ne fait rien mais " "lève une erreur si elle est appelée avec un argument." -#: reference/datamodel.rst:1907 +#: reference/datamodel.rst:1913 msgid "" "The metaclass hint ``metaclass`` is consumed by the rest of the type " "machinery, and is never passed to ``__init_subclass__`` implementations. The " @@ -3382,11 +3401,11 @@ msgstr "" "``__init_subclass__``. La métaclasse réelle (plutôt que l'indication " "explicite) peut être récupérée par ``type(cls)``." -#: reference/datamodel.rst:1918 +#: reference/datamodel.rst:1924 msgid "Metaclasses" msgstr "Métaclasses" -#: reference/datamodel.rst:1925 +#: reference/datamodel.rst:1931 msgid "" "By default, classes are constructed using :func:`type`. The class body is " "executed in a new namespace and the class name is bound locally to the " @@ -3396,7 +3415,7 @@ msgstr "" "de la classe est exécuté dans un nouvel espace de nommage et le nom de la " "classe est lié localement au résultat de `type(name, bases, namespace)``." -#: reference/datamodel.rst:1929 +#: reference/datamodel.rst:1935 msgid "" "The class creation process can be customized by passing the ``metaclass`` " "keyword argument in the class definition line, or by inheriting from an " @@ -3409,7 +3428,7 @@ msgstr "" "l'exemple qui suit, ``MyClass`` et ``MySubclass`` sont des instances de " "``Meta`` ::" -#: reference/datamodel.rst:1943 +#: reference/datamodel.rst:1949 msgid "" "Any other keyword arguments that are specified in the class definition are " "passed through to all metaclass operations described below." @@ -3417,37 +3436,37 @@ msgstr "" "Tout autre argument nommé spécifié dans la définition de la classe est passé " "aux opérations de métaclasses décrites auparavant." -#: reference/datamodel.rst:1946 +#: reference/datamodel.rst:1952 msgid "When a class definition is executed, the following steps occur:" msgstr "" "Quand la définition d'une classe est exécutée, les différentes étapes " "suivies sont :" -#: reference/datamodel.rst:1948 +#: reference/datamodel.rst:1954 msgid "MRO entries are resolved;" msgstr "Les entrées MRO sont résolues ;" -#: reference/datamodel.rst:1949 +#: reference/datamodel.rst:1955 msgid "the appropriate metaclass is determined;" msgstr "la métaclasse appropriée est déterminée ;" -#: reference/datamodel.rst:1950 +#: reference/datamodel.rst:1956 msgid "the class namespace is prepared;" msgstr "l'espace de nommage de la classe est préparé ;" -#: reference/datamodel.rst:1951 +#: reference/datamodel.rst:1957 msgid "the class body is executed;" msgstr "le corps de la classe est exécuté ;" -#: reference/datamodel.rst:1952 +#: reference/datamodel.rst:1958 msgid "the class object is created." msgstr "l'objet classe est crée." -#: reference/datamodel.rst:1956 +#: reference/datamodel.rst:1962 msgid "Resolving MRO entries" msgstr "Résolution des entrées MRO" -#: reference/datamodel.rst:1958 +#: reference/datamodel.rst:1964 msgid "" "If a base that appears in class definition is not an instance of :class:" "`type`, then an ``__mro_entries__`` method is searched on it. If found, it " @@ -3462,30 +3481,30 @@ msgstr "" "qui est utilisé à la place de la classe de base. Le *n*-uplet peut être " "vide, dans ce cas la classe de base originale est ignorée." -#: reference/datamodel.rst:2156 +#: reference/datamodel.rst:2162 msgid ":pep:`560` - Core support for typing module and generic types" msgstr "" ":pep:`560` — Gestion de base pour les types modules et les types génériques" -#: reference/datamodel.rst:1970 +#: reference/datamodel.rst:1976 msgid "Determining the appropriate metaclass" msgstr "Détermination de la métaclasse appropriée" -#: reference/datamodel.rst:1974 +#: reference/datamodel.rst:1980 msgid "" "The appropriate metaclass for a class definition is determined as follows:" msgstr "" "La métaclasse appropriée pour une définition de classe est déterminée de la " "manière suivante :" -#: reference/datamodel.rst:1976 +#: reference/datamodel.rst:1982 msgid "" "if no bases and no explicit metaclass are given, then :func:`type` is used;" msgstr "" "si aucune classe et aucune métaclasse n'est donnée, alors :func:`type` est " "utilisée ;" -#: reference/datamodel.rst:1977 +#: reference/datamodel.rst:1983 msgid "" "if an explicit metaclass is given and it is *not* an instance of :func:" "`type`, then it is used directly as the metaclass;" @@ -3493,7 +3512,7 @@ msgstr "" "si une métaclasse explicite est donnée et que *ce n'est pas* une instance " "de :func:`type`, alors elle est utilisée directement en tant que métaclasse ;" -#: reference/datamodel.rst:1979 +#: reference/datamodel.rst:1985 msgid "" "if an instance of :func:`type` is given as the explicit metaclass, or bases " "are defined, then the most derived metaclass is used." @@ -3501,7 +3520,7 @@ msgstr "" "si une instance de :func:`type` est donnée comme métaclasse explicite ou si " "*bases* est définie, alors la métaclasse la plus dérivée est utilisée." -#: reference/datamodel.rst:1982 +#: reference/datamodel.rst:1988 msgid "" "The most derived metaclass is selected from the explicitly specified " "metaclass (if any) and the metaclasses (i.e. ``type(cls)``) of all specified " @@ -3516,11 +3535,11 @@ msgstr "" "candidates. Si aucune des métaclasses candidates ne remplit ce critère, " "alors la définition de la classe échoue en levant ``TypeError``." -#: reference/datamodel.rst:1992 +#: reference/datamodel.rst:1998 msgid "Preparing the class namespace" msgstr "Préparation de l'espace de nommage de la classe" -#: reference/datamodel.rst:1997 +#: reference/datamodel.rst:2003 msgid "" "Once the appropriate metaclass has been identified, then the class namespace " "is prepared. If the metaclass has a ``__prepare__`` attribute, it is called " @@ -3541,7 +3560,7 @@ msgstr "" "l’instance finale est créée, l’espace de nommage est copié vers un nouveau " "``dict``." -#: reference/datamodel.rst:2005 +#: reference/datamodel.rst:2011 msgid "" "If the metaclass has no ``__prepare__`` attribute, then the class namespace " "is initialised as an empty ordered mapping." @@ -3550,21 +3569,21 @@ msgstr "" "de nommage de la classe est initialisé en tant que tableau de " "correspondances ordonné." -#: reference/datamodel.rst:2010 +#: reference/datamodel.rst:2016 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr ":pep:`3115` — Métaclasses dans Python 3000" -#: reference/datamodel.rst:2011 +#: reference/datamodel.rst:2017 msgid "Introduced the ``__prepare__`` namespace hook" msgstr "" "introduction de la fonction automatique ``__prepare__`` de l'espace de " "nommage" -#: reference/datamodel.rst:2015 +#: reference/datamodel.rst:2021 msgid "Executing the class body" msgstr "Exécution du corps de la classe" -#: reference/datamodel.rst:2020 +#: reference/datamodel.rst:2026 msgid "" "The class body is executed (approximately) as ``exec(body, globals(), " "namespace)``. The key difference from a normal call to :func:`exec` is that " @@ -3579,7 +3598,7 @@ msgstr "" "des portées externes lorsque la définition de classe a lieu dans une " "fonction." -#: reference/datamodel.rst:2026 +#: reference/datamodel.rst:2032 msgid "" "However, even when the class definition occurs inside the function, methods " "defined inside the class still cannot see names defined at the class scope. " @@ -3594,11 +3613,11 @@ msgstr "" "ou *via* la référence implicite ``__class__`` incluse dans la portée " "lexicale et décrite dans la section suivante." -#: reference/datamodel.rst:2035 +#: reference/datamodel.rst:2041 msgid "Creating the class object" msgstr "Création de l'objet classe" -#: reference/datamodel.rst:2042 +#: reference/datamodel.rst:2048 msgid "" "Once the class namespace has been populated by executing the class body, the " "class object is created by calling ``metaclass(name, bases, namespace, " @@ -3610,7 +3629,7 @@ msgstr "" "**kwds)`` (les arguments nommés supplémentaires passés ici sont les mêmes " "que ceux passés à ``__prepare__``)." -#: reference/datamodel.rst:2047 +#: reference/datamodel.rst:2053 msgid "" "This class object is the one that will be referenced by the zero-argument " "form of :func:`super`. ``__class__`` is an implicit closure reference " @@ -3629,7 +3648,7 @@ msgstr "" "l'appel en cours est identifiée en fonction du premier argument transmis à " "la méthode." -#: reference/datamodel.rst:2057 +#: reference/datamodel.rst:2063 msgid "" "In CPython 3.6 and later, the ``__class__`` cell is passed to the metaclass " "as a ``__classcell__`` entry in the class namespace. If present, this must " @@ -3643,7 +3662,7 @@ msgstr "" "__new__`` pour que la classe soit correctement initialisée. Ne pas le faire " "se traduit par un :exc:`RuntimeError` dans Python 3.8." -#: reference/datamodel.rst:2063 +#: reference/datamodel.rst:2069 msgid "" "When using the default metaclass :class:`type`, or any metaclass that " "ultimately calls ``type.__new__``, the following additional customisation " @@ -3654,7 +3673,7 @@ msgstr "" "personnalisation supplémentaires suivantes sont suivies après la création de " "l'objet classe :" -#: reference/datamodel.rst:2067 +#: reference/datamodel.rst:2073 msgid "" "first, ``type.__new__`` collects all of the descriptors in the class " "namespace that define a :meth:`~object.__set_name__` method;" @@ -3663,7 +3682,7 @@ msgstr "" "tous les descripteurs qui définissent une méthode :meth:`~object." "__set_name__` ;" -#: reference/datamodel.rst:2069 +#: reference/datamodel.rst:2075 msgid "" "second, all of these ``__set_name__`` methods are called with the class " "being defined and the assigned name of that particular descriptor;" @@ -3671,7 +3690,7 @@ msgstr "" "ensuite, toutes ces méthodes ``__set_name__`` sont appelées avec la classe " "en cours de définition et le nom assigné à chaque descripteur ;" -#: reference/datamodel.rst:2071 +#: reference/datamodel.rst:2077 msgid "" "finally, the :meth:`~object.__init_subclass__` hook is called on the " "immediate parent of the new class in its method resolution order." @@ -3680,7 +3699,7 @@ msgstr "" "appelée sur le parent immédiat de la nouvelle classe en utilisant l'ordre de " "résolution des méthodes." -#: reference/datamodel.rst:2074 +#: reference/datamodel.rst:2080 msgid "" "After the class object is created, it is passed to the class decorators " "included in the class definition (if any) and the resulting object is bound " @@ -3691,7 +3710,7 @@ msgstr "" "et l'objet résultant est lié à l'espace de nommage local en tant que classe " "définie." -#: reference/datamodel.rst:2078 +#: reference/datamodel.rst:2084 msgid "" "When a new class is created by ``type.__new__``, the object provided as the " "namespace parameter is copied to a new ordered mapping and the original " @@ -3704,21 +3723,21 @@ msgstr "" "nouvelle copie est encapsulée dans un mandataire en lecture seule qui " "devient l'attribut :attr:`~object.__dict__` de l'objet classe." -#: reference/datamodel.rst:2085 +#: reference/datamodel.rst:2091 msgid ":pep:`3135` - New super" msgstr ":pep:`3135` — Nouvelle méthode super" -#: reference/datamodel.rst:2086 +#: reference/datamodel.rst:2092 msgid "Describes the implicit ``__class__`` closure reference" msgstr "" "Décrit la référence à la fermeture (*closure* en anglais) de la " "``__class__`` implicite" -#: reference/datamodel.rst:2090 +#: reference/datamodel.rst:2096 msgid "Uses for metaclasses" msgstr "Cas d'utilisations des métaclasses" -#: reference/datamodel.rst:2092 +#: reference/datamodel.rst:2098 msgid "" "The potential uses for metaclasses are boundless. Some ideas that have been " "explored include enum, logging, interface checking, automatic delegation, " @@ -3731,11 +3750,11 @@ msgstr "" "de propriétés, les mandataires, les *frameworks* ainsi que le verrouillage " "ou la synchronisation automatique de ressources." -#: reference/datamodel.rst:2099 +#: reference/datamodel.rst:2105 msgid "Customizing instance and subclass checks" msgstr "Personnalisation des instances et vérification des sous-classes" -#: reference/datamodel.rst:2101 +#: reference/datamodel.rst:2107 msgid "" "The following methods are used to override the default behavior of the :func:" "`isinstance` and :func:`issubclass` built-in functions." @@ -3743,7 +3762,7 @@ msgstr "" "Les méthodes suivantes sont utilisées pour surcharger le comportement par " "défaut des fonctions natives :func:`isinstance` et :func:`issubclass`." -#: reference/datamodel.rst:2104 +#: reference/datamodel.rst:2110 msgid "" "In particular, the metaclass :class:`abc.ABCMeta` implements these methods " "in order to allow the addition of Abstract Base Classes (ABCs) as \"virtual " @@ -3755,7 +3774,7 @@ msgstr "" "Base Classes* en anglais) en tant que « classes de base virtuelles » pour " "toute classe ou type (y compris les types natifs)." -#: reference/datamodel.rst:2111 +#: reference/datamodel.rst:2117 msgid "" "Return true if *instance* should be considered a (direct or indirect) " "instance of *class*. If defined, called to implement ``isinstance(instance, " @@ -3765,7 +3784,7 @@ msgstr "" "(directe ou indirecte) de *class*. Si elle est définie, elle est appelée " "pour implémenter ``isinstance(instance, class)``." -#: reference/datamodel.rst:2118 +#: reference/datamodel.rst:2124 msgid "" "Return true if *subclass* should be considered a (direct or indirect) " "subclass of *class*. If defined, called to implement ``issubclass(subclass, " @@ -3775,7 +3794,7 @@ msgstr "" "(directe ou indirecte) de *class*. Si elle est définie, appelée pour " "implémenter ``issubclass(subclass, class)``." -#: reference/datamodel.rst:2123 +#: reference/datamodel.rst:2129 msgid "" "Note that these methods are looked up on the type (metaclass) of a class. " "They cannot be defined as class methods in the actual class. This is " @@ -3788,11 +3807,11 @@ msgstr "" "spéciales qui sont appelées pour les instances, sauf qu'ici l'instance est " "elle-même une classe." -#: reference/datamodel.rst:2134 +#: reference/datamodel.rst:2140 msgid ":pep:`3119` - Introducing Abstract Base Classes" msgstr ":pep:`3119` — Introduction aux classes de bases abstraites" -#: reference/datamodel.rst:2131 +#: reference/datamodel.rst:2137 msgid "" "Includes the specification for customizing :func:`isinstance` and :func:" "`issubclass` behavior through :meth:`~class.__instancecheck__` and :meth:" @@ -3806,11 +3825,11 @@ msgstr "" "motivation pour cette fonctionnalité l'ajout les classes de base abstraites " "(voir le module :mod:`abc`) au langage." -#: reference/datamodel.rst:2139 +#: reference/datamodel.rst:2145 msgid "Emulating generic types" msgstr "Émulation de types génériques" -#: reference/datamodel.rst:2141 +#: reference/datamodel.rst:2147 msgid "" "One can implement the generic class syntax as specified by :pep:`484` (for " "example ``List[int]``) by defining a special method:" @@ -3819,7 +3838,7 @@ msgstr "" "la :pep:`484` (par exemple ``List[int]``) en définissant une méthode " "spéciale :" -#: reference/datamodel.rst:2146 +#: reference/datamodel.rst:2152 msgid "" "Return an object representing the specialization of a generic class by type " "arguments found in *key*." @@ -3827,7 +3846,7 @@ msgstr "" "Renvoie un objet représentant la spécialisation d'une classe générique en " "fonction des arguments types trouvés dans *key*." -#: reference/datamodel.rst:2149 +#: reference/datamodel.rst:2155 msgid "" "This method is looked up on the class object itself, and when defined in the " "class body, this method is implicitly a class method. Note, this mechanism " @@ -3840,11 +3859,11 @@ msgstr "" "principalement réservé à une utilisation avec des indications de type " "statiques, d'autres utilisations sont déconseillées." -#: reference/datamodel.rst:2162 +#: reference/datamodel.rst:2168 msgid "Emulating callable objects" msgstr "Émulation d'objets appelables" -#: reference/datamodel.rst:2169 +#: reference/datamodel.rst:2175 msgid "" "Called when the instance is \"called\" as a function; if this method is " "defined, ``x(arg1, arg2, ...)`` roughly translates to ``type(x).__call__(x, " @@ -3854,11 +3873,11 @@ msgstr "" "méthode est définie, ``x(arg1, arg2, …)`` est un raccourci pour ``type(x)." "__call__(x, arg1, …)``." -#: reference/datamodel.rst:2176 +#: reference/datamodel.rst:2182 msgid "Emulating container types" msgstr "Émulation de types conteneurs" -#: reference/datamodel.rst:2178 +#: reference/datamodel.rst:2184 msgid "" "The following methods can be defined to implement container objects. " "Containers usually are sequences (such as lists or tuples) or mappings (like " @@ -3925,7 +3944,7 @@ msgstr "" "de correspondances, :meth:`__iter__` doit itérer sur les clés de l'objet ; " "pour les séquences, elle doit itérer sur les valeurs." -#: reference/datamodel.rst:2213 +#: reference/datamodel.rst:2219 msgid "" "Called to implement the built-in function :func:`len`. Should return the " "length of the object, an integer ``>=`` 0. Also, an object that doesn't " @@ -3937,7 +3956,7 @@ msgstr "" "définit pas de méthode :meth:`__bool__` et dont la méthode :meth:`__len__` " "renvoie zéro est considéré comme valant ``False`` dans un contexte booléen." -#: reference/datamodel.rst:2220 +#: reference/datamodel.rst:2226 msgid "" "In CPython, the length is required to be at most :attr:`sys.maxsize`. If the " "length is larger than :attr:`!sys.maxsize` some features (such as :func:" @@ -3951,7 +3970,7 @@ msgstr "" "exc:`!OverflowError` lors de tests booléens, un objet doit définir la " "méthode :meth:`__bool__`." -#: reference/datamodel.rst:2229 +#: reference/datamodel.rst:2235 msgid "" "Called to implement :func:`operator.length_hint`. Should return an estimated " "length for the object (which may be greater or less than the actual length). " @@ -3968,22 +3987,22 @@ msgstr "" "méthode est utilisée uniquement pour optimiser les traitements et n'est " "jamais tenue de renvoyer un résultat exact." -#: reference/datamodel.rst:2243 +#: reference/datamodel.rst:2249 msgid "" "Slicing is done exclusively with the following three methods. A call like ::" msgstr "" "Le découpage est effectué uniquement à l'aide des trois méthodes suivantes. " "Un appel comme ::" -#: reference/datamodel.rst:2247 +#: reference/datamodel.rst:2253 msgid "is translated to ::" msgstr "est traduit en ::" -#: reference/datamodel.rst:2251 +#: reference/datamodel.rst:2257 msgid "and so forth. Missing slice items are always filled in with ``None``." msgstr "et ainsi de suite. Les éléments manquants sont remplacés par ``None``." -#: reference/datamodel.rst:2256 +#: reference/datamodel.rst:2262 msgid "" "Called to implement evaluation of ``self[key]``. For sequence types, the " "accepted keys should be integers and slice objects. Note that the special " @@ -4004,7 +4023,7 @@ msgstr "" "`IndexError` doit être levée. Pour les tableaux de correspondances, si *key* " "n'existe pas dans le conteneur, une :exc:`KeyError` doit être levée." -#: reference/datamodel.rst:2267 +#: reference/datamodel.rst:2273 msgid "" ":keyword:`for` loops expect that an :exc:`IndexError` will be raised for " "illegal indexes to allow proper detection of the end of the sequence." @@ -4012,7 +4031,7 @@ msgstr "" ":keyword:`for` s'attend à ce qu'une :exc:`IndexError` soit levée en cas " "d'indice illégal afin de détecter correctement la fin de la séquence." -#: reference/datamodel.rst:2273 +#: reference/datamodel.rst:2279 msgid "" "Called to implement assignment to ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -4028,7 +4047,7 @@ msgstr "" "exceptions que pour la méthode :meth:`__getitem__` doivent être levées en " "cas de mauvaises valeurs de clés." -#: reference/datamodel.rst:2282 +#: reference/datamodel.rst:2288 msgid "" "Called to implement deletion of ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -4043,7 +4062,7 @@ msgstr "" "Les mêmes exceptions que pour la méthode :meth:`__getitem__` doivent être " "levées en cas de mauvaises valeurs de clés." -#: reference/datamodel.rst:2291 +#: reference/datamodel.rst:2297 msgid "" "Called by :class:`dict`\\ .\\ :meth:`__getitem__` to implement ``self[key]`` " "for dict subclasses when key is not in the dictionary." @@ -4052,7 +4071,7 @@ msgstr "" "``self[key]`` dans les sous-classes de dictionnaires lorsque la clé n'est " "pas dans le dictionnaire." -#: reference/datamodel.rst:2297 +#: reference/datamodel.rst:2303 msgid "" "This method is called when an iterator is required for a container. This " "method should return a new iterator object that can iterate over all the " @@ -4064,7 +4083,7 @@ msgstr "" "tous les objets du conteneur. Pour les tableaux de correspondances, elle " "doit itérer sur les clés du conteneur." -#: reference/datamodel.rst:2301 +#: reference/datamodel.rst:2307 msgid "" "Iterator objects also need to implement this method; they are required to " "return themselves. For more information on iterator objects, see :ref:" @@ -4074,7 +4093,7 @@ msgstr "" "alors se renvoyer eux-mêmes. Pour plus d'information sur les objets " "itérateurs, lisez :ref:`typeiter`." -#: reference/datamodel.rst:2307 +#: reference/datamodel.rst:2313 msgid "" "Called (if present) by the :func:`reversed` built-in to implement reverse " "iteration. It should return a new iterator object that iterates over all " @@ -4084,7 +4103,7 @@ msgstr "" "implémenter l'itération en sens inverse. Elle doit renvoyer un nouvel objet " "itérateur qui itère sur tous les objets du conteneur en sens inverse." -#: reference/datamodel.rst:2311 +#: reference/datamodel.rst:2317 msgid "" "If the :meth:`__reversed__` method is not provided, the :func:`reversed` " "built-in will fall back to using the sequence protocol (:meth:`__len__` and :" @@ -4098,7 +4117,7 @@ msgstr "" "doivent fournir :meth:`__reversed__` que si l'implémentation qu'ils " "proposent est plus efficace que celle de :func:`reversed`." -#: reference/datamodel.rst:2318 +#: reference/datamodel.rst:2324 msgid "" "The membership test operators (:keyword:`in` and :keyword:`not in`) are " "normally implemented as an iteration through a container. However, container " @@ -4111,7 +4130,7 @@ msgstr "" "suivantes avec une implémentation plus efficace, qui ne requièrent " "d'ailleurs pas que l'objet soit itérable." -#: reference/datamodel.rst:2325 +#: reference/datamodel.rst:2331 msgid "" "Called to implement membership test operators. Should return true if *item* " "is in *self*, false otherwise. For mapping objects, this should consider " @@ -4122,7 +4141,7 @@ msgstr "" "tableaux de correspondances, seules les clés sont considérées (pas les " "valeurs des paires clés-valeurs)." -#: reference/datamodel.rst:2329 +#: reference/datamodel.rst:2335 msgid "" "For objects that don't define :meth:`__contains__`, the membership test " "first tries iteration via :meth:`__iter__`, then the old sequence iteration " @@ -4135,11 +4154,11 @@ msgstr "" "reportez-vous à :ref:`cette section dans la référence du langage `." -#: reference/datamodel.rst:2338 +#: reference/datamodel.rst:2344 msgid "Emulating numeric types" msgstr "Émulation de types numériques" -#: reference/datamodel.rst:2340 +#: reference/datamodel.rst:2346 msgid "" "The following methods can be defined to emulate numeric objects. Methods " "corresponding to operations that are not supported by the particular kind of " @@ -4152,7 +4171,7 @@ msgstr "" "opérations bit à bit pour les nombres qui ne sont pas entiers) doivent être " "laissées indéfinies." -#: reference/datamodel.rst:2366 +#: reference/datamodel.rst:2372 msgid "" "These methods are called to implement the binary arithmetic operations (``" "+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:`pow`, " @@ -4175,7 +4194,7 @@ msgstr "" "accepter un troisième argument optionnel si la version ternaire de la " "fonction native :func:`pow` est autorisée." -#: reference/datamodel.rst:2377 +#: reference/datamodel.rst:2383 msgid "" "If one of those methods does not support the operation with the supplied " "arguments, it should return ``NotImplemented``." @@ -4183,7 +4202,7 @@ msgstr "" "Si l'une de ces méthodes n'autorise pas l'opération avec les arguments " "donnés, elle doit renvoyer ``NotImplemented``." -#: reference/datamodel.rst:2400 +#: reference/datamodel.rst:2406 msgid "" "These methods are called to implement the binary arithmetic operations (``" "+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:`pow`, " @@ -4204,7 +4223,7 @@ msgstr "" "`__rsub__`, ``y.__rsub__(x)`` est appelée si ``x.__sub__(y)`` renvoie " "*NotImplemented*." -#: reference/datamodel.rst:2411 +#: reference/datamodel.rst:2417 msgid "" "Note that ternary :func:`pow` will not try calling :meth:`__rpow__` (the " "coercion rules would become too complicated)." @@ -4212,7 +4231,7 @@ msgstr "" "Notez que la fonction ternaire :func:`pow` n'essaie pas d'appeler :meth:" "`__rpow__` (les règles de coercition seraient trop compliquées)." -#: reference/datamodel.rst:2416 +#: reference/datamodel.rst:2422 msgid "" "If the right operand's type is a subclass of the left operand's type and " "that subclass provides a different implementation of the reflected method " @@ -4226,7 +4245,7 @@ msgstr "" "méthode originelle de l'opérande gauche. Ce comportement permet à des sous-" "classes de surcharger les opérations de leurs ancêtres." -#: reference/datamodel.rst:2437 +#: reference/datamodel.rst:2443 msgid "" "These methods are called to implement the augmented arithmetic assignments " "(``+=``, ``-=``, ``*=``, ``@=``, ``/=``, ``//=``, ``%=``, ``**=``, ``<<=``, " @@ -4256,7 +4275,7 @@ msgstr "" "ce comportement est en fait partie intégrante du modèle de données." # Pas de majuscule car suit un ':' dans le rendu. -#: reference/datamodel.rst:2452 +#: reference/datamodel.rst:2458 msgid "" "Due to a bug in the dispatching mechanism for ``**=``, a class that defines :" "meth:`__ipow__` but returns ``NotImplemented`` would fail to fall back to " @@ -4267,7 +4286,7 @@ msgstr "" "n'arriverait pas à se replier sur ``x.__pow__(y)`` et ``y.__rpow__(x)``. Ce " "bogue est corrigé dans Python 3.10." -#: reference/datamodel.rst:2465 +#: reference/datamodel.rst:2471 msgid "" "Called to implement the unary arithmetic operations (``-``, ``+``, :func:" "`abs` and ``~``)." @@ -4275,7 +4294,7 @@ msgstr "" "Appelée pour implémenter les opérations arithmétiques unaires (``-``, ``" "+``, :func:`abs` et ``~``)." -#: reference/datamodel.rst:2478 +#: reference/datamodel.rst:2484 msgid "" "Called to implement the built-in functions :func:`complex`, :func:`int` and :" "func:`float`. Should return a value of the appropriate type." @@ -4283,7 +4302,7 @@ msgstr "" "Appelées pour implémenter les fonctions natives :func:`complex`, :func:`int` " "et :func:`float`. Elles doivent renvoyer une valeur du type approprié." -#: reference/datamodel.rst:2485 +#: reference/datamodel.rst:2491 msgid "" "Called to implement :func:`operator.index`, and whenever Python needs to " "losslessly convert the numeric object to an integer object (such as in " @@ -4297,7 +4316,7 @@ msgstr "" "`oct`). La présence de cette méthode indique que l'objet numérique est un " "type entier. Elle doit renvoyer un entier." -#: reference/datamodel.rst:2491 +#: reference/datamodel.rst:2497 msgid "" "If :meth:`__int__`, :meth:`__float__` and :meth:`__complex__` are not " "defined then corresponding built-in functions :func:`int`, :func:`float` " @@ -4307,7 +4326,7 @@ msgstr "" "définies, alors les fonctions natives :func:`int`, :func:`float` et :func:" "`complex` redirigent par défaut vers :meth:`__index__`." -#: reference/datamodel.rst:2503 +#: reference/datamodel.rst:2509 msgid "" "Called to implement the built-in function :func:`round` and :mod:`math` " "functions :func:`~math.trunc`, :func:`~math.floor` and :func:`~math.ceil`. " @@ -4321,7 +4340,7 @@ msgstr "" "toutes ces méthodes doivent renvoyer la valeur de l'objet tronquée pour " "donner un :class:`~numbers.Integral` (typiquement un :class:`int`)." -#: reference/datamodel.rst:2509 +#: reference/datamodel.rst:2515 msgid "" "If :meth:`__int__` is not defined then the built-in function :func:`int` " "falls back to :meth:`__trunc__`." @@ -4329,11 +4348,11 @@ msgstr "" "Si :meth:`__int__` n'est pas définie, alors la fonction native :func:`int` " "se replie sur :meth:`__trunc__`." -#: reference/datamodel.rst:2516 +#: reference/datamodel.rst:2522 msgid "With Statement Context Managers" msgstr "Gestionnaire de contexte With" -#: reference/datamodel.rst:2518 +#: reference/datamodel.rst:2524 msgid "" "A :dfn:`context manager` is an object that defines the runtime context to be " "established when executing a :keyword:`with` statement. The context manager " @@ -4350,7 +4369,7 @@ msgstr "" "dans la section :ref:`with`), mais ils peuvent aussi être directement " "invoqués par leurs méthodes." -#: reference/datamodel.rst:2529 +#: reference/datamodel.rst:2535 msgid "" "Typical uses of context managers include saving and restoring various kinds " "of global state, locking and unlocking resources, closing opened files, etc." @@ -4359,14 +4378,14 @@ msgstr "" "et la restauration d'états divers, le verrouillage et le déverrouillage de " "ressources, la fermeture de fichiers ouverts, etc." -#: reference/datamodel.rst:2532 +#: reference/datamodel.rst:2538 msgid "" "For more information on context managers, see :ref:`typecontextmanager`." msgstr "" "Pour plus d'informations sur les gestionnaires de contexte, lisez :ref:" "`typecontextmanager`." -#: reference/datamodel.rst:2537 +#: reference/datamodel.rst:2543 msgid "" "Enter the runtime context related to this object. The :keyword:`with` " "statement will bind this method's return value to the target(s) specified in " @@ -4377,7 +4396,7 @@ msgstr "" "cible spécifiée par la clause :keyword:`!as` de l'instruction, si elle est " "spécifiée." -#: reference/datamodel.rst:2544 +#: reference/datamodel.rst:2550 msgid "" "Exit the runtime context related to this object. The parameters describe the " "exception that caused the context to be exited. If the context was exited " @@ -4387,7 +4406,7 @@ msgstr "" "l'exception qui a causé la sortie du contexte. Si l'on sort du contexte sans " "exception, les trois arguments sont à :const:`None`." -#: reference/datamodel.rst:2548 +#: reference/datamodel.rst:2554 msgid "" "If an exception is supplied, and the method wishes to suppress the exception " "(i.e., prevent it from being propagated), it should return a true value. " @@ -4399,7 +4418,7 @@ msgstr "" "propagée), elle doit renvoyer ``True``. Sinon, l'exception est traitée " "normalement à la sortie de cette méthode." -#: reference/datamodel.rst:2552 +#: reference/datamodel.rst:2558 msgid "" "Note that :meth:`__exit__` methods should not reraise the passed-in " "exception; this is the caller's responsibility." @@ -4407,11 +4426,11 @@ msgstr "" "Notez qu'une méthode :meth:`__exit__` ne doit pas lever à nouveau " "l'exception qu'elle reçoit ; c'est du ressort de l'appelant." -#: reference/datamodel.rst:2559 +#: reference/datamodel.rst:2565 msgid ":pep:`343` - The \"with\" statement" msgstr ":pep:`343` — L'instruction ``with``" -#: reference/datamodel.rst:2559 +#: reference/datamodel.rst:2565 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." @@ -4419,11 +4438,11 @@ msgstr "" "La spécification, les motivations et des exemples de l'instruction :keyword:" "`with` en Python." -#: reference/datamodel.rst:2566 +#: reference/datamodel.rst:2572 msgid "Special method lookup" msgstr "Recherche des méthodes spéciales" -#: reference/datamodel.rst:2568 +#: reference/datamodel.rst:2574 msgid "" "For custom classes, implicit invocations of special methods are only " "guaranteed to work correctly if defined on an object's type, not in the " @@ -4435,7 +4454,7 @@ msgstr "" "type d'objet, pas dans le dictionnaire de l'objet instance. Ce comportement " "explique pourquoi le code suivant lève une exception ::" -#: reference/datamodel.rst:2583 +#: reference/datamodel.rst:2589 msgid "" "The rationale behind this behaviour lies with a number of special methods " "such as :meth:`__hash__` and :meth:`__repr__` that are implemented by all " @@ -4449,7 +4468,7 @@ msgstr "" "méthodes utilisait le processus normal de recherche, elles ne " "fonctionneraient pas si on les appelait sur l'objet type lui-même ::" -#: reference/datamodel.rst:2596 +#: reference/datamodel.rst:2602 msgid "" "Incorrectly attempting to invoke an unbound method of a class in this way is " "sometimes referred to as 'metaclass confusion', and is avoided by bypassing " @@ -4459,7 +4478,7 @@ msgstr "" "parfois appelé « confusion de métaclasse » et se contourne en shuntant " "l'instance lors de la recherche des méthodes spéciales ::" -#: reference/datamodel.rst:2605 +#: reference/datamodel.rst:2611 msgid "" "In addition to bypassing any instance attributes in the interest of " "correctness, implicit special method lookup generally also bypasses the :" @@ -4469,7 +4488,7 @@ msgstr "" "correctement, la recherche des méthodes spéciales implicites shunte aussi la " "méthode :meth:`__getattribute__` même dans la métaclasse de l'objet ::" -#: reference/datamodel.rst:2631 +#: reference/datamodel.rst:2637 msgid "" "Bypassing the :meth:`__getattribute__` machinery in this fashion provides " "significant scope for speed optimisations within the interpreter, at the " @@ -4483,15 +4502,15 @@ msgstr "" "être définie sur l'objet classe lui-même afin d'être invoquée de manière " "cohérente par l'interpréteur)." -#: reference/datamodel.rst:2642 +#: reference/datamodel.rst:2648 msgid "Coroutines" msgstr "Coroutines" -#: reference/datamodel.rst:2646 +#: reference/datamodel.rst:2652 msgid "Awaitable Objects" msgstr "Objets *attendables* (*awaitable*)" -#: reference/datamodel.rst:2648 +#: reference/datamodel.rst:2654 msgid "" "An :term:`awaitable` object generally implements an :meth:`__await__` " "method. :term:`Coroutine objects ` returned from :keyword:`async " @@ -4501,7 +4520,7 @@ msgstr "" "`__await__`. Les objets :term:`coroutine` renvoyés par les fonctions :" "keyword:`async def` sont des *attendables* (*awaitable*)." -#: reference/datamodel.rst:2654 +#: reference/datamodel.rst:2660 msgid "" "The :term:`generator iterator` objects returned from generators decorated " "with :func:`types.coroutine` or :func:`asyncio.coroutine` are also " @@ -4512,7 +4531,7 @@ msgstr "" "des *attendables* (*awaitable*), mais ils n'implémentent pas :meth:" "`__await__`." -#: reference/datamodel.rst:2660 +#: reference/datamodel.rst:2666 msgid "" "Must return an :term:`iterator`. Should be used to implement :term:" "`awaitable` objects. For instance, :class:`asyncio.Future` implements this " @@ -4522,17 +4541,17 @@ msgstr "" "objets :term:`awaitable`. Par exemple, :class:`asyncio.Future` implémente " "cette méthode pour être compatible avec les expressions :keyword:`await`." -#: reference/datamodel.rst:2666 +#: reference/datamodel.rst:2672 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" ":pep:`492` pour les informations relatives aux objets *attendables* " "(*awaitable*)." -#: reference/datamodel.rst:2672 +#: reference/datamodel.rst:2678 msgid "Coroutine Objects" msgstr "Objets coroutines" -#: reference/datamodel.rst:2674 +#: reference/datamodel.rst:2680 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`__await__` and " @@ -4550,7 +4569,7 @@ msgstr "" "exception, elle est propagée par l'itérateur. Les coroutines ne doivent pas " "lever directement des exceptions :exc:`StopIteration` non gérées." -#: reference/datamodel.rst:2682 +#: reference/datamodel.rst:2688 msgid "" "Coroutines also have the methods listed below, which are analogous to those " "of generators (see :ref:`generator-methods`). However, unlike generators, " @@ -4561,13 +4580,13 @@ msgstr "" "contraire des générateurs, vous ne pouvez pas itérer directement sur des " "coroutines." -#: reference/datamodel.rst:2686 +#: reference/datamodel.rst:2692 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" "Utiliser *await* plus d'une fois sur une coroutine lève une :exc:" "`RuntimeError`." -#: reference/datamodel.rst:2692 +#: reference/datamodel.rst:2698 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`__await__`. If " @@ -4584,7 +4603,7 @@ msgstr "" "est le même que lorsque vous itérez sur la valeur de retour de :meth:" "`__await__`, décrite ci-dessus." -#: reference/datamodel.rst:2702 +#: reference/datamodel.rst:2708 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -4602,7 +4621,7 @@ msgstr "" "retour de :meth:`__await__`, décrite ci-dessus. Si l'exception n'est pas " "gérée par la coroutine, elle est propagée à l'appelant." -#: reference/datamodel.rst:2713 +#: reference/datamodel.rst:2719 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -4619,7 +4638,7 @@ msgstr "" "la coroutine est marquée comme ayant terminé son exécution, même si elle n'a " "jamais démarré." -#: reference/datamodel.rst:2721 +#: reference/datamodel.rst:2727 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." @@ -4627,11 +4646,11 @@ msgstr "" "Les objets coroutines sont automatiquement fermés en utilisant le processus " "décrit au-dessus au moment où ils sont détruits." -#: reference/datamodel.rst:2727 +#: reference/datamodel.rst:2733 msgid "Asynchronous Iterators" msgstr "Itérateurs asynchrones" -#: reference/datamodel.rst:2729 +#: reference/datamodel.rst:2735 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." @@ -4639,18 +4658,18 @@ msgstr "" "Un *itérateur asynchrone* peut appeler du code asynchrone dans sa méthode " "``__anext__``." -#: reference/datamodel.rst:2732 +#: reference/datamodel.rst:2738 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" "Les itérateurs asynchrones peuvent être utilisés dans des instructions :" "keyword:`async for`." -#: reference/datamodel.rst:2736 +#: reference/datamodel.rst:2742 msgid "Must return an *asynchronous iterator* object." msgstr "Doit renvoyer un objet *itérateur asynchrone*." -#: reference/datamodel.rst:2740 +#: reference/datamodel.rst:2746 msgid "" "Must return an *awaitable* resulting in a next value of the iterator. " "Should raise a :exc:`StopAsyncIteration` error when the iteration is over." @@ -4659,11 +4678,11 @@ msgstr "" "suivante de l'itérateur. Doit lever une :exc:`StopAsyncIteration` quand " "l'itération est terminée." -#: reference/datamodel.rst:2743 +#: reference/datamodel.rst:2749 msgid "An example of an asynchronous iterable object::" msgstr "Un exemple d'objet itérateur asynchrone ::" -#: reference/datamodel.rst:2760 +#: reference/datamodel.rst:2766 msgid "" "Prior to Python 3.7, ``__aiter__`` could return an *awaitable* that would " "resolve to an :term:`asynchronous iterator `." @@ -4672,7 +4691,7 @@ msgstr "" "(*awaitable*) qui se résolvait potentiellement en un :term:`itérateur " "asynchrone `." -#: reference/datamodel.rst:2765 +#: reference/datamodel.rst:2771 msgid "" "Starting with Python 3.7, ``__aiter__`` must return an asynchronous iterator " "object. Returning anything else will result in a :exc:`TypeError` error." @@ -4680,11 +4699,11 @@ msgstr "" "À partir de Python 3.7, ``__aiter__`` doit renvoyer un objet itérateur " "asynchrone. Renvoyer autre chose entraine une erreur :exc:`TypeError`." -#: reference/datamodel.rst:2773 +#: reference/datamodel.rst:2779 msgid "Asynchronous Context Managers" msgstr "Gestionnaires de contexte asynchrones" -#: reference/datamodel.rst:2775 +#: reference/datamodel.rst:2781 msgid "" "An *asynchronous context manager* is a *context manager* that is able to " "suspend execution in its ``__aenter__`` and ``__aexit__`` methods." @@ -4693,7 +4712,7 @@ msgstr "" "qui est capable de suspendre son exécution dans ses méthodes ``__aenter__`` " "et ``__aexit__``." -#: reference/datamodel.rst:2778 +#: reference/datamodel.rst:2784 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." @@ -4701,7 +4720,7 @@ msgstr "" "Les gestionnaires de contexte asynchrones peuvent être utilisés dans des " "instructions :keyword:`async with`." -#: reference/datamodel.rst:2782 +#: reference/datamodel.rst:2788 msgid "" "Semantically similar to :meth:`__enter__`, the only difference being that it " "must return an *awaitable*." @@ -4709,7 +4728,7 @@ msgstr "" "Sémantiquement équivalente à :meth:`__enter__`, à la seule différence près " "qu'elle doit renvoyer un *attendable* (*awaitable*)." -#: reference/datamodel.rst:2787 +#: reference/datamodel.rst:2793 msgid "" "Semantically similar to :meth:`__exit__`, the only difference being that it " "must return an *awaitable*." @@ -4717,15 +4736,15 @@ msgstr "" "Sémantiquement équivalente à :meth:`__exit__`, à la seule différence près " "qu'elle doit renvoyer un *attendable* (*awaitable*)." -#: reference/datamodel.rst:2790 +#: reference/datamodel.rst:2796 msgid "An example of an asynchronous context manager class::" msgstr "Un exemple de classe de gestionnaire de contexte asynchrone ::" -#: reference/datamodel.rst:2803 +#: reference/datamodel.rst:2809 msgid "Footnotes" msgstr "Notes de bas de page" -#: reference/datamodel.rst:2804 +#: reference/datamodel.rst:2810 msgid "" "It *is* possible in some cases to change an object's type, under certain " "controlled conditions. It generally isn't a good idea though, since it can " @@ -4736,7 +4755,7 @@ msgstr "" "car cela peut conduire à un comportement très étrange si ce n'est pas géré " "correctement." -#: reference/datamodel.rst:2808 +#: reference/datamodel.rst:2814 msgid "" "The :meth:`__hash__`, :meth:`__iter__`, :meth:`__reversed__`, and :meth:" "`__contains__` methods have special handling for this; others will still " @@ -4748,7 +4767,7 @@ msgstr "" "lèvent toujours :exc:`TypeError`, mais le font en considérant que ``None`` " "n'est pas un appelable." -#: reference/datamodel.rst:2813 +#: reference/datamodel.rst:2819 msgid "" "\"Does not support\" here means that the class has no such method, or the " "method returns ``NotImplemented``. Do not set the method to ``None`` if you " @@ -4760,7 +4779,7 @@ msgstr "" "``None`` à la méthode si vous voulez un repli vers la méthode symétrique de " "l'opérande de droite — cela aurait pour effet de *bloquer* un tel repli." -#: reference/datamodel.rst:2819 +#: reference/datamodel.rst:2825 msgid "" "For operands of the same type, it is assumed that if the non-reflected " "method -- such as :meth:`__add__` -- fails then the overall operation is not " diff --git a/reference/expressions.po b/reference/expressions.po index 13ed99f8..61f0ba6a 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 17:33+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-10 16:57+0200\n" "Last-Translator: Samuel Giffard \n" "Language-Team: FRENCH \n" @@ -1662,7 +1662,7 @@ msgstr "" "la classe doit définir une méthode :meth:`__call__` ; l'effet est le même " "que si cette méthode était appelée." -#: reference/expressions.rst:1860 +#: reference/expressions.rst:1833 msgid "Await expression" msgstr "Expression ``await``" @@ -2615,7 +2615,7 @@ msgstr "" msgid "Conditional expressions" msgstr "Expressions conditionnelles" -#: reference/expressions.rst:1700 +#: reference/expressions.rst:1699 msgid "" "Conditional expressions (sometimes called a \"ternary operator\") have the " "lowest priority of all Python operations." @@ -2623,7 +2623,7 @@ msgstr "" "Les expressions conditionnelles (parfois appelées « opérateur ternaire ») " "sont les moins prioritaires de toutes les opérations Python." -#: reference/expressions.rst:1703 +#: reference/expressions.rst:1702 msgid "" "The expression ``x if C else y`` first evaluates the condition, *C* rather " "than *x*. If *C* is true, *x* is evaluated and its value is returned; " @@ -2633,16 +2633,16 @@ msgstr "" "est vrai, alors *x* est évalué et sa valeur est renvoyée ; sinon, *y* est " "évalué et sa valeur est renvoyée." -#: reference/expressions.rst:1707 +#: reference/expressions.rst:1706 msgid "See :pep:`308` for more details about conditional expressions." msgstr "" "Voir la :pep:`308` pour plus de détails sur les expressions conditionnelles." -#: reference/expressions.rst:1714 +#: reference/expressions.rst:1713 msgid "Lambdas" msgstr "Expressions lambda" -#: reference/expressions.rst:1726 +#: reference/expressions.rst:1724 msgid "" "Lambda expressions (sometimes called lambda forms) are used to create " "anonymous functions. The expression ``lambda parameters: expression`` yields " @@ -2653,7 +2653,7 @@ msgstr "" "L'expression ``lambda parameters: expression`` produit un objet fonction. " "Cet objet anonyme se comporte comme un objet fonction défini par :" -#: reference/expressions.rst:1735 +#: reference/expressions.rst:1733 msgid "" "See section :ref:`function` for the syntax of parameter lists. Note that " "functions created with lambda expressions cannot contain statements or " @@ -2663,11 +2663,11 @@ msgstr "" "Notez que les fonctions créées par des expressions lambda ne peuvent pas " "contenir d'instructions ou d'annotations." -#: reference/expressions.rst:1743 +#: reference/expressions.rst:1741 msgid "Expression lists" msgstr "Listes d'expressions" -#: reference/expressions.rst:1757 +#: reference/expressions.rst:1755 msgid "" "Except when part of a list or set display, an expression list containing at " "least one comma yields a tuple. The length of the tuple is the number of " @@ -2678,7 +2678,7 @@ msgstr "" "La longueur du *n*-uplet est le nombre d'expressions dans la liste. Les " "expressions sont évaluées de la gauche vers la droite." -#: reference/expressions.rst:1766 +#: reference/expressions.rst:1764 msgid "" "An asterisk ``*`` denotes :dfn:`iterable unpacking`. Its operand must be " "an :term:`iterable`. The iterable is expanded into a sequence of items, " @@ -2690,14 +2690,14 @@ msgstr "" "L'itérable est développé en une séquence d'éléments qui sont inclus dans un " "nouvel objet *n*-uplet, liste ou ensemble à l'emplacement du dépaquetage." -#: reference/expressions.rst:1771 +#: reference/expressions.rst:1769 msgid "" "Iterable unpacking in expression lists, originally proposed by :pep:`448`." msgstr "" "dépaquetage d'itérables dans les listes d'expressions, proposé à l'origine " "par la :pep:`448`." -#: reference/expressions.rst:1776 +#: reference/expressions.rst:1774 msgid "" "The trailing comma is required only to create a single tuple (a.k.a. a " "*singleton*); it is optional in all other cases. A single expression " @@ -2711,11 +2711,11 @@ msgstr "" "produit la valeur de cette expression (pour créer un *n*-uplet vide, " "utilisez une paire de parenthèses vide : ``()``)." -#: reference/expressions.rst:1786 +#: reference/expressions.rst:1784 msgid "Evaluation order" msgstr "Ordre d'évaluation" -#: reference/expressions.rst:1790 +#: reference/expressions.rst:1788 msgid "" "Python evaluates expressions from left to right. Notice that while " "evaluating an assignment, the right-hand side is evaluated before the left-" @@ -2725,7 +2725,7 @@ msgstr "" "lors de l'évaluation d'une assignation, la partie droite de l'assignation " "est évaluée avant la partie gauche." -#: reference/expressions.rst:1793 +#: reference/expressions.rst:1791 msgid "" "In the following lines, expressions will be evaluated in the arithmetic " "order of their suffixes::" @@ -2733,14 +2733,15 @@ msgstr "" "Dans les lignes qui suivent, les expressions sont évaluées suivant l'ordre " "arithmétique de leurs suffixes ::" -#: reference/expressions.rst:1807 +#: reference/expressions.rst:1805 msgid "Operator precedence" msgstr "Priorités des opérateurs" -#: reference/expressions.rst:1812 +#: reference/expressions.rst:1810 +#, fuzzy msgid "" "The following table summarizes the operator precedence in Python, from " -"lowest precedence (least binding) to highest precedence (most binding). " +"highest precedence (most binding) to lowest precedence (least binding). " "Operators in the same box have the same precedence. Unless the syntax is " "explicitly given, operators are binary. Operators in the same box group " "left to right (except for exponentiation, which groups from right to left)." @@ -2752,7 +2753,7 @@ msgstr "" "la gauche vers la droite (sauf pour la puissance qui regroupe de la droite " "vers la gauche)." -#: reference/expressions.rst:1818 +#: reference/expressions.rst:1816 msgid "" "Note that comparisons, membership tests, and identity tests, all have the " "same precedence and have a left-to-right chaining feature as described in " @@ -2762,164 +2763,23 @@ msgstr "" "d'identifiants possèdent tous la même priorité et s'enchaînent de la gauche " "vers la droite comme décrit dans la section :ref:`comparisons`." -#: reference/expressions.rst:1824 +#: reference/expressions.rst:1822 msgid "Operator" msgstr "Opérateur" -#: reference/expressions.rst:1824 +#: reference/expressions.rst:1822 msgid "Description" msgstr "Description" -#: reference/expressions.rst:1826 -msgid "``:=``" -msgstr "``:=``" - -#: reference/expressions.rst:1826 -msgid "Assignment expression" -msgstr "Expression d'affectation" - -#: reference/expressions.rst:1828 -msgid ":keyword:`lambda`" -msgstr ":keyword:`lambda`" - -#: reference/expressions.rst:1828 -msgid "Lambda expression" -msgstr "Expression lambda" - -#: reference/expressions.rst:1830 -msgid ":keyword:`if ` -- :keyword:`!else`" -msgstr ":keyword:`if ` -- :keyword:`!else`" - -#: reference/expressions.rst:1830 -msgid "Conditional expression" -msgstr "Expressions conditionnelles" - -#: reference/expressions.rst:1832 -msgid ":keyword:`or`" -msgstr ":keyword:`or`" - -#: reference/expressions.rst:1832 -msgid "Boolean OR" -msgstr "OR (booléen)" - -#: reference/expressions.rst:1834 -msgid ":keyword:`and`" -msgstr ":keyword:`and`" - -#: reference/expressions.rst:1834 -msgid "Boolean AND" -msgstr "AND (booléen)" - -#: reference/expressions.rst:1836 -msgid ":keyword:`not` ``x``" -msgstr ":keyword:`not` ``x``" - -#: reference/expressions.rst:1836 -msgid "Boolean NOT" -msgstr "NOT (booléen)" - -#: reference/expressions.rst:1838 -msgid "" -":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " -"``<=``, ``>``, ``>=``, ``!=``, ``==``" -msgstr "" -":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " -"``<=``, ``>``, ``>=``, ``!=``, ``==``" - -#: reference/expressions.rst:1838 -msgid "Comparisons, including membership tests and identity tests" -msgstr "" -"Comparaisons, y compris les tests d'appartenance et les tests d'identifiants" - -#: reference/expressions.rst:1842 -msgid "``|``" -msgstr "``|``" - -#: reference/expressions.rst:1842 -msgid "Bitwise OR" -msgstr "OR (bit à bit)" - -#: reference/expressions.rst:1844 -msgid "``^``" -msgstr "``^``" - -#: reference/expressions.rst:1844 -msgid "Bitwise XOR" -msgstr "XOR (bit à bit)" - -#: reference/expressions.rst:1846 -msgid "``&``" -msgstr "``&``" - -#: reference/expressions.rst:1846 -msgid "Bitwise AND" -msgstr "AND (bit à bit)" - -#: reference/expressions.rst:1848 -msgid "``<<``, ``>>``" -msgstr "``<<``, ``>>``" - -#: reference/expressions.rst:1848 -msgid "Shifts" -msgstr "décalages" - -#: reference/expressions.rst:1850 -msgid "``+``, ``-``" -msgstr "``+``, ``-``" - -#: reference/expressions.rst:1850 -msgid "Addition and subtraction" -msgstr "Addition et soustraction" - -#: reference/expressions.rst:1852 -msgid "``*``, ``@``, ``/``, ``//``, ``%``" -msgstr "``*``, ``@``, ``/``, ``//``, ``%``" - -#: reference/expressions.rst:1852 -msgid "" -"Multiplication, matrix multiplication, division, floor division, remainder " -"[#]_" -msgstr "" -"Multiplication, multiplication de matrices, division, division entière, " -"reste [#]_" - -#: reference/expressions.rst:1856 -msgid "``+x``, ``-x``, ``~x``" -msgstr "``+x``, ``-x``, ``~x``" - -#: reference/expressions.rst:1856 -msgid "Positive, negative, bitwise NOT" -msgstr "NOT (positif, négatif, bit à bit)" - -#: reference/expressions.rst:1858 -msgid "``**``" -msgstr "``**``" - -#: reference/expressions.rst:1858 -msgid "Exponentiation [#]_" -msgstr "Puissance [#]_" - -#: reference/expressions.rst:1860 -msgid ":keyword:`await` ``x``" -msgstr ":keyword:`await` ``x``" - -#: reference/expressions.rst:1862 -msgid "``x[index]``, ``x[index:index]``, ``x(arguments...)``, ``x.attribute``" -msgstr "``x[indice]``, ``x[indice:indice]``, ``x(arguments…)``, ``x.attribut``" - -#: reference/expressions.rst:1862 -msgid "Subscription, slicing, call, attribute reference" -msgstr "indiçage, tranches, appel, référence à un attribut" - -#: reference/expressions.rst:1865 +#: reference/expressions.rst:1824 msgid "``(expressions...)``," msgstr "``(expressions…)``," -#: reference/expressions.rst:1867 +#: reference/expressions.rst:1826 msgid "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" msgstr "``[expressions…]``, ``{key: value…}``, ``{expressions…}``" -#: reference/expressions.rst:1865 +#: reference/expressions.rst:1824 msgid "" "Binding or parenthesized expression, list display, dictionary display, set " "display" @@ -2927,11 +2787,152 @@ msgstr "" "Expression de liaison ou parenthèse, affichage de liste, affichage de " "dictionnaire, affichage de *set*" -#: reference/expressions.rst:1874 +#: reference/expressions.rst:1830 +msgid "``x[index]``, ``x[index:index]``, ``x(arguments...)``, ``x.attribute``" +msgstr "``x[indice]``, ``x[indice:indice]``, ``x(arguments…)``, ``x.attribut``" + +#: reference/expressions.rst:1830 +msgid "Subscription, slicing, call, attribute reference" +msgstr "indiçage, tranches, appel, référence à un attribut" + +#: reference/expressions.rst:1833 +msgid ":keyword:`await` ``x``" +msgstr ":keyword:`await` ``x``" + +#: reference/expressions.rst:1835 +msgid "``**``" +msgstr "``**``" + +#: reference/expressions.rst:1835 +msgid "Exponentiation [#]_" +msgstr "Puissance [#]_" + +#: reference/expressions.rst:1837 +msgid "``+x``, ``-x``, ``~x``" +msgstr "``+x``, ``-x``, ``~x``" + +#: reference/expressions.rst:1837 +msgid "Positive, negative, bitwise NOT" +msgstr "NOT (positif, négatif, bit à bit)" + +#: reference/expressions.rst:1839 +msgid "``*``, ``@``, ``/``, ``//``, ``%``" +msgstr "``*``, ``@``, ``/``, ``//``, ``%``" + +#: reference/expressions.rst:1839 +msgid "" +"Multiplication, matrix multiplication, division, floor division, remainder " +"[#]_" +msgstr "" +"Multiplication, multiplication de matrices, division, division entière, " +"reste [#]_" + +#: reference/expressions.rst:1843 +msgid "``+``, ``-``" +msgstr "``+``, ``-``" + +#: reference/expressions.rst:1843 +msgid "Addition and subtraction" +msgstr "Addition et soustraction" + +#: reference/expressions.rst:1845 +msgid "``<<``, ``>>``" +msgstr "``<<``, ``>>``" + +#: reference/expressions.rst:1845 +msgid "Shifts" +msgstr "décalages" + +#: reference/expressions.rst:1847 +msgid "``&``" +msgstr "``&``" + +#: reference/expressions.rst:1847 +msgid "Bitwise AND" +msgstr "AND (bit à bit)" + +#: reference/expressions.rst:1849 +msgid "``^``" +msgstr "``^``" + +#: reference/expressions.rst:1849 +msgid "Bitwise XOR" +msgstr "XOR (bit à bit)" + +#: reference/expressions.rst:1851 +msgid "``|``" +msgstr "``|``" + +#: reference/expressions.rst:1851 +msgid "Bitwise OR" +msgstr "OR (bit à bit)" + +#: reference/expressions.rst:1853 +msgid "" +":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " +"``<=``, ``>``, ``>=``, ``!=``, ``==``" +msgstr "" +":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " +"``<=``, ``>``, ``>=``, ``!=``, ``==``" + +#: reference/expressions.rst:1853 +msgid "Comparisons, including membership tests and identity tests" +msgstr "" +"Comparaisons, y compris les tests d'appartenance et les tests d'identifiants" + +#: reference/expressions.rst:1857 +msgid ":keyword:`not` ``x``" +msgstr ":keyword:`not` ``x``" + +#: reference/expressions.rst:1857 +msgid "Boolean NOT" +msgstr "NOT (booléen)" + +#: reference/expressions.rst:1859 +msgid ":keyword:`and`" +msgstr ":keyword:`and`" + +#: reference/expressions.rst:1859 +msgid "Boolean AND" +msgstr "AND (booléen)" + +#: reference/expressions.rst:1861 +msgid ":keyword:`or`" +msgstr ":keyword:`or`" + +#: reference/expressions.rst:1861 +msgid "Boolean OR" +msgstr "OR (booléen)" + +#: reference/expressions.rst:1863 +msgid ":keyword:`if ` -- :keyword:`!else`" +msgstr ":keyword:`if ` -- :keyword:`!else`" + +#: reference/expressions.rst:1863 +msgid "Conditional expression" +msgstr "Expressions conditionnelles" + +#: reference/expressions.rst:1865 +msgid ":keyword:`lambda`" +msgstr ":keyword:`lambda`" + +#: reference/expressions.rst:1865 +msgid "Lambda expression" +msgstr "Expression lambda" + +#: reference/expressions.rst:1867 +msgid "``:=``" +msgstr "``:=``" + +#: reference/expressions.rst:1867 +msgid "Assignment expression" +msgstr "Expression d'affectation" + +#: reference/expressions.rst:1872 msgid "Footnotes" msgstr "Notes" -#: reference/expressions.rst:1875 +#: reference/expressions.rst:1873 msgid "" "While ``abs(x%y) < abs(y)`` is true mathematically, for floats it may not be " "true numerically due to roundoff. For example, and assuming a platform on " @@ -2952,7 +2953,7 @@ msgstr "" "argument, c'est-à-dire ``-1e-100`` dans ce cas. La meilleure approche dépend " "de l'application." -#: reference/expressions.rst:1884 +#: reference/expressions.rst:1882 msgid "" "If x is very close to an exact integer multiple of y, it's possible for ``x//" "y`` to be one larger than ``(x-x%y)//y`` due to rounding. In such cases, " @@ -2964,7 +2965,7 @@ msgstr "" "Dans de tels cas, Python renvoie le second résultat afin d'avoir ``divmod(x," "y)[0] * y + x % y`` le plus proche de ``x``." -#: reference/expressions.rst:1889 +#: reference/expressions.rst:1887 msgid "" "The Unicode standard distinguishes between :dfn:`code points` (e.g. U+0041) " "and :dfn:`abstract characters` (e.g. \"LATIN CAPITAL LETTER A\"). While most " @@ -2989,7 +2990,7 @@ msgstr "" "*U+0043* (LATIN CAPITAL LETTER C) du code, suivi par un :dfn:`caractère " "combiné` à la position *U+0327* (*COMBINING CEDILLA*) du code." -#: reference/expressions.rst:1900 +#: reference/expressions.rst:1898 msgid "" "The comparison operators on strings compare at the level of Unicode code " "points. This may be counter-intuitive to humans. For example, ``\"\\u00C7\" " @@ -3002,7 +3003,7 @@ msgstr "" "chaînes représentent le même caractère abstrait \"LATIN CAPITAL LETTER C " "WITH CEDILLA\"." -#: reference/expressions.rst:1905 +#: reference/expressions.rst:1903 msgid "" "To compare strings at the level of abstract characters (that is, in a way " "intuitive to humans), use :func:`unicodedata.normalize`." @@ -3011,7 +3012,7 @@ msgstr "" "quelque chose d'intuitif pour les humains), utilisez :func:`unicodedata." "normalize`." -#: reference/expressions.rst:1908 +#: reference/expressions.rst:1906 msgid "" "Due to automatic garbage-collection, free lists, and the dynamic nature of " "descriptors, you may notice seemingly unusual behaviour in certain uses of " @@ -3024,18 +3025,18 @@ msgstr "" "cela implique des comparaisons entre des méthodes d'instances ou des " "constantes. Allez vérifier dans la documentation pour plus d'informations." -#: reference/expressions.rst:1913 -msgid "" -"The ``%`` operator is also used for string formatting; the same precedence " -"applies." -msgstr "" -"L'opérateur ``%`` est aussi utilisé pour formater les chaînes de " -"caractères ; il y possède la même priorité." - -#: reference/expressions.rst:1916 +#: reference/expressions.rst:1911 msgid "" "The power operator ``**`` binds less tightly than an arithmetic or bitwise " "unary operator on its right, that is, ``2**-1`` is ``0.5``." msgstr "" "L'opérateur puissance ``**`` est moins prioritaire qu'un opérateur unaire " "arithmétique ou bit à bit sur sa droite. Ainsi, ``2**-1`` vaut ``0.5``." + +#: reference/expressions.rst:1914 +msgid "" +"The ``%`` operator is also used for string formatting; the same precedence " +"applies." +msgstr "" +"L'opérateur ``%`` est aussi utilisé pour formater les chaînes de " +"caractères ; il y possède la même priorité." diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 7cf94cd7..4224f250 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-10 17:08+0200\n" "Last-Translator: Antoine \n" "Language-Team: FRENCH \n" @@ -837,12 +837,16 @@ msgstr "" "d'exception avec sa trace d'appels passée en argument), comme ceci ::" #: reference/simple_stmts.rst:593 +#, fuzzy msgid "" "The ``from`` clause is used for exception chaining: if given, the second " -"*expression* must be another exception class or instance, which will then be " -"attached to the raised exception as the :attr:`__cause__` attribute (which " -"is writable). If the raised exception is not handled, both exceptions will " -"be printed::" +"*expression* must be another exception class or instance. If the second " +"expression is an exception instance, it will be attached to the raised " +"exception as the :attr:`__cause__` attribute (which is writable). If the " +"expression is an exception class, the class will be instantiated and the " +"resulting exception instance will be attached to the raised exception as " +"the :attr:`__cause__` attribute. If the raised exception is not handled, " +"both exceptions will be printed::" msgstr "" "La clause ``from`` est utilisée pour chaîner les exceptions : si vous la " "fournissez, la seconde « expression » doit être une autre classe ou instance " @@ -850,7 +854,7 @@ msgstr "" "`__cause__` (en lecture-écriture). Si l'exception levée n'est pas gérée, les " "deux exceptions sont affichées ::" -#: reference/simple_stmts.rst:614 +#: reference/simple_stmts.rst:617 msgid "" "A similar mechanism works implicitly if an exception is raised inside an " "exception handler or a :keyword:`finally` clause: the previous exception is " @@ -861,7 +865,7 @@ msgstr "" "`finally` : la première exception est rattachée à l'attribut :attr:" "`__context__` de la nouvelle exception ::" -#: reference/simple_stmts.rst:633 +#: reference/simple_stmts.rst:636 msgid "" "Exception chaining can be explicitly suppressed by specifying :const:`None` " "in the ``from`` clause::" @@ -869,7 +873,7 @@ msgstr "" "Le chaînage d'exceptions peut être explicitement supprimé en spécifiant :" "const:`None` dans la clause ``from`` ::" -#: reference/simple_stmts.rst:645 +#: reference/simple_stmts.rst:648 msgid "" "Additional information on exceptions can be found in section :ref:" "`exceptions`, and information about handling exceptions is in section :ref:" @@ -879,13 +883,13 @@ msgstr "" "section :ref:`exceptions` et sur la gestion des exceptions dans la section :" "ref:`try`." -#: reference/simple_stmts.rst:648 +#: reference/simple_stmts.rst:651 msgid ":const:`None` is now permitted as ``Y`` in ``raise X from Y``." msgstr "" ":const:`None` est dorénavant autorisée en tant que ``Y`` dans ``raise X from " "Y``." -#: reference/simple_stmts.rst:651 +#: reference/simple_stmts.rst:654 msgid "" "The ``__suppress_context__`` attribute to suppress automatic display of the " "exception context." @@ -893,11 +897,11 @@ msgstr "" "L'attribut ``__suppress_context__`` pour supprimer l'affichage automatique " "du contexte de l'exception." -#: reference/simple_stmts.rst:658 +#: reference/simple_stmts.rst:661 msgid "The :keyword:`!break` statement" msgstr "L'instruction :keyword:`!break`" -#: reference/simple_stmts.rst:669 +#: reference/simple_stmts.rst:672 msgid "" ":keyword:`break` may only occur syntactically nested in a :keyword:`for` or :" "keyword:`while` loop, but not nested in a function or class definition " @@ -907,7 +911,7 @@ msgstr "" "boucle :keyword:`for` ou :keyword:`while`, mais pas dans une définition de " "fonction ou de classe à l'intérieur de cette boucle." -#: reference/simple_stmts.rst:676 +#: reference/simple_stmts.rst:679 msgid "" "It terminates the nearest enclosing loop, skipping the optional :keyword:`!" "else` clause if the loop has one." @@ -915,7 +919,7 @@ msgstr "" "Elle termine la boucle la plus imbriquée, shuntant l'éventuelle clause :" "keyword:`!else` de la boucle." -#: reference/simple_stmts.rst:679 +#: reference/simple_stmts.rst:682 msgid "" "If a :keyword:`for` loop is terminated by :keyword:`break`, the loop control " "target keeps its current value." @@ -923,7 +927,7 @@ msgstr "" "Si une boucle :keyword:`for` est terminée par un :keyword:`break`, la cible " "qui contrôle la boucle garde sa valeur." -#: reference/simple_stmts.rst:684 +#: reference/simple_stmts.rst:687 msgid "" "When :keyword:`break` passes control out of a :keyword:`try` statement with " "a :keyword:`finally` clause, that :keyword:`!finally` clause is executed " @@ -933,11 +937,11 @@ msgstr "" "keyword:`try` qui comporte une clause :keyword:`finally`, cette clause :" "keyword:`!finally` est exécutée avant de quitter la boucle." -#: reference/simple_stmts.rst:692 +#: reference/simple_stmts.rst:695 msgid "The :keyword:`!continue` statement" msgstr "L'instruction :keyword:`!continue`" -#: reference/simple_stmts.rst:704 +#: reference/simple_stmts.rst:707 msgid "" ":keyword:`continue` may only occur syntactically nested in a :keyword:`for` " "or :keyword:`while` loop, but not nested in a function or class definition " @@ -949,7 +953,7 @@ msgstr "" "fonction ou de classe à l'intérieur de cette boucle. Elle fait continuer le " "flot d'exécution au prochain cycle de la boucle la plus imbriquée." -#: reference/simple_stmts.rst:708 +#: reference/simple_stmts.rst:711 msgid "" "When :keyword:`continue` passes control out of a :keyword:`try` statement " "with a :keyword:`finally` clause, that :keyword:`!finally` clause is " @@ -960,11 +964,11 @@ msgstr "" "keyword:`!finally` est exécutée avant de commencer le cycle suivant de la " "boucle." -#: reference/simple_stmts.rst:717 +#: reference/simple_stmts.rst:720 msgid "The :keyword:`!import` statement" msgstr "L'instruction :keyword:`!import`" -#: reference/simple_stmts.rst:738 +#: reference/simple_stmts.rst:741 msgid "" "The basic import statement (no :keyword:`from` clause) is executed in two " "steps:" @@ -972,11 +976,11 @@ msgstr "" "L'instruction de base *import* (sans clause :keyword:`from`) est exécutée en " "deux étapes :" -#: reference/simple_stmts.rst:741 +#: reference/simple_stmts.rst:744 msgid "find a module, loading and initializing it if necessary" msgstr "trouve un module, le charge et l'initialise si nécessaire" -#: reference/simple_stmts.rst:742 +#: reference/simple_stmts.rst:745 msgid "" "define a name or names in the local namespace for the scope where the :" "keyword:`import` statement occurs." @@ -984,7 +988,7 @@ msgstr "" "définit un ou des noms (*name* dans la grammaire ci-dessus) dans l'espace " "des noms locaux de la portée où l'instruction :keyword:`import` apparaît." -#: reference/simple_stmts.rst:745 +#: reference/simple_stmts.rst:748 msgid "" "When the statement contains multiple clauses (separated by commas) the two " "steps are carried out separately for each clause, just as though the clauses " @@ -994,7 +998,7 @@ msgstr "" "les deux étapes sont menées séparément pour chaque clause, comme si les " "clauses étaient séparées dans des instructions d'importations individuelles." -#: reference/simple_stmts.rst:750 +#: reference/simple_stmts.rst:753 msgid "" "The details of the first step, finding and loading modules are described in " "greater detail in the section on the :ref:`import system `, " @@ -1013,7 +1017,7 @@ msgstr "" "n'a pas été trouvé, soit qu'une erreur s'est produite lors de " "l'initialisation du module, ce qui comprend l'exécution du code du module." -#: reference/simple_stmts.rst:758 +#: reference/simple_stmts.rst:761 msgid "" "If the requested module is retrieved successfully, it will be made available " "in the local namespace in one of three ways:" @@ -1021,7 +1025,7 @@ msgstr "" "Si le module requis est bien récupéré, il est mis à disposition de l'espace " "de nommage local suivant l'une des trois façons suivantes :" -#: reference/simple_stmts.rst:763 +#: reference/simple_stmts.rst:766 msgid "" "If the module name is followed by :keyword:`!as`, then the name following :" "keyword:`!as` is bound directly to the imported module." @@ -1029,7 +1033,7 @@ msgstr "" "Si le nom du module est suivi par :keyword:`!as`, alors le nom suivant :" "keyword:`!as` est directement lié au module importé." -#: reference/simple_stmts.rst:765 +#: reference/simple_stmts.rst:768 msgid "" "If no other name is specified, and the module being imported is a top level " "module, the module's name is bound in the local namespace as a reference to " @@ -1039,7 +1043,7 @@ msgstr "" "est un module de niveau le plus haut, le nom du module est lié dans l'espace " "des noms locaux au module importé ;" -#: reference/simple_stmts.rst:768 +#: reference/simple_stmts.rst:771 msgid "" "If the module being imported is *not* a top level module, then the name of " "the top level package that contains the module is bound in the local " @@ -1052,11 +1056,11 @@ msgstr "" "pouvez accéder au module importé en utilisant son nom pleinement qualifié et " "non directement." -#: reference/simple_stmts.rst:778 +#: reference/simple_stmts.rst:781 msgid "The :keyword:`from` form uses a slightly more complex process:" msgstr "La forme :keyword:`from` utilise un processus un peu plus complexe :" -#: reference/simple_stmts.rst:780 +#: reference/simple_stmts.rst:783 msgid "" "find the module specified in the :keyword:`from` clause, loading and " "initializing it if necessary;" @@ -1064,15 +1068,15 @@ msgstr "" "trouve le module spécifié dans la clause :keyword:`from`, le charge et " "l'initialise si nécessaire ;" -#: reference/simple_stmts.rst:782 +#: reference/simple_stmts.rst:785 msgid "for each of the identifiers specified in the :keyword:`import` clauses:" msgstr "pour chaque nom spécifié dans les clauses :keyword:`import` :" -#: reference/simple_stmts.rst:784 +#: reference/simple_stmts.rst:787 msgid "check if the imported module has an attribute by that name" msgstr "vérifie si le module importé possède un attribut avec ce nom ;" -#: reference/simple_stmts.rst:785 +#: reference/simple_stmts.rst:788 msgid "" "if not, attempt to import a submodule with that name and then check the " "imported module again for that attribute" @@ -1080,11 +1084,11 @@ msgstr "" "si non, essaie d'importer un sous-module avec ce nom puis vérifie si le " "module importé possède lui-même cet attribut ;" -#: reference/simple_stmts.rst:787 +#: reference/simple_stmts.rst:790 msgid "if the attribute is not found, :exc:`ImportError` is raised." msgstr "si l'attribut n'est pas trouvé, une :exc:`ImportError` est levée." -#: reference/simple_stmts.rst:788 +#: reference/simple_stmts.rst:791 msgid "" "otherwise, a reference to that value is stored in the local namespace, using " "the name in the :keyword:`!as` clause if it is present, otherwise using the " @@ -1094,11 +1098,11 @@ msgstr "" "locaux, en utilisant le nom de la clause :keyword:`!as` si elle est " "présente, sinon en utilisant le nom de l'attribut." -#: reference/simple_stmts.rst:792 +#: reference/simple_stmts.rst:795 msgid "Examples::" msgstr "Exemples ::" -#: reference/simple_stmts.rst:802 +#: reference/simple_stmts.rst:805 msgid "" "If the list of identifiers is replaced by a star (``'*'``), all public names " "defined in the module are bound in the local namespace for the scope where " @@ -1108,7 +1112,7 @@ msgstr "" "publics définis dans le module sont liés dans l'espace des noms locaux de la " "portée où apparaît l'instruction :keyword:`import`." -#: reference/simple_stmts.rst:808 +#: reference/simple_stmts.rst:811 msgid "" "The *public names* defined by a module are determined by checking the " "module's namespace for a variable named ``__all__``; if defined, it must be " @@ -1132,7 +1136,7 @@ msgstr "" "que des modules de bibliothèques qui ont été importés et utilisés à " "l'intérieur du module)." -#: reference/simple_stmts.rst:818 +#: reference/simple_stmts.rst:821 msgid "" "The wild card form of import --- ``from module import *`` --- is only " "allowed at the module level. Attempting to use it in class or function " @@ -1142,7 +1146,7 @@ msgstr "" "autorisée seulement au niveau du module. Si vous essayez de l'utiliser dans " "une définition de classe ou de fonction, cela lève une :exc:`SyntaxError`." -#: reference/simple_stmts.rst:825 +#: reference/simple_stmts.rst:828 msgid "" "When specifying what module to import you do not have to specify the " "absolute name of the module. When a module or package is contained within " @@ -1174,7 +1178,7 @@ msgstr "" "finalement ``pkg.souspkg2.mod``. La spécification des importations relatives " "se situe dans la section :ref:`relativeimports`." -#: reference/simple_stmts.rst:839 +#: reference/simple_stmts.rst:842 msgid "" ":func:`importlib.import_module` is provided to support applications that " "determine dynamically the modules to be loaded." @@ -1182,7 +1186,7 @@ msgstr "" ":func:`importlib.import_module` est fournie pour gérer les applications qui " "déterminent dynamiquement les modules à charger." -#: reference/simple_stmts.rst:842 +#: reference/simple_stmts.rst:845 msgid "" "Raises an :ref:`auditing event ` ``import`` with arguments " "``module``, ``filename``, ``sys.path``, ``sys.meta_path``, ``sys." @@ -1191,11 +1195,11 @@ msgstr "" "Lève un :ref:`évènement d'audit ` avec les arguments ``module``, " "``filename``, ``sys.path``, ``sys.meta_path``, ``sys.path_hooks``." -#: reference/simple_stmts.rst:847 +#: reference/simple_stmts.rst:850 msgid "Future statements" msgstr "L'instruction future" -#: reference/simple_stmts.rst:853 +#: reference/simple_stmts.rst:856 msgid "" "A :dfn:`future statement` is a directive to the compiler that a particular " "module should be compiled using syntax or semantics that will be available " @@ -1206,7 +1210,7 @@ msgstr "" "sémantique qui sera disponible dans une future version de Python où cette " "fonctionnalité est devenue un standard." -#: reference/simple_stmts.rst:857 +#: reference/simple_stmts.rst:860 msgid "" "The future statement is intended to ease migration to future versions of " "Python that introduce incompatible changes to the language. It allows use " @@ -1219,7 +1223,7 @@ msgstr "" "module avant qu'une version n'officialise cette fonctionnalité comme un " "standard." -#: reference/simple_stmts.rst:869 +#: reference/simple_stmts.rst:872 msgid "" "A future statement must appear near the top of the module. The only lines " "that can appear before a future statement are:" @@ -1227,23 +1231,23 @@ msgstr "" "Une instruction *future* doit apparaître en haut du module. Les seules " "lignes autorisées avant une instruction *future* sont :" -#: reference/simple_stmts.rst:872 +#: reference/simple_stmts.rst:875 msgid "the module docstring (if any)," msgstr "la chaîne de documentation du module (si elle existe)," -#: reference/simple_stmts.rst:873 +#: reference/simple_stmts.rst:876 msgid "comments," msgstr "des commentaires," -#: reference/simple_stmts.rst:874 +#: reference/simple_stmts.rst:877 msgid "blank lines, and" msgstr "des lignes vides et" -#: reference/simple_stmts.rst:875 +#: reference/simple_stmts.rst:878 msgid "other future statements." msgstr "d'autres instructions *future*." -#: reference/simple_stmts.rst:877 +#: reference/simple_stmts.rst:880 msgid "" "The only feature that requires using the future statement is ``annotations`` " "(see :pep:`563`)." @@ -1251,7 +1255,7 @@ msgstr "" "La seule fonctionnalité qui nécessite l'utilisation de l'instruction " "`future` est ``annotations`` (voir la :pep:`563`)." -#: reference/simple_stmts.rst:880 +#: reference/simple_stmts.rst:883 msgid "" "All historical features enabled by the future statement are still recognized " "by Python 3. The list includes ``absolute_import``, ``division``, " @@ -1268,7 +1272,7 @@ msgstr "" "elles sont de toute manière activées ; elles ne sont conservées que par " "souci de compatibilité descendante." -#: reference/simple_stmts.rst:887 +#: reference/simple_stmts.rst:890 msgid "" "A future statement is recognized and treated specially at compile time: " "Changes to the semantics of core constructs are often implemented by " @@ -1285,7 +1289,7 @@ msgstr "" "le module de manière différente. De telles décisions ne peuvent pas être " "différées au moment de l'exécution." -#: reference/simple_stmts.rst:894 +#: reference/simple_stmts.rst:897 msgid "" "For any given release, the compiler knows which feature names have been " "defined, and raises a compile-time error if a future statement contains a " @@ -1295,7 +1299,7 @@ msgstr "" "définies et lève une erreur à la compilation si une instruction *future* " "contient une fonctionnalité qui lui est inconnue." -#: reference/simple_stmts.rst:898 +#: reference/simple_stmts.rst:901 msgid "" "The direct runtime semantics are the same as for any import statement: there " "is a standard module :mod:`__future__`, described later, and it will be " @@ -1306,7 +1310,7 @@ msgstr "" "loin, qui est importé comme les autres au moment où l'instruction *future* " "est exécutée." -#: reference/simple_stmts.rst:902 +#: reference/simple_stmts.rst:905 msgid "" "The interesting runtime semantics depend on the specific feature enabled by " "the future statement." @@ -1314,11 +1318,11 @@ msgstr "" "La sémantique particulière à l'exécution dépend des fonctionnalités " "apportées par l'instruction *future*." -#: reference/simple_stmts.rst:905 +#: reference/simple_stmts.rst:908 msgid "Note that there is nothing special about the statement::" msgstr "Notez que l'instruction suivante est tout à fait normale ::" -#: reference/simple_stmts.rst:909 +#: reference/simple_stmts.rst:912 msgid "" "That is not a future statement; it's an ordinary import statement with no " "special semantics or syntax restrictions." @@ -1326,7 +1330,7 @@ msgstr "" "Ce n'est pas une instruction *future* ; c'est une instruction d'importation " "ordinaire qui n'a aucune sémantique particulière ou restriction de syntaxe." -#: reference/simple_stmts.rst:912 +#: reference/simple_stmts.rst:915 msgid "" "Code compiled by calls to the built-in functions :func:`exec` and :func:" "`compile` that occur in a module :mod:`M` containing a future statement " @@ -1340,7 +1344,7 @@ msgstr "" "l'instruction *future*. Ceci peut être contrôle par des arguments optionnels " "à :func:`compile` — voir la documentation de cette fonction pour les détails." -#: reference/simple_stmts.rst:918 +#: reference/simple_stmts.rst:921 msgid "" "A future statement typed at an interactive interpreter prompt will take " "effect for the rest of the interpreter session. If an interpreter is " @@ -1355,19 +1359,19 @@ msgstr "" "effective pour la session interactive qui démarre après l'exécution du " "script." -#: reference/simple_stmts.rst:926 +#: reference/simple_stmts.rst:929 msgid ":pep:`236` - Back to the __future__" msgstr ":pep:`236` — retour vers le ``__future__``" -#: reference/simple_stmts.rst:927 +#: reference/simple_stmts.rst:930 msgid "The original proposal for the __future__ mechanism." msgstr "La proposition originale pour le mécanisme de ``__future__``." -#: reference/simple_stmts.rst:933 +#: reference/simple_stmts.rst:936 msgid "The :keyword:`!global` statement" msgstr "L'instruction :keyword:`!global`" -#: reference/simple_stmts.rst:943 +#: reference/simple_stmts.rst:946 msgid "" "The :keyword:`global` statement is a declaration which holds for the entire " "current code block. It means that the listed identifiers are to be " @@ -1382,7 +1386,7 @@ msgstr "" "rappelez-vous que les variables libres peuvent faire référence à des " "variables globales sans avoir été déclarées en tant que telles." -#: reference/simple_stmts.rst:949 +#: reference/simple_stmts.rst:952 msgid "" "Names listed in a :keyword:`global` statement must not be used in the same " "code block textually preceding that :keyword:`!global` statement." @@ -1390,7 +1394,7 @@ msgstr "" "Les noms listés dans l'instruction :keyword:`global` ne doivent pas être " "utilisés, dans le même bloc de code, avant l'instruction :keyword:`!global`." -#: reference/simple_stmts.rst:952 +#: reference/simple_stmts.rst:955 msgid "" "Names listed in a :keyword:`global` statement must not be defined as formal " "parameters or in a :keyword:`for` loop control target, :keyword:`class` " @@ -1402,7 +1406,7 @@ msgstr "" "dans une définition de :keyword:`class`, de fonction, d'instruction :keyword:" "`import` ou une annotation de variable." -#: reference/simple_stmts.rst:959 +#: reference/simple_stmts.rst:962 msgid "" "The current implementation does not enforce some of these restrictions, but " "programs should not abuse this freedom, as future implementations may " @@ -1413,7 +1417,7 @@ msgstr "" "faire la vérification ou modifier le comportement du programme sans vous " "avertir." -#: reference/simple_stmts.rst:968 +#: reference/simple_stmts.rst:971 msgid "" "**Programmer's note:** :keyword:`global` is a directive to the parser. It " "applies only to code parsed at the same time as the :keyword:`!global` " @@ -1433,11 +1437,11 @@ msgstr "" "instruction :keyword:`!global` placée dans le code contenant l'appel. Il en " "est de même pour les fonctions :func:`eval` et :func:`compile`." -#: reference/simple_stmts.rst:980 +#: reference/simple_stmts.rst:983 msgid "The :keyword:`!nonlocal` statement" msgstr "L'instruction :keyword:`!nonlocal`" -#: reference/simple_stmts.rst:992 +#: reference/simple_stmts.rst:995 msgid "" "The :keyword:`nonlocal` statement causes the listed identifiers to refer to " "previously bound variables in the nearest enclosing scope excluding globals. " @@ -1453,7 +1457,7 @@ msgstr "" "lier à des variables en dehors de la portée locale du code mais sans avoir " "de portée globale (c'est-à-dire de niveau module)." -#: reference/simple_stmts.rst:1002 +#: reference/simple_stmts.rst:1005 msgid "" "Names listed in a :keyword:`nonlocal` statement, unlike those listed in a :" "keyword:`global` statement, must refer to pre-existing bindings in an " @@ -1466,7 +1470,7 @@ msgstr "" "existantes dans les portées englobantes (en effet, la portée dans laquelle " "devrait être créée la liaison ne peut pas être déterminée *a priori*)." -#: reference/simple_stmts.rst:1007 +#: reference/simple_stmts.rst:1010 msgid "" "Names listed in a :keyword:`nonlocal` statement must not collide with pre-" "existing bindings in the local scope." @@ -1474,10 +1478,10 @@ msgstr "" "Les noms listés dans l'instruction :keyword:`nonlocal` ne doivent entrer en " "collision avec des liaisons déjà établies dans la portée locale." -#: reference/simple_stmts.rst:1012 +#: reference/simple_stmts.rst:1015 msgid ":pep:`3104` - Access to Names in Outer Scopes" msgstr ":pep:`3104` -- Accès à des noms en dehors de la portée locale" -#: reference/simple_stmts.rst:1013 +#: reference/simple_stmts.rst:1016 msgid "The specification for the :keyword:`nonlocal` statement." msgstr "Les spécifications pour l'instruction :keyword:`nonlocal`." diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index 8ffecfd6..0d40b565 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 17:33+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-09 22:48+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -243,11 +243,11 @@ msgstr "" "L'instruction :keyword:`continue`, également empruntée au C, fait passer la " "boucle à son itération suivante ::" -#: tutorial/controlflow.rst:223 +#: tutorial/controlflow.rst:224 msgid ":keyword:`!pass` Statements" msgstr "L'instruction :keyword:`!pass`" -#: tutorial/controlflow.rst:225 +#: tutorial/controlflow.rst:226 msgid "" "The :keyword:`pass` statement does nothing. It can be used when a statement " "is required syntactically but the program requires no action. For example::" @@ -256,12 +256,12 @@ msgstr "" "lorsqu'une instruction est nécessaire pour fournir une syntaxe correcte, " "mais qu'aucune action ne doit être effectuée. Par exemple ::" -#: tutorial/controlflow.rst:232 +#: tutorial/controlflow.rst:233 msgid "This is commonly used for creating minimal classes::" msgstr "" "On utilise couramment cette instruction pour créer des classes minimales ::" -#: tutorial/controlflow.rst:238 +#: tutorial/controlflow.rst:239 msgid "" "Another place :keyword:`pass` can be used is as a place-holder for a " "function or conditional body when you are working on new code, allowing you " @@ -273,11 +273,11 @@ msgstr "" "permettant ainsi de construire votre code à un niveau plus abstrait. " "L'instruction :keyword:`!pass` est alors ignorée silencieusement ::" -#: tutorial/controlflow.rst:249 +#: tutorial/controlflow.rst:250 msgid "Defining Functions" msgstr "Définir des fonctions" -#: tutorial/controlflow.rst:251 +#: tutorial/controlflow.rst:252 msgid "" "We can create a function that writes the Fibonacci series to an arbitrary " "boundary::" @@ -285,7 +285,7 @@ msgstr "" "On peut créer une fonction qui écrit la suite de Fibonacci jusqu'à une " "limite imposée ::" -#: tutorial/controlflow.rst:271 +#: tutorial/controlflow.rst:272 msgid "" "The keyword :keyword:`def` introduces a function *definition*. It must be " "followed by the function name and the parenthesized list of formal " @@ -297,7 +297,7 @@ msgstr "" "paramètres. L'instruction qui constitue le corps de la fonction débute à la " "ligne suivante et doit être indentée." -#: tutorial/controlflow.rst:276 +#: tutorial/controlflow.rst:277 msgid "" "The first statement of the function body can optionally be a string literal; " "this string literal is the function's documentation string, or :dfn:" @@ -316,7 +316,7 @@ msgstr "" "naviguer de façon interactive dans le code ; prenez-en l'habitude, c'est une " "bonne pratique que de documenter le code que vous écrivez." -#: tutorial/controlflow.rst:283 +#: tutorial/controlflow.rst:284 msgid "" "The *execution* of a function introduces a new symbol table used for the " "local variables of the function. More precisely, all variable assignments " @@ -342,7 +342,7 @@ msgstr "" "instruction :keyword:`global` et, pour les variables des fonctions " "englobantes, désignées dans une instruction :keyword:`nonlocal`)." -#: tutorial/controlflow.rst:294 +#: tutorial/controlflow.rst:295 msgid "" "The actual parameters (arguments) to a function call are introduced in the " "local symbol table of the called function when it is called; thus, arguments " @@ -359,7 +359,7 @@ msgstr "" "s'appelle elle-même par récursion, une nouvelle table de symboles locaux est " "créée pour cet appel." -#: tutorial/controlflow.rst:301 +#: tutorial/controlflow.rst:302 msgid "" "A function definition associates the function name with the function object " "in the current symbol table. The interpreter recognizes the object pointed " @@ -372,7 +372,7 @@ msgstr "" "référence à une même fonction, ils peuvent alors tous être utilisés pour " "appeler la fonction ::" -#: tutorial/controlflow.rst:312 +#: tutorial/controlflow.rst:313 msgid "" "Coming from other languages, you might object that ``fib`` is not a function " "but a procedure since it doesn't return a value. In fact, even functions " @@ -391,7 +391,7 @@ msgstr "" "Vous pouvez le constater, si vous y tenez vraiment, en utilisant :func:" "`print` ::" -#: tutorial/controlflow.rst:323 +#: tutorial/controlflow.rst:324 msgid "" "It is simple to write a function that returns a list of the numbers of the " "Fibonacci series, instead of printing it::" @@ -399,14 +399,14 @@ msgstr "" "Il est facile d'écrire une fonction qui renvoie une liste de la série de " "Fibonacci au lieu de l'afficher ::" -#: tutorial/controlflow.rst:339 +#: tutorial/controlflow.rst:340 msgid "This example, as usual, demonstrates some new Python features:" msgstr "" "Cet exemple, comme d'habitude, illustre de nouvelles fonctionnalités de " "Python :" # énumération --> pas de majuscule et point-virgule en fin de proposition. -#: tutorial/controlflow.rst:341 +#: tutorial/controlflow.rst:342 msgid "" "The :keyword:`return` statement returns with a value from a function. :" "keyword:`!return` without an expression argument returns ``None``. Falling " @@ -418,7 +418,7 @@ msgstr "" "``None`` ;" # fin d'énumération --> pas de majuscule et point final. -#: tutorial/controlflow.rst:345 +#: tutorial/controlflow.rst:346 msgid "" "The statement ``result.append(a)`` calls a *method* of the list object " "``result``. A method is a function that 'belongs' to an object and is named " @@ -444,11 +444,11 @@ msgstr "" "liste. Dans cet exemple, elle est l'équivalent de ``result = result + [a]``, " "en plus efficace." -#: tutorial/controlflow.rst:360 +#: tutorial/controlflow.rst:361 msgid "More on Defining Functions" msgstr "Davantage sur la définition des fonctions" -#: tutorial/controlflow.rst:362 +#: tutorial/controlflow.rst:363 msgid "" "It is also possible to define functions with a variable number of arguments. " "There are three forms, which can be combined." @@ -456,11 +456,11 @@ msgstr "" "Il est également possible de définir des fonctions avec un nombre variable " "d'arguments. Trois syntaxes peuvent être utilisées, éventuellement combinées." -#: tutorial/controlflow.rst:369 +#: tutorial/controlflow.rst:370 msgid "Default Argument Values" msgstr "Valeur par défaut des arguments" -#: tutorial/controlflow.rst:371 +#: tutorial/controlflow.rst:372 msgid "" "The most useful form is to specify a default value for one or more " "arguments. This creates a function that can be called with fewer arguments " @@ -470,12 +470,12 @@ msgstr "" "certains arguments. Ceci crée une fonction qui peut être appelée avec moins " "d'arguments que ceux présents dans sa définition. Par exemple ::" -#: tutorial/controlflow.rst:387 +#: tutorial/controlflow.rst:388 msgid "This function can be called in several ways:" msgstr "Cette fonction peut être appelée de plusieurs façons :" # énumération --> pas de majuscule -#: tutorial/controlflow.rst:389 +#: tutorial/controlflow.rst:390 msgid "" "giving only the mandatory argument: ``ask_ok('Do you really want to quit?')``" msgstr "" @@ -483,7 +483,7 @@ msgstr "" "want to quit?')`` ;" # énumération --> pas de majuscule et point-virgule en fin de proposition. -#: tutorial/controlflow.rst:391 +#: tutorial/controlflow.rst:392 msgid "" "giving one of the optional arguments: ``ask_ok('OK to overwrite the file?', " "2)``" @@ -492,7 +492,7 @@ msgstr "" "overwrite the file?', 2)`` ;" # fin d'énumération --> pas de majuscule et point final. -#: tutorial/controlflow.rst:393 +#: tutorial/controlflow.rst:394 msgid "" "or even giving all arguments: ``ask_ok('OK to overwrite the file?', 2, 'Come " "on, only yes or no!')``" @@ -500,7 +500,7 @@ msgstr "" "en fournissant tous les arguments : ``ask_ok('OK to overwrite the file?', 2, " "'Come on, only yes or no!')``." -#: tutorial/controlflow.rst:396 +#: tutorial/controlflow.rst:397 msgid "" "This example also introduces the :keyword:`in` keyword. This tests whether " "or not a sequence contains a certain value." @@ -508,7 +508,7 @@ msgstr "" "Cet exemple présente également le mot-clé :keyword:`in`. Celui-ci permet de " "tester si une séquence contient une certaine valeur." -#: tutorial/controlflow.rst:399 +#: tutorial/controlflow.rst:400 msgid "" "The default values are evaluated at the point of function definition in the " "*defining* scope, so that ::" @@ -516,11 +516,11 @@ msgstr "" "Les valeurs par défaut sont évaluées lors de la définition de la fonction " "dans la portée de la *définition*, de telle sorte que ::" -#: tutorial/controlflow.rst:410 +#: tutorial/controlflow.rst:411 msgid "will print ``5``." msgstr "affiche ``5``." -#: tutorial/controlflow.rst:412 +#: tutorial/controlflow.rst:413 msgid "" "**Important warning:** The default value is evaluated only once. This makes " "a difference when the default is a mutable object such as a list, " @@ -534,11 +534,11 @@ msgstr "" "arguments qui lui sont passés au fil des appels successifs ::" # pas de majuscule : ok -#: tutorial/controlflow.rst:425 +#: tutorial/controlflow.rst:426 msgid "This will print ::" msgstr "affiche ::" -#: tutorial/controlflow.rst:431 +#: tutorial/controlflow.rst:432 msgid "" "If you don't want the default to be shared between subsequent calls, you can " "write the function like this instead::" @@ -546,11 +546,11 @@ msgstr "" "Si vous ne voulez pas que cette valeur par défaut soit partagée entre des " "appels successifs, vous pouvez écrire la fonction de cette façon ::" -#: tutorial/controlflow.rst:444 +#: tutorial/controlflow.rst:445 msgid "Keyword Arguments" msgstr "Les arguments nommés" -#: tutorial/controlflow.rst:446 +#: tutorial/controlflow.rst:447 msgid "" "Functions can also be called using :term:`keyword arguments ` of the form ``kwarg=value``. For instance, the following " @@ -560,7 +560,7 @@ msgstr "" "`arguments nommés ` sous la forme ``kwarg=value``. Par " "exemple, la fonction suivante ::" -#: tutorial/controlflow.rst:455 +#: tutorial/controlflow.rst:456 msgid "" "accepts one required argument (``voltage``) and three optional arguments " "(``state``, ``action``, and ``type``). This function can be called in any " @@ -570,11 +570,11 @@ msgstr "" "(``state``, ``action`` et ``type``). Cette fonction peut être appelée de " "n'importe laquelle des façons suivantes ::" -#: tutorial/controlflow.rst:466 +#: tutorial/controlflow.rst:467 msgid "but all the following calls would be invalid::" msgstr "mais tous les appels qui suivent sont incorrects ::" -#: tutorial/controlflow.rst:473 +#: tutorial/controlflow.rst:474 msgid "" "In a function call, keyword arguments must follow positional arguments. All " "the keyword arguments passed must match one of the arguments accepted by the " @@ -593,7 +593,7 @@ msgstr "" "recevoir une valeur plus d'une fois, comme l'illustre cet exemple incorrect " "du fait de cette restriction ::" -#: tutorial/controlflow.rst:489 +#: tutorial/controlflow.rst:490 msgid "" "When a final formal parameter of the form ``**name`` is present, it receives " "a dictionary (see :ref:`typesmapping`) containing all keyword arguments " @@ -612,15 +612,15 @@ msgstr "" "formels (``*name`` doit être présent avant ``**name``). Par exemple, si vous " "définissez une fonction comme ceci ::" -#: tutorial/controlflow.rst:506 +#: tutorial/controlflow.rst:507 msgid "It could be called like this::" msgstr "Elle pourrait être appelée comme ceci ::" -#: tutorial/controlflow.rst:514 +#: tutorial/controlflow.rst:515 msgid "and of course it would print:" msgstr "et, bien sûr, elle affiche :" -#: tutorial/controlflow.rst:527 +#: tutorial/controlflow.rst:528 msgid "" "Note that the order in which the keyword arguments are printed is guaranteed " "to match the order in which they were provided in the function call." @@ -628,11 +628,11 @@ msgstr "" "Notez que Python garantit que l'ordre d'affichage des arguments est le même " "que l'ordre dans lesquels ils sont fournis lors de l'appel à la fonction." -#: tutorial/controlflow.rst:531 +#: tutorial/controlflow.rst:532 msgid "Special parameters" msgstr "Paramètres spéciaux" -#: tutorial/controlflow.rst:533 +#: tutorial/controlflow.rst:534 msgid "" "By default, arguments may be passed to a Python function either by position " "or explicitly by keyword. For readability and performance, it makes sense to " @@ -647,11 +647,11 @@ msgstr "" "définition de la fonction pour déterminer si les éléments sont transmis par " "position seule, par position ou nommé, ou seulement nommé." -#: tutorial/controlflow.rst:539 +#: tutorial/controlflow.rst:540 msgid "A function definition may look like:" msgstr "Voici à quoi ressemble une définition de fonction :" -#: tutorial/controlflow.rst:550 +#: tutorial/controlflow.rst:551 msgid "" "where ``/`` and ``*`` are optional. If used, these symbols indicate the kind " "of parameter by how the arguments may be passed to the function: positional-" @@ -663,11 +663,11 @@ msgstr "" "fonction : position seule, position ou nommé, et seulement nommé. Les " "paramètres par mot-clé sont aussi appelés paramètres nommés." -#: tutorial/controlflow.rst:557 +#: tutorial/controlflow.rst:558 msgid "Positional-or-Keyword Arguments" msgstr "Les arguments positionnels-ou-nommés" -#: tutorial/controlflow.rst:559 +#: tutorial/controlflow.rst:560 msgid "" "If ``/`` and ``*`` are not present in the function definition, arguments may " "be passed to a function by position or by keyword." @@ -675,11 +675,11 @@ msgstr "" "Si ``/`` et ``*`` ne sont pas présents dans la définition de fonction, les " "arguments peuvent être passés à une fonction par position ou par nommés." -#: tutorial/controlflow.rst:564 +#: tutorial/controlflow.rst:565 msgid "Positional-Only Parameters" msgstr "Paramètres positionnels uniquement" -#: tutorial/controlflow.rst:566 +#: tutorial/controlflow.rst:567 msgid "" "Looking at this in a bit more detail, it is possible to mark certain " "parameters as *positional-only*. If *positional-only*, the parameters' order " @@ -698,7 +698,7 @@ msgstr "" "des paramètres. S'il n'y a pas de ``/`` dans la définition de fonction, il " "n'y a pas de paramètres « positionnels uniquement »." -#: tutorial/controlflow.rst:574 +#: tutorial/controlflow.rst:575 msgid "" "Parameters following the ``/`` may be *positional-or-keyword* or *keyword-" "only*." @@ -706,11 +706,11 @@ msgstr "" "Les paramètres qui suivent le ``/`` peuvent être *positionnels-ou-nommés* ou " "*nommés-uniquement*." -#: tutorial/controlflow.rst:578 +#: tutorial/controlflow.rst:579 msgid "Keyword-Only Arguments" msgstr "Arguments nommés uniquement" -#: tutorial/controlflow.rst:580 +#: tutorial/controlflow.rst:581 msgid "" "To mark parameters as *keyword-only*, indicating the parameters must be " "passed by keyword argument, place an ``*`` in the arguments list just before " @@ -721,11 +721,11 @@ msgstr "" "``*`` dans la liste des arguments juste avant le premier paramètre " "*uniquement nommé*." -#: tutorial/controlflow.rst:586 +#: tutorial/controlflow.rst:587 msgid "Function Examples" msgstr "Exemples de fonctions" -#: tutorial/controlflow.rst:588 +#: tutorial/controlflow.rst:589 msgid "" "Consider the following example function definitions paying close attention " "to the markers ``/`` and ``*``::" @@ -733,7 +733,7 @@ msgstr "" "Considérons l'exemple suivant de définitions de fonctions en portant une " "attention particulière aux marqueurs ``/`` et ``*`` ::" -#: tutorial/controlflow.rst:604 +#: tutorial/controlflow.rst:605 msgid "" "The first function definition, ``standard_arg``, the most familiar form, " "places no restrictions on the calling convention and arguments may be passed " @@ -743,7 +743,7 @@ msgstr "" "familière, n'impose aucune restriction sur la convention d'appel et les " "arguments peuvent être passés par position ou nommés ::" -#: tutorial/controlflow.rst:614 +#: tutorial/controlflow.rst:615 msgid "" "The second function ``pos_only_arg`` is restricted to only use positional " "parameters as there is a ``/`` in the function definition::" @@ -751,7 +751,7 @@ msgstr "" "La deuxième fonction ``pos_only_arg`` restreint le passage aux seuls " "arguments par position car il y a un ``/`` dans la définition de fonction ::" -#: tutorial/controlflow.rst:625 +#: tutorial/controlflow.rst:626 msgid "" "The third function ``kwd_only_args`` only allows keyword arguments as " "indicated by a ``*`` in the function definition::" @@ -759,7 +759,7 @@ msgstr "" "La troisième fonction ``kwd_only_args`` n'autorise que les arguments nommés " "comme l'indique le ``*`` dans la définition de fonction ::" -#: tutorial/controlflow.rst:636 +#: tutorial/controlflow.rst:637 msgid "" "And the last uses all three calling conventions in the same function " "definition::" @@ -767,7 +767,7 @@ msgstr "" "Et la dernière utilise les trois conventions d'appel dans la même définition " "de fonction ::" -#: tutorial/controlflow.rst:656 +#: tutorial/controlflow.rst:657 msgid "" "Finally, consider this function definition which has a potential collision " "between the positional argument ``name`` and ``**kwds`` which has ``name`` " @@ -777,7 +777,7 @@ msgstr "" "potentielle entre l'argument positionnel ``name`` et ``**kwds`` qui a " "``name`` comme mot-clé ::" -#: tutorial/controlflow.rst:661 +#: tutorial/controlflow.rst:662 msgid "" "There is no possible call that will make it return ``True`` as the keyword " "``'name'`` will always bind to the first parameter. For example::" @@ -785,7 +785,7 @@ msgstr "" "Il n'y a pas d'appel possible qui renvoie ``True`` car le mot-clé ``'name'`` " "est toujours lié au premier paramètre. Par exemple ::" -#: tutorial/controlflow.rst:670 +#: tutorial/controlflow.rst:671 msgid "" "But using ``/`` (positional only arguments), it is possible since it allows " "``name`` as a positional argument and ``'name'`` as a key in the keyword " @@ -795,7 +795,7 @@ msgstr "" "puisqu'il permet d'utiliser ``name`` comme argument positionnel et " "``'name'`` comme mot-clé dans les arguments nommés ::" -#: tutorial/controlflow.rst:677 +#: tutorial/controlflow.rst:678 msgid "" "In other words, the names of positional-only parameters can be used in " "``**kwds`` without ambiguity." @@ -803,11 +803,11 @@ msgstr "" "En d'autres termes, les noms des paramètres seulement positionnels peuvent " "être utilisés sans ambiguïté dans ``**kwds``." -#: tutorial/controlflow.rst:682 +#: tutorial/controlflow.rst:683 msgid "Recap" msgstr "Récapitulatif" -#: tutorial/controlflow.rst:684 +#: tutorial/controlflow.rst:685 msgid "" "The use case will determine which parameters to use in the function " "definition::" @@ -815,12 +815,12 @@ msgstr "" "Le cas d'utilisation détermine les paramètres à utiliser dans la définition " "de fonction ::" -#: tutorial/controlflow.rst:688 +#: tutorial/controlflow.rst:689 msgid "As guidance:" msgstr "Quelques conseils :" # énumération --> pas de majuscule et point-virgule en fin de proposition. -#: tutorial/controlflow.rst:690 +#: tutorial/controlflow.rst:691 msgid "" "Use positional-only if you want the name of the parameters to not be " "available to the user. This is useful when parameter names have no real " @@ -835,7 +835,7 @@ msgstr "" "de prendre certains paramètres positionnels et mots-clés arbitraires ;" # énumération --> pas de majuscule et point-virgule en fin de proposition. -#: tutorial/controlflow.rst:695 +#: tutorial/controlflow.rst:696 msgid "" "Use keyword-only when names have meaning and the function definition is more " "understandable by being explicit with names or you want to prevent users " @@ -847,7 +847,7 @@ msgstr "" "l'argument qui est passé ;" # fin d'énumération -#: tutorial/controlflow.rst:698 +#: tutorial/controlflow.rst:699 msgid "" "For an API, use positional-only to prevent breaking API changes if the " "parameter's name is modified in the future." @@ -855,11 +855,11 @@ msgstr "" "dans le cas d'une API, utilisez les paramètres seulement positionnels pour " "éviter de casser l'API si le nom du paramètre est modifié dans l'avenir." -#: tutorial/controlflow.rst:704 +#: tutorial/controlflow.rst:705 msgid "Arbitrary Argument Lists" msgstr "Listes d'arguments arbitraires" -#: tutorial/controlflow.rst:709 +#: tutorial/controlflow.rst:710 msgid "" "Finally, the least frequently used option is to specify that a function can " "be called with an arbitrary number of arguments. These arguments will be " @@ -872,7 +872,7 @@ msgstr "" "nombre variable d'arguments, zéro ou plus arguments normaux peuvent " "apparaître ::" -#: tutorial/controlflow.rst:718 +#: tutorial/controlflow.rst:719 msgid "" "Normally, these ``variadic`` arguments will be last in the list of formal " "parameters, because they scoop up all remaining input arguments that are " @@ -884,11 +884,11 @@ msgstr "" "parce qu'ils agrègent toutes les valeurs suivantes. Tout paramètre placé " "après le paramètre ``*arg`` ne pourra être utilisé que par son nom ::" -#: tutorial/controlflow.rst:735 +#: tutorial/controlflow.rst:736 msgid "Unpacking Argument Lists" msgstr "Séparation des listes d'arguments" -#: tutorial/controlflow.rst:737 +#: tutorial/controlflow.rst:738 msgid "" "The reverse situation occurs when the arguments are already in a list or " "tuple but need to be unpacked for a function call requiring separate " @@ -905,7 +905,7 @@ msgstr "" "l'opérateur ``*`` pour séparer les arguments présents dans une liste ou un " "*n*-uplet ::" -#: tutorial/controlflow.rst:753 +#: tutorial/controlflow.rst:754 msgid "" "In the same fashion, dictionaries can deliver keyword arguments with the " "``**``\\ -operator::" @@ -913,11 +913,11 @@ msgstr "" "De la même façon, les dictionnaires peuvent fournir des arguments nommés en " "utilisant l'opérateur ``**`` ::" -#: tutorial/controlflow.rst:769 +#: tutorial/controlflow.rst:770 msgid "Lambda Expressions" msgstr "Fonctions anonymes" -#: tutorial/controlflow.rst:771 +#: tutorial/controlflow.rst:772 msgid "" "Small anonymous functions can be created with the :keyword:`lambda` keyword. " "This function returns the sum of its two arguments: ``lambda a, b: a+b``. " @@ -935,7 +935,7 @@ msgstr "" "définition de fonction normale. Comme les fonctions imbriquées, les " "fonctions lambda peuvent référencer des variables de la portée englobante ::" -#: tutorial/controlflow.rst:788 +#: tutorial/controlflow.rst:789 msgid "" "The above example uses a lambda expression to return a function. Another " "use is to pass a small function as an argument::" @@ -944,11 +944,11 @@ msgstr "" "Une autre utilisation classique est de donner une fonction minimaliste " "directement en tant que paramètre ::" -#: tutorial/controlflow.rst:800 +#: tutorial/controlflow.rst:801 msgid "Documentation Strings" msgstr "Chaînes de documentation" -#: tutorial/controlflow.rst:807 +#: tutorial/controlflow.rst:808 msgid "" "Here are some conventions about the content and formatting of documentation " "strings." @@ -956,7 +956,7 @@ msgstr "" "Voici quelques conventions concernant le contenu et le format des chaînes de " "documentation." -#: tutorial/controlflow.rst:810 +#: tutorial/controlflow.rst:811 msgid "" "The first line should always be a short, concise summary of the object's " "purpose. For brevity, it should not explicitly state the object's name or " @@ -970,7 +970,7 @@ msgstr "" "si le nom est un verbe qui décrit une opération). La convention veut que la " "ligne commence par une majuscule et se termine par un point." -#: tutorial/controlflow.rst:816 +#: tutorial/controlflow.rst:817 msgid "" "If there are more lines in the documentation string, the second line should " "be blank, visually separating the summary from the rest of the description. " @@ -982,7 +982,7 @@ msgstr "" "Les autres lignes peuvent alors constituer un ou plusieurs paragraphes " "décrivant le mode d'utilisation de l'objet, ses effets de bord, etc." -#: tutorial/controlflow.rst:821 +#: tutorial/controlflow.rst:822 msgid "" "The Python parser does not strip indentation from multi-line string literals " "in Python, so tools that process documentation have to strip indentation if " @@ -1010,15 +1010,15 @@ msgstr "" "début de ligne doivent être supprimées. L'équivalent des espaces doit être " "testé après expansion des tabulations (normalement remplacées par 8 espaces)." -#: tutorial/controlflow.rst:833 +#: tutorial/controlflow.rst:834 msgid "Here is an example of a multi-line docstring::" msgstr "Voici un exemple de chaîne de documentation multi-lignes ::" -#: tutorial/controlflow.rst:851 +#: tutorial/controlflow.rst:852 msgid "Function Annotations" msgstr "Annotations de fonctions" -#: tutorial/controlflow.rst:859 +#: tutorial/controlflow.rst:860 msgid "" ":ref:`Function annotations ` are completely optional metadata " "information about the types used by user-defined functions (see :pep:`3107` " @@ -1028,7 +1028,8 @@ msgstr "" "optionnelles décrivant les types utilisés par une fonction définie par " "l'utilisateur (voir les :pep:`3107` et :pep:`484` pour plus d'informations)." -#: tutorial/controlflow.rst:863 +#: tutorial/controlflow.rst:864 +#, fuzzy msgid "" ":term:`Annotations ` are stored in the :attr:" "`__annotations__` attribute of the function as a dictionary and have no " @@ -1037,7 +1038,7 @@ msgid "" "the value of the annotation. Return annotations are defined by a literal ``-" ">``, followed by an expression, between the parameter list and the colon " "denoting the end of the :keyword:`def` statement. The following example has " -"a positional argument, a keyword argument, and the return value annotated::" +"a required argument, an optional argument, and the return value annotated::" msgstr "" "Les :term:`annotations ` sont stockées dans l'attribut :" "attr:`__annotations__` de la fonction, sous la forme d'un dictionnaire, et " @@ -1048,11 +1049,11 @@ msgstr "" "points de fin de l'instruction :keyword:`def`. L'exemple suivant a un " "paramètre positionnel, un paramètre nommé et la valeur de retour annotés ::" -#: tutorial/controlflow.rst:885 +#: tutorial/controlflow.rst:886 msgid "Intermezzo: Coding Style" msgstr "Aparté : le style de codage" -#: tutorial/controlflow.rst:890 +#: tutorial/controlflow.rst:891 msgid "" "Now that you are about to write longer, more complex pieces of Python, it is " "a good time to talk about *coding style*. Most languages can be written (or " @@ -1067,7 +1068,7 @@ msgstr "" "votre code plus facile aux autres est toujours une bonne idée et adopter un " "bon style de codage peut énormément vous y aider." -#: tutorial/controlflow.rst:896 +#: tutorial/controlflow.rst:897 msgid "" "For Python, :pep:`8` has emerged as the style guide that most projects " "adhere to; it promotes a very readable and eye-pleasing coding style. Every " @@ -1079,11 +1080,11 @@ msgstr "" "Chaque développeur Python se doit donc de la lire et de s'en inspirer autant " "que possible ; voici ses principaux points notables :" -#: tutorial/controlflow.rst:901 +#: tutorial/controlflow.rst:902 msgid "Use 4-space indentation, and no tabs." msgstr "Utilisez des indentations de 4 espaces et pas de tabulation." -#: tutorial/controlflow.rst:903 +#: tutorial/controlflow.rst:904 msgid "" "4 spaces are a good compromise between small indentation (allows greater " "nesting depth) and large indentation (easier to read). Tabs introduce " @@ -1094,13 +1095,13 @@ msgstr "" "le code plus facile à lire). Les tabulations introduisent de la confusion et " "doivent être proscrites autant que possible." -#: tutorial/controlflow.rst:907 +#: tutorial/controlflow.rst:908 msgid "Wrap lines so that they don't exceed 79 characters." msgstr "" "Faites en sorte que les lignes ne dépassent pas 79 caractères, au besoin en " "insérant des retours à la ligne." -#: tutorial/controlflow.rst:909 +#: tutorial/controlflow.rst:910 msgid "" "This helps users with small displays and makes it possible to have several " "code files side-by-side on larger displays." @@ -1109,7 +1110,7 @@ msgstr "" "écran et, pour les autres, cela leur permet de visualiser plusieurs fichiers " "côte à côte." -#: tutorial/controlflow.rst:912 +#: tutorial/controlflow.rst:913 msgid "" "Use blank lines to separate functions and classes, and larger blocks of code " "inside functions." @@ -1117,16 +1118,16 @@ msgstr "" "Utilisez des lignes vides pour séparer les fonctions et les classes, ou pour " "scinder de gros blocs de code à l'intérieur de fonctions." -#: tutorial/controlflow.rst:915 +#: tutorial/controlflow.rst:916 msgid "When possible, put comments on a line of their own." msgstr "" "Lorsque c'est possible, placez les commentaires sur leurs propres lignes." -#: tutorial/controlflow.rst:917 +#: tutorial/controlflow.rst:918 msgid "Use docstrings." msgstr "Utilisez les chaînes de documentation." -#: tutorial/controlflow.rst:919 +#: tutorial/controlflow.rst:920 msgid "" "Use spaces around operators and after commas, but not directly inside " "bracketing constructs: ``a = f(1, 2) + g(3, 4)``." @@ -1134,7 +1135,7 @@ msgstr "" "Utilisez des espaces autour des opérateurs et après les virgules, mais pas " "juste à l'intérieur des parenthèses : ``a = f(1, 2) + g(3, 4)``." -#: tutorial/controlflow.rst:922 +#: tutorial/controlflow.rst:923 msgid "" "Name your classes and functions consistently; the convention is to use " "``UpperCamelCase`` for classes and ``lowercase_with_underscores`` for " @@ -1147,7 +1148,7 @@ msgstr "" "toujours ``self`` comme nom du premier argument des méthodes (voyez :ref:" "`tut-firstclasses` pour en savoir plus sur les classes et les méthodes)." -#: tutorial/controlflow.rst:927 +#: tutorial/controlflow.rst:928 msgid "" "Don't use fancy encodings if your code is meant to be used in international " "environments. Python's default, UTF-8, or even plain ASCII work best in any " @@ -1157,7 +1158,7 @@ msgstr "" "utilisé dans des environnements internationaux. Par défaut, Python travaille " "en UTF-8. Pour couvrir tous les cas, préférez le simple ASCII." -#: tutorial/controlflow.rst:931 +#: tutorial/controlflow.rst:932 msgid "" "Likewise, don't use non-ASCII characters in identifiers if there is only the " "slightest chance people speaking a different language will read or maintain " @@ -1167,11 +1168,11 @@ msgstr "" "variables s'il est envisageable qu'une personne parlant une autre langue " "lise ou doive modifier votre code." -#: tutorial/controlflow.rst:937 +#: tutorial/controlflow.rst:938 msgid "Footnotes" msgstr "Notes" -#: tutorial/controlflow.rst:938 +#: tutorial/controlflow.rst:939 msgid "" "Actually, *call by object reference* would be a better description, since if " "a mutable object is passed, the caller will see any changes the callee makes " diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 8fddf870..b3f0582e 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-09-30 14:26+0200\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -713,12 +713,12 @@ msgstr "" "contenir n'importe quel opérateur, pas seulement des comparaisons." #: tutorial/datastructures.rst:662 +#, fuzzy msgid "" "The comparison operators ``in`` and ``not in`` check whether a value occurs " "(does not occur) in a sequence. The operators ``is`` and ``is not`` compare " -"whether two objects are really the same object; this only matters for " -"mutable objects like lists. All comparison operators have the same " -"priority, which is lower than that of all numerical operators." +"whether two objects are really the same object. All comparison operators " +"have the same priority, which is lower than that of all numerical operators." msgstr "" "Les opérateurs de comparaison ``in`` et ``not in`` testent si une valeur est " "présente ou non dans une séquence. Les opérateurs ``is`` et ``is not`` " @@ -727,7 +727,7 @@ msgstr "" "comparaison ont la même priorité, qui est plus faible que celle des " "opérateurs numériques." -#: tutorial/datastructures.rst:668 +#: tutorial/datastructures.rst:667 msgid "" "Comparisons can be chained. For example, ``a < b == c`` tests whether ``a`` " "is less than ``b`` and moreover ``b`` equals ``c``." @@ -735,7 +735,7 @@ msgstr "" "Les comparaisons peuvent être enchaînées. Par exemple, ``a < b == c`` teste " "si ``a`` est inférieur à ``b`` et si, de plus, ``b`` égale ``c``." -#: tutorial/datastructures.rst:671 +#: tutorial/datastructures.rst:670 msgid "" "Comparisons may be combined using the Boolean operators ``and`` and ``or``, " "and the outcome of a comparison (or of any other Boolean expression) may be " @@ -753,7 +753,7 @@ msgstr "" "Comme toujours, des parenthèses peuvent être utilisées pour exprimer " "l'instruction désirée." -#: tutorial/datastructures.rst:678 +#: tutorial/datastructures.rst:677 msgid "" "The Boolean operators ``and`` and ``or`` are so-called *short-circuit* " "operators: their arguments are evaluated from left to right, and evaluation " @@ -770,7 +770,7 @@ msgstr "" "tant que booléen, la valeur de retour d'un opérateur en circuit court est " "celle du dernier argument évalué." -#: tutorial/datastructures.rst:685 +#: tutorial/datastructures.rst:684 msgid "" "It is possible to assign the result of a comparison or other Boolean " "expression to a variable. For example, ::" @@ -778,7 +778,7 @@ msgstr "" "Il est possible d'affecter le résultat d'une comparaison ou d'une autre " "expression booléenne à une variable. Par exemple ::" -#: tutorial/datastructures.rst:693 +#: tutorial/datastructures.rst:692 msgid "" "Note that in Python, unlike C, assignment inside expressions must be done " "explicitly with the :ref:`walrus operator `` is legal " "provided that the objects have appropriate comparison methods. For example, " @@ -838,11 +838,11 @@ msgstr "" "etc. Dans les autres cas, au lieu de donner un ordre imprévisible, " "l'interpréteur lève une exception :exc:`TypeError`." -#: tutorial/datastructures.rst:732 +#: tutorial/datastructures.rst:731 msgid "Footnotes" msgstr "Notes" -#: tutorial/datastructures.rst:733 +#: tutorial/datastructures.rst:732 msgid "" "Other languages may return the mutated object, which allows method chaining, " "such as ``d->insert(\"a\")->remove(\"b\")->sort();``." diff --git a/tutorial/errors.po b/tutorial/errors.po index 2d1e4113..3cbe13ea 100644 --- a/tutorial/errors.po +++ b/tutorial/errors.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-17 16:05+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-03-24 19:55+0100\n" "Last-Translator: Thibaut HUBERT \n" "Language-Team: FRENCH \n" @@ -361,9 +361,10 @@ msgid "Exception Chaining" msgstr "Chaînage d'exceptions" #: tutorial/errors.rst:275 +#, fuzzy msgid "" -"The :keyword:`raise` statement allows an optional :keyword:`from` which " -"enables chaining exceptions. For example::" +"The :keyword:`raise` statement allows an optional :keyword:`from` " +"which enables chaining exceptions. For example::" msgstr "" "L'instruction :keyword:`raise` autorise un :keyword:`from` optionnel qui " "permet de chaîner les exceptions. Par exemple ::" @@ -495,6 +496,17 @@ msgstr "" "que la clause :keyword:`!finally` a été exécutée." #: tutorial/errors.rst:408 +#, fuzzy +msgid "" +"If the :keyword:`!finally` clause executes a :keyword:`break`, :keyword:" +"`continue` or :keyword:`return` statement, exceptions are not re-raised." +msgstr "" +"Si dans l'exécution d'un bloc :keyword:`!try`, on atteint une instruction :" +"keyword:`break`, :keyword:`continue` ou :keyword:`return`, alors la clause :" +"keyword:`!finally` s'exécute juste avant l'exécution de :keyword:`!break`, :" +"keyword:`!continue` ou :keyword:`!return`." + +#: tutorial/errors.rst:412 msgid "" "If the :keyword:`!try` statement reaches a :keyword:`break`, :keyword:" "`continue` or :keyword:`return` statement, the :keyword:`!finally` clause " @@ -506,7 +518,7 @@ msgstr "" "keyword:`!finally` s'exécute juste avant l'exécution de :keyword:`!break`, :" "keyword:`!continue` ou :keyword:`!return`." -#: tutorial/errors.rst:414 +#: tutorial/errors.rst:418 msgid "" "If a :keyword:`!finally` clause includes a :keyword:`!return` statement, the " "returned value will be the one from the :keyword:`!finally` clause's :" @@ -518,15 +530,15 @@ msgstr "" "keyword:`!finally`, et non la valeur du :keyword:`!return` de la clause :" "keyword:`!try`." -#: tutorial/errors.rst:420 +#: tutorial/errors.rst:424 msgid "For example::" msgstr "Par exemple ::" -#: tutorial/errors.rst:431 +#: tutorial/errors.rst:435 msgid "A more complicated example::" msgstr "Un exemple plus compliqué ::" -#: tutorial/errors.rst:456 +#: tutorial/errors.rst:460 msgid "" "As you can see, the :keyword:`finally` clause is executed in any event. " "The :exc:`TypeError` raised by dividing two strings is not handled by the :" @@ -539,7 +551,7 @@ msgstr "" "`except` et est donc propagée après que la clause :keyword:`!finally` a été " "exécutée." -#: tutorial/errors.rst:461 +#: tutorial/errors.rst:465 msgid "" "In real world applications, the :keyword:`finally` clause is useful for " "releasing external resources (such as files or network connections), " @@ -549,11 +561,11 @@ msgstr "" "utile pour libérer des ressources externes (telles que des fichiers ou des " "connexions réseau), quelle qu'ait été l'utilisation de ces ressources." -#: tutorial/errors.rst:469 +#: tutorial/errors.rst:473 msgid "Predefined Clean-up Actions" msgstr "Actions de nettoyage prédéfinies" -#: tutorial/errors.rst:471 +#: tutorial/errors.rst:475 msgid "" "Some objects define standard clean-up actions to be undertaken when the " "object is no longer needed, regardless of whether or not the operation using " @@ -565,7 +577,7 @@ msgstr "" "que l'opération ayant utilisé l'objet ait réussi ou non. Regardez l'exemple " "suivant, qui tente d'ouvrir un fichier et d'afficher son contenu à l'écran ::" -#: tutorial/errors.rst:479 +#: tutorial/errors.rst:483 msgid "" "The problem with this code is that it leaves the file open for an " "indeterminate amount of time after this part of the code has finished " @@ -581,7 +593,7 @@ msgstr "" "objets comme des fichiers d'une façon qui assure qu'ils seront toujours " "nettoyés rapidement et correctement. ::" -#: tutorial/errors.rst:489 +#: tutorial/errors.rst:493 msgid "" "After the statement is executed, the file *f* is always closed, even if a " "problem was encountered while processing the lines. Objects which, like " diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index 92adbdf1..2bd962ee 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-17 16:05+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-12-23 19:23+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" @@ -657,7 +657,7 @@ msgstr "" "Si vous avez un objet ``x``, vous pouvez voir sa représentation JSON en " "tapant simplement ::" -#: tutorial/inputoutput.rst:486 +#: tutorial/inputoutput.rst:487 msgid "" "Another variant of the :func:`~json.dumps` function, called :func:`~json." "dump`, simply serializes the object to a :term:`text file`. So if ``f`` is " @@ -668,7 +668,7 @@ msgstr "" "file>`. Donc si ``f`` est un :term:`fichier texte ` ouvert en " "écriture, il est possible de faire ::" -#: tutorial/inputoutput.rst:492 +#: tutorial/inputoutput.rst:493 msgid "" "To decode the object again, if ``f`` is a :term:`text file` object which has " "been opened for reading::" @@ -676,7 +676,7 @@ msgstr "" "Pour reconstruire l'objet, si ``f`` est cette fois un :term:`fichier texte` " "ouvert en lecture ::" -#: tutorial/inputoutput.rst:497 +#: tutorial/inputoutput.rst:498 msgid "" "This simple serialization technique can handle lists and dictionaries, but " "serializing arbitrary class instances in JSON requires a bit of extra " @@ -688,11 +688,11 @@ msgstr "" "plus de travail. La documentation du module :mod:`json` explique comment " "faire." -#: tutorial/inputoutput.rst:503 +#: tutorial/inputoutput.rst:504 msgid ":mod:`pickle` - the pickle module" msgstr "Le module :mod:`pickle`" -#: tutorial/inputoutput.rst:505 +#: tutorial/inputoutput.rst:506 msgid "" "Contrary to :ref:`JSON `, *pickle* is a protocol which allows the " "serialization of arbitrarily complex Python objects. As such, it is " diff --git a/tutorial/venv.po b/tutorial/venv.po index 0f71ba1a..acec6a50 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-24 09:01+0200\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2019-12-12 15:21+0100\n" "Last-Translator: Vincent Poulailleau \n" "Language-Team: FRENCH \n" @@ -171,12 +171,12 @@ msgid "Managing Packages with pip" msgstr "Gestion des paquets avec *pip*" #: tutorial/venv.rst:95 +#, fuzzy msgid "" "You can install, upgrade, and remove packages using a program called :" "program:`pip`. By default ``pip`` will install packages from the Python " "Package Index, . You can browse the Python Package Index " -"by going to it in your web browser, or you can use ``pip``'s limited search " -"feature:" +"by going to it in your web browser." msgstr "" "Vous pouvez installer, mettre à jour et supprimer des paquets en utilisant " "un programme appelé :program:`pip`. Par défaut, ``pip`` installe les paquets " @@ -184,24 +184,25 @@ msgstr "" "Package Index avec un navigateur ou utiliser la fonction de recherche " "(assez) limitée de ``pip`` ::" -#: tutorial/venv.rst:111 +#: tutorial/venv.rst:100 +#, fuzzy msgid "" -"``pip`` has a number of subcommands: \"search\", \"install\", \"uninstall\", " -"\"freeze\", etc. (Consult the :ref:`installing-index` guide for complete " -"documentation for ``pip``.)" +"``pip`` has a number of subcommands: \"install\", \"uninstall\", \"freeze\", " +"etc. (Consult the :ref:`installing-index` guide for complete documentation " +"for ``pip``.)" msgstr "" "``pip`` a plusieurs sous-commandes : ``search``, ``install``, ``uninstall``, " "``freeze``, etc. Consultez le guide :ref:`installing-index` pour une " "documentation exhaustive sur ``pip``." -#: tutorial/venv.rst:115 +#: tutorial/venv.rst:104 msgid "" "You can install the latest version of a package by specifying a package's " "name:" msgstr "" "Vous pouvez installer la dernière version d'un paquet en indiquant son nom ::" -#: tutorial/venv.rst:126 +#: tutorial/venv.rst:115 msgid "" "You can also install a specific version of a package by giving the package " "name followed by ``==`` and the version number:" @@ -209,7 +210,7 @@ msgstr "" "Vous pouvez installer une version spécifique d'un paquet en donnant le nom " "du paquet suivi de ``==`` et du numéro de version souhaitée ::" -#: tutorial/venv.rst:137 +#: tutorial/venv.rst:126 msgid "" "If you re-run this command, ``pip`` will notice that the requested version " "is already installed and do nothing. You can supply a different version " @@ -221,7 +222,7 @@ msgstr "" "différent pour récupérer cette version ou lancer ``pip install --upgrade`` " "pour mettre à jour le paquet à la dernière version ::" -#: tutorial/venv.rst:152 +#: tutorial/venv.rst:141 msgid "" "``pip uninstall`` followed by one or more package names will remove the " "packages from the virtual environment." @@ -229,18 +230,18 @@ msgstr "" "``pip uninstall`` suivi d'un ou plusieurs noms de paquets les supprime de " "votre environnement virtuel." -#: tutorial/venv.rst:155 +#: tutorial/venv.rst:144 msgid "``pip show`` will display information about a particular package:" msgstr "``pip show`` affiche des informations à propos d'un paquet précis :" -#: tutorial/venv.rst:172 +#: tutorial/venv.rst:161 msgid "" "``pip list`` will display all of the packages installed in the virtual " "environment:" msgstr "" "``pip list`` liste tous les paquets installés dans l'environnement virtuel ::" -#: tutorial/venv.rst:184 +#: tutorial/venv.rst:173 msgid "" "``pip freeze`` will produce a similar list of the installed packages, but " "the output uses the format that ``pip install`` expects. A common convention " @@ -250,7 +251,7 @@ msgstr "" "l'affichage adopte un format que ``pip install`` peut lire. La convention " "habituelle est de mettre cette liste dans un fichier ``requirements.txt`` :" -#: tutorial/venv.rst:196 +#: tutorial/venv.rst:185 msgid "" "The ``requirements.txt`` can then be committed to version control and " "shipped as part of an application. Users can then install all the necessary " @@ -261,7 +262,7 @@ msgstr "" "utilisateurs peuvent alors installer tous les paquets nécessaires à " "l'application avec ``install -r`` :" -#: tutorial/venv.rst:213 +#: tutorial/venv.rst:202 msgid "" "``pip`` has many more options. Consult the :ref:`installing-index` guide " "for complete documentation for ``pip``. When you've written a package and " diff --git a/using/windows.po b/using/windows.po index c871c45b..5b120b4e 100644 --- a/using/windows.po +++ b/using/windows.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 17:33+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2021-04-27 11:32+0200\n" "Last-Translator: Mathieu Dupuy \n" "Language-Team: FRENCH \n" @@ -2436,8 +2436,9 @@ msgid "cx_Freeze" msgstr "cx_Freeze" #: using/windows.rst:1115 +#, fuzzy msgid "" -"`cx_Freeze `_ is a :mod:" +"`cx_Freeze `_ is a :mod:" "`distutils` extension (see :ref:`extending-distutils`) which wraps Python " "scripts into executable Windows programs (:file:`{*}.exe` files). When you " "have done this, you can distribute your application without requiring your " diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index aa90cdfe..bc14e077 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-19 16:59+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2020-08-06 00:39+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" @@ -229,7 +229,7 @@ msgid "" "Python as well. Consult the :ref:`removed-in-python-39` section." msgstr "" -#: whatsnew/3.9.rst:1236 +#: whatsnew/3.9.rst:1258 msgid "New Features" msgstr "Nouvelles fonctionnalités" @@ -244,7 +244,7 @@ msgid "" "``{**d1, **d2}`` methods of merging dictionaries." msgstr "" -#: whatsnew/3.9.rst:281 +#: whatsnew/3.9.rst:285 msgid "Example::" msgstr "Exemple ::" @@ -292,7 +292,7 @@ msgstr "" "ou ``Dict``) à partir de ``typing``. D'autres types de la bibliothèque " "standard sont maintenant génériques, par exemple ``queue.Queue``." -#: whatsnew/3.9.rst:1125 +#: whatsnew/3.9.rst:1147 msgid "Example:" msgstr "Exemple :" @@ -432,42 +432,49 @@ msgid "" "mod:`operator` module. (Contributed by Serhiy Storchaka in :issue:`40824`.)" msgstr "" -#: whatsnew/3.9.rst:272 +#: whatsnew/3.9.rst:270 +msgid "" +"Unparenthesized lambda expressions can no longer be the expression part in " +"an ``if`` clause in comprehensions and generator expressions. See :issue:" +"`41848` and :issue:`43755` for details." +msgstr "" + +#: whatsnew/3.9.rst:276 msgid "New Modules" msgstr "" -#: whatsnew/3.9.rst:275 +#: whatsnew/3.9.rst:279 msgid "zoneinfo" msgstr "" -#: whatsnew/3.9.rst:277 +#: whatsnew/3.9.rst:281 msgid "" "The :mod:`zoneinfo` module brings support for the IANA time zone database to " "the standard library. It adds :class:`zoneinfo.ZoneInfo`, a concrete :class:" "`datetime.tzinfo` implementation backed by the system's time zone data." msgstr "" -#: whatsnew/3.9.rst:301 +#: whatsnew/3.9.rst:305 msgid "" "As a fall-back source of data for platforms that don't ship the IANA " "database, the |tzdata|_ module was released as a first-party package -- " "distributed via PyPI and maintained by the CPython core team." msgstr "" -#: whatsnew/3.9.rst:310 +#: whatsnew/3.9.rst:314 msgid "" ":pep:`615` -- Support for the IANA Time Zone Database in the Standard Library" msgstr "" -#: whatsnew/3.9.rst:311 +#: whatsnew/3.9.rst:315 msgid "PEP written and implemented by Paul Ganssle" msgstr "" -#: whatsnew/3.9.rst:315 +#: whatsnew/3.9.rst:319 msgid "graphlib" msgstr "" -#: whatsnew/3.9.rst:317 +#: whatsnew/3.9.rst:321 msgid "" "A new module, :mod:`graphlib`, was added that contains the :class:`graphlib." "TopologicalSorter` class to offer functionality to perform topological " @@ -475,22 +482,22 @@ msgid "" "Hastings in :issue:`17005`.)" msgstr "" -#: whatsnew/3.9.rst:324 +#: whatsnew/3.9.rst:328 msgid "Improved Modules" msgstr "" -#: whatsnew/3.9.rst:327 +#: whatsnew/3.9.rst:331 msgid "ast" msgstr "ast" -#: whatsnew/3.9.rst:329 +#: whatsnew/3.9.rst:333 msgid "" "Added the *indent* option to :func:`~ast.dump` which allows it to produce a " "multiline indented output. (Contributed by Serhiy Storchaka in :issue:" "`37995`.)" msgstr "" -#: whatsnew/3.9.rst:333 +#: whatsnew/3.9.rst:337 msgid "" "Added :func:`ast.unparse` as a function in the :mod:`ast` module that can be " "used to unparse an :class:`ast.AST` object and produce a string with code " @@ -498,17 +505,17 @@ msgid "" "(Contributed by Pablo Galindo and Batuhan Taskaya in :issue:`38870`.)" msgstr "" -#: whatsnew/3.9.rst:338 +#: whatsnew/3.9.rst:342 msgid "" "Added docstrings to AST nodes that contains the ASDL signature used to " "construct that node. (Contributed by Batuhan Taskaya in :issue:`39638`.)" msgstr "" -#: whatsnew/3.9.rst:342 +#: whatsnew/3.9.rst:346 msgid "asyncio" msgstr "asyncio" -#: whatsnew/3.9.rst:344 +#: whatsnew/3.9.rst:348 msgid "" "Due to significant security concerns, the *reuse_address* parameter of :meth:" "`asyncio.loop.create_datagram_endpoint` is no longer supported. This is " @@ -518,7 +525,7 @@ msgid "" "`37228`.)" msgstr "" -#: whatsnew/3.9.rst:351 +#: whatsnew/3.9.rst:355 msgid "" "Added a new :term:`coroutine` :meth:`~asyncio.loop." "shutdown_default_executor` that schedules a shutdown for the default " @@ -527,13 +534,13 @@ msgid "" "new :term:`coroutine`. (Contributed by Kyle Stanley in :issue:`34037`.)" msgstr "" -#: whatsnew/3.9.rst:357 +#: whatsnew/3.9.rst:361 msgid "" "Added :class:`asyncio.PidfdChildWatcher`, a Linux-specific child watcher " "implementation that polls process file descriptors. (:issue:`38692`)" msgstr "" -#: whatsnew/3.9.rst:360 +#: whatsnew/3.9.rst:364 msgid "" "Added a new :term:`coroutine` :func:`asyncio.to_thread`. It is mainly used " "for running IO-bound functions in a separate thread to avoid blocking the " @@ -542,7 +549,7 @@ msgid "" "by Kyle Stanley and Yury Selivanov in :issue:`32309`.)" msgstr "" -#: whatsnew/3.9.rst:366 +#: whatsnew/3.9.rst:370 msgid "" "When cancelling the task due to a timeout, :meth:`asyncio.wait_for` will now " "wait until the cancellation is complete also in the case when *timeout* is " @@ -550,25 +557,25 @@ msgid "" "Pranskevichus in :issue:`32751`.)" msgstr "" -#: whatsnew/3.9.rst:371 +#: whatsnew/3.9.rst:375 msgid "" ":mod:`asyncio` now raises :exc:`TyperError` when calling incompatible " "methods with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael " "in :issue:`37404`.)" msgstr "" -#: whatsnew/3.9.rst:376 +#: whatsnew/3.9.rst:380 msgid "compileall" msgstr "compileall" -#: whatsnew/3.9.rst:378 +#: whatsnew/3.9.rst:382 msgid "" "Added new possibility to use hardlinks for duplicated ``.pyc`` files: " "*hardlink_dupes* parameter and --hardlink-dupes command line option. " "(Contributed by Lumír 'Frenzy' Balhar in :issue:`40495`.)" msgstr "" -#: whatsnew/3.9.rst:381 +#: whatsnew/3.9.rst:385 msgid "" "Added new options for path manipulation in resulting ``.pyc`` files: " "*stripdir*, *prependdir*, *limit_sl_dest* parameters and -s, -p, -e command " @@ -577,11 +584,11 @@ msgid "" "issue:`38112`.)" msgstr "" -#: whatsnew/3.9.rst:386 +#: whatsnew/3.9.rst:390 msgid "concurrent.futures" msgstr "concurrent.futures" -#: whatsnew/3.9.rst:388 +#: whatsnew/3.9.rst:392 msgid "" "Added a new *cancel_futures* parameter to :meth:`concurrent.futures.Executor." "shutdown` that cancels all pending futures which have not started running, " @@ -589,7 +596,7 @@ msgid "" "(Contributed by Kyle Stanley in :issue:`39349`.)" msgstr "" -#: whatsnew/3.9.rst:394 +#: whatsnew/3.9.rst:398 msgid "" "Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` " "and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves " @@ -597,7 +604,7 @@ msgid "" "processes. (Contributed by Kyle Stanley in :issue:`39812`.)" msgstr "" -#: whatsnew/3.9.rst:399 +#: whatsnew/3.9.rst:403 msgid "" "Workers in :class:`~concurrent.futures.ProcessPoolExecutor` are now spawned " "on demand, only when there are no available idle workers to reuse. This " @@ -605,22 +612,22 @@ msgid "" "workers. (Contributed by Kyle Stanley in :issue:`39207`.)" msgstr "" -#: whatsnew/3.9.rst:405 +#: whatsnew/3.9.rst:409 msgid "curses" msgstr "curses" -#: whatsnew/3.9.rst:407 +#: whatsnew/3.9.rst:411 msgid "" "Added :func:`curses.get_escdelay`, :func:`curses.set_escdelay`, :func:" "`curses.get_tabsize`, and :func:`curses.set_tabsize` functions. (Contributed " "by Anthony Sottile in :issue:`38312`.)" msgstr "" -#: whatsnew/3.9.rst:412 +#: whatsnew/3.9.rst:416 msgid "datetime" msgstr "datetime" -#: whatsnew/3.9.rst:413 +#: whatsnew/3.9.rst:417 msgid "" "The :meth:`~datetime.date.isocalendar()` of :class:`datetime.date` and :meth:" "`~datetime.datetime.isocalendar()` of :class:`datetime.datetime` methods now " @@ -628,32 +635,32 @@ msgid "" "(Contributed by Dong-hee Na in :issue:`24416`.)" msgstr "" -#: whatsnew/3.9.rst:419 +#: whatsnew/3.9.rst:423 msgid "distutils" msgstr "distutils" -#: whatsnew/3.9.rst:421 +#: whatsnew/3.9.rst:425 msgid "" "The :command:`upload` command now creates SHA2-256 and Blake2b-256 hash " "digests. It skips MD5 on platforms that block MD5 digest. (Contributed by " "Christian Heimes in :issue:`40698`.)" msgstr "" -#: whatsnew/3.9.rst:426 +#: whatsnew/3.9.rst:430 msgid "fcntl" msgstr "" -#: whatsnew/3.9.rst:428 +#: whatsnew/3.9.rst:432 msgid "" "Added constants :data:`~fcntl.F_OFD_GETLK`, :data:`~fcntl.F_OFD_SETLK` and :" "data:`~fcntl.F_OFD_SETLKW`. (Contributed by Dong-hee Na in :issue:`38602`.)" msgstr "" -#: whatsnew/3.9.rst:433 +#: whatsnew/3.9.rst:437 msgid "ftplib" msgstr "" -#: whatsnew/3.9.rst:435 +#: whatsnew/3.9.rst:439 msgid "" ":class:`~ftplib.FTP` and :class:`~ftplib.FTP_TLS` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -661,11 +668,11 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:440 +#: whatsnew/3.9.rst:444 msgid "gc" msgstr "" -#: whatsnew/3.9.rst:442 +#: whatsnew/3.9.rst:446 msgid "" "When the garbage collector makes a collection in which some objects " "resurrect (they are reachable from outside the isolated cycles after the " @@ -674,24 +681,24 @@ msgid "" "issue:`38379`.)" msgstr "" -#: whatsnew/3.9.rst:447 +#: whatsnew/3.9.rst:451 msgid "" "Added a new function :func:`gc.is_finalized` to check if an object has been " "finalized by the garbage collector. (Contributed by Pablo Galindo in :issue:" "`39322`.)" msgstr "" -#: whatsnew/3.9.rst:452 +#: whatsnew/3.9.rst:456 msgid "hashlib" msgstr "" -#: whatsnew/3.9.rst:454 +#: whatsnew/3.9.rst:458 msgid "" "The :mod:`hashlib` module can now use SHA3 hashes and SHAKE XOF from OpenSSL " "when available. (Contributed by Christian Heimes in :issue:`37630`.)" msgstr "" -#: whatsnew/3.9.rst:458 +#: whatsnew/3.9.rst:462 msgid "" "Builtin hash modules can now be disabled with ``./configure --without-" "builtin-hashlib-hashes`` or selectively enabled with e.g. ``./configure --" @@ -699,48 +706,48 @@ msgid "" "implementation. (Contributed by Christian Heimes in :issue:`40479`)" msgstr "" -#: whatsnew/3.9.rst:466 +#: whatsnew/3.9.rst:470 msgid "http" msgstr "" -#: whatsnew/3.9.rst:468 +#: whatsnew/3.9.rst:472 msgid "" "HTTP status codes ``103 EARLY_HINTS``, ``418 IM_A_TEAPOT`` and ``425 " "TOO_EARLY`` are added to :class:`http.HTTPStatus`. (Contributed by Dong-hee " "Na in :issue:`39509` and Ross Rhodes in :issue:`39507`.)" msgstr "" -#: whatsnew/3.9.rst:472 +#: whatsnew/3.9.rst:476 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.9.rst:474 +#: whatsnew/3.9.rst:478 msgid "" "Added option to toggle cursor blink off. (Contributed by Zackery Spytz in :" "issue:`4603`.)" msgstr "" -#: whatsnew/3.9.rst:477 +#: whatsnew/3.9.rst:481 msgid "" "Escape key now closes IDLE completion windows. (Contributed by Johnny " "Najera in :issue:`38944`.)" msgstr "" -#: whatsnew/3.9.rst:480 +#: whatsnew/3.9.rst:484 msgid "" "Added keywords to module name completion list. (Contributed by Terry J. " "Reedy in :issue:`37765`.)" msgstr "" -#: whatsnew/3.9.rst:483 +#: whatsnew/3.9.rst:487 msgid "The changes above have been backported to 3.8 maintenance releases." msgstr "" -#: whatsnew/3.9.rst:486 +#: whatsnew/3.9.rst:490 msgid "imaplib" msgstr "" -#: whatsnew/3.9.rst:488 +#: whatsnew/3.9.rst:492 msgid "" ":class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional " "*timeout* parameter for their constructors. Also, the :meth:`~imaplib.IMAP4." @@ -750,7 +757,7 @@ msgid "" "issue:`38615`.)" msgstr "" -#: whatsnew/3.9.rst:495 +#: whatsnew/3.9.rst:499 msgid "" ":meth:`imaplib.IMAP4.unselect` is added. :meth:`imaplib.IMAP4.unselect` " "frees server's resources associated with the selected mailbox and returns " @@ -760,11 +767,11 @@ msgid "" "Dong-hee Na in :issue:`40375`.)" msgstr "" -#: whatsnew/3.9.rst:503 +#: whatsnew/3.9.rst:507 msgid "importlib" msgstr "importlib" -#: whatsnew/3.9.rst:505 +#: whatsnew/3.9.rst:509 msgid "" "To improve consistency with import statements, :func:`importlib.util." "resolve_name` now raises :exc:`ImportError` instead of :exc:`ValueError` for " @@ -772,47 +779,47 @@ msgid "" "`37444`.)" msgstr "" -#: whatsnew/3.9.rst:510 +#: whatsnew/3.9.rst:514 msgid "" "Import loaders which publish immutable module objects can now publish " "immutable packages in addition to individual modules. (Contributed by Dino " "Viehland in :issue:`39336`.)" msgstr "" -#: whatsnew/3.9.rst:514 +#: whatsnew/3.9.rst:518 msgid "" "Added :func:`importlib.resources.files` function with support for " "subdirectories in package data, matching backport in ``importlib_resources`` " "version 1.5. (Contributed by Jason R. Coombs in :issue:`39791`.)" msgstr "" -#: whatsnew/3.9.rst:519 +#: whatsnew/3.9.rst:523 msgid "" "Refreshed ``importlib.metadata`` from ``importlib_metadata`` version 1.6.1." msgstr "" -#: whatsnew/3.9.rst:522 +#: whatsnew/3.9.rst:526 msgid "inspect" msgstr "" -#: whatsnew/3.9.rst:524 +#: whatsnew/3.9.rst:528 msgid "" ":attr:`inspect.BoundArguments.arguments` is changed from ``OrderedDict`` to " "regular dict. (Contributed by Inada Naoki in :issue:`36350` and :issue:" "`39775`.)" msgstr "" -#: whatsnew/3.9.rst:528 +#: whatsnew/3.9.rst:532 msgid "ipaddress" msgstr "" -#: whatsnew/3.9.rst:530 +#: whatsnew/3.9.rst:534 msgid "" ":mod:`ipaddress` now supports IPv6 Scoped Addresses (IPv6 address with " "suffix ``%``)." msgstr "" -#: whatsnew/3.9.rst:532 +#: whatsnew/3.9.rst:536 msgid "" "Scoped IPv6 addresses can be parsed using :class:`ipaddress.IPv6Address`. If " "present, scope zone ID is available through the :attr:`~ipaddress." @@ -820,52 +827,59 @@ msgid "" "`34788`.)" msgstr "" -#: whatsnew/3.9.rst:537 +#: whatsnew/3.9.rst:540 +msgid "" +"Starting with Python 3.9.5 the :mod:`ipaddress` module no longer accepts any " +"leading zeros in IPv4 address strings. (Contributed by Christian Heimes in :" +"issue:`36384`)." +msgstr "" + +#: whatsnew/3.9.rst:545 msgid "math" msgstr "" -#: whatsnew/3.9.rst:539 +#: whatsnew/3.9.rst:547 msgid "" "Expanded the :func:`math.gcd` function to handle multiple arguments. " "Formerly, it only supported two arguments. (Contributed by Serhiy Storchaka " "in :issue:`39648`.)" msgstr "" -#: whatsnew/3.9.rst:543 +#: whatsnew/3.9.rst:551 msgid "" "Added :func:`math.lcm`: return the least common multiple of specified " "arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy " "Storchaka in :issue:`39479` and :issue:`39648`.)" msgstr "" -#: whatsnew/3.9.rst:547 +#: whatsnew/3.9.rst:555 msgid "" "Added :func:`math.nextafter`: return the next floating-point value after *x* " "towards *y*. (Contributed by Victor Stinner in :issue:`39288`.)" msgstr "" -#: whatsnew/3.9.rst:551 +#: whatsnew/3.9.rst:559 msgid "" "Added :func:`math.ulp`: return the value of the least significant bit of a " "float. (Contributed by Victor Stinner in :issue:`39310`.)" msgstr "" -#: whatsnew/3.9.rst:556 +#: whatsnew/3.9.rst:564 msgid "multiprocessing" msgstr "multiprocessing" -#: whatsnew/3.9.rst:558 +#: whatsnew/3.9.rst:566 msgid "" "The :class:`multiprocessing.SimpleQueue` class has a new :meth:" "`~multiprocessing.SimpleQueue.close` method to explicitly close the queue. " "(Contributed by Victor Stinner in :issue:`30966`.)" msgstr "" -#: whatsnew/3.9.rst:564 +#: whatsnew/3.9.rst:572 msgid "nntplib" msgstr "" -#: whatsnew/3.9.rst:566 +#: whatsnew/3.9.rst:574 msgid "" ":class:`~nntplib.NNTP` and :class:`~nntplib.NNTP_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -873,65 +887,65 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:571 +#: whatsnew/3.9.rst:579 msgid "os" msgstr "" -#: whatsnew/3.9.rst:573 +#: whatsnew/3.9.rst:581 msgid "" "Added :data:`~os.CLD_KILLED` and :data:`~os.CLD_STOPPED` for :attr:" "`si_code`. (Contributed by Dong-hee Na in :issue:`38493`.)" msgstr "" -#: whatsnew/3.9.rst:576 +#: whatsnew/3.9.rst:584 msgid "" "Exposed the Linux-specific :func:`os.pidfd_open` (:issue:`38692`) and :data:" "`os.P_PIDFD` (:issue:`38713`) for process management with file descriptors." msgstr "" -#: whatsnew/3.9.rst:580 +#: whatsnew/3.9.rst:588 msgid "" "The :func:`os.unsetenv` function is now also available on Windows. " "(Contributed by Victor Stinner in :issue:`39413`.)" msgstr "" -#: whatsnew/3.9.rst:583 +#: whatsnew/3.9.rst:591 msgid "" "The :func:`os.putenv` and :func:`os.unsetenv` functions are now always " "available. (Contributed by Victor Stinner in :issue:`39395`.)" msgstr "" -#: whatsnew/3.9.rst:587 +#: whatsnew/3.9.rst:595 msgid "" "Added :func:`os.waitstatus_to_exitcode` function: convert a wait status to " "an exit code. (Contributed by Victor Stinner in :issue:`40094`.)" msgstr "" -#: whatsnew/3.9.rst:592 +#: whatsnew/3.9.rst:600 msgid "pathlib" msgstr "pathlib" -#: whatsnew/3.9.rst:594 +#: whatsnew/3.9.rst:602 msgid "" "Added :meth:`pathlib.Path.readlink()` which acts similarly to :func:`os." "readlink`. (Contributed by Girts Folkmanis in :issue:`30618`)" msgstr "" -#: whatsnew/3.9.rst:599 +#: whatsnew/3.9.rst:607 msgid "pdb" msgstr "" -#: whatsnew/3.9.rst:601 +#: whatsnew/3.9.rst:609 msgid "" "On Windows now :class:`~pdb.Pdb` supports ``~/.pdbrc``. (Contributed by Tim " "Hopper and Dan Lidral-Porter in :issue:`20523`.)" msgstr "" -#: whatsnew/3.9.rst:605 +#: whatsnew/3.9.rst:613 msgid "poplib" msgstr "" -#: whatsnew/3.9.rst:607 +#: whatsnew/3.9.rst:615 msgid "" ":class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -939,53 +953,53 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:612 +#: whatsnew/3.9.rst:620 msgid "pprint" msgstr "" -#: whatsnew/3.9.rst:614 +#: whatsnew/3.9.rst:622 msgid "" ":mod:`pprint` can now pretty-print :class:`types.SimpleNamespace`. " "(Contributed by Carl Bordum Hansen in :issue:`37376`.)" msgstr "" -#: whatsnew/3.9.rst:618 +#: whatsnew/3.9.rst:626 msgid "pydoc" msgstr "" -#: whatsnew/3.9.rst:620 +#: whatsnew/3.9.rst:628 msgid "" "The documentation string is now shown not only for class, function, method " "etc, but for any object that has its own ``__doc__`` attribute. (Contributed " "by Serhiy Storchaka in :issue:`40257`.)" msgstr "" -#: whatsnew/3.9.rst:625 +#: whatsnew/3.9.rst:633 msgid "random" msgstr "" -#: whatsnew/3.9.rst:627 +#: whatsnew/3.9.rst:635 msgid "" "Added a new :attr:`random.Random.randbytes` method: generate random bytes. " "(Contributed by Victor Stinner in :issue:`40286`.)" msgstr "" -#: whatsnew/3.9.rst:631 +#: whatsnew/3.9.rst:639 msgid "signal" msgstr "" -#: whatsnew/3.9.rst:633 +#: whatsnew/3.9.rst:641 msgid "" "Exposed the Linux-specific :func:`signal.pidfd_send_signal` for sending to " "signals to a process using a file descriptor instead of a pid. (:issue:" "`38712`)" msgstr "" -#: whatsnew/3.9.rst:637 +#: whatsnew/3.9.rst:645 msgid "smtplib" msgstr "" -#: whatsnew/3.9.rst:639 +#: whatsnew/3.9.rst:647 msgid "" ":class:`~smtplib.SMTP` and :class:`~smtplib.SMTP_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -993,41 +1007,41 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:643 +#: whatsnew/3.9.rst:651 msgid "" ":class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. " "(Contributed by Dong-hee Na in :issue:`39329`.)" msgstr "" -#: whatsnew/3.9.rst:647 +#: whatsnew/3.9.rst:655 msgid "socket" msgstr "" -#: whatsnew/3.9.rst:649 +#: whatsnew/3.9.rst:657 msgid "" "The :mod:`socket` module now exports the :data:`~socket." "CAN_RAW_JOIN_FILTERS` constant on Linux 4.1 and greater. (Contributed by " "Stefan Tatschner and Zackery Spytz in :issue:`25780`.)" msgstr "" -#: whatsnew/3.9.rst:653 +#: whatsnew/3.9.rst:661 msgid "" "The socket module now supports the :data:`~socket.CAN_J1939` protocol on " "platforms that support it. (Contributed by Karl Ding in :issue:`40291`.)" msgstr "" -#: whatsnew/3.9.rst:656 +#: whatsnew/3.9.rst:664 msgid "" -"The socket module now has the :func:`socket.send_fds` and :func:`socket.recv." -"fds` methods. (Contributed by Joannah Nanjekye, Shinya Okano and Victor " -"Stinner in :issue:`28724`.)" +"The socket module now has the :func:`socket.send_fds` and :func:`socket." +"recv_fds` functions. (Contributed by Joannah Nanjekye, Shinya Okano and " +"Victor Stinner in :issue:`28724`.)" msgstr "" -#: whatsnew/3.9.rst:662 +#: whatsnew/3.9.rst:670 msgid "time" msgstr "time" -#: whatsnew/3.9.rst:664 +#: whatsnew/3.9.rst:672 msgid "" "On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " @@ -1035,11 +1049,11 @@ msgid "" "(Contributed by Batuhan Taskaya in :issue:`40192`)" msgstr "" -#: whatsnew/3.9.rst:670 +#: whatsnew/3.9.rst:678 msgid "sys" msgstr "sys" -#: whatsnew/3.9.rst:672 +#: whatsnew/3.9.rst:680 msgid "" "Added a new :attr:`sys.platlibdir` attribute: name of the platform-specific " "library directory. It is used to build the path of standard library and the " @@ -1049,29 +1063,29 @@ msgid "" "and Victor Stinner in :issue:`1294959`.)" msgstr "" -#: whatsnew/3.9.rst:678 +#: whatsnew/3.9.rst:686 msgid "" "Previously, :attr:`sys.stderr` was block-buffered when non-interactive. Now " "``stderr`` defaults to always being line-buffered. (Contributed by Jendrik " "Seipp in :issue:`13601`.)" msgstr "" -#: whatsnew/3.9.rst:683 +#: whatsnew/3.9.rst:691 msgid "tracemalloc" msgstr "tracemalloc" -#: whatsnew/3.9.rst:685 +#: whatsnew/3.9.rst:693 msgid "" "Added :func:`tracemalloc.reset_peak` to set the peak size of traced memory " "blocks to the current size, to measure the peak of specific pieces of code. " "(Contributed by Huon Wilson in :issue:`40630`.)" msgstr "" -#: whatsnew/3.9.rst:1462 +#: whatsnew/3.9.rst:1484 msgid "typing" msgstr "" -#: whatsnew/3.9.rst:692 +#: whatsnew/3.9.rst:700 msgid "" ":pep:`593` introduced an :data:`typing.Annotated` type to decorate existing " "types with context-specific metadata and new ``include_extras`` parameter " @@ -1079,20 +1093,20 @@ msgid "" "(Contributed by Till Varoquaux and Konstantin Kashin.)" msgstr "" -#: whatsnew/3.9.rst:698 +#: whatsnew/3.9.rst:706 msgid "unicodedata" msgstr "unicodedata" -#: whatsnew/3.9.rst:700 +#: whatsnew/3.9.rst:708 msgid "" "The Unicode database has been updated to version 13.0.0. (:issue:`39926`)." msgstr "" -#: whatsnew/3.9.rst:703 +#: whatsnew/3.9.rst:711 msgid "venv" msgstr "venv" -#: whatsnew/3.9.rst:705 +#: whatsnew/3.9.rst:713 msgid "" "The activation scripts provided by :mod:`venv` now all specify their prompt " "customization consistently by always using the value specified by " @@ -1102,11 +1116,11 @@ msgid "" "Cannon in :issue:`37663`.)" msgstr "" -#: whatsnew/3.9.rst:713 +#: whatsnew/3.9.rst:721 msgid "xml" msgstr "" -#: whatsnew/3.9.rst:715 +#: whatsnew/3.9.rst:723 msgid "" "White space characters within attributes are now preserved when serializing :" "mod:`xml.etree.ElementTree` to XML file. EOLNs are no longer normalized to " @@ -1114,32 +1128,32 @@ msgid "" "2.11 of XML spec. (Contributed by Mefistotelis in :issue:`39011`.)" msgstr "" -#: whatsnew/3.9.rst:723 +#: whatsnew/3.9.rst:731 msgid "Optimizations" msgstr "" -#: whatsnew/3.9.rst:725 +#: whatsnew/3.9.rst:733 msgid "" "Optimized the idiom for assignment a temporary variable in comprehensions. " "Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment " "``y = expr``. For example:" msgstr "" -#: whatsnew/3.9.rst:729 +#: whatsnew/3.9.rst:737 msgid "sums = [s for s in [0] for x in data for s in [s + x]]" msgstr "" -#: whatsnew/3.9.rst:731 +#: whatsnew/3.9.rst:739 msgid "" "Unlike the ``:=`` operator this idiom does not leak a variable to the outer " "scope." msgstr "" -#: whatsnew/3.9.rst:734 +#: whatsnew/3.9.rst:742 msgid "(Contributed by Serhiy Storchaka in :issue:`32856`.)" msgstr "" -#: whatsnew/3.9.rst:736 +#: whatsnew/3.9.rst:744 msgid "" "Optimized signal handling in multithreaded applications. If a thread " "different than the main thread gets a signal, the bytecode evaluation loop " @@ -1148,27 +1162,27 @@ msgid "" "interpreter can handle signals." msgstr "" -#: whatsnew/3.9.rst:742 +#: whatsnew/3.9.rst:750 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals. (Contributed by Victor Stinner in :" "issue:`40010`.)" msgstr "" -#: whatsnew/3.9.rst:746 +#: whatsnew/3.9.rst:754 msgid "" "Optimized the :mod:`subprocess` module on FreeBSD using ``closefrom()``. " "(Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor " "Stinner in :issue:`38061`.)" msgstr "" -#: whatsnew/3.9.rst:750 +#: whatsnew/3.9.rst:758 msgid "" ":c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that fit " "into :c:type:`long`. (Contributed by Sergey Fedoseev in :issue:`37986`.)" msgstr "" -#: whatsnew/3.9.rst:754 +#: whatsnew/3.9.rst:762 msgid "" "A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :" "class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :" @@ -1176,14 +1190,14 @@ msgid "" "Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)" msgstr "" -#: whatsnew/3.9.rst:759 +#: whatsnew/3.9.rst:767 msgid "" "Optimized :func:`~set.difference_update` for the case when the other set is " "much larger than the base set. (Suggested by Evgeny Kapun with code " "contributed by Michele Orrù in :issue:`8425`.)" msgstr "" -#: whatsnew/3.9.rst:763 +#: whatsnew/3.9.rst:771 msgid "" "Python's small object allocator (``obmalloc.c``) now allows (no more than) " "one empty arena to remain available for immediate reuse, without returning " @@ -1192,26 +1206,26 @@ msgid "" "in :issue:`37257`.)" msgstr "" -#: whatsnew/3.9.rst:769 +#: whatsnew/3.9.rst:777 msgid "" ":term:`floor division` of float operation now has a better performance. Also " "the message of :exc:`ZeroDivisionError` for this operation is updated. " "(Contributed by Dong-hee Na in :issue:`39434`.)" msgstr "" -#: whatsnew/3.9.rst:773 +#: whatsnew/3.9.rst:781 msgid "" "Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% " "faster. (Contributed by Inada Naoki in :issue:`37348`.)" msgstr "" -#: whatsnew/3.9.rst:776 +#: whatsnew/3.9.rst:784 msgid "" "Here's a summary of performance improvements from Python 3.4 through Python " "3.9:" msgstr "" -#: whatsnew/3.9.rst:823 +#: whatsnew/3.9.rst:831 msgid "" "These results were generated from the variable access benchmark script at: " "``Tools/scripts/var_access_benchmark.py``. The benchmark script displays " @@ -1222,18 +1236,18 @@ msgid "" "python.org/downloads/mac-osx/>`_." msgstr "" -#: whatsnew/3.9.rst:833 +#: whatsnew/3.9.rst:841 msgid "Deprecated" msgstr "" -#: whatsnew/3.9.rst:835 +#: whatsnew/3.9.rst:843 msgid "" "The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` " "(wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:" "`39586`.)" msgstr "" -#: whatsnew/3.9.rst:839 +#: whatsnew/3.9.rst:847 msgid "" "Currently :func:`math.factorial` accepts :class:`float` instances with non-" "negative integer values (like ``5.0``). It raises a :exc:`ValueError` for " @@ -1242,7 +1256,7 @@ msgid "" "Serhiy Storchaka in :issue:`37315`.)" msgstr "" -#: whatsnew/3.9.rst:845 +#: whatsnew/3.9.rst:853 msgid "" "The :mod:`parser` and :mod:`symbol` modules are deprecated and will be " "removed in future versions of Python. For the majority of use cases, users " @@ -1250,7 +1264,7 @@ msgid "" "stage, using the :mod:`ast` module." msgstr "" -#: whatsnew/3.9.rst:850 +#: whatsnew/3.9.rst:858 msgid "" "The Public C API functions :c:func:`PyParser_SimpleParseStringFlags`, :c:" "func:`PyParser_SimpleParseStringFlagsFilename`, :c:func:" @@ -1258,7 +1272,7 @@ msgid "" "and will be removed in Python 3.10 together with the old parser." msgstr "" -#: whatsnew/3.9.rst:855 +#: whatsnew/3.9.rst:863 msgid "" "Using :data:`NotImplemented` in a boolean context has been deprecated, as it " "is almost exclusively the result of incorrect rich comparator " @@ -1266,7 +1280,7 @@ msgid "" "Python. (Contributed by Josh Rosenberg in :issue:`35712`.)" msgstr "" -#: whatsnew/3.9.rst:861 +#: whatsnew/3.9.rst:869 msgid "" "The :mod:`random` module currently accepts any hashable type as a possible " "seed value. Unfortunately, some of those types are not guaranteed to have a " @@ -1275,7 +1289,7 @@ msgid "" "`bytes`, and :class:`bytearray`." msgstr "" -#: whatsnew/3.9.rst:867 +#: whatsnew/3.9.rst:875 msgid "" "Opening the :class:`~gzip.GzipFile` file for writing without specifying the " "*mode* argument is deprecated. In future Python versions it will always be " @@ -1284,39 +1298,39 @@ msgid "" "issue:`28286`.)" msgstr "" -#: whatsnew/3.9.rst:873 +#: whatsnew/3.9.rst:881 msgid "" "Deprecated the ``split()`` method of :class:`_tkinter.TkappType` in favour " "of the ``splitlist()`` method which has more consistent and predicable " "behavior. (Contributed by Serhiy Storchaka in :issue:`38371`.)" msgstr "" -#: whatsnew/3.9.rst:878 +#: whatsnew/3.9.rst:886 msgid "" "The explicit passing of coroutine objects to :func:`asyncio.wait` has been " "deprecated and will be removed in version 3.11. (Contributed by Yury " "Selivanov and Kyle Stanley in :issue:`34790`.)" msgstr "" -#: whatsnew/3.9.rst:882 +#: whatsnew/3.9.rst:890 msgid "" "binhex4 and hexbin4 standards are now deprecated. The :mod:`binhex` module " "and the following :mod:`binascii` functions are now deprecated:" msgstr "" -#: whatsnew/3.9.rst:885 +#: whatsnew/3.9.rst:893 msgid ":func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`" msgstr "" -#: whatsnew/3.9.rst:886 +#: whatsnew/3.9.rst:894 msgid ":func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`" msgstr "" -#: whatsnew/3.9.rst:888 +#: whatsnew/3.9.rst:896 msgid "(Contributed by Victor Stinner in :issue:`39353`.)" msgstr "" -#: whatsnew/3.9.rst:890 +#: whatsnew/3.9.rst:898 msgid "" ":mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered " "deprecated and will be removed in future Python versions. ``value`` itself " @@ -1325,7 +1339,7 @@ msgid "" "Storchaka in :issue:`34822`.)" msgstr "" -#: whatsnew/3.9.rst:896 +#: whatsnew/3.9.rst:904 msgid "" ":mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are " "considered deprecated and will be removed in future Python versions. They " @@ -1334,7 +1348,7 @@ msgid "" "`39969` and Serhiy Storchaka in :issue:`39988`.)" msgstr "" -#: whatsnew/3.9.rst:903 +#: whatsnew/3.9.rst:911 msgid "" "The :c:func:`PyEval_InitThreads` and :c:func:`PyEval_ThreadsInitialized` " "functions are now deprecated and will be removed in Python 3.11. Calling :c:" @@ -1343,20 +1357,20 @@ msgid "" "Stinner in :issue:`39877`.)" msgstr "" -#: whatsnew/3.9.rst:909 +#: whatsnew/3.9.rst:917 msgid "" "Passing ``None`` as the first argument to the :func:`shlex.split` function " "has been deprecated. (Contributed by Zackery Spytz in :issue:`33262`.)" msgstr "" -#: whatsnew/3.9.rst:912 +#: whatsnew/3.9.rst:920 msgid "" ":func:`smtpd.MailmanProxy` is now deprecated as it is unusable without an " "external module, ``mailman``. (Contributed by Samuel Colvin in :issue:" "`35800`.)" msgstr "" -#: whatsnew/3.9.rst:915 +#: whatsnew/3.9.rst:923 msgid "" "The :mod:`lib2to3` module now emits a :exc:`PendingDeprecationWarning`. " "Python 3.9 switched to a PEG parser (see :pep:`617`), and Python 3.10 may " @@ -1366,22 +1380,22 @@ msgid "" "`parso`_. (Contributed by Carl Meyer in :issue:`40360`.)" msgstr "" -#: whatsnew/3.9.rst:923 +#: whatsnew/3.9.rst:931 msgid "" "The *random* parameter of :func:`random.shuffle` has been deprecated. " "(Contributed by Raymond Hettinger in :issue:`40465`)" msgstr "" -#: whatsnew/3.9.rst:1376 +#: whatsnew/3.9.rst:1398 msgid "Removed" msgstr "" -#: whatsnew/3.9.rst:934 +#: whatsnew/3.9.rst:942 msgid "" "The erroneous version at :data:`unittest.mock.__version__` has been removed." msgstr "" -#: whatsnew/3.9.rst:936 +#: whatsnew/3.9.rst:944 msgid "" ":class:`nntplib.NNTP`: ``xpath()`` and ``xgtitle()`` methods have been " "removed. These methods are deprecated since Python 3.3. Generally, these " @@ -1391,14 +1405,14 @@ msgid "" "`39366`.)" msgstr "" -#: whatsnew/3.9.rst:943 +#: whatsnew/3.9.rst:951 msgid "" ":class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been " "removed. They were aliases to ``tobytes()`` and ``frombytes()``, deprecated " "since Python 3.2. (Contributed by Victor Stinner in :issue:`38916`.)" msgstr "" -#: whatsnew/3.9.rst:948 +#: whatsnew/3.9.rst:956 msgid "" "The undocumented ``sys.callstats()`` function has been removed. Since Python " "3.7, it was deprecated and always returned :const:`None`. It required a " @@ -1406,7 +1420,7 @@ msgid "" "3.7. (Contributed by Victor Stinner in :issue:`37414`.)" msgstr "" -#: whatsnew/3.9.rst:953 +#: whatsnew/3.9.rst:961 msgid "" "The ``sys.getcheckinterval()`` and ``sys.setcheckinterval()`` functions have " "been removed. They were deprecated since Python 3.2. Use :func:`sys." @@ -1414,21 +1428,21 @@ msgid "" "by Victor Stinner in :issue:`37392`.)" msgstr "" -#: whatsnew/3.9.rst:958 +#: whatsnew/3.9.rst:966 msgid "" "The C function ``PyImport_Cleanup()`` has been removed. It was documented " "as: \"Empty the module table. For internal use only.\" (Contributed by " "Victor Stinner in :issue:`36710`.)" msgstr "" -#: whatsnew/3.9.rst:962 +#: whatsnew/3.9.rst:970 msgid "" "``_dummy_thread`` and ``dummy_threading`` modules have been removed. These " "modules were deprecated since Python 3.7 which requires threading support. " "(Contributed by Victor Stinner in :issue:`37312`.)" msgstr "" -#: whatsnew/3.9.rst:966 +#: whatsnew/3.9.rst:974 msgid "" "``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to " "``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open()` have " @@ -1436,14 +1450,14 @@ msgid "" "Stinner in :issue:`37320`.)" msgstr "" -#: whatsnew/3.9.rst:971 +#: whatsnew/3.9.rst:979 msgid "" "The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` " "has been removed. It was deprecated since Python 3.8. Use :meth:`~threading." "Thread.is_alive()` instead. (Contributed by Dong-hee Na in :issue:`37804`.)" msgstr "" -#: whatsnew/3.9.rst:976 +#: whatsnew/3.9.rst:984 msgid "" "Methods ``getchildren()`` and ``getiterator()`` of classes :class:`~xml." "etree.ElementTree.ElementTree` and :class:`~xml.etree.ElementTree.Element` " @@ -1453,7 +1467,7 @@ msgid "" "getiterator()``. (Contributed by Serhiy Storchaka in :issue:`36543`.)" msgstr "" -#: whatsnew/3.9.rst:984 +#: whatsnew/3.9.rst:992 msgid "" "The old :mod:`plistlib` API has been removed, it was deprecated since Python " "3.4. Use the :func:`~plistlib.load`, :func:`~plistlib.loads`, :func:" @@ -1462,7 +1476,7 @@ msgid "" "are always used instead. (Contributed by Jon Janzen in :issue:`36409`.)" msgstr "" -#: whatsnew/3.9.rst:990 +#: whatsnew/3.9.rst:998 msgid "" "The C function ``PyGen_NeedsFinalizing`` has been removed. It was not " "documented, tested, or used anywhere within CPython after the implementation " @@ -1470,7 +1484,7 @@ msgid "" "in :issue:`15088`)" msgstr "" -#: whatsnew/3.9.rst:995 +#: whatsnew/3.9.rst:1003 msgid "" "``base64.encodestring()`` and ``base64.decodestring()``, aliases deprecated " "since Python 3.1, have been removed: use :func:`base64.encodebytes` and :" @@ -1478,14 +1492,14 @@ msgid "" "`39351`.)" msgstr "" -#: whatsnew/3.9.rst:1000 +#: whatsnew/3.9.rst:1008 msgid "" "``fractions.gcd()`` function has been removed, it was deprecated since " "Python 3.5 (:issue:`22486`): use :func:`math.gcd` instead. (Contributed by " "Victor Stinner in :issue:`39350`.)" msgstr "" -#: whatsnew/3.9.rst:1004 +#: whatsnew/3.9.rst:1012 msgid "" "The *buffering* parameter of :class:`bz2.BZ2File` has been removed. Since " "Python 3.0, it was ignored and using it emitted a :exc:`DeprecationWarning`. " @@ -1493,7 +1507,7 @@ msgid "" "Victor Stinner in :issue:`39357`.)" msgstr "" -#: whatsnew/3.9.rst:1009 +#: whatsnew/3.9.rst:1017 msgid "" "The *encoding* parameter of :func:`json.loads` has been removed. As of " "Python 3.1, it was deprecated and ignored; using it has emitted a :exc:" @@ -1501,7 +1515,7 @@ msgid "" "`39377`)" msgstr "" -#: whatsnew/3.9.rst:1014 +#: whatsnew/3.9.rst:1022 msgid "" "``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` " "statements are not longer supported, use ``async with lock`` instead. The " @@ -1509,7 +1523,7 @@ msgid "" "(Contributed by Andrew Svetlov in :issue:`34793`.)" msgstr "" -#: whatsnew/3.9.rst:1019 +#: whatsnew/3.9.rst:1027 msgid "" "The :func:`sys.getcounts` function, the ``-X showalloccount`` command line " "option and the ``show_alloc_count`` field of the C structure :c:type:" @@ -1518,7 +1532,7 @@ msgid "" "`39489`.)" msgstr "" -#: whatsnew/3.9.rst:1025 +#: whatsnew/3.9.rst:1033 msgid "" "The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has " "been removed. It was deprecated since Python 3.8. Use the " @@ -1526,14 +1540,14 @@ msgid "" "issue:`40182`.)" msgstr "" -#: whatsnew/3.9.rst:1030 +#: whatsnew/3.9.rst:1038 msgid "" "The :meth:`symtable.SymbolTable.has_exec` method has been removed. It was " "deprecated since 2006, and only returning ``False`` when it's called. " "(Contributed by Batuhan Taskaya in :issue:`40208`)" msgstr "" -#: whatsnew/3.9.rst:1034 +#: whatsnew/3.9.rst:1042 msgid "" "The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks` " "have been removed. They were deprecated since Python 3.7 and you can use :" @@ -1541,7 +1555,7 @@ msgid "" "(Contributed by Rémi Lapeyre in :issue:`40967`)" msgstr "" -#: whatsnew/3.9.rst:1039 +#: whatsnew/3.9.rst:1047 msgid "" "The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has " "been removed (it was deprecated since Python 3.4). :func:`html.unescape` " @@ -1549,21 +1563,21 @@ msgid "" "unicode characters." msgstr "" -#: whatsnew/3.9.rst:1298 +#: whatsnew/3.9.rst:1320 msgid "Porting to Python 3.9" msgstr "" -#: whatsnew/3.9.rst:1048 +#: whatsnew/3.9.rst:1056 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.9.rst:1053 +#: whatsnew/3.9.rst:1061 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.9.rst:1055 +#: whatsnew/3.9.rst:1063 msgid "" ":func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:" "`ImportError` where it previously raised :exc:`ValueError`. Callers catching " @@ -1571,26 +1585,26 @@ msgid "" "versions will need to catch both using ``except (ImportError, ValueError):``." msgstr "" -#: whatsnew/3.9.rst:1060 +#: whatsnew/3.9.rst:1068 msgid "" "The :mod:`venv` activation scripts no longer special-case when " "``__VENV_PROMPT__`` is set to ``\"\"``." msgstr "" -#: whatsnew/3.9.rst:1063 +#: whatsnew/3.9.rst:1071 msgid "" "The :meth:`select.epoll.unregister` method no longer ignores the :data:" "`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.)" msgstr "" -#: whatsnew/3.9.rst:1067 +#: whatsnew/3.9.rst:1075 msgid "" "The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, " "since the *buffering* parameter has been removed. (Contributed by Victor " "Stinner in :issue:`39357`.)" msgstr "" -#: whatsnew/3.9.rst:1071 +#: whatsnew/3.9.rst:1079 msgid "" "Simplified AST for subscription. Simple indices will be represented by their " "value, extended slices will be represented as tuples. ``Index(value)`` will " @@ -1598,21 +1612,21 @@ msgid "" "Load())``. (Contributed by Serhiy Storchaka in :issue:`34822`.)" msgstr "" -#: whatsnew/3.9.rst:1077 +#: whatsnew/3.9.rst:1085 msgid "" "The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` " "environment variable when the :option:`-E` or :option:`-I` command line " "options are being used." msgstr "" -#: whatsnew/3.9.rst:1081 +#: whatsnew/3.9.rst:1089 msgid "" "The *encoding* parameter has been added to the classes :class:`ftplib.FTP` " "and :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default " "encoding is changed from Latin-1 to UTF-8 to follow :rfc:`2640`." msgstr "" -#: whatsnew/3.9.rst:1085 +#: whatsnew/3.9.rst:1093 msgid "" ":meth:`asyncio.loop.shutdown_default_executor` has been added to :class:" "`~asyncio.AbstractEventLoop`, meaning alternative event loops that inherit " @@ -1620,7 +1634,7 @@ msgid "" "issue:`34037`.)" msgstr "" -#: whatsnew/3.9.rst:1090 +#: whatsnew/3.9.rst:1098 msgid "" "The constant values of future flags in the :mod:`__future__` module is " "updated in order to prevent collision with compiler flags. Previously " @@ -1628,7 +1642,7 @@ msgid "" "(Contributed by Batuhan Taskaya in :issue:`39562`)" msgstr "" -#: whatsnew/3.9.rst:1095 +#: whatsnew/3.9.rst:1103 msgid "" "``array('u')`` now uses ``wchar_t`` as C type instead of ``Py_UNICODE``. " "This change doesn't affect to its behavior because ``Py_UNICODE`` is alias " @@ -1636,7 +1650,7 @@ msgid "" "`34538`.)" msgstr "" -#: whatsnew/3.9.rst:1100 +#: whatsnew/3.9.rst:1108 msgid "" "The :func:`logging.getLogger` API now returns the root logger when passed " "the name ``'root'``, whereas previously it returned a non-root logger named " @@ -1646,7 +1660,7 @@ msgid "" "(Contributed by Vinay Sajip in :issue:`37742`.)" msgstr "" -#: whatsnew/3.9.rst:1107 +#: whatsnew/3.9.rst:1115 msgid "" "Division handling of :class:`~pathlib.PurePath` now returns " "``NotImplemented`` instead of raising a :exc:`TypeError` when passed " @@ -1655,11 +1669,30 @@ msgid "" "mentioned types. (Contributed by Roger Aiudi in :issue:`34775`)." msgstr "" -#: whatsnew/3.9.rst:1115 +#: whatsnew/3.9.rst:1121 +msgid "" +"Starting with Python 3.9.5 the :mod:`ipaddress` module no longer accepts any " +"leading zeros in IPv4 address strings. Leading zeros are ambiguous and " +"interpreted as octal notation by some libraries. For example the legacy " +"function :func:`socket.inet_aton` treats leading zeros as octal notatation. " +"glibc implementation of modern :func:`~socket.inet_pton` does not accept any " +"leading zeros. (Contributed by Christian Heimes in :issue:`36384`)." +msgstr "" + +#: whatsnew/3.9.rst:1129 +msgid "" +":func:`codecs.lookup` now normalizes the encoding name the same way as :func:" +"`encodings.normalize_encoding`, except that :func:`codecs.lookup` also " +"converts the name to lower case. For example, ``\"latex+latin1\"`` encoding " +"name is now normalized to ``\"latex_latin1\"``. (Contributed by Jordon Xu " +"in :issue:`37751`.)" +msgstr "" + +#: whatsnew/3.9.rst:1137 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.9.rst:1117 +#: whatsnew/3.9.rst:1139 msgid "" "Instances of heap-allocated types (such as those created with :c:func:" "`PyType_FromSpec` and similar APIs) hold a reference to their type object " @@ -1670,26 +1703,26 @@ msgid "" "visit the object's type." msgstr "" -#: whatsnew/3.9.rst:1138 +#: whatsnew/3.9.rst:1160 msgid "" "If your traverse function delegates to ``tp_traverse`` of its base class (or " "another type), ensure that ``Py_TYPE(self)`` is visited only once. Note that " "only heap types are expected to visit the type in ``tp_traverse``." msgstr "" -#: whatsnew/3.9.rst:1142 +#: whatsnew/3.9.rst:1164 msgid "For example, if your ``tp_traverse`` function includes:" msgstr "" -#: whatsnew/3.9.rst:1148 +#: whatsnew/3.9.rst:1170 msgid "then add:" msgstr "" -#: whatsnew/3.9.rst:1161 +#: whatsnew/3.9.rst:1183 msgid "(See :issue:`35810` and :issue:`40217` for more information.)" msgstr "" -#: whatsnew/3.9.rst:1163 +#: whatsnew/3.9.rst:1185 msgid "" "The functions ``PyEval_CallObject``, ``PyEval_CallFunction``, " "``PyEval_CallMethod`` and ``PyEval_CallObjectWithKeywords`` are deprecated. " @@ -1697,11 +1730,11 @@ msgid "" "issue:`29548`.)" msgstr "" -#: whatsnew/3.9.rst:1169 +#: whatsnew/3.9.rst:1191 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.9.rst:1171 +#: whatsnew/3.9.rst:1193 msgid "" "The :opcode:`LOAD_ASSERTION_ERROR` opcode was added for handling the :" "keyword:`assert` statement. Previously, the assert statement would not work " @@ -1709,37 +1742,37 @@ msgid "" "(Contributed by Zackery Spytz in :issue:`34880`.)" msgstr "" -#: whatsnew/3.9.rst:1176 +#: whatsnew/3.9.rst:1198 msgid "" "The :opcode:`COMPARE_OP` opcode was split into four distinct instructions:" msgstr "" -#: whatsnew/3.9.rst:1178 +#: whatsnew/3.9.rst:1200 msgid "``COMPARE_OP`` for rich comparisons" msgstr "" -#: whatsnew/3.9.rst:1179 +#: whatsnew/3.9.rst:1201 msgid "``IS_OP`` for 'is' and 'is not' tests" msgstr "" -#: whatsnew/3.9.rst:1180 +#: whatsnew/3.9.rst:1202 msgid "``CONTAINS_OP`` for 'in' and 'not in' tests" msgstr "" -#: whatsnew/3.9.rst:1181 +#: whatsnew/3.9.rst:1203 msgid "" "``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except' statements." msgstr "" -#: whatsnew/3.9.rst:1184 +#: whatsnew/3.9.rst:1206 msgid "(Contributed by Mark Shannon in :issue:`39156`.)" msgstr "" -#: whatsnew/3.9.rst:1188 +#: whatsnew/3.9.rst:1210 msgid "Build Changes" msgstr "" -#: whatsnew/3.9.rst:1190 +#: whatsnew/3.9.rst:1212 msgid "" "Added ``--with-platlibdir`` option to the ``configure`` script: name of the " "platform-specific library directory, stored in the new :attr:`sys." @@ -1748,26 +1781,26 @@ msgid "" "and Victor Stinner in :issue:`1294959`.)" msgstr "" -#: whatsnew/3.9.rst:1196 +#: whatsnew/3.9.rst:1218 msgid "" "The ``COUNT_ALLOCS`` special build macro has been removed. (Contributed by " "Victor Stinner in :issue:`39489`.)" msgstr "" -#: whatsnew/3.9.rst:1199 +#: whatsnew/3.9.rst:1221 msgid "" "On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` " "functions are now required to build Python. (Contributed by Victor Stinner " "in :issue:`39395`.)" msgstr "" -#: whatsnew/3.9.rst:1203 +#: whatsnew/3.9.rst:1225 msgid "" "On non-Windows platforms, creating ``bdist_wininst`` installers is now " "officially unsupported. (See :issue:`10945` for more details.)" msgstr "" -#: whatsnew/3.9.rst:1206 +#: whatsnew/3.9.rst:1228 msgid "" "When building Python on macOS from source, ``_tkinter`` now links with non-" "system Tcl and Tk frameworks if they are installed in ``/Library/" @@ -1778,13 +1811,13 @@ msgid "" "(Contributed by Ned Deily in :issue:`34956`.)" msgstr "" -#: whatsnew/3.9.rst:1215 +#: whatsnew/3.9.rst:1237 msgid "" "Python can now be built for Windows 10 ARM64. (Contributed by Steve Dower " "in :issue:`33125`.)" msgstr "" -#: whatsnew/3.9.rst:1218 +#: whatsnew/3.9.rst:1240 msgid "" "Some individual tests are now skipped when ``--pgo`` is used. The tests in " "question increased the PGO task time significantly and likely didn't help " @@ -1800,11 +1833,11 @@ msgid "" "details.)" msgstr "" -#: whatsnew/3.9.rst:1233 +#: whatsnew/3.9.rst:1255 msgid "C API Changes" msgstr "" -#: whatsnew/3.9.rst:1238 +#: whatsnew/3.9.rst:1260 msgid "" ":pep:`573`: Added :c:func:`PyType_FromModuleAndSpec` to associate a module " "with a class; :c:func:`PyType_GetModule` and :c:func:`PyType_GetModuleState` " @@ -1813,20 +1846,20 @@ msgid "" "(Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.)" msgstr "" -#: whatsnew/3.9.rst:1245 +#: whatsnew/3.9.rst:1267 msgid "" "Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:" "`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1249 +#: whatsnew/3.9.rst:1271 msgid "" "Added :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1252 +#: whatsnew/3.9.rst:1274 msgid "" "Added :c:func:`PyThreadState_GetInterpreter` and :c:func:" "`PyInterpreterState_Get` functions to get the interpreter. Added :c:func:" @@ -1836,7 +1869,7 @@ msgid "" "issue:`39947`.)" msgstr "" -#: whatsnew/3.9.rst:1260 +#: whatsnew/3.9.rst:1282 msgid "" "Added a new public :c:func:`PyObject_CallNoArgs` function to the C API, " "which calls a callable Python object without any arguments. It is the most " @@ -1844,11 +1877,11 @@ msgid "" "(Contributed by Victor Stinner in :issue:`37194`.)" msgstr "" -#: whatsnew/3.9.rst:1387 +#: whatsnew/3.9.rst:1409 msgid "Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):" msgstr "" -#: whatsnew/3.9.rst:1267 +#: whatsnew/3.9.rst:1289 msgid "" "Provide :c:func:`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` " "as regular functions for the limited API. Previously, there were defined as " @@ -1857,23 +1890,23 @@ msgid "" "the limited C API)." msgstr "" -#: whatsnew/3.9.rst:1273 +#: whatsnew/3.9.rst:1295 msgid "" "``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular \"opaque\" " "function to hide implementation details." msgstr "" -#: whatsnew/3.9.rst:1414 +#: whatsnew/3.9.rst:1436 msgid "(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)" msgstr "" -#: whatsnew/3.9.rst:1278 +#: whatsnew/3.9.rst:1300 msgid "" "The :c:func:`PyModule_AddType` function is added to help adding a type to a " "module. (Contributed by Dong-hee Na in :issue:`40024`.)" msgstr "" -#: whatsnew/3.9.rst:1282 +#: whatsnew/3.9.rst:1304 msgid "" "Added the functions :c:func:`PyObject_GC_IsTracked` and :c:func:" "`PyObject_GC_IsFinalized` to the public API to allow to query if Python " @@ -1882,27 +1915,27 @@ msgid "" "issue:`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1288 +#: whatsnew/3.9.rst:1310 msgid "" "Added :c:func:`_PyObject_FunctionStr` to get a user-friendly string " "representation of a function-like object. (Patch by Jeroen Demeyer in :issue:" "`37645`.)" msgstr "" -#: whatsnew/3.9.rst:1292 +#: whatsnew/3.9.rst:1314 msgid "" "Added :c:func:`PyObject_CallOneArg` for calling an object with one " "positional argument (Patch by Jeroen Demeyer in :issue:`37483`.)" msgstr "" -#: whatsnew/3.9.rst:1300 +#: whatsnew/3.9.rst:1322 msgid "" "``PyInterpreterState.eval_frame`` (:pep:`523`) now requires a new mandatory " "*tstate* parameter (``PyThreadState*``). (Contributed by Victor Stinner in :" "issue:`38500`.)" msgstr "" -#: whatsnew/3.9.rst:1304 +#: whatsnew/3.9.rst:1326 msgid "" "Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:member:" "`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions of :c:" @@ -1914,12 +1947,12 @@ msgid "" "`PyModule_GetState`) is ``NULL``." msgstr "" -#: whatsnew/3.9.rst:1313 +#: whatsnew/3.9.rst:1335 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" -#: whatsnew/3.9.rst:1315 +#: whatsnew/3.9.rst:1337 msgid "" "If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function " "is now scheduled to be called from the subinterpreter, rather than being " @@ -1927,7 +1960,7 @@ msgid "" "of scheduled calls. (Contributed by Victor Stinner in :issue:`39984`.)" msgstr "" -#: whatsnew/3.9.rst:1321 +#: whatsnew/3.9.rst:1343 msgid "" "The Windows registry is no longer used to initialize :data:`sys.path` when " "the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to " @@ -1935,21 +1968,21 @@ msgid "" "by Zackery Spytz in :issue:`8901`.)" msgstr "" -#: whatsnew/3.9.rst:1326 +#: whatsnew/3.9.rst:1348 msgid "" "The global variable :c:data:`PyStructSequence_UnnamedField` is now a " "constant and refers to a constant string. (Contributed by Serhiy Storchaka " "in :issue:`38650`.)" msgstr "" -#: whatsnew/3.9.rst:1330 +#: whatsnew/3.9.rst:1352 msgid "" "The :c:type:`PyGC_Head` structure is now opaque. It is only defined in the " "internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:" "`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1334 +#: whatsnew/3.9.rst:1356 msgid "" "The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:" "func:`PyUnicode_FromUnicode`, :c:func:`PyUnicode_AsUnicode`, " @@ -1958,7 +1991,7 @@ msgid "" "Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.9.rst:1341 +#: whatsnew/3.9.rst:1363 msgid "" "The :c:func:`Py_FatalError` function is replaced with a macro which logs " "automatically the name of the current function, unless the " @@ -1966,22 +1999,22 @@ msgid "" "issue:`39882`.)" msgstr "" -#: whatsnew/3.9.rst:1346 +#: whatsnew/3.9.rst:1368 msgid "" "The vectorcall protocol now requires that the caller passes only strings as " "keyword names. (See :issue:`37540` for more information.)" msgstr "" -#: whatsnew/3.9.rst:1349 +#: whatsnew/3.9.rst:1371 msgid "" "Implementation details of a number of macros and functions are now hidden:" msgstr "" -#: whatsnew/3.9.rst:1351 +#: whatsnew/3.9.rst:1373 msgid ":c:func:`PyObject_IS_GC` macro was converted to a function." msgstr "" -#: whatsnew/3.9.rst:1353 +#: whatsnew/3.9.rst:1375 msgid "" "The :c:func:`PyObject_NEW` macro becomes an alias to the :c:func:" "`PyObject_New` macro, and the :c:func:`PyObject_NEW_VAR` macro becomes an " @@ -1989,45 +2022,45 @@ msgid "" "the :c:member:`PyTypeObject.tp_basicsize` member." msgstr "" -#: whatsnew/3.9.rst:1358 +#: whatsnew/3.9.rst:1380 msgid "" ":c:func:`PyType_HasFeature` now always calls :c:func:`PyType_GetFlags`. " "Previously, it accessed directly the :c:member:`PyTypeObject.tp_flags` " "member when the limited C API was not used." msgstr "" -#: whatsnew/3.9.rst:1362 +#: whatsnew/3.9.rst:1384 msgid "" ":c:func:`PyObject_GET_WEAKREFS_LISTPTR` macro was converted to a function: " "the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset` " "member." msgstr "" -#: whatsnew/3.9.rst:1366 +#: whatsnew/3.9.rst:1388 msgid "" ":c:func:`PyObject_CheckBuffer` macro was converted to a function: the macro " "accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member." msgstr "" -#: whatsnew/3.9.rst:1369 +#: whatsnew/3.9.rst:1391 msgid "" ":c:func:`PyIndex_Check` is now always declared as an opaque function to hide " "implementation details: removed the ``PyIndex_Check()`` macro. The macro " "accessed directly the :c:member:`PyTypeObject.tp_as_number` member." msgstr "" -#: whatsnew/3.9.rst:1373 +#: whatsnew/3.9.rst:1395 msgid "(See :issue:`40170` for more details.)" msgstr "" -#: whatsnew/3.9.rst:1378 +#: whatsnew/3.9.rst:1400 msgid "" "Excluded ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of " "``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:" "`38835`.)" msgstr "" -#: whatsnew/3.9.rst:1382 +#: whatsnew/3.9.rst:1404 msgid "" "The ``tp_print`` slot of :ref:`PyTypeObject ` has been " "removed. It was used for printing objects to files in Python 2.7 and before. " @@ -2035,89 +2068,89 @@ msgid "" "Demeyer in :issue:`36974`.)" msgstr "" -#: whatsnew/3.9.rst:1389 +#: whatsnew/3.9.rst:1411 msgid "Excluded the following functions from the limited C API:" msgstr "" -#: whatsnew/3.9.rst:1391 +#: whatsnew/3.9.rst:1413 msgid "" "``PyThreadState_DeleteCurrent()`` (Contributed by Joannah Nanjekye in :issue:" "`37878`.)" msgstr "" -#: whatsnew/3.9.rst:1393 +#: whatsnew/3.9.rst:1415 msgid "``_Py_CheckRecursionLimit``" msgstr "" -#: whatsnew/3.9.rst:1394 +#: whatsnew/3.9.rst:1416 msgid "``_Py_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1395 +#: whatsnew/3.9.rst:1417 msgid "``_Py_ForgetReference()``" msgstr "" -#: whatsnew/3.9.rst:1396 +#: whatsnew/3.9.rst:1418 msgid "``_PyTraceMalloc_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1397 +#: whatsnew/3.9.rst:1419 msgid "``_Py_GetRefTotal()``" msgstr "" -#: whatsnew/3.9.rst:1398 +#: whatsnew/3.9.rst:1420 msgid "The trashcan mechanism which never worked in the limited C API." msgstr "" -#: whatsnew/3.9.rst:1399 +#: whatsnew/3.9.rst:1421 msgid "``PyTrash_UNWIND_LEVEL``" msgstr "" -#: whatsnew/3.9.rst:1400 +#: whatsnew/3.9.rst:1422 msgid "``Py_TRASHCAN_BEGIN_CONDITION``" msgstr "" -#: whatsnew/3.9.rst:1401 +#: whatsnew/3.9.rst:1423 msgid "``Py_TRASHCAN_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1402 +#: whatsnew/3.9.rst:1424 msgid "``Py_TRASHCAN_END``" msgstr "" -#: whatsnew/3.9.rst:1403 +#: whatsnew/3.9.rst:1425 msgid "``Py_TRASHCAN_SAFE_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1404 +#: whatsnew/3.9.rst:1426 msgid "``Py_TRASHCAN_SAFE_END``" msgstr "" -#: whatsnew/3.9.rst:1406 +#: whatsnew/3.9.rst:1428 msgid "Moved following functions and definitions to the internal C API:" msgstr "" -#: whatsnew/3.9.rst:1408 +#: whatsnew/3.9.rst:1430 msgid "``_PyDebug_PrintTotalRefs()``" msgstr "" -#: whatsnew/3.9.rst:1409 +#: whatsnew/3.9.rst:1431 msgid "``_Py_PrintReferences()``" msgstr "" -#: whatsnew/3.9.rst:1410 +#: whatsnew/3.9.rst:1432 msgid "``_Py_PrintReferenceAddresses()``" msgstr "" -#: whatsnew/3.9.rst:1411 +#: whatsnew/3.9.rst:1433 msgid "``_Py_tracemalloc_config``" msgstr "" -#: whatsnew/3.9.rst:1412 +#: whatsnew/3.9.rst:1434 msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)" msgstr "" -#: whatsnew/3.9.rst:1416 +#: whatsnew/3.9.rst:1438 msgid "" "Removed ``_PyRuntime.getframe`` hook and removed ``_PyThreadState_GetFrame`` " "macro which was an alias to ``_PyRuntime.getframe``. They were only exposed " @@ -2125,72 +2158,72 @@ msgid "" "(Contributed by Victor Stinner in :issue:`39946`.)" msgstr "" -#: whatsnew/3.9.rst:1421 +#: whatsnew/3.9.rst:1443 msgid "" "Removed the following functions from the C API. Call :c:func:`PyGC_Collect` " "explicitly to clear all free lists. (Contributed by Inada Naoki and Victor " "Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.)" msgstr "" -#: whatsnew/3.9.rst:1426 +#: whatsnew/3.9.rst:1448 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "" -#: whatsnew/3.9.rst:1427 +#: whatsnew/3.9.rst:1449 msgid "``PyContext_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1428 +#: whatsnew/3.9.rst:1450 msgid "``PyDict_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1429 +#: whatsnew/3.9.rst:1451 msgid "``PyFloat_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1430 +#: whatsnew/3.9.rst:1452 msgid "``PyFrame_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1431 +#: whatsnew/3.9.rst:1453 msgid "``PyList_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1432 +#: whatsnew/3.9.rst:1454 msgid "" "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free " "lists of bound method objects have been removed." msgstr "" -#: whatsnew/3.9.rst:1434 +#: whatsnew/3.9.rst:1456 msgid "" "``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4." msgstr "" -#: whatsnew/3.9.rst:1436 +#: whatsnew/3.9.rst:1458 msgid "``PyTuple_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1437 +#: whatsnew/3.9.rst:1459 msgid "" "``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in " "Python 3.3." msgstr "" -#: whatsnew/3.9.rst:1440 +#: whatsnew/3.9.rst:1462 msgid "" "Removed ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor " "Stinner in :issue:`39465`.)" msgstr "" -#: whatsnew/3.9.rst:1443 +#: whatsnew/3.9.rst:1465 msgid "" "Removed ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and " "broken since Python 3.3. The :c:func:`PyUnicode_Tailmatch` function can be " "used instead. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.9.rst:1448 +#: whatsnew/3.9.rst:1470 msgid "" "Cleaned header files of interfaces defined but with no implementation. The " "public API symbols being removed are: " @@ -2203,26 +2236,26 @@ msgid "" "`39372`.)" msgstr "" -#: whatsnew/3.9.rst:1459 +#: whatsnew/3.9.rst:1481 msgid "Notable changes in Python 3.9.1" msgstr "" -#: whatsnew/3.9.rst:1464 +#: whatsnew/3.9.rst:1486 msgid "" "The behavior of :class:`typing.Literal` was changed to conform with :pep:" "`586` and to match the behavior of static type checkers specified in the PEP." msgstr "" -#: whatsnew/3.9.rst:1467 +#: whatsnew/3.9.rst:1489 msgid "``Literal`` now de-duplicates parameters." msgstr "" -#: whatsnew/3.9.rst:1468 +#: whatsnew/3.9.rst:1490 msgid "" "Equality comparisons between ``Literal`` objects are now order independent." msgstr "" -#: whatsnew/3.9.rst:1469 +#: whatsnew/3.9.rst:1491 msgid "" "``Literal`` comparisons now respect types. For example, ``Literal[0] == " "Literal[False]`` previously evaluated to ``True``. It is now ``False``. To " @@ -2230,23 +2263,23 @@ msgid "" "differentiating types." msgstr "" -#: whatsnew/3.9.rst:1473 +#: whatsnew/3.9.rst:1495 msgid "" "``Literal`` objects will now raise a :exc:`TypeError` exception during " -"equality comparisons if one of their parameters are not :term:`immutable`. " +"equality comparisons if any of their parameters are not :term:`hashable`. " "Note that declaring ``Literal`` with mutable parameters will not throw an " "error::" msgstr "" -#: whatsnew/3.9.rst:1485 +#: whatsnew/3.9.rst:1507 msgid "(Contributed by Yurii Karabas in :issue:`42345`.)" msgstr "" -#: whatsnew/3.9.rst:1488 +#: whatsnew/3.9.rst:1510 msgid "macOS 11.0 (Big Sur) and Apple Silicon Mac support" msgstr "" -#: whatsnew/3.9.rst:1490 +#: whatsnew/3.9.rst:1512 msgid "" "As of 3.9.1, Python now fully supports building and running on macOS 11.0 " "(Big Sur) and on Apple Silicon Macs (based on the ``ARM64`` architecture). A " @@ -2258,19 +2291,19 @@ msgid "" "version in use at runtime (\"weaklinking\")." msgstr "" -#: whatsnew/3.9.rst:1499 +#: whatsnew/3.9.rst:1521 msgid "(Contributed by Ronald Oussoren and Lawrence D'Anna in :issue:`41100`.)" msgstr "" -#: whatsnew/3.9.rst:1502 +#: whatsnew/3.9.rst:1524 msgid "Notable changes in Python 3.9.2" msgstr "" -#: whatsnew/3.9.rst:1505 +#: whatsnew/3.9.rst:1527 msgid "collections.abc" msgstr "collections.abc" -#: whatsnew/3.9.rst:1507 +#: whatsnew/3.9.rst:1529 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -2286,11 +2319,11 @@ msgid "" "Python 3.10. (Contributed by Ken Jin in :issue:`42195`.)" msgstr "" -#: whatsnew/3.9.rst:1521 +#: whatsnew/3.9.rst:1543 msgid "urllib.parse" msgstr "urllib.parse" -#: whatsnew/3.9.rst:1523 +#: whatsnew/3.9.rst:1545 msgid "" "Earlier Python versions allowed using both ``;`` and ``&`` as query " "parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib." @@ -2302,11 +2335,11 @@ msgid "" "Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.)" msgstr "" -#: whatsnew/3.9.rst:1534 +#: whatsnew/3.9.rst:1556 msgid "Notable changes in Python 3.9.3" msgstr "" -#: whatsnew/3.9.rst:1536 +#: whatsnew/3.9.rst:1558 msgid "" "A security fix alters the :class:`ftplib.FTP` behavior to not trust the IPv4 " "address sent from the remote server when setting up a passive data channel. " diff --git a/whatsnew/changelog.po b/whatsnew/changelog.po index f4a12644..01384c36 100644 --- a/whatsnew/changelog.po +++ b/whatsnew/changelog.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 17:33+0100\n" +"POT-Creation-Date: 2021-05-19 22:36+0200\n" "PO-Revision-Date: 2017-08-29 14:38+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: FRENCH \n" @@ -19,40781 +19,17 @@ msgstr "" msgid "Changelog" msgstr "Changements" -#: ../build/NEWS:5 -msgid "Python next" -msgstr "" +#~ msgid ":func:`enumerate`" +#~ msgstr ":func:`enumerate`" -#: ../build/NEWS:7 -msgid "*Release date: XXXX-XX-XX*" -msgstr "" +#~ msgid ":func:`zip`" +#~ msgstr ":func:`zip`" -#: ../build/NEWS:10 ../build/NEWS:348 ../build/NEWS:954 ../build/NEWS:1056 -#: ../build/NEWS:1498 ../build/NEWS:1851 ../build/NEWS:2303 ../build/NEWS:2809 -#: ../build/NEWS:3512 ../build/NEWS:3897 ../build/NEWS:5847 ../build/NEWS:6603 -#: ../build/NEWS:7147 ../build/NEWS:7677 ../build/NEWS:11208 -#: ../build/NEWS:11426 ../build/NEWS:13154 ../build/NEWS:15605 -#: ../build/NEWS:16372 ../build/NEWS:16835 ../build/NEWS:16937 -#: ../build/NEWS:19003 ../build/NEWS:19022 ../build/NEWS:19187 -#: ../build/NEWS:19238 ../build/NEWS:19833 ../build/NEWS:19944 -#: ../build/NEWS:20034 ../build/NEWS:20743 ../build/NEWS:20802 -#: ../build/NEWS:21657 ../build/NEWS:21670 ../build/NEWS:22061 -#: ../build/NEWS:22094 ../build/NEWS:22206 ../build/NEWS:22261 -#: ../build/NEWS:22330 -msgid "Security" -msgstr "" +#~ msgid "Documentation" +#~ msgstr "Documentation" -#: ../build/NEWS:12 -msgid "" -"`bpo-42938 `__: Avoid static buffers " -"when computing the repr of :class:`ctypes.c_double` and :class:`ctypes." -"c_longdouble` values." -msgstr "" +#~ msgid "Windows" +#~ msgstr "Windows" -#: ../build/NEWS:16 ../build/NEWS:270 ../build/NEWS:363 ../build/NEWS:735 -#: ../build/NEWS:877 ../build/NEWS:969 ../build/NEWS:1065 ../build/NEWS:1309 -#: ../build/NEWS:1504 ../build/NEWS:1866 ../build/NEWS:2310 ../build/NEWS:2820 -#: ../build/NEWS:3162 ../build/NEWS:3530 ../build/NEWS:3946 ../build/NEWS:5862 -#: ../build/NEWS:6621 ../build/NEWS:7159 ../build/NEWS:7464 ../build/NEWS:7726 -#: ../build/NEWS:10706 ../build/NEWS:10818 ../build/NEWS:11031 -#: ../build/NEWS:11222 ../build/NEWS:11432 ../build/NEWS:11676 -#: ../build/NEWS:11995 ../build/NEWS:12299 ../build/NEWS:12899 -#: ../build/NEWS:13188 ../build/NEWS:15278 ../build/NEWS:15615 -#: ../build/NEWS:15932 ../build/NEWS:16381 ../build/NEWS:16862 -#: ../build/NEWS:17214 ../build/NEWS:17238 ../build/NEWS:17562 -#: ../build/NEWS:17592 ../build/NEWS:17656 ../build/NEWS:17770 -#: ../build/NEWS:17894 ../build/NEWS:18162 ../build/NEWS:18671 -#: ../build/NEWS:18909 ../build/NEWS:19129 ../build/NEWS:19432 -#: ../build/NEWS:20766 ../build/NEWS:20827 ../build/NEWS:21219 -#: ../build/NEWS:21910 ../build/NEWS:21931 ../build/NEWS:22688 -#: ../build/NEWS:22706 ../build/NEWS:23229 ../build/NEWS:23264 -#: ../build/NEWS:23292 ../build/NEWS:23384 ../build/NEWS:23471 -#: ../build/NEWS:23576 ../build/NEWS:23619 ../build/NEWS:23895 -#: ../build/NEWS:24130 ../build/NEWS:24316 ../build/NEWS:24455 -msgid "Core and Builtins" -msgstr "" - -#: ../build/NEWS:18 -msgid "" -"`bpo-42806 `__: Fix the column offsets " -"for f-strings :mod:`ast` nodes surrounded by parentheses and for nodes that " -"spawn multiple lines. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:22 -msgid "" -"`bpo-40631 `__: Fix regression where a " -"single parenthesized starred expression was a valid assignment target." -msgstr "" - -#: ../build/NEWS:25 -msgid "" -"`bpo-32381 `__: Fix encoding name when " -"running a ``.pyc`` file on Windows: :c:func:`PyRun_SimpleFileExFlags()` now " -"uses the correct encoding to decode the filename." -msgstr "" - -#: ../build/NEWS:29 -msgid "" -"`bpo-42536 `__: Several built-in and " -"standard library types now ensure that their internal result tuples are " -"always tracked by the :term:`garbage collector `:" -msgstr "" - -#: ../build/NEWS:33 -msgid ":meth:`collections.OrderedDict.items() `" -msgstr "" - -#: ../build/NEWS:35 -msgid ":meth:`dict.items`" -msgstr "" - -#: ../build/NEWS:37 -msgid ":func:`enumerate`" -msgstr ":func:`enumerate`" - -#: ../build/NEWS:39 -msgid ":func:`functools.reduce`" -msgstr "" - -#: ../build/NEWS:41 -msgid ":func:`itertools.combinations`" -msgstr "" - -#: ../build/NEWS:43 -msgid ":func:`itertools.combinations_with_replacement`" -msgstr "" - -#: ../build/NEWS:45 -msgid ":func:`itertools.permutations`" -msgstr "" - -#: ../build/NEWS:47 -msgid ":func:`itertools.product`" -msgstr "" - -#: ../build/NEWS:49 -msgid ":func:`itertools.zip_longest`" -msgstr "" - -#: ../build/NEWS:51 -msgid ":func:`zip`" -msgstr ":func:`zip`" - -#: ../build/NEWS:53 -msgid "" -"Previously, they could have become untracked by a prior garbage collection. " -"Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:56 -msgid "" -"`bpo-42195 `__: The ``__args__`` of the " -"parameterized generics for :data:`typing.Callable` and :class:`collections." -"abc.Callable` are now consistent. The ``__args__`` for :class:`collections." -"abc.Callable` are now flattened while :data:`typing.Callable`'s have not " -"changed. To allow this change, :class:`types.GenericAlias` can now be " -"subclassed and ``collections.abc.Callable``'s ``__class_getitem__`` will now " -"return a subclass of ``types.GenericAlias``. Tests for typing were also " -"updated to not subclass things like ``Callable[..., T]`` as that is not a " -"valid base class. Finally, both types no longer validate their " -"``argtypes``, in ``Callable[[argtypes], resulttype]`` to prepare for :pep:" -"`612`. Patch by Ken Jin." -msgstr "" - -#: ../build/NEWS:69 ../build/NEWS:279 ../build/NEWS:435 ../build/NEWS:702 -#: ../build/NEWS:770 ../build/NEWS:883 ../build/NEWS:999 ../build/NEWS:1124 -#: ../build/NEWS:1288 ../build/NEWS:1356 ../build/NEWS:1562 ../build/NEWS:1950 -#: ../build/NEWS:2437 ../build/NEWS:2897 ../build/NEWS:3260 ../build/NEWS:3607 -#: ../build/NEWS:4263 ../build/NEWS:6026 ../build/NEWS:6690 ../build/NEWS:7234 -#: ../build/NEWS:7528 ../build/NEWS:8280 ../build/NEWS:10688 -#: ../build/NEWS:10721 ../build/NEWS:10849 ../build/NEWS:11057 -#: ../build/NEWS:11248 ../build/NEWS:11453 ../build/NEWS:11751 -#: ../build/NEWS:12072 ../build/NEWS:12397 ../build/NEWS:12987 -#: ../build/NEWS:13646 ../build/NEWS:15315 ../build/NEWS:15661 -#: ../build/NEWS:16027 ../build/NEWS:16351 ../build/NEWS:16453 -#: ../build/NEWS:16909 ../build/NEWS:16944 ../build/NEWS:17306 -#: ../build/NEWS:17609 ../build/NEWS:17691 ../build/NEWS:17794 -#: ../build/NEWS:17964 ../build/NEWS:18299 ../build/NEWS:18717 -#: ../build/NEWS:18926 ../build/NEWS:19010 ../build/NEWS:19027 -#: ../build/NEWS:19169 ../build/NEWS:19195 ../build/NEWS:19245 -#: ../build/NEWS:19717 ../build/NEWS:19840 ../build/NEWS:19950 -#: ../build/NEWS:20040 ../build/NEWS:20772 ../build/NEWS:20790 -#: ../build/NEWS:20878 ../build/NEWS:21350 ../build/NEWS:21664 -#: ../build/NEWS:21675 ../build/NEWS:22069 ../build/NEWS:22101 -#: ../build/NEWS:22213 ../build/NEWS:22267 ../build/NEWS:22336 -#: ../build/NEWS:22774 ../build/NEWS:23212 ../build/NEWS:23239 -#: ../build/NEWS:23277 ../build/NEWS:23297 ../build/NEWS:23404 -#: ../build/NEWS:23498 ../build/NEWS:23594 ../build/NEWS:23669 -#: ../build/NEWS:23927 ../build/NEWS:24150 ../build/NEWS:24323 -#: ../build/NEWS:24681 -msgid "Library" -msgstr "" - -#: ../build/NEWS:71 -msgid "" -"`bpo-42944 `__: Fix ``random.Random." -"sample`` when ``counts`` argument is not ``None``." -msgstr "" - -#: ../build/NEWS:74 -msgid "" -"`bpo-42931 `__: Add :func:`randbytes` to " -"``random.__all__``." -msgstr "" - -#: ../build/NEWS:76 -msgid "" -"`bpo-42780 `__: Fix os.set_inheritable() " -"for O_PATH file descriptors on Linux." -msgstr "" - -#: ../build/NEWS:78 -msgid "" -"`bpo-42851 `__: remove __init_subclass__ " -"support for Enum members" -msgstr "" - -#: ../build/NEWS:80 -msgid "" -"`bpo-42759 `__: Fixed equality " -"comparison of :class:`tkinter.Variable` and :class:`tkinter.font.Font`. " -"Objects which belong to different Tcl interpreters are now always different, " -"even if they have the same name." -msgstr "" - -#: ../build/NEWS:84 -msgid "" -"`bpo-42756 `__: Configure LMTP Unix-" -"domain socket to use socket global default timeout when a timeout is not " -"explicitly provided." -msgstr "" - -#: ../build/NEWS:87 -msgid "" -"`bpo-23328 `__: Allow / character in " -"username, password fields on _PROXY envars." -msgstr "" - -#: ../build/NEWS:90 -msgid "" -"`bpo-42655 `__: :mod:`subprocess` " -"*extra_groups* is now correctly passed into setgroups() system call." -msgstr "" - -#: ../build/NEWS:93 -msgid "" -"`bpo-42727 `__: ``EnumMeta.__prepare__`` " -"now accepts ``**kwds`` to properly support ``__init_subclass__``" -msgstr "" - -#: ../build/NEWS:96 -msgid "" -"`bpo-42681 `__: Fixed range checks for " -"color and pair numbers in :mod:`curses`." -msgstr "" - -#: ../build/NEWS:98 -msgid "" -"`bpo-37961 `__: Fix crash in :func:" -"`tracemalloc.Traceback.__repr__` (regressed in Python 3.9)." -msgstr "" - -#: ../build/NEWS:101 -msgid "" -"`bpo-42630 `__: :mod:`tkinter` functions " -"and constructors which need a default root window raise now :exc:" -"`RuntimeError` with descriptive message instead of obscure :exc:" -"`AttributeError` or :exc:`NameError` if it is not created yet or cannot be " -"created automatically." -msgstr "" - -#: ../build/NEWS:106 -msgid "" -"`bpo-42644 `__: `logging.disable` will " -"now validate the types and value of its parameter. It also now accepts " -"strings representing the levels (as does `loging.setLevel`) instead of only " -"the numerical values." -msgstr "" - -#: ../build/NEWS:110 -msgid "" -"`bpo-36541 `__: Fixed lib2to3.pgen2 to " -"be able to parse PEP-570 positional only argument syntax." -msgstr "" - -#: ../build/NEWS:113 -msgid "" -"`bpo-42517 `__: Enum: private names will " -"raise a DeprecationWarning; in 3.10 they will become normal attributes" -msgstr "" - -#: ../build/NEWS:116 -msgid "" -"`bpo-42678 `__: `Enum`: call " -"`__init_subclass__` after members have been added" -msgstr "" - -#: ../build/NEWS:118 -msgid "" -"`bpo-42532 `__: Remove unexpected call " -"of ``__bool__`` when passing a ``spec_arg`` argument to a Mock." -msgstr "" - -#: ../build/NEWS:121 -msgid "" -"`bpo-42388 `__: Fix subprocess." -"check_output(..., input=None) behavior when text=True to be consistent with " -"that of the documentation and universal_newlines=True." -msgstr "" - -#: ../build/NEWS:125 -msgid "" -"`bpo-34463 `__: Fixed discrepancy " -"between :mod:`traceback` and the interpreter in formatting of SyntaxError " -"with lineno not set (:mod:`traceback` was changed to match interpreter)." -msgstr "" - -#: ../build/NEWS:129 -msgid "" -"`bpo-42375 `__: subprocess module update " -"for DragonFlyBSD support." -msgstr "" - -#: ../build/NEWS:131 -msgid "" -"`bpo-42384 `__: Make pdb populate sys." -"path[0] exactly the same as regular python execution." -msgstr "" - -#: ../build/NEWS:134 -msgid "" -"`bpo-42383 `__: Fix pdb: previously pdb " -"would fail to restart the debugging target if it was specified using a " -"relative path and the current directory changed." -msgstr "" - -#: ../build/NEWS:138 -msgid "" -"`bpo-42318 `__: Fixed support of non-BMP " -"characters in :mod:`tkinter` on macOS." -msgstr "" - -#: ../build/NEWS:140 -msgid "" -"`bpo-42163 `__: Restore compatibility " -"for ``uname_result`` around deepcopy and _replace." -msgstr "" - -#: ../build/NEWS:143 -msgid "" -"`bpo-39825 `__: Windows: Change " -"``sysconfig.get_config_var('EXT_SUFFIX')`` to the expected full " -"``platform_tag.extension`` format. Previously it was hard-coded to ``.pyd``, " -"now it is compatible with ``distutils.sysconfig`` and will result in " -"something like ``.cp38-win_amd64.pyd``. This brings windows into conformance " -"with the other platforms." -msgstr "" - -#: ../build/NEWS:149 -msgid "" -"`bpo-42059 `__: :class:`typing." -"TypedDict` types created using the alternative call-style syntax now " -"correctly respect the ``total`` keyword argument when setting their " -"``__required_keys__`` and ``__optional_keys__`` class attributes." -msgstr "" - -#: ../build/NEWS:154 -msgid "" -"`bpo-39101 `__: Fixed tests using " -"IsolatedAsyncioTestCase from hanging on BaseExceptions." -msgstr "" - -#: ../build/NEWS:157 -msgid "" -"`bpo-42005 `__: Fix CLI of :mod:" -"`cProfile` and :mod:`profile` to catch :exc:`BrokenPipeError`." -msgstr "" - -#: ../build/NEWS:160 -msgid "" -"`bpo-41907 `__: fix `format()` behavior " -"for `IntFlag`" -msgstr "" - -#: ../build/NEWS:162 -msgid "" -"`bpo-41889 `__: Enum: fix regression " -"involving inheriting a multiply-inherited enum" -msgstr "" - -#: ../build/NEWS:165 -msgid "" -"`bpo-41891 `__: Ensure asyncio.wait_for " -"waits for task completion" -msgstr "" - -#: ../build/NEWS:167 -msgid "" -"`bpo-40219 `__: Lowered :class:`tkinter." -"ttk.LabeledScale` dummy widget to prevent hiding part of the content label." -msgstr "" - -#: ../build/NEWS:170 -msgid "" -"`bpo-40084 `__: Fix ``Enum.__dir__``: " -"dir(Enum.member) now includes attributes as well as methods." -msgstr "" - -#: ../build/NEWS:173 -msgid "" -"`bpo-39068 `__: Fix initialization race " -"condition in :func:`a85encode` and :func:`b85encode` in :mod:`base64`. Patch " -"by Brandon Stansbury." -msgstr "" - -#: ../build/NEWS:176 -msgid "" -"`bpo-33289 `__: Correct call to :mod:" -"`tkinter.colorchooser` to return RGB triplet of ints instead of floats. " -"Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:180 ../build/NEWS:545 ../build/NEWS:828 ../build/NEWS:916 -#: ../build/NEWS:1022 ../build/NEWS:1723 ../build/NEWS:2167 ../build/NEWS:2625 -#: ../build/NEWS:3029 ../build/NEWS:3453 ../build/NEWS:3769 ../build/NEWS:5112 -#: ../build/NEWS:6416 ../build/NEWS:6882 ../build/NEWS:7359 ../build/NEWS:7601 -#: ../build/NEWS:9787 ../build/NEWS:10762 ../build/NEWS:10972 -#: ../build/NEWS:11122 ../build/NEWS:11340 ../build/NEWS:11585 -#: ../build/NEWS:11910 ../build/NEWS:12250 ../build/NEWS:12733 -#: ../build/NEWS:13076 ../build/NEWS:14684 ../build/NEWS:15438 -#: ../build/NEWS:15794 ../build/NEWS:16191 ../build/NEWS:16589 -#: ../build/NEWS:17161 ../build/NEWS:17481 ../build/NEWS:17637 -#: ../build/NEWS:17740 ../build/NEWS:19108 ../build/NEWS:19368 -#: ../build/NEWS:20553 ../build/NEWS:21113 ../build/NEWS:21789 -#: ../build/NEWS:22539 ../build/NEWS:23103 ../build/NEWS:23356 -#: ../build/NEWS:23555 ../build/NEWS:23866 ../build/NEWS:26066 -msgid "Documentation" -msgstr "Documentation" - -#: ../build/NEWS:182 -msgid "" -"`bpo-40304 `__: Fix doc for type(name, " -"bases, dict). Patch by Boris Verkhovskiy and Éric Araujo." -msgstr "" - -#: ../build/NEWS:185 -msgid "" -"`bpo-42811 `__: Updated importlib.utils." -"resolve_name() doc to use __spec__.parent instead of __package__. (Thanks " -"Yair Frid.)" -msgstr "" - -#: ../build/NEWS:188 -msgid "" -"`bpo-17140 `__: Add documentation for " -"the :class:`multiprocessing.pool.ThreadPool` class." -msgstr "" - -#: ../build/NEWS:192 ../build/NEWS:315 ../build/NEWS:576 ../build/NEWS:718 -#: ../build/NEWS:848 ../build/NEWS:1196 ../build/NEWS:1442 ../build/NEWS:1740 -#: ../build/NEWS:2181 ../build/NEWS:2644 ../build/NEWS:3054 ../build/NEWS:3783 -#: ../build/NEWS:5216 ../build/NEWS:6464 ../build/NEWS:6917 ../build/NEWS:7373 -#: ../build/NEWS:7612 ../build/NEWS:9952 ../build/NEWS:10987 -#: ../build/NEWS:11141 ../build/NEWS:11357 ../build/NEWS:11609 -#: ../build/NEWS:11923 ../build/NEWS:12255 ../build/NEWS:12739 -#: ../build/NEWS:14732 ../build/NEWS:15476 ../build/NEWS:15589 -#: ../build/NEWS:15814 ../build/NEWS:16204 ../build/NEWS:16601 -#: ../build/NEWS:17183 ../build/NEWS:17494 ../build/NEWS:17745 -#: ../build/NEWS:17880 ../build/NEWS:18151 ../build/NEWS:18581 -#: ../build/NEWS:18854 ../build/NEWS:19117 ../build/NEWS:19380 -#: ../build/NEWS:20571 ../build/NEWS:21131 ../build/NEWS:21794 -#: ../build/NEWS:21915 ../build/NEWS:22562 ../build/NEWS:23127 -#: ../build/NEWS:23371 ../build/NEWS:23548 ../build/NEWS:23857 -#: ../build/NEWS:24086 ../build/NEWS:24296 ../build/NEWS:26106 -msgid "Tests" -msgstr "" - -#: ../build/NEWS:194 -msgid "" -"`bpo-42794 `__: Update test_nntplib to " -"use offical group name of news.aioe.org for testing. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:197 -msgid "" -"`bpo-40810 `__: In :mod:`sqlite3`, fix " -"``CheckTraceCallbackContent`` for SQLite pre 3.7.15." -msgstr "" - -#: ../build/NEWS:201 ../build/NEWS:604 ../build/NEWS:723 ../build/NEWS:853 -#: ../build/NEWS:1227 ../build/NEWS:1296 ../build/NEWS:1448 ../build/NEWS:1749 -#: ../build/NEWS:2207 ../build/NEWS:2660 ../build/NEWS:3063 ../build/NEWS:3467 -#: ../build/NEWS:3838 ../build/NEWS:5386 ../build/NEWS:6500 ../build/NEWS:6971 -#: ../build/NEWS:7386 ../build/NEWS:10119 ../build/NEWS:10774 -#: ../build/NEWS:10996 ../build/NEWS:11147 ../build/NEWS:11367 -#: ../build/NEWS:11614 ../build/NEWS:11943 ../build/NEWS:12766 -#: ../build/NEWS:13086 ../build/NEWS:14795 ../build/NEWS:15484 -#: ../build/NEWS:15594 ../build/NEWS:15829 ../build/NEWS:16221 -#: ../build/NEWS:16357 ../build/NEWS:16617 ../build/NEWS:17141 -#: ../build/NEWS:17225 ../build/NEWS:17516 ../build/NEWS:17581 -#: ../build/NEWS:17753 ../build/NEWS:17871 ../build/NEWS:18140 -#: ../build/NEWS:18595 ../build/NEWS:18881 ../build/NEWS:19078 -#: ../build/NEWS:19397 ../build/NEWS:20614 ../build/NEWS:21169 -#: ../build/NEWS:21840 ../build/NEWS:22585 ../build/NEWS:23140 -#: ../build/NEWS:23200 ../build/NEWS:23217 ../build/NEWS:23459 -#: ../build/NEWS:23564 ../build/NEWS:24077 ../build/NEWS:24291 -#: ../build/NEWS:24426 ../build/NEWS:25957 -msgid "Build" -msgstr "" - -#: ../build/NEWS:203 -msgid "" -"`bpo-42692 `__: Fix __builtin_available " -"check on older compilers. Patch by Joshua Root." -msgstr "" - -#: ../build/NEWS:206 -msgid "" -"`bpo-42604 `__: Now all platforms use a " -"value for the \"EXT_SUFFIX\" build variable derived from SOABI (for instance " -"in freeBSD, \"EXT_SUFFIX\" is now \".cpython-310d.so\" instead of \".so\"). " -"Previosuly only Linux, Mac and VxWorks were using a value for \"EXT_SUFFIX\" " -"that included \"SOABI\"." -msgstr "" - -#: ../build/NEWS:211 -msgid "" -"`bpo-42598 `__: Fix implicit function " -"declarations in configure which could have resulted in incorrect " -"configuration checks. Patch contributed by Joshua Root." -msgstr "" - -#: ../build/NEWS:216 ../build/NEWS:622 ../build/NEWS:859 ../build/NEWS:925 -#: ../build/NEWS:1232 ../build/NEWS:1458 ../build/NEWS:1759 ../build/NEWS:2219 -#: ../build/NEWS:2677 ../build/NEWS:3068 ../build/NEWS:3848 ../build/NEWS:5458 -#: ../build/NEWS:6523 ../build/NEWS:7032 ../build/NEWS:7400 ../build/NEWS:7645 -#: ../build/NEWS:10237 ../build/NEWS:10781 ../build/NEWS:11164 -#: ../build/NEWS:11372 ../build/NEWS:11619 ../build/NEWS:11958 -#: ../build/NEWS:12264 ../build/NEWS:12799 ../build/NEWS:14907 -#: ../build/NEWS:15504 ../build/NEWS:15835 ../build/NEWS:16246 -#: ../build/NEWS:16623 ../build/NEWS:17197 ../build/NEWS:17446 -#: ../build/NEWS:17576 ../build/NEWS:17866 ../build/NEWS:18107 -#: ../build/NEWS:18637 ../build/NEWS:18869 ../build/NEWS:19390 -#: ../build/NEWS:19406 ../build/NEWS:20677 ../build/NEWS:21182 -#: ../build/NEWS:21825 ../build/NEWS:22644 ../build/NEWS:22676 -#: ../build/NEWS:22694 ../build/NEWS:23151 ../build/NEWS:24440 -#: ../build/NEWS:26253 -msgid "Windows" -msgstr "Windows" - -#: ../build/NEWS:218 -msgid "" -"`bpo-41837 `__: Updated Windows " -"installer to include OpenSSL 1.1.1i" -msgstr "" - -#: ../build/NEWS:220 -msgid "" -"`bpo-42584 `__: Upgrade Windows " -"installer to use SQLite 3.34.0." -msgstr "" - -#: ../build/NEWS:223 ../build/NEWS:326 ../build/NEWS:638 ../build/NEWS:1028 -#: ../build/NEWS:1244 ../build/NEWS:1467 ../build/NEWS:1771 ../build/NEWS:2226 -#: ../build/NEWS:2700 ../build/NEWS:3855 ../build/NEWS:5577 ../build/NEWS:6537 -#: ../build/NEWS:7085 ../build/NEWS:10347 ../build/NEWS:11009 -#: ../build/NEWS:11169 ../build/NEWS:11381 ../build/NEWS:11638 -#: ../build/NEWS:11969 ../build/NEWS:12814 ../build/NEWS:15509 -#: ../build/NEWS:15860 ../build/NEWS:16255 -msgid "macOS" -msgstr "" - -#: ../build/NEWS:225 -msgid "" -"`bpo-42361 `__: Update macOS installer " -"build to use Tcl/Tk 8.6.11 (rc2, expected to be final release)." -msgstr "" - -#: ../build/NEWS:228 -msgid "" -"`bpo-41837 `__: Update macOS installer " -"build to use OpenSSL 1.1.1i." -msgstr "" - -#: ../build/NEWS:230 -msgid "" -"`bpo-42584 `__: Update macOS installer " -"to use SQLite 3.34.0." -msgstr "" - -#: ../build/NEWS:233 ../build/NEWS:335 ../build/NEWS:661 ../build/NEWS:938 -#: ../build/NEWS:1033 ../build/NEWS:1259 ../build/NEWS:1472 ../build/NEWS:2236 -#: ../build/NEWS:2705 ../build/NEWS:3088 ../build/NEWS:3480 ../build/NEWS:3862 -#: ../build/NEWS:5598 ../build/NEWS:6544 ../build/NEWS:7093 ../build/NEWS:7412 -#: ../build/NEWS:7661 ../build/NEWS:10383 ../build/NEWS:10786 -#: ../build/NEWS:11016 ../build/NEWS:11174 ../build/NEWS:11390 -#: ../build/NEWS:11643 ../build/NEWS:12819 ../build/NEWS:13105 -#: ../build/NEWS:14974 ../build/NEWS:15514 ../build/NEWS:15868 -#: ../build/NEWS:16260 ../build/NEWS:16637 ../build/NEWS:17112 -#: ../build/NEWS:17438 ../build/NEWS:18552 ../build/NEWS:18825 -#: ../build/NEWS:19036 ../build/NEWS:19306 ../build/NEWS:20443 -#: ../build/NEWS:21752 ../build/NEWS:21920 ../build/NEWS:22486 -#: ../build/NEWS:23006 ../build/NEWS:23339 ../build/NEWS:23851 -#: ../build/NEWS:25874 -msgid "IDLE" -msgstr "IDLE" - -#: ../build/NEWS:235 -msgid "" -"`bpo-43008 `__: Make IDLE invoke :func:" -"`sys.excepthook` in normal, 2-process mode." -msgstr "" - -#: ../build/NEWS:238 -msgid "" -"`bpo-33065 `__: Fix problem debugging " -"user classes with __repr__ method." -msgstr "" - -#: ../build/NEWS:240 -msgid "" -"`bpo-32631 `__: Finish zzdummy example " -"extension module: make menu entries work; add docstrings and tests with 100% " -"coverage." -msgstr "" - -#: ../build/NEWS:244 ../build/NEWS:1784 ../build/NEWS:2246 ../build/NEWS:2719 -#: ../build/NEWS:5701 ../build/NEWS:6561 ../build/NEWS:7100 ../build/NEWS:7441 -#: ../build/NEWS:10565 ../build/NEWS:11187 ../build/NEWS:11404 -#: ../build/NEWS:11664 ../build/NEWS:12270 ../build/NEWS:12858 -#: ../build/NEWS:15171 ../build/NEWS:15559 ../build/NEWS:15900 -#: ../build/NEWS:16323 ../build/NEWS:16809 ../build/NEWS:17177 -#: ../build/NEWS:17571 ../build/NEWS:17645 ../build/NEWS:18630 -#: ../build/NEWS:19100 ../build/NEWS:19420 ../build/NEWS:20695 -#: ../build/NEWS:21813 ../build/NEWS:22660 ../build/NEWS:23189 -#: ../build/NEWS:23876 ../build/NEWS:24095 ../build/NEWS:24303 -#: ../build/NEWS:26214 -msgid "Tools/Demos" -msgstr "" - -#: ../build/NEWS:246 -msgid "" -"`bpo-42726 `__: Fixed Python 3 " -"compatibility issue with gdb/libpython.py handling of attribute dictionaries." -msgstr "" - -#: ../build/NEWS:249 -msgid "" -"`bpo-42613 `__: Fix ``freeze.py`` tool " -"to use the prope config and library directories. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:253 ../build/NEWS:686 ../build/NEWS:865 ../build/NEWS:1042 -#: ../build/NEWS:1267 ../build/NEWS:1480 ../build/NEWS:1797 ../build/NEWS:2258 -#: ../build/NEWS:2731 ../build/NEWS:3103 ../build/NEWS:3491 ../build/NEWS:3878 -#: ../build/NEWS:5726 ../build/NEWS:6567 ../build/NEWS:7105 ../build/NEWS:7448 -#: ../build/NEWS:10604 ../build/NEWS:10694 ../build/NEWS:11410 -#: ../build/NEWS:11980 ../build/NEWS:12277 ../build/NEWS:12870 -#: ../build/NEWS:13132 ../build/NEWS:15202 ../build/NEWS:15577 -#: ../build/NEWS:15910 ../build/NEWS:16330 ../build/NEWS:17135 -#: ../build/NEWS:17464 ../build/NEWS:17632 ../build/NEWS:18133 -#: ../build/NEWS:18572 ../build/NEWS:19071 ../build/NEWS:19412 -#: ../build/NEWS:20716 ../build/NEWS:21191 ../build/NEWS:21780 -#: ../build/NEWS:24119 ../build/NEWS:24434 ../build/NEWS:26037 -msgid "C API" -msgstr "" - -#: ../build/NEWS:255 -msgid "" -"`bpo-42591 `__: Export the :c:func:" -"`Py_FrozenMain` function: fix a Python 3.9.0 regression. Python 3.9 uses ``-" -"fvisibility=hidden`` and the function was not exported explicitly and so not " -"exported." -msgstr "" - -#: ../build/NEWS:259 -msgid "" -"`bpo-40052 `__: Fix an alignment build " -"warning/error in function ``PyVectorcall_Function()``. Patch by Andreas " -"Schneider, Antoine Pitrou and Petr Viktorin." -msgstr "" - -#: ../build/NEWS:265 -msgid "Python 3.9.1 final" -msgstr "" - -#: ../build/NEWS:267 -msgid "*Release date: 2020-12-07*" -msgstr "" - -#: ../build/NEWS:272 -msgid "" -"`bpo-42576 `__: ``types.GenericAlias`` " -"will now raise a ``TypeError`` when attempting to initialize with a keyword " -"argument. Previously, this would cause the interpreter to crash if the " -"interpreter was compiled with debug symbols. This does not affect " -"interpreters compiled for release. Patch by Ken Jin." -msgstr "" - -#: ../build/NEWS:281 -msgid "" -"`bpo-5054 `__: CGIHTTPRequestHandler." -"run_cgi() HTTP_ACCEPT improperly parsed. Replace the special purpose " -"getallmatchingheaders with generic get_all method and add relevant tests." -msgstr "" - -#: ../build/NEWS:285 -msgid "Original Patch by Martin Panter. Modified by Senthil Kumaran." -msgstr "" - -#: ../build/NEWS:287 -msgid "" -"`bpo-17735 `__: :func:`inspect." -"findsource` now raises :exc:`OSError` instead of :exc:`IndexError` when :" -"attr:`co_lineno` of a code object is greater than the file length. This can " -"happen, for example, when a file is edited after it was imported. PR by " -"Irit Katriel." -msgstr "" - -#: ../build/NEWS:292 -msgid "" -"`bpo-42116 `__: Fix handling of trailing " -"comments by :func:`inspect.getsource`." -msgstr "" - -#: ../build/NEWS:294 -msgid "" -"`bpo-42487 `__: ChainMap.__iter__ no " -"longer calls __getitem__ on underlying maps" -msgstr "" - -#: ../build/NEWS:297 -msgid "" -"`bpo-42482 `__: :class:`~traceback." -"TracebackException` no longer holds a reference to the exception's traceback " -"object. Consequently, instances of TracebackException for equivalent but non-" -"equal exceptions now compare as equal." -msgstr "" - -#: ../build/NEWS:302 -msgid "" -"`bpo-42406 `__: We fixed an issue in " -"`pickle.whichmodule` in which importing `multiprocessing` could change the " -"how pickle identifies which module an object belongs to, potentially " -"breaking the unpickling of those objects." -msgstr "" - -#: ../build/NEWS:306 -msgid "" -"`bpo-34215 `__: Clarify the error " -"message for :exc:`asyncio.IncompleteReadError` when ``expected`` is ``None``." -msgstr "" - -#: ../build/NEWS:309 -msgid "" -"`bpo-12800 `__: Extracting a symlink " -"from a tarball should succeed and overwrite the symlink if it already " -"exists. The fix is to remove the existing file or symlink before extraction. " -"Based on patch by Chris AtLee, Jeffrey Kintscher, and Senthil Kumaran." -msgstr "" - -#: ../build/NEWS:317 -msgid "" -"`bpo-41473 `__: Reenable test_gdb on gdb " -"9.2 and newer: https://bugzilla.redhat.com/show_bug.cgi?id=1866884 bug is " -"fixed in gdb 10.1." -msgstr "" - -#: ../build/NEWS:321 -msgid "" -"`bpo-42553 `__: Fix ``test_asyncio." -"test_call_later()`` race condition: don't measure asyncio performance in the " -"``call_later()`` unit test. The test failed randomly on the CI." -msgstr "" - -#: ../build/NEWS:328 -msgid "" -"`bpo-41116 `__: If no explicit macOS SDK " -"was specified, setup.py should check for Tcl and TK frameworks in /Library/" -"Frameworks; the previous commit inadvertently broke that test." -msgstr "" - -#: ../build/NEWS:332 -msgid "" -"`bpo-42504 `__: Fix build on macOS Big " -"Sur when MACOSX_DEPLOYMENT_TARGET=11" -msgstr "" - -#: ../build/NEWS:337 -msgid "" -"`bpo-42508 `__: Keep IDLE running on " -"macOS. Remove obsolete workaround that prevented running files with " -"shortcuts when using new universal2 installers built on macOS 11." -msgstr "" - -#: ../build/NEWS:343 -msgid "Python 3.9.1 release candidate 1" -msgstr "" - -#: ../build/NEWS:345 -msgid "*Release date: 2020-11-24*" -msgstr "" - -#: ../build/NEWS:350 -msgid "" -"`bpo-42103 `__: Prevented potential DoS " -"attack via CPU and RAM exhaustion when processing malformed Apple Property " -"List files in binary format." -msgstr "" - -#: ../build/NEWS:353 -msgid "" -"`bpo-42051 `__: The :mod:`plistlib` " -"module no longer accepts entity declarations in XML plist files to avoid XML " -"vulnerabilities. This should not affect users as entity declarations are not " -"used in regular plist files." -msgstr "" - -#: ../build/NEWS:358 -msgid "" -"`bpo-40791 `__: Add ``volatile`` to the " -"accumulator variable in ``hmac.compare_digest``, making constant-time-" -"defeating optimizations less likely." -msgstr "" - -#: ../build/NEWS:365 -msgid "" -"`bpo-41686 `__: On Windows, the " -"``SIGINT`` event, ``_PyOS_SigintEvent()``, is now created even if Python is " -"configured to not install signal handlers (if :c:member:`PyConfig." -"install_signal_handlers` equals to 0, or ``Py_InitializeEx(0)``)." -msgstr "" - -#: ../build/NEWS:370 -msgid "" -"`bpo-42381 `__: Allow assignment " -"expressions in set literals and set comprehensions as per PEP 572. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:373 -msgid "" -"`bpo-42374 `__: Fix a regression " -"introduced by the new parser, where an unparenthesized walrus operator was " -"not allowed within generator expressions." -msgstr "" - -#: ../build/NEWS:377 -msgid "" -"`bpo-42296 `__: On Windows, fix a " -"regression in signal handling which prevented to interrupt a program using " -"CTRL+C. The signal handler can be run in a thread different than the Python " -"thread, in which case the test deciding if the thread can handle signals is " -"wrong." -msgstr "" - -#: ../build/NEWS:382 -msgid "" -"`bpo-42332 `__: :class:`types." -"GenericAlias` objects can now be the targets of weakrefs." -msgstr "" - -#: ../build/NEWS:385 -msgid "" -"`bpo-42218 `__: Fixed a bug in the PEG " -"parser that was causing crashes in debug mode. Now errors are checked in " -"left-recursive rules to avoid cases where such errors do not get handled in " -"time and appear as long-distance crashes in other places." -msgstr "" - -#: ../build/NEWS:390 -msgid "" -"`bpo-42214 `__: Fixed a possible crash " -"in the PEG parser when checking for the '!=' token in the ``barry_as_flufl`` " -"rule. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:393 -msgid "" -"`bpo-42143 `__: Fix handling of errors " -"during creation of ``PyFunctionObject``, which resulted in operations on " -"uninitialized memory. Patch by Yonatan Goldschmidt." -msgstr "" - -#: ../build/NEWS:397 -msgid "" -"`bpo-41659 `__: Fix a bug in the parser, " -"where a curly brace following a `primary` didn't fail immediately. This led " -"to invalid expressions like `a {b}` to throw a :exc:`SyntaxError` with a " -"wrong offset, or invalid expressions ending with a curly brace like `a {` to " -"not fail immediately in the REPL." -msgstr "" - -#: ../build/NEWS:403 -msgid "" -"`bpo-42150 `__: Fix possible buffer " -"overflow in the new parser when checking for continuation lines. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:406 -msgid "" -"`bpo-42123 `__: Run the parser two " -"times. On the first run, disable all the rules that only generate better " -"error messages to gain performance. If there's a parse failure, run the " -"parser a second time with those enabled." -msgstr "" - -#: ../build/NEWS:410 -msgid "" -"`bpo-42057 `__: Fix peephole optimizer " -"misoptimize conditional jump + JUMP_IF_NOT_EXC_MATCH pair." -msgstr "" - -#: ../build/NEWS:413 -msgid "" -"`bpo-41984 `__: The garbage collector " -"now tracks all user-defined classes. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:416 -msgid "" -"`bpo-41993 `__: Fixed potential issues " -"with removing not completely initialized module from ``sys.modules`` when " -"import fails." -msgstr "" - -#: ../build/NEWS:419 -msgid "" -"`bpo-41979 `__: Star-unpacking is now " -"allowed for with item's targets in the PEG parser." -msgstr "" - -#: ../build/NEWS:422 -msgid "" -"`bpo-41909 `__: Fixed stack overflow in :" -"func:`issubclass` and :func:`isinstance` when getting the ``__bases__`` " -"attribute leads to infinite recursion." -msgstr "" - -#: ../build/NEWS:426 -msgid "" -"`bpo-41894 `__: When loading a native " -"module and a load failure occurs, prevent a possible UnicodeDecodeError when " -"not running in a UTF-8 locale by decoding the load error message using the " -"current locale's encoding." -msgstr "" - -#: ../build/NEWS:430 -msgid "" -"`bpo-39934 `__: Correctly count control " -"blocks in 'except' in compiler. Ensures that a syntax error, rather a fatal " -"error, occurs for deeply nested, named exception handlers." -msgstr "" - -#: ../build/NEWS:437 -msgid "" -"`bpo-42328 `__: Fixed :meth:`tkinter.ttk." -"Style.map`. The function accepts now the representation of the default state " -"as empty sequence (as returned by ``Style.map()``). The structure of the " -"result is now the same on all platform and does not depend on the value of " -"``wantobjects``." -msgstr "" - -#: ../build/NEWS:442 -msgid "" -"`bpo-42345 `__: Fix various issues with " -"``typing.Literal`` parameter handling (flatten, deduplicate, use type to " -"cache key). Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:446 -msgid "" -"`bpo-42350 `__: Fix the :class:" -"`threading.Thread` class at fork: do nothing if the thread is already " -"stopped (ex: fork called at Python exit). Previously, an error was logged in " -"the child process." -msgstr "" - -#: ../build/NEWS:450 -msgid "" -"`bpo-42014 `__: The ``onerror`` callback " -"from ``shutil.rmtree`` now receives correct function when ``os.open`` fails." -msgstr "" - -#: ../build/NEWS:453 -msgid "" -"`bpo-42237 `__: Fix `os.sendfile()` on " -"illumos." -msgstr "" - -#: ../build/NEWS:455 -msgid "" -"`bpo-42249 `__: Fixed writing binary " -"Plist files larger than 4 GiB." -msgstr "" - -#: ../build/NEWS:457 -msgid "" -"`bpo-35455 `__: On Solaris, :func:`~time." -"thread_time` is now implemented with ``gethrvtime()`` because " -"``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` is not always available. Patch by " -"Jakub Kulik." -msgstr "" - -#: ../build/NEWS:461 -msgid "" -"`bpo-42233 `__: The :func:`repr` of :mod:" -"`typing` types containing :ref:`Generic Alias Types ` " -"previously did not show the parameterized types in the ``GenericAlias``. " -"They have now been changed to do so." -msgstr "" - -#: ../build/NEWS:466 -msgid "" -"`bpo-41754 `__: webbrowser: Ignore " -"*NotADirectoryError* when calling ``xdg-settings``." -msgstr "" - -#: ../build/NEWS:469 -msgid "" -"`bpo-29566 `__: ``binhex.binhex()`` " -"consisently writes macOS 9 line endings." -msgstr "" - -#: ../build/NEWS:471 -msgid "" -"`bpo-42183 `__: Fix a stack overflow " -"error for asyncio Task or Future repr()." -msgstr "" - -#: ../build/NEWS:473 -msgid "" -"The overflow occurs under some circumstances when a Task or Future " -"recursively returns itself." -msgstr "" - -#: ../build/NEWS:476 -msgid "" -"`bpo-42146 `__: Fix memory leak in :func:" -"`subprocess.Popen` in case an uid (gid) specified in `user` (`group`, " -"`extra_groups`) overflows `uid_t` (`gid_t`)." -msgstr "" - -#: ../build/NEWS:480 -msgid "" -"`bpo-42140 `__: Improve asyncio.wait " -"function to create the futures set just one time." -msgstr "" - -#: ../build/NEWS:483 -msgid "" -"`bpo-42103 `__: :exc:`~plistlib." -"InvalidFileException` and :exc:`RecursionError` are now the only errors " -"caused by loading malformed binary Plist file (previously ValueError and " -"TypeError could be raised in some specific cases)." -msgstr "" - -#: ../build/NEWS:488 -msgid "" -"`bpo-41052 `__: Pickling heap types " -"implemented in C with protocols 0 and 1 raises now an error instead of " -"producing incorrect data." -msgstr "" - -#: ../build/NEWS:491 -msgid "" -"`bpo-41491 `__: plistlib: fix parsing " -"XML plists with hexadecimal integer values" -msgstr "" - -#: ../build/NEWS:494 -msgid "" -"`bpo-42065 `__: Fix an incorrectly " -"formatted error from :meth:`_codecs.charmap_decode` when called with a " -"mapped value outside the range of valid Unicode code points. PR by Max " -"Bernstein." -msgstr "" - -#: ../build/NEWS:498 -msgid "" -"`bpo-41966 `__: Fix pickling pure " -"Python :class:`datetime.time` subclasses. Patch by Dean Inwood." -msgstr "" - -#: ../build/NEWS:501 -msgid "" -"`bpo-41976 `__: Fixed a bug that was " -"causing :func:`ctypes.util.find_library` to return ``None`` when triying to " -"locate a library in an environment when gcc>=9 is available and ``ldconfig`` " -"is not. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:505 -msgid "" -"`bpo-41900 `__: C14N 2.0 serialisation " -"in xml.etree.ElementTree failed for unprefixed attributes when a default " -"namespace was defined." -msgstr "" - -#: ../build/NEWS:508 -msgid "" -"`bpo-41840 `__: Fix a bug in the :mod:" -"`symtable` module that was causing module-scope global variables to not be " -"reported as both local and global. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:512 -msgid "" -"`bpo-41831 `__: ``str()`` for the " -"``type`` attribute of the ``tkinter.Event`` object always returns now the " -"numeric code returned by Tk instead of the name of the event type." -msgstr "" - -#: ../build/NEWS:516 -msgid "" -"`bpo-41817 `__: fix `tkinter.EventType` " -"Enum so all members are strings, and none are tuples" -msgstr "" - -#: ../build/NEWS:519 ../build/NEWS:704 -msgid "" -"`bpo-41815 `__: Fix SQLite3 segfault " -"when backing up closed database. Patch contributed by Peter David McCormick." -msgstr "" - -#: ../build/NEWS:522 -msgid "" -"`bpo-41316 `__: Fix the :mod:`tarfile` " -"module to write only basename of TAR file to GZIP compression header." -msgstr "" - -#: ../build/NEWS:525 -msgid "" -"`bpo-16396 `__: Allow ``ctypes." -"wintypes`` to be imported on non-Windows systems." -msgstr "" - -#: ../build/NEWS:528 -msgid "" -"`bpo-40592 `__: :func:`shutil.which` now " -"ignores empty entries in :envvar:`PATHEXT` instead of treating them as a " -"match." -msgstr "" - -#: ../build/NEWS:531 -msgid "" -"`bpo-40550 `__: Fix time-of-check/time-" -"of-action issue in subprocess.Popen.send_signal." -msgstr "" - -#: ../build/NEWS:534 -msgid "" -"`bpo-40492 `__: Fix ``--outfile`` for :" -"mod:`cProfile` / :mod:`profile` not writing the output file in the original " -"directory when the program being profiled changes the working directory. PR " -"by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:538 -msgid "" -"`bpo-40105 `__: ZipFile truncates files " -"to avoid corruption when a shorter comment is provided in append (\"a\") " -"mode. Patch by Jan Mazur." -msgstr "" - -#: ../build/NEWS:541 -msgid "" -"`bpo-27321 `__: Fixed KeyError exception " -"when flattening an email to a string attempts to replace a non-existent " -"Content-Transfer-Encoding header." -msgstr "" - -#: ../build/NEWS:547 -msgid "" -"`bpo-42153 `__: Fix the URL for the IMAP " -"protocol documents." -msgstr "" - -#: ../build/NEWS:549 -msgid "" -"`bpo-42061 `__: Document __format__ " -"functionality for IP addresses." -msgstr "" - -#: ../build/NEWS:551 -msgid "" -"`bpo-41910 `__: Document the default " -"implementation of `object.__eq__`." -msgstr "" - -#: ../build/NEWS:553 -msgid "" -"`bpo-42010 `__: Clarify that " -"subscription expressions are also valid for certain :term:`classes ` " -"and :term:`types ` in the standard library, and for user-defined " -"classes and types if the classmethod :meth:`__class_getitem__` is provided." -msgstr "" - -#: ../build/NEWS:558 -msgid "" -"`bpo-41805 `__: Documented :ref:`generic " -"alias type ` and :data:`types.GenericAlias`. Also added " -"an entry in glossary for :term:`generic types `." -msgstr "" - -#: ../build/NEWS:562 -msgid "" -"`bpo-41774 `__: In Programming FAQ " -"\"Sequences (Tuples/Lists)\" section, add \"How do you remove multiple items " -"from a list\"." -msgstr "" - -#: ../build/NEWS:565 -msgid "" -"`bpo-35293 `__: Fix " -"RemovedInSphinx40Warning when building the documentation. Patch by Dong-hee " -"Na." -msgstr "" - -#: ../build/NEWS:568 -msgid "" -"`bpo-41726 `__: Update the refcounts " -"info of ``PyType_FromModuleAndSpec``." -msgstr "" - -#: ../build/NEWS:570 -msgid "" -"`bpo-39693 `__: Fix tarfile's " -"extractfile documentation" -msgstr "" - -#: ../build/NEWS:572 -msgid "" -"`bpo-39416 `__: Document some " -"restrictions on the default string representations of numeric classes." -msgstr "" - -#: ../build/NEWS:578 -msgid "" -"`bpo-40754 `__: Include " -"``_testinternalcapi`` module in Windows installer for test suite" -msgstr "" - -#: ../build/NEWS:581 -msgid "" -"`bpo-41739 `__: Fix test_logging." -"test_race_between_set_target_and_flush(): the test now waits until all " -"threads complete to avoid leaking running threads." -msgstr "" - -#: ../build/NEWS:585 -msgid "" -"`bpo-41970 `__: Avoid a test failure in " -"``test_lib2to3`` if the module has already imported at the time the test " -"executes. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:588 -msgid "" -"`bpo-41944 `__: Tests for CJK codecs no " -"longer call ``eval()`` on content received via HTTP." -msgstr "" - -#: ../build/NEWS:591 -msgid "" -"`bpo-41939 `__: Fix test_site." -"test_license_exists_at_url(): call ``urllib.request.urlcleanup()`` to reset " -"the global ``urllib.request._opener``. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:595 -msgid "" -"`bpo-41561 `__: test_ssl: skip " -"test_min_max_version_mismatch when TLS 1.0 is not available" -msgstr "" - -#: ../build/NEWS:598 ../build/NEWS:720 -msgid "" -"`bpo-41602 `__: Add tests for SIGINT " -"handling in the runpy module." -msgstr "" - -#: ../build/NEWS:600 -msgid "" -"`bpo-41306 `__: Fixed a failure in " -"``test_tk.test_widgets.ScaleTest`` happening when executing the test with Tk " -"8.6.10." -msgstr "" - -#: ../build/NEWS:606 -msgid "" -"`bpo-42398 `__: Fix a race condition in " -"\"make regen-all\" when make -jN option is used to run jobs in parallel. The " -"clinic.py script now only use atomic write to write files. Moveover, " -"generated files are now left unchanged if the content does not change, to " -"not change the file modification time." -msgstr "" - -#: ../build/NEWS:611 -msgid "" -"`bpo-41617 `__: Fix building " -"``pycore_bitutils.h`` internal header on old clang version without " -"``__builtin_bswap16()`` (ex: Xcode 4.6.3 on Mac OS X 10.7). Patch by Joshua " -"Root and Victor Stinner." -msgstr "" - -#: ../build/NEWS:615 ../build/NEWS:725 -msgid "" -"`bpo-38249 `__: Update :c:macro:" -"`Py_UNREACHABLE` to use __builtin_unreachable() if only the compiler is able " -"to use it. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:618 -msgid "" -"`bpo-40998 `__: Addressed three compiler " -"warnings found by undefined behavior sanitizer (ubsan)." -msgstr "" - -#: ../build/NEWS:624 -msgid "" -"`bpo-42120 `__: Remove macro definition " -"of ``copysign`` (to ``_copysign``) in headers." -msgstr "" - -#: ../build/NEWS:627 -msgid "" -"`bpo-38439 `__: Updates the icons for " -"IDLE in the Windows Store package." -msgstr "" - -#: ../build/NEWS:629 -msgid "" -"`bpo-41744 `__: Fixes automatic import " -"of props file when using the Nuget package." -msgstr "" - -#: ../build/NEWS:632 -msgid "" -"`bpo-41557 `__: Update Windows installer " -"to use SQLite 3.33.0." -msgstr "" - -#: ../build/NEWS:634 -msgid "" -"`bpo-38324 `__: Avoid Unicode errors " -"when accessing certain locale data on Windows." -msgstr "" - -#: ../build/NEWS:640 -msgid "" -"`bpo-41116 `__: Ensure distutils." -"unixxcompiler.find_library_file can find system provided libraries on macOS " -"11." -msgstr "" - -#: ../build/NEWS:643 -msgid "" -"`bpo-41100 `__: Add support for macOS 11 " -"and Apple Silicon systems." -msgstr "" - -#: ../build/NEWS:645 -msgid "" -"It is now possible to build \"Universal 2\" binaries using \"--enable-" -"universalsdk --with-universal-archs=universal2\"." -msgstr "" - -#: ../build/NEWS:648 -msgid "" -"Binaries build on later macOS versions can be deployed back to older " -"versions (tested up to macOS 10.9), when using the correct deployment " -"target. This is tested using Xcode 11 and later." -msgstr "" - -#: ../build/NEWS:652 -msgid "" -"`bpo-38443 `__: The ``--enable-" -"universalsdk`` and ``--with-universal-archs`` options for the configure " -"script now check that the specified architectures can be used." -msgstr "" - -#: ../build/NEWS:656 -msgid "" -"`bpo-41471 `__: Ignore invalid prefix " -"lengths in system proxy excludes." -msgstr "" - -#: ../build/NEWS:658 -msgid "" -"`bpo-41557 `__: Update macOS installer " -"to use SQLite 3.33.0." -msgstr "" - -#: ../build/NEWS:663 -msgid "" -"`bpo-42426 `__: Fix reporting offset of " -"the RE error in searchengine." -msgstr "" - -#: ../build/NEWS:665 -msgid "" -"`bpo-42415 `__: Get docstrings for IDLE " -"calltips more often by using inspect.getdoc." -msgstr "" - -#: ../build/NEWS:668 -msgid "" -"`bpo-33987 `__: Mostly finish using ttk " -"widgets, mainly for editor, settings, and searches. Some patches by Mark " -"Roseman." -msgstr "" - -#: ../build/NEWS:671 -msgid "" -"`bpo-41775 `__: Use 'IDLE Shell' as " -"shell title" -msgstr "" - -#: ../build/NEWS:673 -msgid "" -"`bpo-35764 `__: Rewrite the Calltips doc " -"section." -msgstr "" - -#: ../build/NEWS:675 -msgid "" -"`bpo-40181 `__: In calltips, stop " -"reminding that '/' marks the end of positional-only arguments." -msgstr "" - -#: ../build/NEWS:678 -msgid "" -"`bpo-40511 `__: Typing opening and " -"closing parentheses inside the parentheses of a function call will no longer " -"cause unnecessary \"flashing\" off and on of an existing open call-tip, e.g. " -"when typed in a string literal." -msgstr "" - -#: ../build/NEWS:682 -msgid "" -"`bpo-38439 `__: Add a 256×256 pixel IDLE " -"icon to the Windows .ico file. Created by Andrew Clover. Remove the low-" -"color gif variations from the .ico file." -msgstr "" - -#: ../build/NEWS:688 -msgid "" -"`bpo-42015 `__: Fix potential crash in " -"deallocating method objects when dynamically allocated `PyMethodDef`'s " -"lifetime is managed through the ``self`` argument of a `PyCFunction`." -msgstr "" - -#: ../build/NEWS:692 -msgid "" -"`bpo-41986 `__: :c:data:" -"`Py_FileSystemDefaultEncodeErrors` and :c:data:`Py_UTF8Mode` are available " -"again in limited API." -msgstr "" - -#: ../build/NEWS:697 -msgid "Python 3.9.0 final" -msgstr "" - -#: ../build/NEWS:699 -msgid "*Release date: 2020-10-04*" -msgstr "" - -#: ../build/NEWS:707 -msgid "" -"`bpo-41662 `__: No longer override " -"exceptions raised in ``__len__()`` of a sequence of parameters in :mod:" -"`sqlite3` with :exc:`~sqlite3.ProgrammingError`." -msgstr "" - -#: ../build/NEWS:711 -msgid "" -"`bpo-41662 `__: Fixed crash when mutate " -"list of parameters during iteration in :mod:`sqlite3`." -msgstr "" - -#: ../build/NEWS:714 -msgid "" -"`bpo-39728 `__: fix default `_missing_` " -"so a duplicate `ValueError` is not set as the `__context__` of the original " -"`ValueError`" -msgstr "" - -#: ../build/NEWS:730 -msgid "Python 3.9.0 release candidate 2" -msgstr "" - -#: ../build/NEWS:732 -msgid "*Release date: 2020-09-16*" -msgstr "" - -#: ../build/NEWS:737 -msgid "" -"`bpo-41780 `__: Fix :meth:`__dir__` of :" -"class:`types.GenericAlias`. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:740 -msgid "" -"`bpo-41690 `__: Fix a possible stack " -"overflow in the parser when parsing functions and classes with a huge " -"ammount of arguments. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:744 -msgid "" -"`bpo-41681 `__: Fixes the wrong error " -"description in the error raised by using 2 `,` in format string in f-string " -"and :meth:`str.format`." -msgstr "" - -#: ../build/NEWS:747 -msgid "" -"`bpo-41654 `__: Fix a crash that " -"occurred when destroying subclasses of :class:`MemoryError`. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:750 -msgid "" -"`bpo-41631 `__: The ``_ast`` module uses " -"again a global state. Using a module state per module instance is causing " -"subtle practical problems. For example, the Mercurial project replaces the " -"``__import__()`` function to implement lazy import, whereas Python expected " -"that ``import _ast`` always return a fully initialized ``_ast`` module." -msgstr "" - -#: ../build/NEWS:756 -msgid "" -"`bpo-41533 `__: Free the stack allocated " -"in ``va_build_stack`` if ``do_mkstack`` fails and the stack is not a " -"``small_stack``." -msgstr "" - -#: ../build/NEWS:759 -msgid "" -"`bpo-41531 `__: Fix a bug that was " -"dropping keys when compiling dict literals with more than 0xFFFF elements. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:762 -msgid "" -"`bpo-41525 `__: The output of ``python --" -"help`` contains now only ASCII characters." -msgstr "" - -#: ../build/NEWS:765 -msgid "" -"`bpo-29590 `__: Make the stack trace " -"correct after calling :meth:`generator.throw` on a generator that has " -"yielded from a ``yield from``." -msgstr "" - -#: ../build/NEWS:772 -msgid "" -"`bpo-41517 `__: fix bug allowing Enums " -"to be extended via multiple inheritance" -msgstr "" - -#: ../build/NEWS:774 -msgid "" -"`bpo-39587 `__: use the correct mix-in " -"data type when constructing Enums" -msgstr "" - -#: ../build/NEWS:776 -msgid "" -"`bpo-41789 `__: Honor `object` overrides " -"in `Enum` class creation (specifically, `__str__`, `__repr__`, `__format__`, " -"and `__reduce_ex__`)." -msgstr "" - -#: ../build/NEWS:779 -msgid "" -"`bpo-39651 `__: Fix a race condition in " -"the ``call_soon_threadsafe()`` method of ``asyncio.ProactorEventLoop``: do " -"nothing if the self-pipe socket has been closed." -msgstr "" - -#: ../build/NEWS:783 -msgid "" -"`bpo-41720 `__: Fixed :meth:`turtle." -"Vec2D.__rmul__` for arguments which are not int or float." -msgstr "" - -#: ../build/NEWS:786 -msgid "" -"`bpo-41696 `__: Fix handling of debug " -"mode in :func:`asyncio.run`. This allows setting ``PYTHONASYNCIODEBUG`` or " -"``-X dev`` to enable asyncio debug mode when using :func:`asyncio.run`." -msgstr "" - -#: ../build/NEWS:790 -msgid "" -"`bpo-41687 `__: Fix implementation of " -"sendfile to be compatible with Solaris." -msgstr "" - -#: ../build/NEWS:792 -msgid "" -"`bpo-39010 `__: Restarting a " -"``ProactorEventLoop`` on Windows no longer logs spurious " -"``ConnectionResetErrors``." -msgstr "" - -#: ../build/NEWS:795 -msgid "" -"`bpo-41609 `__: The pdb whatis command " -"correctly reports instance methods as 'Method' rather than 'Function'." -msgstr "" - -#: ../build/NEWS:798 -msgid "" -"`bpo-32751 `__: When cancelling the task " -"due to a timeout, :meth:`asyncio.wait_for` will now wait until the " -"cancellation is complete also in the case when *timeout* is <= 0, like it " -"does with positive timeouts." -msgstr "" - -#: ../build/NEWS:803 -msgid "" -"`bpo-37658 `__: :meth:`asyncio.wait_for` " -"now properly handles races between cancellation of itself and the completion " -"of the wrapped awaitable." -msgstr "" - -#: ../build/NEWS:806 -msgid "" -"`bpo-40782 `__: Change the method " -"asyncio.AbstractEventLoop.run_in_executor to not be a coroutine." -msgstr "" - -#: ../build/NEWS:809 -msgid "" -"`bpo-41520 `__: Fix :mod:`codeop` " -"regression that prevented turning compile warnings into errors." -msgstr "" - -#: ../build/NEWS:812 -msgid "" -"`bpo-41503 `__: Fixed a race between " -"setTarget and flush in logging.handlers.MemoryHandler." -msgstr "" - -#: ../build/NEWS:815 -msgid "" -"`bpo-41344 `__: Prevent creating :class:" -"`shared_memory.SharedMemory` objects with :code:`size=0`." -msgstr "" - -#: ../build/NEWS:818 -msgid "" -"`bpo-41025 `__: Fixed an issue " -"preventing the C implementation of :class:`zoneinfo.ZoneInfo` from being " -"subclassed." -msgstr "" - -#: ../build/NEWS:821 -msgid "" -"`bpo-31122 `__: ssl.wrap_socket() now " -"raises ssl.SSLEOFError rather than OSError when peer closes connection " -"during TLS negotiation" -msgstr "" - -#: ../build/NEWS:824 -msgid "" -"`bpo-33660 `__: Fix pathlib.PosixPath to " -"resolve a relative path located on the root directory properly." -msgstr "" - -#: ../build/NEWS:830 -msgid "" -"`bpo-37149 `__: Change Shipman tkinter " -"doc link from archive.org to TkDocs. (The doc has been removed from the NMT " -"server.) The new link responds much faster and includes a short explanatory " -"note." -msgstr "" - -#: ../build/NEWS:834 -msgid "" -"`bpo-41624 `__: Fix the signature of :" -"class:`typing.Coroutine`." -msgstr "" - -#: ../build/NEWS:836 -msgid "" -"`bpo-40204 `__: Enable Sphinx 3.2 " -"``c_allow_pre_v3`` option and disable ``c_warn_on_allowed_pre_v3`` option to " -"make the documentation compatible with Sphinx 2 and Sphinx 3." -msgstr "" - -#: ../build/NEWS:840 -msgid "" -"`bpo-40979 `__: Refactored typing.rst, " -"arranging more than 70 classes, functions, and decorators into new sub-" -"sections." -msgstr "" - -#: ../build/NEWS:843 -msgid "" -"`bpo-39883 `__: Make code, examples, and " -"recipes in the Python documentation be licensed under the more permissive " -"BSD0 license in addition to the existing Python 2.0 license." -msgstr "" - -#: ../build/NEWS:850 -msgid "" -"`bpo-41731 `__: Make " -"test_cmd_line_script pass with option '-vv'." -msgstr "" - -#: ../build/NEWS:855 -msgid "" -"`bpo-41617 `__: Fix ``pycore_byteswap." -"h`` header file to support old clang versions: ``__builtin_bswap16()`` is " -"not available in LLVM clang 3.0." -msgstr "" - -#: ../build/NEWS:861 -msgid "" -"`bpo-41526 `__: Fixed layout of final " -"page of the installer by removing the special thanks to Mark Hammond (with " -"his permission)." -msgstr "" - -#: ../build/NEWS:867 -msgid "" -"`bpo-41524 `__: Fix bug in " -"PyOS_mystrnicmp and PyOS_mystricmp that incremented pointers beyond the end " -"of a string." -msgstr "" - -#: ../build/NEWS:872 -msgid "Python 3.9.0 release candidate 1" -msgstr "" - -#: ../build/NEWS:874 -msgid "*Release date: 2020-08-11*" -msgstr "" - -#: ../build/NEWS:879 -msgid "" -"`bpo-38156 `__: Handle interrupts that " -"come after EOF correctly in ``PyOS_StdioReadline``." -msgstr "" - -#: ../build/NEWS:885 -msgid "" -"`bpo-41497 `__: Fix potential " -"UnicodeDecodeError in dis module." -msgstr "" - -#: ../build/NEWS:887 -msgid "" -"`bpo-41490 `__: Update :mod:`ensurepip` " -"to install pip 20.2.1 and setuptools 49.2.1." -msgstr "" - -#: ../build/NEWS:890 -msgid "" -"`bpo-41467 `__: On Windows, fix asyncio " -"``recv_into()`` return value when the socket/pipe is closed (:exc:" -"`BrokenPipeError`): return ``0`` rather than an empty byte string (``b''``)." -msgstr "" - -#: ../build/NEWS:894 -msgid "" -"`bpo-41425 `__: Make tkinter doc example " -"runnable." -msgstr "" - -#: ../build/NEWS:896 -msgid "" -"`bpo-41384 `__: Raise TclError instead " -"of TypeError when an unknown option is passed to tkinter.OptionMenu." -msgstr "" - -#: ../build/NEWS:899 -msgid "" -"`bpo-38731 `__: Fix :exc:`NameError` in " -"command-line interface of :mod:`py_compile`." -msgstr "" - -#: ../build/NEWS:902 -msgid "" -"`bpo-41317 `__: Use add_done_callback() " -"in asyncio.loop.sock_accept() to unsubscribe reader early on cancellation." -msgstr "" - -#: ../build/NEWS:905 -msgid "" -"`bpo-41364 `__: Reduce import overhead " -"of :mod:`uuid`." -msgstr "" - -#: ../build/NEWS:907 -msgid "" -"`bpo-41341 `__: Recursive evaluation of " -"`typing.ForwardRef` in `get_type_hints`." -msgstr "" - -#: ../build/NEWS:910 -msgid "" -"`bpo-41182 `__: selector: use " -"DefaultSelector based upon implementation" -msgstr "" - -#: ../build/NEWS:912 -msgid "" -"`bpo-40726 `__: Handle cases where the " -"``end_lineno`` is ``None`` on :func:`ast.increment_lineno`." -msgstr "" - -#: ../build/NEWS:918 -msgid "" -"`bpo-41045 `__: Add documentation for " -"debug feature of f-strings." -msgstr "" - -#: ../build/NEWS:920 -msgid "" -"`bpo-41314 `__: Changed the release when " -"``from __future__ import annotations`` becomes the default from ``4.0`` to " -"``3.10`` (following a change in PEP 563)." -msgstr "" - -#: ../build/NEWS:927 -msgid "" -"`bpo-41492 `__: Fixes the description " -"that appears in UAC prompts." -msgstr "" - -#: ../build/NEWS:929 -msgid "" -"`bpo-40948 `__: Improve post-install " -"message to direct people to the \"py\" command." -msgstr "" - -#: ../build/NEWS:932 -msgid "" -"`bpo-41412 `__: The installer will now " -"fail to install on Windows 7 and Windows 8. Further, the UCRT dependency is " -"now always downloaded on demand." -msgstr "" - -#: ../build/NEWS:935 -msgid "" -"`bpo-40741 `__: Update Windows release " -"to include SQLite 3.32.3." -msgstr "" - -#: ../build/NEWS:940 -msgid "" -"`bpo-41468 `__: Improve IDLE run crash " -"error message (which users should never see)." -msgstr "" - -#: ../build/NEWS:943 -msgid "" -"`bpo-41373 `__: Save files loaded with " -"no line ending, as when blank, or different line endings, by setting its " -"line ending to the system default. Fix regression in 3.8.4 and 3.9.0b4." -msgstr "" - -#: ../build/NEWS:949 -msgid "Python 3.9.0 beta 5" -msgstr "" - -#: ../build/NEWS:951 -msgid "*Release date: 2020-07-20*" -msgstr "" - -#: ../build/NEWS:956 -msgid "" -"`bpo-41304 `__: Fixes `python3x._pth` " -"being ignored on Windows, caused by the fix for :issue:`29778` " -"(CVE-2020-15801)." -msgstr "" - -#: ../build/NEWS:959 -msgid "" -"`bpo-41162 `__: Audit hooks are now " -"cleared later during finalization to avoid missing events." -msgstr "" - -#: ../build/NEWS:962 -msgid "" -"`bpo-29778 `__: Ensure :file:`python3." -"dll` is loaded from correct locations when Python is embedded " -"(CVE-2020-15523)." -msgstr "" - -#: ../build/NEWS:965 -msgid "" -"`bpo-39603 `__: Prevent http header " -"injection by rejecting control characters in http.client.putrequest(...)." -msgstr "" - -#: ../build/NEWS:971 -msgid "" -"`bpo-41295 `__: Resolve a regression in " -"CPython 3.8.4 where defining \"__setattr__\" in a multi-inheritance setup " -"and calling up the hierarchy chain could fail if builtins/extension types " -"were involved in the base types." -msgstr "" - -#: ../build/NEWS:976 -msgid "" -"`bpo-41247 `__: Always cache the running " -"loop holder when running ``asyncio.set_running_loop``." -msgstr "" - -#: ../build/NEWS:979 -msgid "" -"`bpo-41252 `__: Fix incorrect " -"refcounting in _ssl.c's ``_servername_callback()``." -msgstr "" - -#: ../build/NEWS:982 -msgid "" -"`bpo-41215 `__: Use non-NULL default " -"values in the PEG parser keyword list to overcome a bug that was preventing " -"Python from being properly compiled when using the XLC compiler. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:986 -msgid "" -"`bpo-41218 `__: Python 3.8.3 had a " -"regression where compiling with ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would " -"aggressively mark list comprehension with CO_COROUTINE. Now only list " -"comprehension making use of async/await will tagged as so." -msgstr "" - -#: ../build/NEWS:991 -msgid "" -"`bpo-41175 `__: Guard against a NULL " -"pointer dereference within bytearrayobject triggered by the ``bytearray() + " -"bytearray()`` operation." -msgstr "" - -#: ../build/NEWS:994 -msgid "" -"`bpo-39960 `__: The \"hackcheck\" that " -"prevents sneaking around a type's __setattr__() by calling the superclass " -"method was rewritten to allow C implemented heap types." -msgstr "" - -#: ../build/NEWS:1001 -msgid "" -"`bpo-41288 `__: Unpickling invalid " -"NEWOBJ_EX opcode with the C implementation raises now UnpicklingError " -"instead of crashing." -msgstr "" - -#: ../build/NEWS:1004 -msgid "" -"`bpo-39017 `__: Avoid infinite loop when " -"reading specially crafted TAR files using the tarfile module " -"(CVE-2019-20907)." -msgstr "" - -#: ../build/NEWS:1007 -msgid "" -"`bpo-41235 `__: Fix the error handling " -"in :meth:`ssl.SSLContext.load_dh_params`." -msgstr "" - -#: ../build/NEWS:1010 -msgid "" -"`bpo-41207 `__: In distutils.spawn, " -"restore expectation that DistutilsExecError is raised when the command is " -"not found." -msgstr "" - -#: ../build/NEWS:1013 -msgid "" -"`bpo-39168 `__: Remove the ``__new__`` " -"method of :class:`typing.Generic`." -msgstr "" - -#: ../build/NEWS:1015 -msgid "" -"`bpo-41194 `__: Fix a crash in the " -"``_ast`` module: it can no longer be loaded more than once. It now uses a " -"global state rather than a module state." -msgstr "" - -#: ../build/NEWS:1018 -msgid "" -"`bpo-39384 `__: Fixed email." -"contentmanager to allow set_content() to set a null string." -msgstr "" - -#: ../build/NEWS:1024 -msgid "" -"`bpo-37703 `__: Updated Documentation to " -"comprehensively elaborate on the behaviour of gather.cancel()" -msgstr "" - -#: ../build/NEWS:1030 -msgid "" -"`bpo-40741 `__: Update macOS installer " -"to use SQLite 3.32.3." -msgstr "" - -#: ../build/NEWS:1035 -msgid "" -"`bpo-41300 `__: Save files with non-" -"ascii chars. Fix regression released in 3.9.0b4 and 3.8.4." -msgstr "" - -#: ../build/NEWS:1038 -msgid "" -"`bpo-37765 `__: Add keywords to module " -"name completion list. Rewrite Completions section of IDLE doc." -msgstr "" - -#: ../build/NEWS:1044 -msgid "" -"`bpo-40170 `__: Revert :c:func:" -"`PyType_HasFeature` change: it reads again directly the :c:member:" -"`PyTypeObject.tp_flags` member when the limited C API is not used, rather " -"than always calling :c:func:`PyType_GetFlags` which hides implementation " -"details." -msgstr "" - -#: ../build/NEWS:1051 -msgid "Python 3.9.0 beta 4" -msgstr "" - -#: ../build/NEWS:1053 -msgid "*Release date: 2020-07-02*" -msgstr "" - -#: ../build/NEWS:1058 -msgid "" -"`bpo-41004 `__: The __hash__() methods " -"of ipaddress.IPv4Interface and ipaddress.IPv6Interface incorrectly " -"generated constant hash values of 32 and 128 respectively. This resulted in " -"always causing hash collisions. The fix uses hash() to generate hash values " -"for the tuple of (address, mask length, network address)." -msgstr "" - -#: ../build/NEWS:1067 -msgid "" -"`bpo-41094 `__: Fix decoding errors with " -"audit when open files with non-ASCII names on non-UTF-8 locale." -msgstr "" - -#: ../build/NEWS:1070 -msgid "" -"`bpo-41084 `__: Prefix the error message " -"with 'f-string: ', when parsing an f-string expression which throws a :exc:" -"`SyntaxError`." -msgstr "" - -#: ../build/NEWS:1073 -msgid "" -"`bpo-41076 `__: Pre-feed the parser with " -"the location of the f-string expression, not the f-string itself, which " -"allows us to skip the shifting of the AST node locations after the parsing " -"is completed." -msgstr "" - -#: ../build/NEWS:1077 -msgid "" -"`bpo-40939 `__: Deprecate :c:func:" -"`PyNode_Compile`." -msgstr "" - -#: ../build/NEWS:1079 -msgid "" -"`bpo-41056 `__: Fixes a reference to " -"deallocated stack space during startup when constructing sys.path involving " -"a relative symlink when code was supplied via -c. (discovered via Coverity)" -msgstr "" - -#: ../build/NEWS:1083 -msgid "" -"`bpo-41061 `__: Fix incorrect " -"expressions and asserts in hashtable code and tests." -msgstr "" - -#: ../build/NEWS:1086 -msgid "" -"`bpo-41052 `__: Opt out serialization/" -"deserialization for _random.Random" -msgstr "" - -#: ../build/NEWS:1088 -msgid "" -"`bpo-40939 `__: Deprecate :c:func:" -"`PyParser_SimpleParseStringFlags`, :c:func:" -"`PyParser_SimpleParseStringFlagsFilename` and :c:func:" -"`PyParser_SimpleParseFileFlags`." -msgstr "" - -#: ../build/NEWS:1092 -msgid "" -"`bpo-35975 `__: Stefan Behnel reported " -"that cf_feature_version is used even when PyCF_ONLY_AST is not set. This is " -"against the intention and against the documented behavior, so it's been " -"fixed." -msgstr "" - -#: ../build/NEWS:1096 -msgid "" -"`bpo-40985 `__: Fix a bug that caused " -"the :exc:`SyntaxError` text to be empty when a file ends with a line ending " -"in a line continuation character (i.e. backslash). The error text should " -"contain the text of the last line." -msgstr "" - -#: ../build/NEWS:1100 -msgid "" -"`bpo-40958 `__: Fix a possible buffer " -"overflow in the PEG parser when gathering information for emitting syntax " -"errors. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1103 -msgid "" -"`bpo-40957 `__: Fix refleak in " -"_Py_fopen_obj() when PySys_Audit() fails" -msgstr "" - -#: ../build/NEWS:1105 -msgid "" -"`bpo-40947 `__: The Python :ref:`Path " -"Configuration ` now takes :c:member:`PyConfig.platlibdir` " -"in account." -msgstr "" - -#: ../build/NEWS:1108 -msgid "" -"`bpo-40847 `__: Fix a bug where a line " -"with only a line continuation character is not considered a blank line at " -"tokenizer level. In such cases, more than a single `NEWLINE` token was " -"emitted. The old parser was working around the issue, but the new parser " -"threw a :exc:`SyntaxError` for valid input due to this. For example, an " -"empty line following a line continuation character was interpreted as a :exc:" -"`SyntaxError`." -msgstr "" - -#: ../build/NEWS:1115 -msgid "" -"`bpo-40824 `__: Unexpected errors in " -"calling the ``__iter__`` method are no longer masked by ``TypeError`` in " -"the :keyword:`in` operator and functions :func:`~operator.contains`, :func:" -"`~operator.indexOf` and :func:`~operator.countOf` of the :mod:`operator` " -"module." -msgstr "" - -#: ../build/NEWS:1120 -msgid "" -"`bpo-19569 `__: Add the private macros " -"``_Py_COMP_DIAG_PUSH``, ``_Py_COMP_DIAG_IGNORE_DEPR_DECLS``, and " -"``_Py_COMP_DIAG_POP``." -msgstr "" - -#: ../build/NEWS:1126 -msgid "" -"`bpo-41193 `__: The ``write_history()`` " -"atexit function of the readline completer now ignores any :exc:`OSError` to " -"ignore error if the filesystem is read-only, instead of only ignoring :exc:" -"`FileNotFoundError` and :exc:`PermissionError`." -msgstr "" - -#: ../build/NEWS:1131 -msgid "" -"`bpo-41161 `__: The decimal module now " -"requires libmpdec-2.5.0. Users of --with-system-libmpdec should update their " -"system library." -msgstr "" - -#: ../build/NEWS:1134 -msgid "" -"`bpo-40874 `__: The decimal module now " -"requires libmpdec-2.5.0." -msgstr "" - -#: ../build/NEWS:1136 -msgid "" -"`bpo-41138 `__: Fixed the :mod:`trace` " -"module CLI for Python source files with non-UTF-8 encoding." -msgstr "" - -#: ../build/NEWS:1139 -msgid "" -"`bpo-31938 `__: Fix default-value " -"signatures of several functions in the :mod:`select` module - by Anthony " -"Sottile." -msgstr "" - -#: ../build/NEWS:1142 -msgid "" -"`bpo-41068 `__: Fixed reading files with " -"non-ASCII names from ZIP archive directly after writing them." -msgstr "" - -#: ../build/NEWS:1145 -msgid "" -"`bpo-41058 `__: :func:`pdb." -"find_function` now correctly determines the source file encoding." -msgstr "" - -#: ../build/NEWS:1148 -msgid "" -"`bpo-41056 `__: Fix a NULL pointer " -"dereference within the ssl module during a MemoryError in the keylog " -"callback. (discovered by Coverity)" -msgstr "" - -#: ../build/NEWS:1151 -msgid "" -"`bpo-41056 `__: Fixed an instance where " -"a MemoryError within the zoneinfo module might not be reported or not " -"reported at its source. (found by Coverity)" -msgstr "" - -#: ../build/NEWS:1155 -msgid "" -"`bpo-41048 `__: :func:`mimetypes." -"read_mime_types` function reads the rule file using UTF-8 encoding, not the " -"locale encoding. Patch by Srinivas Reddy Thatiparthy." -msgstr "" - -#: ../build/NEWS:1159 -msgid "" -"`bpo-41043 `__: Fixed the use of :func:" -"`~glob.glob` in the stdlib: literal part of the path is now always correctly " -"escaped." -msgstr "" - -#: ../build/NEWS:1162 -msgid "" -"`bpo-40448 `__: :mod:`ensurepip` now " -"disables the use of `pip` cache when installing the bundled versions of " -"`pip` and `setuptools`. Patch by Krzysztof Konopko." -msgstr "" - -#: ../build/NEWS:1166 -msgid "" -"`bpo-40967 `__: Removed :meth:`asyncio." -"Task.current_task` and :meth:`asyncio.Task.all_tasks`. Patch contributed by " -"Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:1169 -msgid "" -"`bpo-40955 `__: Fix a minor memory leak " -"in :mod:`subprocess` module when extra_groups was specified." -msgstr "" - -#: ../build/NEWS:1172 -msgid "" -"`bpo-40855 `__: The standard deviation " -"and variance functions in the statistics module were ignoring their mu and " -"xbar arguments." -msgstr "" - -#: ../build/NEWS:1175 -msgid "" -"`bpo-40924 `__: Removed support for " -"loaders implementing .files and supplying TraversableResources." -msgstr "" - -#: ../build/NEWS:1178 -msgid "" -"`bpo-40939 `__: Use the new PEG parser " -"when generating the stdlib :mod:`keyword` module." -msgstr "" - -#: ../build/NEWS:1181 -msgid "" -"`bpo-40834 `__: Fix truncate when " -"sending str object with_xxsubinterpreters.channel_send." -msgstr "" - -#: ../build/NEWS:1184 -msgid "" -"`bpo-26407 `__: Unexpected errors in " -"calling the ``__iter__`` method are no longer masked by ``TypeError`` in :" -"func:`csv.reader`, :func:`csv.writer.writerow` and :meth:`csv.writer." -"writerows`." -msgstr "" - -#: ../build/NEWS:1188 -msgid "" -"`bpo-38488 `__: Update ensurepip to " -"install pip 20.1.1 and setuptools 47.1.0." -msgstr "" - -#: ../build/NEWS:1190 -msgid "" -"`bpo-36543 `__: Restored the deprecated :" -"mod:`xml.etree.cElementTree` module." -msgstr "" - -#: ../build/NEWS:1192 -msgid "" -"`bpo-34226 `__: Fix `cgi." -"parse_multipart` without content_length. Patch by Roger Duran" -msgstr "" - -#: ../build/NEWS:1198 -msgid "" -"`bpo-41085 `__: Fix integer overflow in " -"the :meth:`array.array.index` method on 64-bit Windows for index larger than " -"``2**31``." -msgstr "" - -#: ../build/NEWS:1201 -msgid "" -"`bpo-41069 `__: :data:`test.support." -"TESTFN` and the current directory for tests when run via ``test.regrtest`` " -"contain now non-ascii characters if possible." -msgstr "" - -#: ../build/NEWS:1205 -msgid "" -"`bpo-38377 `__: On Linux, skip tests " -"using multiprocessing if the current user cannot create a file in ``/dev/shm/" -"`` directory. Add the :func:`~test.support." -"skip_if_broken_multiprocessing_synchronize` function to the :mod:`test." -"support` module." -msgstr "" - -#: ../build/NEWS:1210 -msgid "" -"`bpo-41009 `__: Fix use of ``support." -"require_{linux|mac|freebsd}_version()`` decorators as class decorator." -msgstr "" - -#: ../build/NEWS:1213 -msgid "" -"`bpo-41003 `__: Fix ``test_copyreg`` " -"when ``numpy`` is installed: ``test.pickletester`` now saves/restores " -"warnings filters when importing ``numpy``, to ignore filters installed by " -"``numpy``." -msgstr "" - -#: ../build/NEWS:1217 -msgid "" -"`bpo-40964 `__: Disable remote :mod:" -"`imaplib` tests, host cyrus.andrew.cmu.edu is blocking incoming connections." -msgstr "" - -#: ../build/NEWS:1220 -msgid "" -"`bpo-40927 `__: Fix test_binhex when run " -"twice: it now uses import_fresh_module() to ensure that it raises " -"DeprecationWarning each time." -msgstr "" - -#: ../build/NEWS:1224 -msgid "" -"`bpo-34401 `__: Make test_gdb properly " -"run on HP-UX. Patch by Michael Osipov." -msgstr "" - -#: ../build/NEWS:1229 -msgid "" -"`bpo-40204 `__: Pin Sphinx version to " -"2.3.1 in ``Doc/Makefile``." -msgstr "" - -#: ../build/NEWS:1234 -msgid "" -"`bpo-41074 `__: Fixed support of non-" -"ASCII names in functions :func:`msilib.OpenDatabase` and :func:`msilib." -"init_database` and non-ASCII SQL in method :meth:`msilib.Database.OpenView`." -msgstr "" - -#: ../build/NEWS:1238 -msgid "" -"`bpo-40164 `__: Updates Windows OpenSSL " -"to 1.1.1g" -msgstr "" - -#: ../build/NEWS:1240 -msgid "" -"`bpo-37556 `__: Extend py.exe help to " -"mention overrides via venv, shebang, environmental variables & ini files." -msgstr "" - -#: ../build/NEWS:1246 -msgid "" -"`bpo-39580 `__: Avoid opening Finder " -"window if running installer from the command line. Patch contributed by Rick " -"Heil." -msgstr "" - -#: ../build/NEWS:1249 -msgid "" -"`bpo-41100 `__: Fix configure error when " -"building on macOS 11. Note that the current Python release was released " -"shortly after the first developer preview of macOS 11 (Big Sur); there are " -"other known issues with building and running on the developer preview. Big " -"Sur is expected to be fully supported in a future bugfix release of Python " -"3.8.x and with 3.9.0." -msgstr "" - -#: ../build/NEWS:1255 -msgid "" -"`bpo-41005 `__: fixed an XDG settings " -"issue not allowing macos to open browser in webbrowser.py" -msgstr "" - -#: ../build/NEWS:1261 -msgid "" -"`bpo-41152 `__: The encoding of " -"``stdin``, ``stdout`` and ``stderr`` in IDLE is now always UTF-8." -msgstr "" - -#: ../build/NEWS:1264 -msgid "" -"`bpo-41144 `__: Make Open Module open a " -"special module such as os.path." -msgstr "" - -#: ../build/NEWS:1269 -msgid "" -"`bpo-36346 `__: Mark " -"``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, " -"``PyUnicode_FromUnicode``, ``PyUnicode_AsUnicode``, " -"``_PyUnicode_AsUnicode``, and ``PyUnicode_AsUnicodeAndSize`` as deprecated " -"in C. Remove ``Py_UNICODE_MATCH`` which was deprecated and broken since " -"Python 3.3." -msgstr "" - -#: ../build/NEWS:1275 -msgid "" -"`bpo-36020 `__: On Windows, ``#include " -"\"pyerrors.h\"`` no longer defines ``snprintf`` and ``vsnprintf`` macros." -msgstr "" - -#: ../build/NEWS:1278 -msgid "" -"`bpo-40703 `__: The PyType_FromSpec*() " -"functions no longer overwrite the type's \"__module__\" attribute if it is " -"set via \"Py_tp_members\" or \"Py_tp_getset\"." -msgstr "" - -#: ../build/NEWS:1283 -msgid "Python 3.9.0 beta 3" -msgstr "" - -#: ../build/NEWS:1285 -msgid "*Release date: 2020-06-09*" -msgstr "" - -#: ../build/NEWS:1290 -msgid "" -"`bpo-40924 `__: `importlib.resources`: " -"Reverted ``TraversableResources`` implementations from the built-in loaders " -"(SourceFileLoader and ZipImporter) as it was an incompatible change " -"introduced in 3.9.0 beta 2 causing through a chain of events for root TLS " -"certificates to be missing." -msgstr "" - -#: ../build/NEWS:1298 -msgid "" -"`bpo-40684 `__: ``make install`` now " -"uses the ``PLATLIBDIR`` variable for the destination ``lib-dynload/`` " -"directory when ``./configure --with-platlibdir`` is used." -msgstr "" - -#: ../build/NEWS:1304 -msgid "Python 3.9.0 beta 2" -msgstr "" - -#: ../build/NEWS:1306 -msgid "*Release date: 2020-06-08*" -msgstr "" - -#: ../build/NEWS:1311 -msgid "" -"`bpo-40904 `__: Fix possible segfault in " -"the new PEG parser when parsing f-string containing yield statements with no " -"value (:code:`f\"{yield}\"`). Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1315 -msgid "" -"`bpo-40903 `__: Fixed a possible " -"segfault in the new PEG parser when producing error messages for invalid " -"assignments of the form :code:`p=p=`. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1319 -msgid "" -"`bpo-40880 `__: Fix invalid memory read " -"in the new parser when checking newlines in string literals. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:1322 -msgid "" -"`bpo-40883 `__: Fix memory leak in when " -"parsing f-strings in the new parser. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1325 -msgid "" -"`bpo-40870 `__: Raise :exc:`ValueError` " -"when validating custom AST's where the constants ``True``, ``False`` and " -"``None`` are used within a :class:`ast.Name` node." -msgstr "" - -#: ../build/NEWS:1329 -msgid "" -"`bpo-40854 `__: Allow overriding :data:" -"`sys.platlibdir` via a new :envvar:`PYTHONPLATLIBDIR` environment variable." -msgstr "" - -#: ../build/NEWS:1332 -msgid "" -"`bpo-40826 `__: Fix GIL usage in :c:func:" -"`PyOS_Readline`: lock the GIL to set an exception and pass the Python thread " -"state when checking if there is a pending signal." -msgstr "" - -#: ../build/NEWS:1336 -msgid "" -"`bpo-40780 `__: Fix a corner case where " -"g-style string formatting of a float failed to remove trailing zeros." -msgstr "" - -#: ../build/NEWS:1339 -msgid "" -"`bpo-38964 `__: When there's a :exc:" -"`SyntaxError` in the expression part of an fstring, the filename attribute " -"of the :exc:`SyntaxError` gets correctly set to the name of the file the " -"fstring resides in." -msgstr "" - -#: ../build/NEWS:1343 -msgid "" -"`bpo-40750 `__: Support the \"-d\" debug " -"flag in the new PEG parser. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1346 -msgid "" -"`bpo-40217 `__: Instances of types " -"created with :c:func:`PyType_FromSpecWithBases` will no longer automatically " -"visit their class object when traversing references in the garbage " -"collector. The user is expected to manually visit the object's class. Patch " -"by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1352 -msgid "" -"`bpo-40696 `__: Fix a hang that can " -"arise after :meth:`generator.throw` due to a cycle in the exception context " -"chain." -msgstr "" - -#: ../build/NEWS:1358 -msgid "" -"`bpo-39791 `__: Refresh importlib." -"metadata from importlib_metadata 1.6.1." -msgstr "" - -#: ../build/NEWS:1360 -msgid "" -"`bpo-40807 `__: Stop codeop." -"_maybe_compile, used by code.InteractiveInterpreter (and IDLE). from from " -"emitting each warning three times." -msgstr "" - -#: ../build/NEWS:1363 -msgid "" -"`bpo-39791 `__: Built-in loaders " -"(SourceFileLoader and ZipImporter) now supply ``TraversableResources`` " -"implementations for ``ResourceReader``, and the fallback function has been " -"removed." -msgstr "" - -#: ../build/NEWS:1367 -msgid "" -"`bpo-17005 `__: The topological sort " -"functionality that was introduced initially in the :mod:`functools` module " -"has been moved to a new :mod:`graphlib` module to better accommodate the new " -"tools and keep the original scope of the :mod:`functools` module. Patch by " -"Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1372 -msgid "" -"`bpo-40777 `__: Initialize " -"PyDateTime_IsoCalendarDateType.tp_base at run-time to avoid errors on some " -"compilers." -msgstr "" - -#: ../build/NEWS:1375 -msgid "" -"`bpo-40767 `__: :mod:`webbrowser` now " -"properly finds the default browser in pure Wayland systems by checking the " -"WAYLAND_DISPLAY environment variable. Patch contributed by Jérémy Attali." -msgstr "" - -#: ../build/NEWS:1379 -msgid "" -"`bpo-40791 `__: :func:`hashlib." -"compare_digest` uses OpenSSL's ``CRYPTO_memcmp()`` function when OpenSSL is " -"available." -msgstr "" - -#: ../build/NEWS:1382 -msgid "" -"`bpo-40795 `__: :mod:`ctypes` module: If " -"ctypes fails to convert the result of a callback or if a ctypes callback " -"function raises an exception, sys.unraisablehook is now called with an " -"exception set. Previously, the error was logged into stderr by :c:func:" -"`PyErr_Print`." -msgstr "" - -#: ../build/NEWS:1387 -msgid "" -"`bpo-30008 `__: Fix :mod:`ssl` code to " -"be compatible with OpenSSL 1.1.x builds that use ``no-deprecated`` and ``--" -"api=1.1.0``." -msgstr "" - -#: ../build/NEWS:1390 -msgid "" -"`bpo-30064 `__: Fix asyncio ``loop." -"sock_*`` race condition issue" -msgstr "" - -#: ../build/NEWS:1392 -msgid "" -"`bpo-40759 `__: Deprecate the :mod:" -"`symbol` module." -msgstr "" - -#: ../build/NEWS:1394 -msgid "" -"`bpo-40737 `__: Fix possible reference " -"leak for :mod:`sqlite3` initialization." -msgstr "" - -#: ../build/NEWS:1396 -msgid "" -"`bpo-40698 `__: :mod:`distutils` upload " -"creates SHA2-256 and Blake2b-256 digests. MD5 digests is skipped if platform " -"blocks MD5." -msgstr "" - -#: ../build/NEWS:1399 -msgid "" -"`bpo-40695 `__: :mod:`hashlib` no longer " -"falls back to builtin hash implementations when OpenSSL provides a hash " -"digest and the algorithm is blocked by security policy." -msgstr "" - -#: ../build/NEWS:1403 -msgid "" -"`bpo-9216 `__: func:`hashlib.new` passed " -"``usedforsecurity`` to OpenSSL EVP constructor ``_hashlib.new()``. " -"test_hashlib and test_smtplib handle strict security policy better." -msgstr "" - -#: ../build/NEWS:1407 -msgid "" -"`bpo-40614 `__: :func:`ast.parse` will " -"not parse self documenting expressions in f-strings when passed " -"``feature_version`` is less than ``(3, 8)``." -msgstr "" - -#: ../build/NEWS:1410 -msgid "" -"`bpo-40671 `__: Prepare ``_hashlib`` " -"for :pep:`489` and use :c:func:`PyModule_AddType`." -msgstr "" - -#: ../build/NEWS:1413 -msgid "" -"`bpo-32309 `__: Added a new :term:" -"`coroutine` :func:`asyncio.to_thread`. It is mainly used for running IO-" -"bound functions in a separate thread to avoid blocking the event loop, and " -"essentially works as a high-level version of :meth:`~asyncio.loop." -"run_in_executor` that can directly take keyword arguments." -msgstr "" - -#: ../build/NEWS:1419 -msgid "" -"`bpo-40630 `__: Added :func:`tracemalloc." -"reset_peak` to set the peak size of traced memory blocks to the current " -"size, to measure the peak of specific pieces of code." -msgstr "" - -#: ../build/NEWS:1423 -msgid "" -"`bpo-13097 `__: ``ctypes`` now raises an " -"``ArgumentError`` when a callback is invoked with more than 1024 arguments." -msgstr "" - -#: ../build/NEWS:1426 -msgid "" -"`bpo-23082 `__: Updated the error " -"message and docs of PurePath.relative_to() to better reflect the function " -"behaviour." -msgstr "" - -#: ../build/NEWS:1429 -msgid "" -"`bpo-39244 `__: Fixed :class:" -"`multiprocessing.context.get_all_start_methods` to properly return the " -"default method first on macOS." -msgstr "" - -#: ../build/NEWS:1432 -msgid "" -"`bpo-39040 `__: Fix parsing of invalid " -"mime headers parameters by collapsing whitespace between encoded words in a " -"bare-quote-string." -msgstr "" - -#: ../build/NEWS:1435 -msgid "" -"`bpo-35714 `__: :exc:`struct.error` is " -"now raised if there is a null character in a :mod:`struct` format string." -msgstr "" - -#: ../build/NEWS:1438 -msgid "" -"`bpo-36290 `__: AST nodes are now " -"raising :exc:`TypeError` on conflicting keyword arguments. Patch contributed " -"by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:1444 -msgid "" -"`bpo-17258 `__: Skip some :mod:" -"`multiprocessing` tests when MD5 hash digest is blocked." -msgstr "" - -#: ../build/NEWS:1450 -msgid "" -"`bpo-40514 `__: Remove ``--with-" -"experimental-isolated-subinterpreters`` configure option in Python 3.9: the " -"experiment continues in the master branch, but it's no longer needed in 3.9." -msgstr "" - -#: ../build/NEWS:1454 -msgid "" -"`bpo-40683 `__: Fixed an issue where " -"the :mod:`zoneinfo` module and its tests were not included when Python is " -"installed with ``make``." -msgstr "" - -#: ../build/NEWS:1460 -msgid "" -"`bpo-39631 `__: Changes the registered " -"MIME type for ``.py`` files on Windows to ``text/x-python`` instead of " -"``text/plain``." -msgstr "" - -#: ../build/NEWS:1463 -msgid "" -"`bpo-40677 `__: Manually define " -"IO_REPARSE_TAG_APPEXECLINK in case some old Windows SDK doesn't have it." -msgstr "" - -#: ../build/NEWS:1469 -msgid "" -"`bpo-40741 `__: Update macOS installer " -"to use SQLite 3.32.2." -msgstr "" - -#: ../build/NEWS:1474 -msgid "" -"`bpo-39885 `__: Make context menu Cut " -"and Copy work again when right-clicking within a selection." -msgstr "" - -#: ../build/NEWS:1477 -msgid "" -"`bpo-40723 `__: Make test_idle pass when " -"run after import." -msgstr "" - -#: ../build/NEWS:1482 -msgid "" -"`bpo-40910 `__: Export explicitly the :c:" -"func:`Py_GetArgcArgv` function to the C API and document the function. " -"Previously, it was exported implicitly which no longer works since Python is " -"built with ``-fvisibility=hidden``." -msgstr "" - -#: ../build/NEWS:1486 -msgid "" -"`bpo-40724 `__: Allow defining buffer " -"slots in type specs." -msgstr "" - -#: ../build/NEWS:1488 -msgid "" -"`bpo-40826 `__: :c:func:" -"`PyOS_InterruptOccurred` now fails with a fatal error if it is called with " -"the GIL released." -msgstr "" - -#: ../build/NEWS:1493 -msgid "Python 3.9.0 beta 1" -msgstr "" - -#: ../build/NEWS:1495 -msgid "*Release date: 2020-05-19*" -msgstr "" - -#: ../build/NEWS:1500 -msgid "" -"`bpo-40501 `__: :mod:`uuid` no longer " -"uses :mod:`ctypes` to load :file:`libuuid` or :file:`rpcrt4.dll` at runtime." -msgstr "" - -#: ../build/NEWS:1506 -msgid "" -"`bpo-40663 `__: Correctly generate " -"annotations where parentheses are omitted but required (e.g: ``Type[(str, " -"int, *other))]``." -msgstr "" - -#: ../build/NEWS:1509 -msgid "" -"`bpo-40596 `__: Fixed :meth:`str." -"isidentifier` for non-canonicalized strings containing non-BMP characters on " -"Windows." -msgstr "" - -#: ../build/NEWS:1512 -msgid "" -"`bpo-40593 `__: Improved syntax errors " -"for invalid characters in source code." -msgstr "" - -#: ../build/NEWS:1514 -msgid "" -"`bpo-40585 `__: Fixed a bug when using :" -"func:`codeop.compile_command` that was causing exceptions to be swallowed " -"with the new parser. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1518 -msgid "" -"`bpo-40566 `__: Apply :pep:`573` to :mod:" -"`abc`." -msgstr "" - -#: ../build/NEWS:1520 -msgid "" -"`bpo-40502 `__: Initialize ``n-" -">n_col_offset``. (Patch by Joannah Nanjekye)" -msgstr "" - -#: ../build/NEWS:1522 -msgid "" -"`bpo-40527 `__: Fix command line " -"argument parsing: no longer write errors multiple times into stderr." -msgstr "" - -#: ../build/NEWS:1525 -msgid "" -"`bpo-1635741 `__: Port :mod:`errno` to " -"multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:1527 -msgid "" -"`bpo-40523 `__: Add pass-throughs for :" -"func:`hash` and :func:`reversed` to :class:`weakref.proxy` objects. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1530 -msgid "" -"`bpo-1635741 `__: Port :mod:`syslog` " -"to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:1532 -msgid "" -"`bpo-40246 `__: Reporting a specialised " -"error message for invalid string prefixes, which was introduced in :issue:" -"`40246`, is being reverted due to backwards compatibility concerns for " -"strings that immediately follow a reserved keyword without whitespace " -"between them. Constructs like `bg=\"#d00\" if clear else\"#fca\"` were " -"failing to parse, which is not an acceptable breakage on such short notice." -msgstr "" - -#: ../build/NEWS:1539 -msgid "" -"`bpo-40417 `__: Fix imp module " -"deprecation warning when PyImport_ReloadModule is called. Patch by Robert " -"Rouhani." -msgstr "" - -#: ../build/NEWS:1542 -msgid "" -"`bpo-40408 `__: Fixed support of nested " -"type variables in GenericAlias (e.g. ``list[list[T]]``)." -msgstr "" - -#: ../build/NEWS:1545 -msgid "" -"`bpo-1635741 `__: Port _stat module to " -"multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:1547 -msgid "" -"`bpo-29587 `__: Enable implicit " -"exception chaining when calling :meth:`generator.throw`." -msgstr "" - -#: ../build/NEWS:1550 -msgid "" -"`bpo-40328 `__: Add tools for generating " -"mappings headers for CJKCodecs." -msgstr "" - -#: ../build/NEWS:1552 -msgid "" -"`bpo-40228 `__: Setting frame.f_lineno " -"is now robust w.r.t. changes in the source-to-bytecode compiler" -msgstr "" - -#: ../build/NEWS:1555 -msgid "" -"`bpo-38880 `__: Added the ability to " -"list interpreters associated with channel ends in the internal " -"subinterpreters module." -msgstr "" - -#: ../build/NEWS:1558 -msgid "" -"`bpo-37986 `__: Improve performance of :" -"c:func:`PyLong_FromDouble` for values that fit into :c:type:`long`." -msgstr "" - -#: ../build/NEWS:1564 -msgid "" -"`bpo-40662 `__: Fixed :func:`ast." -"get_source_segment` for ast nodes that have incomplete location information. " -"Patch by Irit Katriel." -msgstr "" - -#: ../build/NEWS:1567 -msgid "" -"`bpo-40665 `__: Convert :mod:`bisect` to " -"use Argument Clinic." -msgstr "" - -#: ../build/NEWS:1569 -msgid "" -"`bpo-40536 `__: Added the :func:" -"`~zoneinfo.available_timezones` function to the :mod:`zoneinfo` module. " -"Patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:1572 -msgid "" -"`bpo-40645 `__: The :class:`hmac.HMAC` " -"exposes internal implementation details. The attributes ``digest_cons``, " -"``inner``, and ``outer`` are deprecated and will be removed in the future." -msgstr "" - -#: ../build/NEWS:1576 -msgid "" -"`bpo-40645 `__: The internal module " -"``_hashlib`` wraps and exposes OpenSSL's HMAC API. The new code will be used " -"in Python 3.10 after the internal implementation details of the pure Python " -"HMAC module are no longer part of the public API." -msgstr "" - -#: ../build/NEWS:1581 -msgid "" -"`bpo-40637 `__: Builtin hash modules can " -"now be disabled or selectively enabled with ``configure --with-builtin-" -"hashlib-hashes=sha3,blake1`` or ``--without-builtin-hashlib-hashes``." -msgstr "" - -#: ../build/NEWS:1585 -msgid "" -"`bpo-37630 `__: The :mod:`hashlib` " -"module can now use SHA3 hashes and SHAKE XOF from OpenSSL when available." -msgstr "" - -#: ../build/NEWS:1588 -msgid "" -"`bpo-40479 `__: The :mod:`hashlib` now " -"compiles with OpenSSL 3.0.0-alpha2." -msgstr "" - -#: ../build/NEWS:1590 -msgid "" -"`bpo-40257 `__: Revert changes to :func:" -"`inspect.getdoc`." -msgstr "" - -#: ../build/NEWS:1592 -msgid "" -"`bpo-40607 `__: When cancelling a task " -"due to timeout, :meth:`asyncio.wait_for` will now propagate the exception if " -"an error happens during cancellation. Patch by Roman Skurikhin." -msgstr "" - -#: ../build/NEWS:1596 -msgid "" -"`bpo-40612 `__: Fix edge cases in " -"SyntaxError formatting. If the offset is <= 0, no caret is printed. If the " -"offset is > line length, the caret is printed pointing just after the last " -"character." -msgstr "" - -#: ../build/NEWS:1600 -msgid "" -"`bpo-40597 `__: If text content lines " -"are longer than policy.max_line_length, always use a content-encoding to " -"make sure they are wrapped." -msgstr "" - -#: ../build/NEWS:1603 -msgid "" -"`bpo-40571 `__: Added functools.cache() " -"as a simpler, more discoverable way to access the unbounded cache variant of " -"lru_cache(maxsize=None)." -msgstr "" - -#: ../build/NEWS:1606 -msgid "" -"`bpo-40503 `__: :pep:`615`, the :mod:" -"`zoneinfo` module. Adds support for the IANA time zone database." -msgstr "" - -#: ../build/NEWS:1609 -msgid "" -"`bpo-40397 `__: Removed attributes " -"``__args__`` and ``__parameters__`` from special generic aliases like " -"``typing.List`` (not subscripted)." -msgstr "" - -#: ../build/NEWS:1612 -msgid "" -"`bpo-40549 `__: Convert posixmodule.c " -"(\"posix\" or \"nt\" module) to the multiphase initialization (PEP 489)." -msgstr "" - -#: ../build/NEWS:1615 -msgid "" -"`bpo-31033 `__: Add a ``msg`` argument " -"to :meth:`Future.cancel` and :meth:`Task.cancel`." -msgstr "" - -#: ../build/NEWS:1618 -msgid "" -"`bpo-40541 `__: Added an optional " -"*counts* parameter to random.sample()." -msgstr "" - -#: ../build/NEWS:1620 -msgid "" -"`bpo-40515 `__: The :mod:`ssl` and :mod:" -"`hashlib` modules now actively check that OpenSSL is build with thread " -"support. Python 3.7.0 made thread support mandatory and no longer works " -"safely with a no-thread builds." -msgstr "" - -#: ../build/NEWS:1624 -msgid "" -"`bpo-31033 `__: When a :class:`asyncio." -"Task` is cancelled, the exception traceback now chains all the way back to " -"where the task was first interrupted." -msgstr "" - -#: ../build/NEWS:1628 -msgid "" -"`bpo-40504 `__: :func:`functools." -"lru_cache` objects can now be the targets of weakrefs." -msgstr "" - -#: ../build/NEWS:1631 -msgid "" -"`bpo-40559 `__: Fix possible memory leak " -"in the C implementation of :class:`asyncio.Task`." -msgstr "" - -#: ../build/NEWS:1634 -msgid "" -"`bpo-40480 `__: ``fnmatch.fnmatch()`` " -"could take exponential time in the presence of multiple ``*`` pattern " -"characters. This was repaired by generating more elaborate regular " -"expressions to avoid futile backtracking." -msgstr "" - -#: ../build/NEWS:1639 -msgid "" -"`bpo-40495 `__: :mod:`compileall` is now " -"able to use hardlinks to prevent duplicates in a case when ``.pyc`` files " -"for different optimization levels have the same content." -msgstr "" - -#: ../build/NEWS:1643 -msgid "" -"`bpo-40457 `__: The ssl module now " -"support OpenSSL builds without TLS 1.0 and 1.1 methods." -msgstr "" - -#: ../build/NEWS:1646 -msgid "" -"`bpo-40355 `__: Improve error reporting " -"in :func:`ast.literal_eval` in the presence of malformed :class:`ast.Dict` " -"nodes instead of silently ignoring any non-conforming elements. Patch by " -"Curtis Bucher." -msgstr "" - -#: ../build/NEWS:1650 -msgid "" -"`bpo-40465 `__: Deprecated the optional " -"*random* argument to *random.shuffle()*." -msgstr "" - -#: ../build/NEWS:1653 -msgid "" -"`bpo-40459 `__: :func:`platform." -"win32_ver` now produces correct *ptype* strings instead of empty strings." -msgstr "" - -#: ../build/NEWS:1656 -msgid "" -"`bpo-39435 `__: The first argument of :" -"func:`pickle.loads` is now positional-only." -msgstr "" - -#: ../build/NEWS:1659 -msgid "" -"`bpo-39305 `__: Update :mod:`nntplib` to " -"merge :class:`nntplib.NNTP` and :class:`nntplib._NNTPBase`. Patch by Dong-" -"hee Na." -msgstr "" - -#: ../build/NEWS:1662 -msgid "" -"`bpo-32494 `__: Update :mod:`dbm.gnu` to " -"use gdbm_count if possible when calling :func:`len`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:1665 -msgid "" -"`bpo-40453 `__: Add ``isolated=True`` " -"keyword-only parameter to ``_xxsubinterpreters.create()``. An isolated " -"subinterpreter cannot spawn threads, spawn a child process or call ``os." -"fork()``." -msgstr "" - -#: ../build/NEWS:1669 -msgid "" -"`bpo-40286 `__: Remove ``_random.Random." -"randbytes()``: the C implementation of ``randbytes()``. Implement the method " -"in Python to ease subclassing: ``randbytes()`` now directly reuses " -"``getrandbits()``." -msgstr "" - -#: ../build/NEWS:1673 -msgid "" -"`bpo-40394 `__: Added default arguments " -"to :meth:`difflib.SequenceMatcher.find_longest_match()`." -msgstr "" - -#: ../build/NEWS:1676 -msgid "" -"`bpo-39995 `__: Fix a race condition in " -"concurrent.futures._ThreadWakeup: access to _ThreadWakeup is now protected " -"with the shutdown lock." -msgstr "" - -#: ../build/NEWS:1679 -msgid "" -"`bpo-30966 `__: ``Process." -"shutdown(wait=True)`` of :mod:`concurrent.futures` now closes explicitly the " -"result queue." -msgstr "" - -#: ../build/NEWS:1682 -msgid "" -"`bpo-30966 `__: Add a new :meth:" -"`~multiprocessing.SimpleQueue.close` method to the :class:`~multiprocessing." -"SimpleQueue` class to explicitly close the queue." -msgstr "" - -#: ../build/NEWS:1686 -msgid "" -"`bpo-39966 `__: Revert `bpo-25597 " -"`__. :class:`unittest.mock.MagicMock` " -"with wraps' set uses default return values for magic methods." -msgstr "" - -#: ../build/NEWS:1689 -msgid "" -"`bpo-39791 `__: Added ``files()`` " -"function to importlib.resources with support for subdirectories in package " -"data, matching backport in importlib_resources 1.5." -msgstr "" - -#: ../build/NEWS:1693 -msgid "" -"`bpo-40375 `__: :meth:`imaplib.IMAP4." -"unselect` is added. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:1695 -msgid "" -"`bpo-40389 `__: ``repr()`` now returns " -"``typing.Optional[T]`` when called for ``typing.Union`` of two types, one of " -"which is ``NoneType``." -msgstr "" - -#: ../build/NEWS:1698 -msgid "" -"`bpo-40291 `__: Add support for " -"CAN_J1939 sockets (available on Linux 5.4+)" -msgstr "" - -#: ../build/NEWS:1700 -msgid "" -"`bpo-40273 `__: :class:`types." -"MappingProxyType` is now reversible." -msgstr "" - -#: ../build/NEWS:1702 -msgid "" -"`bpo-39075 `__: The repr for :class:" -"`types.SimpleNamespace` is now insertion ordered rather than alphabetical." -msgstr "" - -#: ../build/NEWS:1705 -msgid "" -"`bpo-40192 `__: On AIX, :func:`~time." -"thread_time` is now implemented with ``thread_cputime()`` which has " -"nanosecond resolution, rather than " -"``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 ms. " -"Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:1710 -msgid "" -"`bpo-40025 `__: Raise TypeError when " -"_generate_next_value_ is defined after members. Patch by Ethan Onstott." -msgstr "" - -#: ../build/NEWS:1713 -msgid "" -"`bpo-39058 `__: In the argparse module, " -"the repr for Namespace() and other argument holders now displayed in the " -"order attributes were added. Formerly, it displayed in alphabetical order " -"even though argument order is preserved the user visible parts of the module." -msgstr "" - -#: ../build/NEWS:1718 -msgid "" -"`bpo-24416 `__: The ``isocalendar()`` " -"methods of :class:`datetime.date` and :class:`datetime.datetime` now return " -"a :term:`named tuple` instead of a :class:`tuple`." -msgstr "" - -#: ../build/NEWS:1725 -msgid "" -"`bpo-34790 `__: Add version of removal " -"for explicit passing of coros to `asyncio.wait()`'s documentation" -msgstr "" - -#: ../build/NEWS:1728 -msgid "" -"`bpo-40561 `__: Provide docstrings for " -"webbrowser open functions." -msgstr "" - -#: ../build/NEWS:1730 -msgid "" -"`bpo-40499 `__: Mention that :func:" -"`asyncio.wait` requires a non-empty set of awaitables." -msgstr "" - -#: ../build/NEWS:1733 -msgid "" -"`bpo-39705 `__: Tutorial example for " -"sorted() in the Loop Techniques section is given a better explanation. Also " -"a new example is included to explain sorted()'s basic behavior." -msgstr "" - -#: ../build/NEWS:1737 -msgid "" -"`bpo-39435 `__: Fix an incorrect " -"signature for :func:`pickle.loads` in the docs" -msgstr "" - -#: ../build/NEWS:1742 -msgid "" -"`bpo-40055 `__: distutils.tests now " -"saves/restores warnings filters to leave them unchanged. Importing tests " -"imports docutils which imports pkg_resources which adds a warnings filter." -msgstr "" - -#: ../build/NEWS:1746 -msgid "" -"`bpo-40436 `__: test_gdb and test." -"pythoninfo now check gdb command exit code." -msgstr "" - -#: ../build/NEWS:1751 -msgid "" -"`bpo-40653 `__: Move _dirnameW out of " -"HAVE_SYMLINK to fix a potential compiling issue." -msgstr "" - -#: ../build/NEWS:1754 -msgid "" -"`bpo-40514 `__: Add ``--with-" -"experimental-isolated-subinterpreters`` build option to ``configure``: " -"better isolate subinterpreters, experimental build mode." -msgstr "" - -#: ../build/NEWS:1761 -msgid "" -"`bpo-40650 `__: Include winsock2.h in " -"pytime.c for timeval." -msgstr "" - -#: ../build/NEWS:1763 -msgid "" -"`bpo-40458 `__: Increase reserved stack " -"space to prevent overflow crash on Windows." -msgstr "" - -#: ../build/NEWS:1766 -msgid "" -"`bpo-39148 `__: Add IPv6 support to :mod:" -"`asyncio` datagram endpoints in ProactorEventLoop. Change the raised " -"exception for unknown address families to ValueError as it's not coming from " -"Windows API." -msgstr "" - -#: ../build/NEWS:1773 -msgid "" -"`bpo-34956 `__: When building Python on " -"macOS from source, ``_tkinter`` now links with non-system Tcl and Tk " -"frameworks if they are installed in ``/Library/Frameworks``, as had been the " -"case on older releases of macOS. If a macOS SDK is explicitly configured, by " -"using ``--enable-universalsdk=`` or ``-isysroot``, only the SDK itself is " -"searched. The default behavior can still be overridden with ``--with-tcltk-" -"includes`` and ``--with-tcltk-libs``." -msgstr "" - -#: ../build/NEWS:1781 -msgid "" -"`bpo-35569 `__: Expose RFC 3542 IPv6 " -"socket options." -msgstr "" - -#: ../build/NEWS:1786 -msgid "" -"`bpo-40479 `__: Update multissltest " -"helper to test with latest OpenSSL 1.0.2, 1.1.0, 1.1.1, and 3.0.0-alpha." -msgstr "" - -#: ../build/NEWS:1789 -msgid "" -"`bpo-40431 `__: Fix a syntax typo in " -"``turtledemo`` that now raises a ``SyntaxError``." -msgstr "" - -#: ../build/NEWS:1792 -msgid "" -"`bpo-40163 `__: Fix multissltest tool. " -"OpenSSL has changed download URL for old releases. The multissltest tool now " -"tries to download from current and old download URLs." -msgstr "" - -#: ../build/NEWS:1799 -msgid "" -"`bpo-39465 `__: Remove the " -"``_PyUnicode_ClearStaticStrings()`` function from the C API." -msgstr "" - -#: ../build/NEWS:1802 -msgid "" -"`bpo-38787 `__: Add " -"PyCFunction_CheckExact() macro for exact type checks now that we allow " -"subtypes of PyCFunction, as well as PyCMethod_CheckExact() and " -"PyCMethod_Check() for the new PyCMethod subtype." -msgstr "" - -#: ../build/NEWS:1806 -msgid "" -"`bpo-40545 `__: Declare " -"``_PyErr_GetTopmostException()`` with ``PyAPI_FUNC()`` to properly export " -"the function in the C API. The function remains private (``_Py``) prefix." -msgstr "" - -#: ../build/NEWS:1810 -msgid "" -"`bpo-40412 `__: Nullify inittab_copy " -"during finalization, preventing future interpreter initializations in an " -"embedded situation from crashing. Patch by Gregory Szorc." -msgstr "" - -#: ../build/NEWS:1814 -msgid "" -"`bpo-40429 `__: The :c:func:" -"`PyThreadState_GetFrame` function now returns a strong reference to the " -"frame." -msgstr "" - -#: ../build/NEWS:1817 -msgid "" -"`bpo-40428 `__: Remove the following " -"functions from the C API. Call :c:func:`PyGC_Collect` explicitly to free all " -"free lists." -msgstr "" - -#: ../build/NEWS:1820 -msgid "``PyAsyncGen_ClearFreeLists()``" -msgstr "" - -#: ../build/NEWS:1821 -msgid "``PyContext_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:1822 -msgid "``PyDict_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:1823 -msgid "``PyFloat_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:1824 -msgid "``PyFrame_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:1825 -msgid "``PyList_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:1826 -msgid "``PySet_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:1827 -msgid "``PyTuple_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:1829 -msgid "" -"`bpo-40421 `__: New :c:func:" -"`PyFrame_GetBack` function: get the frame next outer frame." -msgstr "" - -#: ../build/NEWS:1832 -msgid "" -"`bpo-40421 `__: New :c:func:" -"`PyFrame_GetCode` function: return a borrowed reference to the frame code." -msgstr "" - -#: ../build/NEWS:1835 -msgid "" -"`bpo-40217 `__: Ensure that instances of " -"types created with :c:func:`PyType_FromSpecWithBases` will visit its class " -"object when traversing references in the garbage collector (implemented as " -"an extension of the provided :c:member:`~PyTypeObject.tp_traverse`). Patch " -"by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1841 -msgid "" -"`bpo-38787 `__: Module C state is now " -"accessible from C-defined heap type methods (:pep:`573`). Patch by Marcel " -"Plch and Petr Viktorin." -msgstr "" - -#: ../build/NEWS:1846 -msgid "Python 3.9.0 alpha 6" -msgstr "" - -#: ../build/NEWS:1848 -msgid "*Release date: 2020-04-27*" -msgstr "" - -#: ../build/NEWS:1853 -msgid "" -"`bpo-40121 `__: Fixes audit events " -"raised on creating a new socket." -msgstr "" - -#: ../build/NEWS:1855 -msgid "" -"`bpo-39073 `__: Disallow CR or LF in " -"email.headerregistry.Address arguments to guard against header injection " -"attacks." -msgstr "" - -#: ../build/NEWS:1858 -msgid "" -"`bpo-39503 `__: CVE-2020-8492: The :" -"class:`~urllib.request.AbstractBasicAuthHandler` class of the :mod:`urllib." -"request` module uses an inefficient regular expression which can be " -"exploited by an attacker to cause a denial of service. Fix the regex to " -"prevent the catastrophic backtracking. Vulnerability reported by Ben Caller " -"and Matt Schwager." -msgstr "" - -#: ../build/NEWS:1868 -msgid "" -"`bpo-40313 `__: Improve the performance " -"of bytes.hex()." -msgstr "" - -#: ../build/NEWS:1870 -msgid "" -"`bpo-40334 `__: Switch to a new parser, " -"based on PEG. For more details see PEP 617. To temporarily switch back to " -"the old parser, use ``-X oldparser`` or ``PYTHONOLDPARSER=1``. In Python " -"3.10 we will remove the old parser completely, including the ``parser`` " -"module (already deprecated) and anything that depends on it." -msgstr "" - -#: ../build/NEWS:1876 -msgid "" -"`bpo-40267 `__: Fix the tokenizer to " -"display the correct error message, when there is a SyntaxError on the last " -"input character and no newline follows. It used to be `unexpected EOF while " -"parsing`, while it should be `invalid syntax`." -msgstr "" - -#: ../build/NEWS:1881 -msgid "" -"`bpo-39522 `__: Correctly unparse " -"explicit ``u`` prefix for strings when postponed evaluation for annotations " -"activated. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:1884 -msgid "" -"`bpo-40246 `__: Report a specialized " -"error message, `invalid string prefix`, when the tokenizer encounters a " -"string with an invalid prefix." -msgstr "" - -#: ../build/NEWS:1887 -msgid "" -"`bpo-40082 `__: Fix the signal handler: " -"it now always uses the main interpreter, rather than trying to get the " -"current Python thread state." -msgstr "" - -#: ../build/NEWS:1890 -msgid "" -"`bpo-37388 `__: str.encode() and str." -"decode() no longer check the encoding and errors in development mode or in " -"debug mode during Python finalization. The codecs machinery can no longer " -"work on very late calls to str.encode() and str.decode()." -msgstr "" - -#: ../build/NEWS:1895 -msgid "" -"`bpo-40077 `__: Fix possible refleaks " -"in :mod:`_json`, memo of PyScannerObject should be traversed." -msgstr "" - -#: ../build/NEWS:1898 -msgid "" -"`bpo-37207 `__: Speed up calls to " -"``dict()`` by using the :pep:`590` ``vectorcall`` calling convention." -msgstr "" - -#: ../build/NEWS:1901 -msgid "" -"`bpo-40141 `__: Add column and line " -"information to ``ast.keyword`` nodes. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1904 -msgid "" -"`bpo-1635741 `__: Port :mod:`resource` " -"to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:1907 -msgid "" -"`bpo-1635741 `__: Port :mod:`math` to " -"multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:1909 -msgid "" -"`bpo-1635741 `__: Port _uuid module to " -"multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:1911 -msgid "" -"`bpo-40077 `__: Convert json module to " -"use :c:func:`PyType_FromSpec`." -msgstr "" - -#: ../build/NEWS:1913 -msgid "" -"`bpo-40067 `__: Improve the error " -"message for multiple star expressions in an assignment. Patch by Furkan Onder" -msgstr "" - -#: ../build/NEWS:1916 -msgid "" -"`bpo-1635741 `__: Port _functools " -"module to multiphase initialization (PEP 489). Patch by Paulo Henrique Silva." -msgstr "" - -#: ../build/NEWS:1919 -msgid "" -"`bpo-1635741 `__: Port operator module " -"to multiphase initialization (PEP 489). Patch by Paulo Henrique Silva." -msgstr "" - -#: ../build/NEWS:1922 -msgid "" -"`bpo-20526 `__: Fix :c:func:" -"`PyThreadState_Clear()`. ``PyThreadState.frame`` is a borrowed reference, " -"not a strong reference: ``PyThreadState_Clear()`` must not call " -"``Py_CLEAR(tstate->frame)``." -msgstr "" - -#: ../build/NEWS:1926 -msgid "" -"`bpo-1635741 `__: Port time module to " -"multiphase initialization (:pep:`489`). Patch by Paulo Henrique Silva." -msgstr "" - -#: ../build/NEWS:1929 ../build/NEWS:2321 -msgid "" -"`bpo-1635741 `__: Port _weakref " -"extension module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:1932 -msgid "" -"`bpo-40020 `__: Fix a leak and " -"subsequent crash in parsetok.c caused by realloc misuse on a rare codepath." -msgstr "" - -#: ../build/NEWS:1935 -msgid "" -"`bpo-39939 `__: Added str.removeprefix " -"and str.removesuffix methods and corresponding bytes, bytearray, and " -"collections.UserString methods to remove affixes from a string if present. " -"See :pep:`616` for a full description. Patch by Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:1940 -msgid "" -"`bpo-39481 `__: Implement PEP 585. This " -"supports list[int], tuple[str, ...] etc." -msgstr "" - -#: ../build/NEWS:1943 -msgid "" -"`bpo-32894 `__: Support unparsing of " -"infinity numbers in postponed annotations. Patch by Batuhan Taşkaya." -msgstr "" - -#: ../build/NEWS:1946 -msgid "" -"`bpo-37207 `__: Speed up calls to " -"``list()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " -"by Mark Shannon." -msgstr "" - -#: ../build/NEWS:1952 -msgid "" -"`bpo-40398 `__: :func:`typing.get_args` " -"now always returns an empty tuple for special generic aliases." -msgstr "" - -#: ../build/NEWS:1955 -msgid "" -"`bpo-40396 `__: Functions :func:`typing." -"get_origin`, :func:`typing.get_args` and :func:`typing.get_type_hints` " -"support now generic aliases like ``list[int]``." -msgstr "" - -#: ../build/NEWS:1959 -msgid "" -"`bpo-38061 `__: Optimize the :mod:" -"`subprocess` module on FreeBSD using ``closefrom()``. A single ``close(fd)`` " -"syscall is cheap, but when ``sysconf(_SC_OPEN_MAX)`` is high, the loop " -"calling ``close(fd)`` on each file descriptor can take several milliseconds." -msgstr "" - -#: ../build/NEWS:1964 -msgid "" -"The workaround on FreeBSD to improve performance was to load and mount the " -"fdescfs kernel module, but this is not enabled by default." -msgstr "" - -#: ../build/NEWS:1967 ../build/NEWS:1975 -msgid "" -"Initial patch by Ed Maste (emaste), Conrad Meyer (cem), Kyle Evans (kevans) " -"and Kubilay Kocak (koobs): https://bugs.freebsd.org/bugzilla/show_bug.cgi?" -"id=242274" -msgstr "" - -#: ../build/NEWS:1971 -msgid "" -"`bpo-38061 `__: On FreeBSD, ``os." -"closerange(fd_low, fd_high)`` now calls ``closefrom(fd_low)`` if *fd_high* " -"is greater than or equal to ``sysconf(_SC_OPEN_MAX)``." -msgstr "" - -#: ../build/NEWS:1979 -msgid "" -"`bpo-40360 `__: The :mod:`lib2to3` " -"module is pending deprecation due to :pep:`617`." -msgstr "" - -#: ../build/NEWS:1982 -msgid "" -"`bpo-40138 `__: Fix the Windows " -"implementation of :func:`os.waitpid` for exit code larger than ``INT_MAX >> " -"8``. The exit status is now interpreted as an unsigned number." -msgstr "" - -#: ../build/NEWS:1986 -msgid "" -"`bpo-39942 `__: Set \"__main__\" as the " -"default module name when \"__name__\" is missing in :class:`typing.TypeVar`. " -"Patch by Weipeng Hong." -msgstr "" - -#: ../build/NEWS:1989 -msgid "" -"`bpo-40275 `__: The :mod:`logging` " -"package is now imported lazily in :mod:`unittest` only when the :meth:" -"`~unittest.TestCase.assertLogs` assertion is used." -msgstr "" - -#: ../build/NEWS:1993 -msgid "" -"`bpo-40275 `__: The :mod:`asyncio` " -"package is now imported lazily in :mod:`unittest` only when the :class:" -"`~unittest.IsolatedAsyncioTestCase` class is used." -msgstr "" - -#: ../build/NEWS:1997 -msgid "" -"`bpo-40330 `__: In :meth:`ShareableList." -"__setitem__`, check the size of a new string item after encoding it to " -"utf-8, not before." -msgstr "" - -#: ../build/NEWS:2000 -msgid "" -"`bpo-40148 `__: Added :meth:`pathlib." -"Path.with_stem()` to create a new Path with the stem replaced." -msgstr "" - -#: ../build/NEWS:2003 -msgid "" -"`bpo-40325 `__: Deprecated support for " -"set objects in random.sample()." -msgstr "" - -#: ../build/NEWS:2005 -msgid "" -"`bpo-40257 `__: Improved help for the :" -"mod:`typing` module. Docstrings are now shown for all special forms and " -"special generic aliases (like ``Union`` and ``List``). Using ``help()`` with " -"generic alias like ``List[int]`` will show the help for the correspondent " -"concrete type (``list`` in this case)." -msgstr "" - -#: ../build/NEWS:2010 -msgid "" -"`bpo-40257 `__: func:`inspect.getdoc` no " -"longer returns docstring inherited from the type of the object or from " -"parent class if it is a class if it is not defined in the object itself. In :" -"mod:`pydoc` the documentation string is now shown not only for class, " -"function, method etc, but for any object that has its own ``__doc__`` " -"attribute." -msgstr "" - -#: ../build/NEWS:2016 -msgid "" -"`bpo-40287 `__: Fixed " -"``SpooledTemporaryFile.seek()`` to return the position." -msgstr "" - -#: ../build/NEWS:2018 -msgid "" -"`bpo-40290 `__: Added zscore() to " -"statistics.NormalDist()." -msgstr "" - -#: ../build/NEWS:2020 -msgid "" -"`bpo-40282 `__: Allow ``random." -"getrandbits(0)`` to succeed and to return 0." -msgstr "" - -#: ../build/NEWS:2022 -msgid "" -"`bpo-40286 `__: Add :func:`random." -"randbytes` function and :meth:`random.Random.randbytes` method to generate " -"random bytes." -msgstr "" - -#: ../build/NEWS:2025 -msgid "" -"`bpo-40277 `__: :func:`collections." -"namedtuple` now provides a human-readable repr for its field accessors." -msgstr "" - -#: ../build/NEWS:2028 -msgid "" -"`bpo-40270 `__: The included copy of " -"sqlite3 on Windows is now compiled with the json extension. This allows the " -"use of functions such as ``json_object``." -msgstr "" - -#: ../build/NEWS:2032 -msgid "" -"`bpo-29255 `__: Wait in `KqueueSelector." -"select` when no fds are registered" -msgstr "" - -#: ../build/NEWS:2034 -msgid "" -"`bpo-40260 `__: Ensure :mod:" -"`modulefinder` uses :func:`io.open_code` and respects coding comments." -msgstr "" - -#: ../build/NEWS:2037 -msgid "" -"`bpo-40234 `__: Allow again to spawn " -"daemon threads in subinterpreters (revert change which denied them)." -msgstr "" - -#: ../build/NEWS:2040 -msgid "" -"`bpo-39207 `__: Workers in :class:" -"`~concurrent.futures.ProcessPoolExecutor` are now spawned on demand, only " -"when there are no available idle workers to reuse. This optimizes startup " -"overhead and reduces the amount of lost CPU time to idle workers. Patch by " -"Kyle Stanley." -msgstr "" - -#: ../build/NEWS:2045 -msgid "" -"`bpo-40091 `__: Fix a hang at fork in " -"the logging module: the new private _at_fork_reinit() method is now used to " -"reinitialize locks at fork in the child process." -msgstr "" - -#: ../build/NEWS:2049 -msgid "" -"`bpo-40149 `__: Implement traverse and " -"clear slots in _abc._abc_data type." -msgstr "" - -#: ../build/NEWS:2051 -msgid "" -"`bpo-40208 `__: Remove deprecated :meth:" -"`symtable.SymbolTable.has_exec`." -msgstr "" - -#: ../build/NEWS:2053 -msgid "" -"`bpo-40196 `__: Fix a bug in the :mod:" -"`symtable` module that was causing incorrectly report global variables as " -"local. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:2056 -msgid "" -"`bpo-40190 `__: Add support for " -"``_SC_AIX_REALMEM`` to :func:`posix.sysconf`." -msgstr "" - -#: ../build/NEWS:2058 -msgid "" -"`bpo-40182 `__: Removed the " -"``_field_types`` attribute of the :class:`typing.NamedTuple` class." -msgstr "" - -#: ../build/NEWS:2061 -msgid "" -"`bpo-36517 `__: Multiple inheritance " -"with :class:`typing.NamedTuple` now raises an error instead of silently " -"ignoring other types." -msgstr "" - -#: ../build/NEWS:2064 -msgid "" -"`bpo-40126 `__: Fixed reverting multiple " -"patches in unittest.mock. Patcher's ``__exit__()`` is now never called if " -"its ``__enter__()`` is failed. Returning true from ``__exit__()`` silences " -"now the exception." -msgstr "" - -#: ../build/NEWS:2068 -msgid "" -"`bpo-40094 `__: CGIHTTPRequestHandler of " -"http.server now logs the CGI script exit code, rather than the CGI script " -"exit status of os.waitpid(). For example, if the script is killed by signal " -"11, it now logs: \"CGI script exit code -11.\"" -msgstr "" - -#: ../build/NEWS:2073 -msgid "" -"`bpo-40108 `__: Improve the error " -"message when triying to import a module using :mod:`runpy` and incorrently " -"use the \".py\" extension at the end of the module name. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:2077 -msgid "" -"`bpo-40094 `__: Add :func:`os." -"waitstatus_to_exitcode` function: convert a wait status to an exit code." -msgstr "" - -#: ../build/NEWS:2080 -msgid "" -"`bpo-40089 `__: Fix threading." -"_after_fork(): if fork was not called by a thread spawned by threading." -"Thread, threading._after_fork() now creates a _MainThread instance for " -"_main_thread, instead of a _DummyThread instance." -msgstr "" - -#: ../build/NEWS:2084 -msgid "" -"`bpo-40089 `__: Add a private " -"``_at_fork_reinit()`` method to :class:`_thread.Lock`, :class:`_thread." -"RLock`, :class:`threading.RLock` and :class:`threading.Condition` classes: " -"reinitialize the lock at fork in the child process, reset the lock to the " -"unlocked state. Rename also the private ``_reset_internal_locks()`` method " -"of :class:`threading.Event` to ``_at_fork_reinit()``." -msgstr "" - -#: ../build/NEWS:2091 -msgid "" -"`bpo-25780 `__: Expose :data:`~socket." -"CAN_RAW_JOIN_FILTERS` in the :mod:`socket` module." -msgstr "" - -#: ../build/NEWS:2094 -msgid "" -"`bpo-39503 `__: :class:`~urllib.request." -"AbstractBasicAuthHandler` of :mod:`urllib.request` now parses all WWW-" -"Authenticate HTTP headers and accepts multiple challenges per header: use " -"the realm of the first Basic challenge." -msgstr "" - -#: ../build/NEWS:2099 -msgid "" -"`bpo-39812 `__: Removed daemon threads " -"from :mod:`concurrent.futures` by adding an internal `threading." -"_register_atexit()`, which calls registered functions prior to joining all " -"non-daemon threads. This allows for compatibility with subinterpreters, " -"which don't support daemon threads." -msgstr "" - -#: ../build/NEWS:2104 -msgid "" -"`bpo-40050 `__: Fix ``importlib." -"_bootstrap_external``: avoid creating a new ``winreg`` builtin module if " -"it's already available in :data:`sys.modules`, and remove redundant imports." -msgstr "" - -#: ../build/NEWS:2108 -msgid "" -"`bpo-40014 `__: Fix ``os." -"getgrouplist()``: if ``getgrouplist()`` function fails because the group " -"list is too small, retry with a larger group list. On failure, the glibc " -"implementation of ``getgrouplist()`` sets ``ngroups`` to the total number of " -"groups. For other implementations, double the group list size." -msgstr "" - -#: ../build/NEWS:2114 -msgid "" -"`bpo-40017 `__: Add :data:`time." -"CLOCK_TAI` constant if the operating system support it." -msgstr "" - -#: ../build/NEWS:2117 -msgid "" -"`bpo-40016 `__: In re docstring, clarify " -"the relationship between inline and argument compile flags." -msgstr "" - -#: ../build/NEWS:2120 -msgid "" -"`bpo-39953 `__: Update internal table of " -"OpenSSL error codes in the ``ssl`` module." -msgstr "" - -#: ../build/NEWS:2123 -msgid "" -"`bpo-36144 `__: Added :pep:`584` " -"operators to :class:`weakref.WeakValueDictionary`." -msgstr "" - -#: ../build/NEWS:2126 -msgid "" -"`bpo-36144 `__: Added :pep:`584` " -"operators to :class:`weakref.WeakKeyDictionary`." -msgstr "" - -#: ../build/NEWS:2129 -msgid "" -"`bpo-38891 `__: Fix linear runtime " -"behaviour of the `__getitem__` and `__setitem__` methods in :class:" -"`multiprocessing.shared_memory.ShareableList`. This avoids quadratic " -"performance when iterating a `ShareableList`. Patch by Thomas Krennwallner." -msgstr "" - -#: ../build/NEWS:2135 -msgid "" -"`bpo-39682 `__: Remove undocumented " -"support for *closing* a `pathlib.Path` object via its context manager. The " -"context manager magic methods remain, but they are now a no-op, making " -"`Path` objects immutable." -msgstr "" - -#: ../build/NEWS:2139 -msgid "" -"`bpo-36144 `__: Added :pep:`584` " -"operators (``|`` and ``|=``) to :class:`collections.ChainMap`." -msgstr "" - -#: ../build/NEWS:2142 -msgid "" -"`bpo-39011 `__: Normalization of line " -"endings in ElementTree attributes was removed, as line endings which were " -"replaced by entity numbers should be preserved in original form." -msgstr "" - -#: ../build/NEWS:2146 -msgid "" -"`bpo-38410 `__: Properly handle :func:" -"`sys.audit` failures in :func:`sys.set_asyncgen_hooks`." -msgstr "" - -#: ../build/NEWS:2149 -msgid "" -"`bpo-36541 `__: lib2to3 now recognizes " -"named assignment expressions (the walrus operator, ``:=``)" -msgstr "" - -#: ../build/NEWS:2152 -msgid "" -"`bpo-35967 `__: In platform, delay the " -"invocation of 'uname -p' until the processor attribute is requested." -msgstr "" - -#: ../build/NEWS:2155 -msgid "" -"`bpo-35113 `__: :meth:`inspect." -"getsource` now returns correct source code for inner class with same name as " -"module level class. Decorators are also returned as part of source of the " -"class. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:2160 -msgid "" -"`bpo-33262 `__: Deprecate passing None " -"as an argument for :func:`shlex.split()`'s ``s`` parameter. Patch by " -"Zackery Spytz." -msgstr "" - -#: ../build/NEWS:2163 -msgid "" -"`bpo-31758 `__: Prevent crashes when " -"using an uninitialized ``_elementtree.XMLParser`` object. Patch by Oren " -"Milman." -msgstr "" - -#: ../build/NEWS:2169 -msgid "" -"`bpo-27635 `__: The pickle documentation " -"incorrectly claimed that ``__new__`` isn't called by default when unpickling." -msgstr "" - -#: ../build/NEWS:2172 -msgid "" -"`bpo-39879 `__: Updated :ref:`datamodel` " -"docs to include :func:`dict` insertion order preservation. Patch by Furkan " -"Onder and Samy Lahfa." -msgstr "" - -#: ../build/NEWS:2175 -msgid "" -"`bpo-38387 `__: Document :c:macro:" -"`PyDoc_STRVAR` macro in the C-API reference." -msgstr "" - -#: ../build/NEWS:2177 -msgid "" -"`bpo-13743 `__: Some methods within xml." -"dom.minidom.Element class are now better documented." -msgstr "" - -#: ../build/NEWS:2183 -msgid "" -"`bpo-31904 `__: Set expected default " -"encoding in test_c_locale_coercion.py for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:2186 -msgid "" -"`bpo-40162 `__: Update Travis CI " -"configuration to OpenSSL 1.1.1f." -msgstr "" - -#: ../build/NEWS:2188 -msgid "" -"`bpo-40146 `__: Update OpenSSL to 1.1.1f " -"in Azure Pipelines." -msgstr "" - -#: ../build/NEWS:2190 -msgid "" -"`bpo-40094 `__: Add :func:`test.support." -"wait_process` function." -msgstr "" - -#: ../build/NEWS:2192 -msgid "" -"`bpo-40003 `__: ``test.bisect_cmd`` now " -"copies Python command line options like ``-O`` or ``-W``. Moreover, emit a " -"warning if ``test.bisect_cmd`` is used with ``-w``/``--verbose2`` option." -msgstr "" - -#: ../build/NEWS:2196 -msgid "" -"`bpo-39380 `__: Add the encoding in :" -"class:`ftplib.FTP` and :class:`ftplib.FTP_TLS` to the constructor as keyword-" -"only and change the default from ``latin-1`` to ``utf-8`` to follow :rfc:" -"`2640`." -msgstr "" - -#: ../build/NEWS:2200 -msgid "" -"`bpo-39793 `__: Use the same domain when " -"testing ``make_msgid``. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:2203 -msgid "" -"`bpo-1812 `__: Fix newline handling in " -"doctest.testfile when loading from a package whose loader has a get_data " -"method. Patch by Peter Donis." -msgstr "" - -#: ../build/NEWS:2209 -msgid "" -"`bpo-38360 `__: Support single-argument " -"form of macOS -isysroot flag." -msgstr "" - -#: ../build/NEWS:2211 -msgid "" -"`bpo-40158 `__: Fix CPython MSBuild " -"Properties in NuGet Package (build/native/python.props)" -msgstr "" - -#: ../build/NEWS:2214 -msgid "" -"`bpo-38527 `__: Fix configure check on " -"Solaris for \"float word ordering\": sometimes, the correct \"grep\" command " -"was not being used. Patch by Arnon Yaari." -msgstr "" - -#: ../build/NEWS:2221 -msgid "" -"`bpo-40164 `__: Updates Windows to " -"OpenSSL 1.1.1f" -msgstr "" - -#: ../build/NEWS:2223 -msgid "" -"`bpo-8901 `__: Ignore the Windows " -"registry when the ``-E`` option is used." -msgstr "" - -#: ../build/NEWS:2228 -msgid "" -"`bpo-38329 `__: python.org macOS " -"installers now update the Current version symlink of /Library/Frameworks/" -"Python.framework/Versions for 3.9 installs. Previously, Current was only " -"updated for Python 2.x installs. This should make it easier to embed Python " -"3 into other macOS applications." -msgstr "" - -#: ../build/NEWS:2233 -msgid "" -"`bpo-40164 `__: Update macOS installer " -"builds to use OpenSSL 1.1.1g." -msgstr "" - -#: ../build/NEWS:2238 -msgid "" -"`bpo-38439 `__: Add a 256×256 pixel IDLE " -"icon to support more modern environments. Created by Andrew Clover. Delete " -"the unused macOS idle.icns icon file." -msgstr "" - -#: ../build/NEWS:2242 -msgid "" -"`bpo-38689 `__: IDLE will no longer " -"freeze when inspect.signature fails when fetching a calltip." -msgstr "" - -#: ../build/NEWS:2248 -msgid "" -"`bpo-40385 `__: Removed the checkpyc.py " -"tool. Please see compileall without force mode as a potential alternative." -msgstr "" - -#: ../build/NEWS:2251 -msgid "" -"`bpo-40179 `__: Fixed translation of " -"``#elif`` in Argument Clinic." -msgstr "" - -#: ../build/NEWS:2253 -msgid "" -"`bpo-40094 `__: Fix ``which.py`` script " -"exit code: it now uses :func:`os.waitstatus_to_exitcode` to convert :func:" -"`os.system` exit status into an exit code." -msgstr "" - -#: ../build/NEWS:2260 -msgid "" -"`bpo-40241 `__: Move the :c:type:" -"`PyGC_Head` structure to the internal C API." -msgstr "" - -#: ../build/NEWS:2262 -msgid "" -"`bpo-40170 `__: Convert :c:func:" -"`PyObject_IS_GC` macro to a function to hide implementation details." -msgstr "" - -#: ../build/NEWS:2265 -msgid "" -"`bpo-40241 `__: Add the functions :c:" -"func:`PyObject_GC_IsTracked` and :c:func:`PyObject_GC_IsFinalized` to the " -"public API to allow to query if Python objects are being currently tracked " -"or have been already finalized by the garbage collector respectively. Patch " -"by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:2270 -msgid "" -"`bpo-40170 `__: The :c:func:" -"`PyObject_NEW` macro becomes an alias to the :c:func:`PyObject_New` macro, " -"and the :c:func:`PyObject_NEW_VAR` macro becomes an alias to the :c:func:" -"`PyObject_NewVar` macro, to hide implementation details. They no longer " -"access directly the :c:member:`PyTypeObject.tp_basicsize` member." -msgstr "" - -#: ../build/NEWS:2276 -msgid "" -"`bpo-40170 `__: :c:func:" -"`PyType_HasFeature` now always calls :c:func:`PyType_GetFlags` to hide " -"implementation details. Previously, it accessed directly the :c:member:" -"`PyTypeObject.tp_flags` member when the limited C API was not used." -msgstr "" - -#: ../build/NEWS:2281 -msgid "" -"`bpo-40170 `__: Convert the :c:func:" -"`PyObject_GET_WEAKREFS_LISTPTR` macro to a function to hide implementation " -"details: the macro accessed directly to the :c:member:`PyTypeObject." -"tp_weaklistoffset` member." -msgstr "" - -#: ../build/NEWS:2285 -msgid "" -"`bpo-40170 `__: Convert :c:func:" -"`PyObject_CheckBuffer` macro to a function to hide implementation details: " -"the macro accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member." -msgstr "" - -#: ../build/NEWS:2289 -msgid "" -"`bpo-40170 `__: Always declare :c:func:" -"`PyIndex_Check` as an opaque function to hide implementation details: remove " -"``PyIndex_Check()`` macro. The macro accessed directly the :c:member:" -"`PyTypeObject.tp_as_number` member." -msgstr "" - -#: ../build/NEWS:2293 -msgid "" -"`bpo-39947 `__: Add :c:func:" -"`PyThreadState_GetID` function: get the unique identifier of a Python thread " -"state." -msgstr "" - -#: ../build/NEWS:2298 -msgid "Python 3.9.0 alpha 5" -msgstr "" - -#: ../build/NEWS:2300 -msgid "*Release date: 2020-03-23*" -msgstr "" - -#: ../build/NEWS:2305 -msgid "" -"`bpo-38576 `__: Disallow control " -"characters in hostnames in http.client, addressing CVE-2019-18348. Such " -"potentially malicious header injection URLs now cause a InvalidURL to be " -"raised." -msgstr "" - -#: ../build/NEWS:2312 -msgid "" -"`bpo-40010 `__: Optimize pending calls " -"in multithreaded applications. If a thread different than the main thread " -"schedules a pending call (:c:func:`Py_AddPendingCall`), the bytecode " -"evaluation loop is no longer interrupted at each bytecode instruction to " -"check for pending calls which cannot be executed. Only the main thread can " -"execute pending calls." -msgstr "" - -#: ../build/NEWS:2318 -msgid "" -"Previously, the bytecode evaluation loop was interrupted at each instruction " -"until the main thread executes pending calls." -msgstr "" - -#: ../build/NEWS:2324 -msgid "" -"`bpo-1635741 `__: Port _collections " -"module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2327 -msgid "" -"`bpo-40010 `__: Optimize signal handling " -"in multithreaded applications. If a thread different than the main thread " -"gets a signal, the bytecode evaluation loop is no longer interrupted at each " -"bytecode instruction to check for pending signals which cannot be handled. " -"Only the main thread of the main interpreter can handle signals." -msgstr "" - -#: ../build/NEWS:2333 -msgid "" -"Previously, the bytecode evaluation loop was interrupted at each instruction " -"until the main thread handles signals." -msgstr "" - -#: ../build/NEWS:2336 -msgid "" -"`bpo-39984 `__: If :c:func:" -"`Py_AddPendingCall` is called in a subinterpreter, the function is now " -"scheduled to be called from the subinterpreter, rather than being called " -"from the main interpreter. Each subinterpreter now has its own list of " -"scheduled calls." -msgstr "" - -#: ../build/NEWS:2341 -msgid "" -"`bpo-1635741 `__: Port _heapq module " -"to multiphase initialization." -msgstr "" - -#: ../build/NEWS:2343 -msgid "" -"`bpo-1635741 `__: Port itertools " -"module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2346 -msgid "" -"`bpo-37207 `__: Speed up calls to " -"``frozenset()`` by using the :pep:`590` ``vectorcall`` calling convention. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2349 -msgid "" -"`bpo-39984 `__: subinterpreters: Move " -"``_PyRuntimeState.ceval.tracing_possible`` to ``PyInterpreterState.ceval." -"tracing_possible``: each interpreter now has its own variable." -msgstr "" - -#: ../build/NEWS:2354 -msgid "" -"`bpo-37207 `__: Speed up calls to " -"``set()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " -"by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2357 -msgid "" -"`bpo-1635741 `__: Port _statistics " -"module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2360 -msgid "" -"`bpo-39968 `__: Use inline function to " -"replace extension modules' get_module_state macros." -msgstr "" - -#: ../build/NEWS:2363 -msgid "" -"`bpo-39965 `__: Correctly raise " -"``SyntaxError`` if *await* is used inside non-async functions and " -"``PyCF_ALLOW_TOP_LEVEL_AWAIT`` is set (like in the asyncio REPL). Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:2367 -msgid "" -"`bpo-39562 `__: Allow executing " -"asynchronous comprehensions on the top level when the " -"``PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag is given. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:2371 -msgid "" -"`bpo-37207 `__: Speed up calls to " -"``tuple()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " -"by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2374 -msgid "" -"`bpo-38373 `__: Chaged list " -"overallocation strategy. It no longer overallocates if the new size is " -"closer to overalocated size than to the old size and adds padding." -msgstr "" - -#: ../build/NEWS:2378 -msgid "" -"`bpo-39926 `__: Update Unicode database " -"to Unicode version 13.0.0." -msgstr "" - -#: ../build/NEWS:2380 -msgid "" -"`bpo-19466 `__: Clear the frames of " -"daemon threads earlier during the Python shutdown to call objects " -"destructors. So \"unclosed file\" resource warnings are now emitted for " -"daemon threads in a more reliable way." -msgstr "" - -#: ../build/NEWS:2384 -msgid "" -"`bpo-38894 `__: Fix a bug that was " -"causing incomplete results when calling ``pathlib.Path.glob`` in the " -"presence of symlinks that point to files where the user does not have read " -"access. Patch by Pablo Galindo and Matt Wozniski." -msgstr "" - -#: ../build/NEWS:2389 -msgid "" -"`bpo-39877 `__: Fix :c:func:" -"`PyEval_RestoreThread` random crash at exit with daemon threads. It now " -"accesses the ``_PyRuntime`` variable directly instead of using ``tstate-" -">interp->runtime``, since ``tstate`` can be a dangling pointer after :c:func:" -"`Py_Finalize` has been called. Moreover, the daemon thread now exits before " -"trying to take the GIL." -msgstr "" - -#: ../build/NEWS:2395 -msgid "" -"`bpo-39871 `__: Fix a possible :exc:" -"`SystemError` in ``math.{atan2,copysign,remainder}()`` when the first " -"argument cannot be converted to a :class:`float`. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:2399 -msgid "" -"`bpo-39776 `__: Fix race condition where " -"threads created by PyGILState_Ensure() could get a duplicate id." -msgstr "" - -#: ../build/NEWS:2402 -msgid "" -"This affects consumers of tstate->id like the contextvar caching machinery, " -"which could return invalid cached objects under heavy thread load (observed " -"in embedded scenarios)." -msgstr "" - -#: ../build/NEWS:2406 -msgid "" -"`bpo-39778 `__: Fixed a crash due to " -"incorrect handling of weak references in ``collections.OrderedDict`` " -"classes. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:2409 -msgid "" -"`bpo-1635741 `__: Port audioop " -"extension module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2412 -msgid "" -"`bpo-39702 `__: Relax :term:`decorator` " -"grammar restrictions to allow any valid expression (:pep:`614`)." -msgstr "" - -#: ../build/NEWS:2415 -msgid "" -"`bpo-38091 `__: Tweak import deadlock " -"detection code to not deadlock itself." -msgstr "" - -#: ../build/NEWS:2417 -msgid "" -"`bpo-1635741 `__: Port _locale " -"extension module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2420 -msgid "" -"`bpo-39087 `__: Optimize :c:func:" -"`PyUnicode_AsUTF8` and :c:func:`PyUnicode_AsUTF8AndSize` slightly when they " -"need to create internal UTF-8 cache." -msgstr "" - -#: ../build/NEWS:2424 -msgid "" -"`bpo-39520 `__: Fix unparsing of ext " -"slices with no items (``foo[:,]``). Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:2427 -msgid "" -"`bpo-39220 `__: Do not optimize " -"annotations if 'from __future__ import annotations' is used. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:2430 -msgid "" -"`bpo-35712 `__: Using :data:" -"`NotImplemented` in a boolean context has been deprecated. Patch contributed " -"by Josh Rosenberg." -msgstr "" - -#: ../build/NEWS:2433 -msgid "" -"`bpo-22490 `__: Don't leak environment " -"variable ``__PYVENV_LAUNCHER__`` into the interpreter session on macOS." -msgstr "" - -#: ../build/NEWS:2439 -msgid "" -"`bpo-39830 `__: Add :class:`zipfile." -"Path` to ``__all__`` in the :mod:`zipfile` module." -msgstr "" - -#: ../build/NEWS:2442 -msgid "" -"`bpo-40000 `__: Improved error messages " -"for validation of ``ast.Constant`` nodes. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:2445 -msgid "" -"`bpo-39999 `__: ``__module__`` of the " -"AST node classes is now set to \"ast\" instead of \"_ast\". Added docstrings " -"for dummy AST node classes and deprecated attributes." -msgstr "" - -#: ../build/NEWS:2449 -msgid "" -"`bpo-39991 `__: :func:`uuid.getnode` now " -"skips IPv6 addresses with the same string length than a MAC address (17 " -"characters): only use MAC addresses." -msgstr "" - -#: ../build/NEWS:2452 -msgid "" -"`bpo-39988 `__: Deprecated ``ast." -"AugLoad`` and ``ast.AugStore`` node classes because they are no longer used." -msgstr "" - -#: ../build/NEWS:2455 -msgid "" -"`bpo-39656 `__: Ensure ``bin/python3.#`` " -"is always present in virtual environments on POSIX platforms - by Anthony " -"Sottile." -msgstr "" - -#: ../build/NEWS:2458 -msgid "" -"`bpo-39969 `__: Deprecated ``ast.Param`` " -"node class because it's no longer used. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:2461 -msgid "" -"`bpo-39360 `__: Ensure all workers exit " -"when finalizing a :class:`multiprocessing.Pool` implicitly via the module " -"finalization handlers of multiprocessing. This fixes a deadlock situation " -"that can be experienced when the Pool is not properly finalized via the " -"context manager or a call to ``multiprocessing.Pool.terminate``. Patch by " -"Batuhan Taskaya and Pablo Galindo." -msgstr "" - -#: ../build/NEWS:2468 -msgid "" -"`bpo-35370 `__: sys.settrace(), sys." -"setprofile() and _lsprof.Profiler.enable() now properly report :c:func:" -"`PySys_Audit` error if \"sys.setprofile\" or \"sys.settrace\" audit event is " -"denied." -msgstr "" - -#: ../build/NEWS:2472 -msgid "" -"`bpo-39936 `__: AIX: Fix _aix_support " -"module when the subprocess is not available, when building Python from " -"scratch. It now uses new private _bootsubprocess module, rather than having " -"two implementations depending if subprocess is available or not. So " -"_aix_support.aix_platform() result is now the same if subprocess is " -"available or not." -msgstr "" - -#: ../build/NEWS:2478 -msgid "" -"`bpo-36144 `__: :class:`collections." -"OrderedDict` now implements ``|`` and ``|=`` (:pep:`584`)." -msgstr "" - -#: ../build/NEWS:2481 -msgid "" -"`bpo-39652 `__: The column name found in " -"``sqlite3.Cursor.description`` is now truncated on the first '[' only if the " -"PARSE_COLNAMES option is set." -msgstr "" - -#: ../build/NEWS:2484 -msgid "" -"`bpo-39915 `__: Ensure :attr:`unittest." -"mock.AsyncMock.await_args_list` has call objects in the order of awaited " -"arguments instead of using :attr:`unittest.mock.Mock.call_args` which has " -"the last value of the call. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:2489 -msgid "" -"`bpo-36144 `__: Updated :data:`os." -"environ` and :data:`os.environb` to support :pep:`584`'s merge (``|``) and " -"update (``|=``) operators." -msgstr "" - -#: ../build/NEWS:2492 -msgid "" -"`bpo-38662 `__: The ``ensurepip`` module " -"now invokes ``pip`` via the ``runpy`` module. Hence it is no longer tightly " -"coupled with the internal API of the bundled ``pip`` version, allowing " -"easier updates to a newer ``pip`` version both internally and for " -"distributors." -msgstr "" - -#: ../build/NEWS:2497 -msgid "" -"`bpo-38075 `__: Fix the :meth:`random." -"Random.seed` method when a :class:`bool` is passed as the seed." -msgstr "" - -#: ../build/NEWS:2500 -msgid "" -"`bpo-39916 `__: More reliable use of " -"``os.scandir()`` in ``Path.glob()``. It no longer emits a ResourceWarning " -"when interrupted." -msgstr "" - -#: ../build/NEWS:2503 -msgid "" -"`bpo-39850 `__: :mod:`multiprocessing` " -"now supports abstract socket addresses (if abstract sockets are supported in " -"the running platform). When creating arbitrary addresses (like when default-" -"constructing :class:`multiprocessing.connection.Listener` objects) abstract " -"sockets are preferred to avoid the case when the temporary-file-generated " -"address is too large for an AF_UNIX socket address. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:2510 -msgid "" -"`bpo-36287 `__: :func:`ast.dump()` no " -"longer outputs optional fields and attributes with default values. The " -"default values for optional fields and attributes of AST nodes are now set " -"as class attributes (e.g. ``Constant.kind`` is set to ``None``)." -msgstr "" - -#: ../build/NEWS:2515 -msgid "" -"`bpo-39889 `__: Fixed :func:`ast." -"unparse` for extended slices containing a single element (e.g. ``a[i:j,]``). " -"Remove redundant tuples when index with a tuple (e.g. ``a[i, j]``)." -msgstr "" - -#: ../build/NEWS:2519 -msgid "" -"`bpo-39828 `__: Fix :mod:`json.tool` to " -"catch :exc:`BrokenPipeError`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2522 -msgid "" -"`bpo-13487 `__: Avoid a possible *" -"\"RuntimeError: dictionary changed size during iteration\"* from :func:" -"`inspect.getmodule` when it tried to loop through :attr:`sys.modules`." -msgstr "" - -#: ../build/NEWS:2526 -msgid "" -"`bpo-39674 `__: Revert \"`bpo-37330 " -"`__: open() no longer accept 'U' in file " -"mode\". The \"U\" mode of open() is kept in Python 3.9 to ease transition " -"from Python 2.7, but will be removed in Python 3.10." -msgstr "" - -#: ../build/NEWS:2530 -msgid "" -"`bpo-28577 `__: The hosts method on 32-" -"bit prefix length IPv4Networks and 128-bit prefix IPv6Networks now returns a " -"list containing the single Address instead of an empty list." -msgstr "" - -#: ../build/NEWS:2534 -msgid "" -"`bpo-39826 `__: Add getConnection method " -"to logging HTTPHandler to enable custom connections." -msgstr "" - -#: ../build/NEWS:2537 -msgid "" -"`bpo-39763 `__: Reimplement :func:" -"`distutils.spawn.spawn` function with the :mod:`subprocess` module." -msgstr "" - -#: ../build/NEWS:2540 -msgid "" -"`bpo-39794 `__: Add --without-decimal-" -"contextvar build option. This enables a thread-local rather than a " -"coroutine local context." -msgstr "" - -#: ../build/NEWS:2543 -msgid "" -"`bpo-36144 `__: :class:`collections." -"defaultdict` now implements ``|`` (:pep:`584`)." -msgstr "" - -#: ../build/NEWS:2546 -msgid "" -"`bpo-39517 `__: Fix runpy.run_path() " -"when using pathlike objects" -msgstr "" - -#: ../build/NEWS:2548 -msgid "" -"`bpo-39775 `__: Change ``inspect." -"Signature.parameters`` back to ``collections.OrderedDict``. This was changed " -"to ``dict`` in Python 3.9.0a4." -msgstr "" - -#: ../build/NEWS:2552 -msgid "" -"`bpo-39678 `__: Refactor queue_manager " -"in :class:`concurrent.futures.ProcessPoolExecutor` to make it easier to " -"maintain." -msgstr "" - -#: ../build/NEWS:2556 -msgid "" -"`bpo-39764 `__: Fix AttributeError when " -"calling get_stack on a PyAsyncGenObject Task" -msgstr "" - -#: ../build/NEWS:2559 -msgid "" -"`bpo-39769 `__: The :func:`compileall." -"compile_dir` function's *ddir* parameter and the compileall command line " -"flag `-d` no longer write the wrong pathname to the generated pyc file for " -"submodules beneath the root of the directory tree being compiled. This " -"fixes a regression introduced with Python 3.5." -msgstr "" - -#: ../build/NEWS:2565 -msgid "" -"`bpo-36144 `__: :class:`types." -"MappingProxyType` objects now support the merge (``|``) operator from :pep:" -"`584`." -msgstr "" - -#: ../build/NEWS:2568 -msgid "" -"`bpo-38691 `__: The :mod:`importlib` " -"module now ignores the :envvar:`PYTHONCASEOK` environment variable when the :" -"option:`-E` or :option:`-I` command line options are being used." -msgstr "" - -#: ../build/NEWS:2572 -msgid "" -"`bpo-39719 `__: Remove :meth:`tempfile." -"SpooledTemporaryFile.softspace` as files no longer have the ``softspace`` " -"attribute in Python 3. Patch by Shantanu." -msgstr "" - -#: ../build/NEWS:2575 -msgid "" -"`bpo-39667 `__: Improve pathlib.Path " -"compatibility on zipfile.Path and correct performance degradation as found " -"in zipp 3.0." -msgstr "" - -#: ../build/NEWS:2578 -msgid "" -"`bpo-39638 `__: Keep ASDL signatures in " -"the docstrings for ``AST`` nodes. Patch by Batuhan Taskaya" -msgstr "" - -#: ../build/NEWS:2581 -msgid "" -"`bpo-39639 `__: Deprecated ``ast.Suite`` " -"node class because it's no longer used. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:2584 -msgid "" -"`bpo-39609 `__: Add thread_name_prefix " -"to default asyncio executor" -msgstr "" - -#: ../build/NEWS:2586 -msgid "" -"`bpo-39548 `__: Fix handling of header " -"in :class:`urllib.request.AbstractDigestAuthHandler` when the optional " -"``qop`` parameter is not present." -msgstr "" - -#: ../build/NEWS:2590 -msgid "" -"`bpo-39509 `__: HTTP status codes ``103 " -"EARLY_HINTS`` and ``425 TOO_EARLY`` are added to :class:`http.HTTPStatus`. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2593 -msgid "" -"`bpo-39507 `__: Adding HTTP status 418 " -"\"I'm a Teapot\" to HTTPStatus in http library. Patch by Ross Rhodes." -msgstr "" - -#: ../build/NEWS:2596 -msgid "" -"`bpo-39495 `__: Remove default value " -"from *attrs* parameter of :meth:`xml.etree.ElementTree.TreeBuilder.start` " -"for consistency between Python and C implementations." -msgstr "" - -#: ../build/NEWS:2600 -msgid "" -"`bpo-38971 `__: Open issue in the BPO " -"indicated a desire to make the implementation of codecs.open() at parity " -"with io.open(), which implements a try/except to assure file stream gets " -"closed before an exception is raised." -msgstr "" - -#: ../build/NEWS:2605 -msgid "" -"`bpo-38641 `__: Added starred " -"expressions support to ``return`` and ``yield`` statements for ``lib2to3``. " -"Patch by Vlad Emelianov." -msgstr "" - -#: ../build/NEWS:2608 -msgid "" -"`bpo-37534 `__: When using minidom " -"module to generate XML documents the ability to add Standalone Document " -"Declaration is added. All the changes are made to generate a document in " -"compliance with Extensible Markup Language (XML) 1.0 (Fifth Edition) W3C " -"Recommendation (available here: https://www.w3.org/TR/xml/#sec-prolog-dtd)." -msgstr "" - -#: ../build/NEWS:2614 -msgid "" -"`bpo-34788 `__: Add support for scoped " -"IPv6 addresses to :mod:`ipaddress`. Patch by Oleksandr Pavliuk." -msgstr "" - -#: ../build/NEWS:2617 -msgid "" -"`bpo-34822 `__: Simplified AST for " -"subscription. Simple indices are now represented by their value, extended " -"slices are represented as tuples. :mod:`ast` classes ``Index`` and " -"``ExtSlice`` are considered deprecated and will be removed in future Python " -"versions. In the meantime, ``Index(value)`` now returns a ``value`` itself, " -"``ExtSlice(slices)`` returns ``Tuple(slices, Load())``." -msgstr "" - -#: ../build/NEWS:2627 -msgid "" -"`bpo-39868 `__: Updated the Language " -"Reference for :pep:`572`." -msgstr "" - -#: ../build/NEWS:2629 -msgid "" -"`bpo-13790 `__: Change 'string' to " -"'specification' in format doc." -msgstr "" - -#: ../build/NEWS:2631 -msgid "" -"`bpo-17422 `__: The language reference " -"no longer restricts default class namespaces to dicts only." -msgstr "" - -#: ../build/NEWS:2634 -msgid "" -"`bpo-39530 `__: Fix misleading " -"documentation about mixed-type numeric comparisons." -msgstr "" - -#: ../build/NEWS:2637 -msgid "" -"`bpo-39718 `__: Update :mod:`token` " -"documentation to reflect additions in Python 3.8" -msgstr "" - -#: ../build/NEWS:2640 -msgid "" -"`bpo-39677 `__: Changed operand name of " -"**MAKE_FUNCTION** from *argc* to *flags* for module :mod:`dis`" -msgstr "" - -#: ../build/NEWS:2646 -msgid "" -"`bpo-40019 `__: test_gdb now skips tests " -"if it detects that gdb failed to read debug information because the Python " -"binary is optimized." -msgstr "" - -#: ../build/NEWS:2649 -msgid "" -"`bpo-27807 `__: ``test_site." -"test_startup_imports()`` is now skipped if a path of :data:`sys.path` " -"contains a ``.pth`` file." -msgstr "" - -#: ../build/NEWS:2652 -msgid "" -"`bpo-26067 `__: Do not fail test_shutil " -"test_chown test when uid or gid of user cannot be resolved to a name." -msgstr "" - -#: ../build/NEWS:2655 -msgid "" -"`bpo-39855 `__: test_subprocess." -"test_user() now skips the test on an user name if the user name doesn't " -"exist. For example, skip the test if the user \"nobody\" doesn't exist on " -"Linux." -msgstr "" - -#: ../build/NEWS:2662 -msgid "" -"`bpo-39761 `__: Fix build with DTrace " -"but without additional DFLAGS." -msgstr "" - -#: ../build/NEWS:2664 -msgid "" -"`bpo-39763 `__: setup.py now uses a " -"basic implementation of the :mod:`subprocess` module if the :mod:" -"`subprocess` module is not available: before required C extension modules " -"are built." -msgstr "" - -#: ../build/NEWS:2668 -msgid "" -"`bpo-1294959 `__: Add ``--with-" -"platlibdir`` option to the configure script: name of the platform-specific " -"library directory, stored in the new :attr:`sys.platlibdir` attribute. It is " -"used to build the path of platform-specific extension modules and the path " -"of the standard library. It is equal to ``\"lib\"`` on most platforms. On " -"Fedora and SuSE, it is equal to ``\"lib64\"`` on 64-bit platforms. Patch by " -"Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner." -msgstr "" - -#: ../build/NEWS:2679 -msgid "" -"`bpo-39930 `__: Ensures the required :" -"file:`vcruntime140.dll` is included in install packages." -msgstr "" - -#: ../build/NEWS:2682 -msgid "" -"`bpo-39847 `__: Avoid hang when computer " -"is hibernated whilst waiting for a mutex (for lock-related objects from :mod:" -"`threading`) around 49-day uptime." -msgstr "" - -#: ../build/NEWS:2686 -msgid "" -"`bpo-38597 `__: :mod:`distutils` will no " -"longer statically link :file:`vcruntime140.dll` when a redistributable " -"version is unavailable. All future releases of CPython will include a copy " -"of this DLL to ensure distributed extensions can continue to load." -msgstr "" - -#: ../build/NEWS:2691 -msgid "" -"`bpo-38380 `__: Update Windows builds to " -"use SQLite 3.31.1" -msgstr "" - -#: ../build/NEWS:2693 -msgid "" -"`bpo-39789 `__: Update Windows release " -"build machines to Visual Studio 2019 (MSVC 14.2)." -msgstr "" - -#: ../build/NEWS:2696 -msgid "" -"`bpo-34803 `__: Package for nuget.org " -"now includes repository reference and bundled icon image." -msgstr "" - -#: ../build/NEWS:2702 -msgid "" -"`bpo-38380 `__: Update macOS builds to " -"use SQLite 3.31.1" -msgstr "" - -#: ../build/NEWS:2707 -msgid "" -"`bpo-27115 `__: For 'Go to Line', use a " -"Query box subclass with IDLE standard behavior and improved error checking." -msgstr "" - -#: ../build/NEWS:2710 -msgid "" -"`bpo-39885 `__: Since clicking to get an " -"IDLE context menu moves the cursor, any text selection should be and now is " -"cleared." -msgstr "" - -#: ../build/NEWS:2713 -msgid "" -"`bpo-39852 `__: Edit \"Go to line\" now " -"clears any selection, preventing accidental deletion. It also updates Ln and " -"Col on the status bar." -msgstr "" - -#: ../build/NEWS:2716 -msgid "" -"`bpo-39781 `__: Selecting code context " -"lines no longer causes a jump." -msgstr "" - -#: ../build/NEWS:2721 -msgid "" -"`bpo-36184 `__: Port python-gdb.py to " -"FreeBSD. python-gdb.py now checks for \"take_gil\" function name to check if " -"a frame tries to acquire the GIL, instead of checking for " -"\"pthread_cond_timedwait\" which is specific to Linux and can be a different " -"condition than the GIL." -msgstr "" - -#: ../build/NEWS:2726 -msgid "" -"`bpo-38080 `__: Added support to fix " -"``getproxies`` in the :mod:`lib2to3.fixes.fix_urllib` module. Patch by José " -"Roberto Meza Cabrera." -msgstr "" - -#: ../build/NEWS:2733 -msgid "" -"`bpo-40024 `__: Add :c:func:" -"`PyModule_AddType` helper function: add a type to a module. Patch by Dong-" -"hee Na." -msgstr "" - -#: ../build/NEWS:2736 -msgid "" -"`bpo-39946 `__: Remove ``_PyRuntime." -"getframe`` hook and remove ``_PyThreadState_GetFrame`` macro which was an " -"alias to ``_PyRuntime.getframe``. They were only exposed by the internal C " -"API. Remove also ``PyThreadFrameGetter`` type." -msgstr "" - -#: ../build/NEWS:2741 -msgid "" -"`bpo-39947 `__: Add :c:func:" -"`PyThreadState_GetFrame` function: get the current frame of a Python thread " -"state." -msgstr "" - -#: ../build/NEWS:2744 -msgid "" -"`bpo-37207 `__: Add _PyArg_NoKwnames " -"helper function. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2746 -msgid "" -"`bpo-39947 `__: Add :c:func:" -"`PyThreadState_GetInterpreter`: get the interpreter of a Python thread state." -msgstr "" - -#: ../build/NEWS:2749 -msgid "" -"`bpo-39947 `__: Add :c:func:" -"`PyInterpreterState_Get` function to the limited C API." -msgstr "" - -#: ../build/NEWS:2752 -msgid "" -"`bpo-35370 `__: If :c:func:`PySys_Audit` " -"fails in :c:func:`PyEval_SetProfile` or :c:func:`PyEval_SetTrace`, log the " -"error as an unraisable exception." -msgstr "" - -#: ../build/NEWS:2755 -msgid "" -"`bpo-39947 `__: Move the static inline " -"function flavor of Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() to " -"the internal C API: they access PyThreadState attributes. The limited C API " -"provides regular functions which hide implementation details." -msgstr "" - -#: ../build/NEWS:2760 -msgid "" -"`bpo-39947 `__: " -"Py_TRASHCAN_BEGIN_CONDITION and Py_TRASHCAN_END macro no longer access " -"PyThreadState attributes, but call new private _PyTrash_begin() and " -"_PyTrash_end() functions which hide implementation details." -msgstr "" - -#: ../build/NEWS:2764 -msgid "" -"`bpo-39884 `__: :c:func:" -"`PyDescr_NewMethod` and :c:func:`PyCFunction_NewEx` now include the method " -"name in the SystemError \"bad call flags\" error message to ease debug." -msgstr "" - -#: ../build/NEWS:2768 -msgid "" -"`bpo-39877 `__: Deprecated :c:func:" -"`PyEval_InitThreads` and :c:func:`PyEval_ThreadsInitialized`. Calling :c:" -"func:`PyEval_InitThreads` now does nothing." -msgstr "" - -#: ../build/NEWS:2772 -msgid "" -"`bpo-38249 `__: :c:macro:" -"`Py_UNREACHABLE` is now implemented with ``__builtin_unreachable()`` and " -"analogs in release mode." -msgstr "" - -#: ../build/NEWS:2775 -msgid "" -"`bpo-38643 `__: :c:func:" -"`PyNumber_ToBase` now raises a :exc:`SystemError` instead of crashing when " -"called with invalid base." -msgstr "" - -#: ../build/NEWS:2778 -msgid "" -"`bpo-39882 `__: The :c:func:" -"`Py_FatalError` function is replaced with a macro which logs automatically " -"the name of the current function, unless the ``Py_LIMITED_API`` macro is " -"defined." -msgstr "" - -#: ../build/NEWS:2782 -msgid "" -"`bpo-39824 `__: Extension modules: :c:" -"member:`~PyModuleDef.m_traverse`, :c:member:`~PyModuleDef.m_clear` and :c:" -"member:`~PyModuleDef.m_free` functions of :c:type:`PyModuleDef` are no " -"longer called if the module state was requested but is not allocated yet. " -"This is the case immediately after the module is created and before the " -"module is executed (:c:data:`Py_mod_exec` function). More precisely, these " -"functions are not called if :c:member:`~PyModuleDef.m_size` is greater than " -"0 and the module state (as returned by :c:func:`PyModule_GetState`) is " -"``NULL``." -msgstr "" - -#: ../build/NEWS:2791 -msgid "" -"Extension modules without module state (``m_size <= 0``) are not affected." -msgstr "" - -#: ../build/NEWS:2793 -msgid "" -"`bpo-38913 `__: Fixed segfault in " -"``Py_BuildValue()`` called with a format containing \"#\" and undefined " -"PY_SSIZE_T_CLEAN whwn an exception is set." -msgstr "" - -#: ../build/NEWS:2796 -msgid "" -"`bpo-38500 `__: Add a private API to get " -"and set the frame evaluation function: add :c:func:" -"`_PyInterpreterState_GetEvalFrameFunc` and :c:func:" -"`_PyInterpreterState_SetEvalFrameFunc` C functions. The :c:type:" -"`_PyFrameEvalFunction` function type now takes a *tstate* parameter." -msgstr "" - -#: ../build/NEWS:2804 -msgid "Python 3.9.0 alpha 4" -msgstr "" - -#: ../build/NEWS:2806 -msgid "*Release date: 2020-02-25*" -msgstr "" - -#: ../build/NEWS:2811 -msgid "" -"`bpo-39184 `__: Add audit events to " -"functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal` and " -"`syslog`." -msgstr "" - -#: ../build/NEWS:2814 -msgid "" -"`bpo-39401 `__: Avoid unsafe DLL load at " -"startup on Windows 7 and earlier." -msgstr "" - -#: ../build/NEWS:2816 -msgid "" -"`bpo-39184 `__: Add audit events to " -"command execution functions in os and pty modules." -msgstr "" - -#: ../build/NEWS:2822 -msgid "" -"`bpo-39382 `__: Fix a use-after-free in " -"the single inheritance path of ``issubclass()``, when the ``__bases__`` of " -"an object has a single reference, and so does its first item. Patch by " -"Yonatan Goldschmidt." -msgstr "" - -#: ../build/NEWS:2826 -msgid "" -"`bpo-39573 `__: Update clinic tool to " -"use :c:func:`Py_IS_TYPE`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2829 -msgid "" -"`bpo-39619 `__: Enable use of :func:`os." -"chroot` on HP-UX systems." -msgstr "" - -#: ../build/NEWS:2831 -msgid "" -"`bpo-39573 `__: Add :c:func:`Py_IS_TYPE` " -"static inline function to check whether the object *o* type is *type*." -msgstr "" - -#: ../build/NEWS:2834 -msgid "" -"`bpo-39606 `__: Fix regression caused by " -"fix for `bpo-39386 `__, that prevented " -"calling ``aclose`` on an async generator that had already been closed or " -"exhausted." -msgstr "" - -#: ../build/NEWS:2838 -msgid "" -"`bpo-39579 `__: Change the ending column " -"offset of `Attribute` nodes constructed in `ast_for_dotted_name` to point at " -"the end of the current node and not at the end of the last `NAME` node." -msgstr "" - -#: ../build/NEWS:2842 -msgid "" -"`bpo-1635741 `__: Port _crypt " -"extension module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2845 -msgid "" -"`bpo-1635741 `__: Port _contextvars " -"extension module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2848 -msgid "" -"`bpo-39510 `__: Fix segfault in " -"``readinto()`` method on closed BufferedReader." -msgstr "" - -#: ../build/NEWS:2850 -msgid "" -"`bpo-39502 `__: Fix :func:`time." -"localtime` on 64-bit AIX to support years before 1902 and after 2038. Patch " -"by M Felt." -msgstr "" - -#: ../build/NEWS:2853 -msgid "" -"`bpo-39492 `__: Fix a reference cycle in " -"the C Pickler that was preventing the garbage collection of deleted, pickled " -"objects." -msgstr "" - -#: ../build/NEWS:2856 -msgid "" -"`bpo-39453 `__: Fixed a possible crash " -"in :meth:`list.__contains__` when a list is changed during comparing items. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2859 -msgid "" -"`bpo-39434 `__: :term:`floor division` " -"of float operation now has a better performance. Also the message of :exc:" -"`ZeroDivisionError` for this operation is updated. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2863 -msgid "" -"`bpo-1635741 `__: Port _codecs " -"extension module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2866 -msgid "" -"`bpo-1635741 `__: Port _bz2 extension " -"module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2869 -msgid "" -"`bpo-1635741 `__: Port _abc extension " -"module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:2872 -msgid "" -"`bpo-39320 `__: Replace two complex " -"bytecodes for building dicts with two simpler ones. The new bytecodes " -"``DICT_MERGE`` and ``DICT_UPDATE`` have been added The old bytecodes " -"``BUILD_MAP_UNPACK`` and ``BUILD_MAP_UNPACK_WITH_CALL`` have been removed." -msgstr "" - -#: ../build/NEWS:2877 -msgid "" -"`bpo-39219 `__: Syntax errors raised in " -"the tokenizer now always set correct \"text\" and \"offset\" attributes." -msgstr "" - -#: ../build/NEWS:2880 -msgid "" -"`bpo-36051 `__: Drop the GIL during " -"large ``bytes.join`` operations. Patch by Bruce Merry." -msgstr "" - -#: ../build/NEWS:2883 -msgid "" -"`bpo-38960 `__: Fix DTrace build issues " -"on FreeBSD. Patch by David Carlier." -msgstr "" - -#: ../build/NEWS:2885 -msgid "" -"`bpo-37207 `__: Speed up calls to " -"``range()`` by about 30%, by using the PEP 590 ``vectorcall`` calling " -"convention. Patch by Mark Shannon." -msgstr "" - -#: ../build/NEWS:2888 -msgid "" -"`bpo-36144 `__: :class:`dict` (and :" -"class:`collections.UserDict`) objects now support PEP 584's merge (``|``) " -"and update (``|=``) operators. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:2892 -msgid "" -"`bpo-32856 `__: Optimized the idiom for " -"assignment a temporary variable in comprehensions. Now ``for y in [expr]`` " -"in comprehensions is as fast as a simple assignment ``y = expr``." -msgstr "" - -#: ../build/NEWS:2899 -msgid "" -"`bpo-30566 `__: Fix :exc:`IndexError` " -"when trying to decode an invalid string with punycode codec." -msgstr "" - -#: ../build/NEWS:2902 -msgid "" -"`bpo-39649 `__: Remove obsolete check " -"for `__args__` in bdb.Bdb.format_stack_entry." -msgstr "" - -#: ../build/NEWS:2905 -msgid "" -"`bpo-39648 `__: Expanded :func:`math." -"gcd` and :func:`math.lcm` to handle multiple arguments." -msgstr "" - -#: ../build/NEWS:2908 -msgid "" -"`bpo-39681 `__: Fix a regression where " -"the C pickle module wouldn't allow unpickling from a file-like object that " -"doesn't expose a readinto() method." -msgstr "" - -#: ../build/NEWS:2912 -msgid "" -"`bpo-35950 `__: Raise :exc:`io." -"UnsupportedOperation` in :meth:`io.BufferedReader.truncate` when it is " -"called on a read-only :class:`io.BufferedReader` instance." -msgstr "" - -#: ../build/NEWS:2916 -msgid "" -"`bpo-39479 `__: Add :func:`math.lcm` " -"function: least common multiple." -msgstr "" - -#: ../build/NEWS:2918 -msgid "" -"`bpo-39674 `__: Revert \"Do not expose " -"abstract collection classes in the collections module\" change (`bpo-25988 " -"`__). Aliases to ABC like collections." -"Mapping are kept in Python 3.9 to ease transition from Python 2.7, but will " -"be removed in Python 3.10." -msgstr "" - -#: ../build/NEWS:2923 -msgid "" -"`bpo-39104 `__: Fix hanging " -"ProcessPoolExcutor on ``shutdown(wait=False)`` when a task has failed " -"pickling." -msgstr "" - -#: ../build/NEWS:2926 -msgid "" -"`bpo-39627 `__: Fixed TypedDict totality " -"check for inherited keys." -msgstr "" - -#: ../build/NEWS:2928 -msgid "" -"`bpo-39474 `__: Fixed starting position " -"of AST for expressions like ``(a)(b)``, ``(a)[b]`` and ``(a).b``." -msgstr "" - -#: ../build/NEWS:2931 -msgid "" -"`bpo-21016 `__: The :mod:`pydoc` and :" -"mod:`trace` modules now use the :mod:`sysconfig` module to get the path to " -"the Python standard library, to support uncommon installation path like ``/" -"usr/lib64/python3.9/`` on Fedora. Patch by Jan Matějek." -msgstr "" - -#: ../build/NEWS:2936 -msgid "" -"`bpo-39590 `__: Collections.deque now " -"holds strong references during deque.__contains__ and deque.count, fixing " -"crashes." -msgstr "" - -#: ../build/NEWS:2939 -msgid "" -"`bpo-39586 `__: The distutils " -"``bdist_msi`` command is deprecated in Python 3.9, use ``bdist_wheel`` " -"(wheel packages) instead." -msgstr "" - -#: ../build/NEWS:2942 -msgid "" -"`bpo-39595 `__: Improved performance of " -"zipfile.Path for files with a large number of entries. Also improved " -"performance and fixed minor issue as published with `importlib_metadata 1.5 " -"`_." -msgstr "" - -#: ../build/NEWS:2947 -msgid "" -"`bpo-39350 `__: Fix regression in :class:" -"`fractions.Fraction` if the numerator and/or the denominator is an :class:" -"`int` subclass. The :func:`math.gcd` function is now used to normalize the " -"*numerator* and *denominator*. :func:`math.gcd` always return a :class:`int` " -"type. Previously, the GCD type depended on *numerator* and *denominator*." -msgstr "" - -#: ../build/NEWS:2953 -msgid "" -"`bpo-39567 `__: Added audit for :func:" -"`os.walk`, :func:`os.fwalk`, :meth:`pathlib.Path.glob` and :meth:`pathlib." -"Path.rglob`." -msgstr "" - -#: ../build/NEWS:2956 -msgid "" -"`bpo-39559 `__: Remove unused, " -"undocumented argument ``getters`` from :func:`uuid.getnode`" -msgstr "" - -#: ../build/NEWS:2959 -msgid "" -"`bpo-38149 `__: :func:`sys.audit` is now " -"called only once per call of :func:`glob.glob` and :func:`glob.iglob`." -msgstr "" - -#: ../build/NEWS:2962 -msgid "" -"`bpo-39546 `__: Fix a regression in :" -"class:`~argparse.ArgumentParser` where ``allow_abbrev=False`` was ignored " -"for long options that used a prefix character other than \"-\"." -msgstr "" - -#: ../build/NEWS:2966 -msgid "" -"`bpo-39450 `__: Striped whitespace from " -"docstring before returning it from :func:`unittest.case.shortDescription`." -msgstr "" - -#: ../build/NEWS:2969 -msgid "" -"`bpo-12915 `__: A new function " -"``resolve_name`` has been added to the ``pkgutil`` module. This resolves a " -"string of the form ``'a.b.c.d'`` or ``'a.b:c.d'`` to an object. In the " -"example, ``a.b`` is a package/module and ``c.d`` is an object within that " -"package/module reached via recursive attribute access." -msgstr "" - -#: ../build/NEWS:2975 -msgid "" -"`bpo-39353 `__: The :func:`binascii." -"crc_hqx` function is no longer deprecated." -msgstr "" - -#: ../build/NEWS:2977 -msgid "" -"`bpo-39493 `__: Mark ``typing.IO." -"closed`` as a property" -msgstr "" - -#: ../build/NEWS:2979 -msgid "" -"`bpo-39491 `__: Add :data:`typing." -"Annotated` and ``include_extras`` parameter to :func:`typing.get_type_hints` " -"as part of :pep:`593`. Patch by Till Varoquaux, documentation by Till " -"Varoquaux and Konstantin Kashin." -msgstr "" - -#: ../build/NEWS:2983 -msgid "" -"`bpo-39485 `__: Fix a bug in :func:" -"`unittest.mock.create_autospec` that would complain about the wrong number " -"of arguments for custom descriptors defined in an extension module returning " -"functions." -msgstr "" - -#: ../build/NEWS:2987 -msgid "" -"`bpo-38932 `__: Mock fully resets child " -"objects on reset_mock(). Patch by Vegard Stikbakke" -msgstr "" - -#: ../build/NEWS:2990 -msgid "" -"`bpo-39082 `__: Allow AsyncMock to " -"correctly patch static/class methods" -msgstr "" - -#: ../build/NEWS:2992 -msgid "" -"`bpo-39432 `__: Implement PEP-489 " -"algorithm for non-ascii \"PyInit\\_...\" symbol names in distutils to make " -"it export the correct init symbol also on Windows." -msgstr "" - -#: ../build/NEWS:2996 -msgid "" -"`bpo-18819 `__: Omit ``devmajor`` and " -"``devminor`` fields for non-device files in :mod:`tarfile` archives, " -"enabling bit-for-bit compatibility with GNU ``tar(1)``." -msgstr "" - -#: ../build/NEWS:3000 -msgid "" -"`bpo-39349 `__: Added a new " -"*cancel_futures* parameter to :meth:`concurrent.futures.Executor.shutdown` " -"that cancels all pending futures which have not started running, instead of " -"waiting for them to complete before shutting down the executor." -msgstr "" - -#: ../build/NEWS:3005 -msgid "" -"`bpo-39274 `__: ``bool(fraction." -"Fraction)`` now returns a boolean even if (numerator != 0) does not return a " -"boolean (ex: numpy number)." -msgstr "" - -#: ../build/NEWS:3008 -msgid "" -"`bpo-34793 `__: Remove support for " -"``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):``. The " -"same is correct for ``asyncio.Condition`` and ``asyncio.Semaphore``." -msgstr "" - -#: ../build/NEWS:3012 -msgid "" -"`bpo-25597 `__: Ensure, if ``wraps`` is " -"supplied to :class:`unittest.mock.MagicMock`, it is used to calculate return " -"values for the magic methods instead of using the default return values. " -"Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:3017 -msgid "" -"`bpo-36350 `__: `inspect.Signature." -"parameters` and `inspect.BoundArguments.arguments` are now dicts instead of " -"OrderedDicts. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:3021 -msgid "" -"`bpo-35727 `__: Fix sys.exit() and sys." -"exit(None) exit code propagation when used in multiprocessing.Process." -msgstr "" - -#: ../build/NEWS:3024 -msgid "" -"`bpo-32173 `__: * Add `lazycache` " -"function to `__all__`. * Use `dict.clear` to clear the cache. * Refactoring " -"`getline` function and `checkcache` function." -msgstr "" - -#: ../build/NEWS:3031 -msgid "" -"`bpo-17422 `__: The language reference " -"now specifies restrictions on class namespaces. Adapted from a patch by " -"Ethan Furman." -msgstr "" - -#: ../build/NEWS:3034 -msgid "" -"`bpo-39572 `__: Updated documentation of " -"``total`` flag of TypeDict." -msgstr "" - -#: ../build/NEWS:3036 -msgid "" -"`bpo-39654 `__: In pyclbr doc, update " -"'class' to 'module' where appropriate and add readmodule comment. Patch by " -"Hakan Çelik." -msgstr "" - -#: ../build/NEWS:3039 -msgid "" -"`bpo-39153 `__: Clarify refcounting " -"semantics for the following functions: - PyObject_SetItem - " -"PyMapping_SetItemString - PyDict_SetItem - PyDict_SetItemString" -msgstr "" - -#: ../build/NEWS:3043 -msgid "" -"`bpo-39392 `__: Explain that when " -"filling with turtle, overlap regions may be left unfilled." -msgstr "" - -#: ../build/NEWS:3046 -msgid "" -"`bpo-39369 `__: Update mmap readline " -"method description. The fact that the readline method does update the file " -"position should not be ignored since this might give the impression for the " -"programmer that it doesn't update it." -msgstr "" - -#: ../build/NEWS:3051 -msgid "" -"`bpo-9056 `__: Include subsection in TOC " -"for PDF version of docs." -msgstr "" - -#: ../build/NEWS:3056 -msgid "" -"`bpo-38325 `__: Skip tests on non-BMP " -"characters of test_winconsoleio." -msgstr "" - -#: ../build/NEWS:3058 -msgid "" -"`bpo-39502 `__: Skip test_zipfile." -"test_add_file_after_2107() if :func:`time.localtime` fails with :exc:" -"`OverflowError`. It is the case on AIX 6.1 for example." -msgstr "" - -#: ../build/NEWS:3065 -msgid "" -"`bpo-39489 `__: Remove ``COUNT_ALLOCS`` " -"special build." -msgstr "" - -#: ../build/NEWS:3070 -msgid "" -"`bpo-39553 `__: Delete unused code " -"related to SxS manifests." -msgstr "" - -#: ../build/NEWS:3072 -msgid "" -"`bpo-39439 `__: Honor the Python path " -"when a virtualenv is active on Windows." -msgstr "" - -#: ../build/NEWS:3074 -msgid "" -"`bpo-39393 `__: Improve the error " -"message when attempting to load a DLL with unresolved dependencies." -msgstr "" - -#: ../build/NEWS:3077 -msgid "" -"`bpo-38883 `__: :meth:`~pathlib.Path." -"home()` and :meth:`~pathlib.Path.expanduser()` on Windows now prefer :envvar:" -"`USERPROFILE` and no longer use :envvar:`HOME`, which is not normally set " -"for regular user accounts. This makes them again behave like :func:`os.path." -"expanduser`, which was changed to ignore :envvar:`HOME` in 3.8, see :issue:" -"`36264`." -msgstr "" - -#: ../build/NEWS:3084 -msgid "" -"`bpo-39185 `__: The build.bat script has " -"additional options for very-quiet output (-q) and very-verbose output (-vv)" -msgstr "" - -#: ../build/NEWS:3090 -msgid "" -"`bpo-39663 `__: Add tests for pyparse " -"find_good_parse_start()." -msgstr "" - -#: ../build/NEWS:3092 -msgid "" -"`bpo-39600 `__: In the font " -"configuration window, remove duplicated font names." -msgstr "" - -#: ../build/NEWS:3094 -msgid "" -"`bpo-30780 `__: Add remaining " -"configdialog tests for buttons and highlights and keys tabs." -msgstr "" - -#: ../build/NEWS:3097 -msgid "" -"`bpo-39388 `__: IDLE Settings Cancel " -"button now cancels pending changes" -msgstr "" - -#: ../build/NEWS:3099 -msgid "" -"`bpo-38792 `__: Close an IDLE shell " -"calltip if a :exc:`KeyboardInterrupt` or shell restart occurs. Patch by " -"Zackery Spytz." -msgstr "" - -#: ../build/NEWS:3105 -msgid "" -"`bpo-35081 `__: Move the ``bytes_methods." -"h`` header file to the internal C API as ``pycore_bytes_methods.h``: it only " -"contains private symbols (prefixed by ``_Py``), except of the " -"``PyDoc_STRVAR_shared()`` macro." -msgstr "" - -#: ../build/NEWS:3109 -msgid "" -"`bpo-35081 `__: Move the ``dtoa.h`` " -"header file to the internal C API as ``pycore_dtoa.h``: it only contains " -"private functions (prefixed by ``_Py``). The :mod:`math` and :mod:`cmath` " -"modules must now be compiled with the ``Py_BUILD_CORE`` macro defined." -msgstr "" - -#: ../build/NEWS:3114 -msgid "" -"`bpo-39573 `__: Add :c:func:" -"`Py_SET_SIZE` function to set the size of an object." -msgstr "" - -#: ../build/NEWS:3117 -msgid "" -"`bpo-39500 `__: :c:func:" -"`PyUnicode_IsIdentifier` does not call :c:func:`Py_FatalError` anymore if " -"the string is not ready." -msgstr "" - -#: ../build/NEWS:3120 -msgid "" -"`bpo-39573 `__: Add :c:func:" -"`Py_SET_TYPE` function to set the type of an object." -msgstr "" - -#: ../build/NEWS:3123 -msgid "" -"`bpo-39573 `__: Add a :c:func:" -"`Py_SET_REFCNT` function to set the reference counter of an object." -msgstr "" - -#: ../build/NEWS:3126 -msgid "" -"`bpo-39542 `__: Convert :c:func:" -"`PyType_HasFeature`, :c:func:`PyType_Check` and :c:func:`PyType_CheckExact` " -"macros to static inline functions." -msgstr "" - -#: ../build/NEWS:3129 -msgid "" -"`bpo-39542 `__: In the limited C API, " -"``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` are now defined as aliases " -"to :c:func:`PyObject_Init` and :c:func:`PyObject_InitVar` to make their " -"implementation opaque. It avoids to leak implementation details in the " -"limited C API. Exclude the following functions from the limited C API: " -"``_Py_NewReference()``, ``_Py_ForgetReference()``, " -"``_PyTraceMalloc_NewReference()`` and ``_Py_GetRefTotal()``." -msgstr "" - -#: ../build/NEWS:3137 -msgid "" -"`bpo-39542 `__: Exclude trashcan " -"mechanism from the limited C API: it requires access to PyTypeObject and " -"PyThreadState structure fields, whereas these structures are opaque in the " -"limited C API." -msgstr "" - -#: ../build/NEWS:3141 -msgid "" -"`bpo-39511 `__: The :c:func:" -"`PyThreadState_Clear` function now calls the :c:member:`PyThreadState." -"on_delete` callback. Previously, that happened in :c:func:" -"`PyThreadState_Delete`." -msgstr "" - -#: ../build/NEWS:3145 -msgid "" -"`bpo-38076 `__: Fix to clear the " -"interpreter state only after clearing module globals to guarantee module " -"state access from C Extensions during runtime destruction" -msgstr "" - -#: ../build/NEWS:3149 -msgid "" -"`bpo-39245 `__: The Vectorcall API (PEP " -"590) was made public, adding the functions ``PyObject_Vectorcall``, " -"``PyObject_VectorcallMethod``, ``PyVectorcall_Function``, " -"``PyObject_CallOneArg``, ``PyObject_CallMethodNoArgs``, " -"``PyObject_CallMethodOneArg``, ``PyObject_FastCallDict``, and the flag " -"``Py_TPFLAGS_HAVE_VECTORCALL``." -msgstr "" - -#: ../build/NEWS:3157 -msgid "Python 3.9.0 alpha 3" -msgstr "" - -#: ../build/NEWS:3159 -msgid "*Release date: 2020-01-24*" -msgstr "" - -#: ../build/NEWS:3164 -msgid "" -"`bpo-39427 `__: Document all " -"possibilities for the ``-X`` options in the command line help section. Patch " -"by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3167 -msgid "" -"`bpo-39421 `__: Fix possible crashes " -"when operating with the functions in the :mod:`heapq` module and custom " -"comparison operators." -msgstr "" - -#: ../build/NEWS:3170 -msgid "" -"`bpo-39386 `__: Prevent double awaiting " -"of async iterator." -msgstr "" - -#: ../build/NEWS:3172 -msgid "" -"`bpo-17005 `__: Add :class:`functools." -"TopologicalSorter` to the :mod:`functools` module to offers functionality to " -"perform topological sorting of graphs. Patch by Pablo Galindo, Tim Peters " -"and Larry Hastings." -msgstr "" - -#: ../build/NEWS:3176 -msgid "" -"`bpo-39320 `__: Replace four complex " -"bytecodes for building sequences with three simpler ones." -msgstr "" - -#: ../build/NEWS:3179 -msgid "The following four bytecodes have been removed:" -msgstr "" - -#: ../build/NEWS:3181 -msgid "BUILD_LIST_UNPACK" -msgstr "" - -#: ../build/NEWS:3182 -msgid "BUILD_TUPLE_UNPACK" -msgstr "" - -#: ../build/NEWS:3183 -msgid "BUILD_SET_UNPACK" -msgstr "" - -#: ../build/NEWS:3184 -msgid "BUILD_TUPLE_UNPACK_WITH_CALL" -msgstr "" - -#: ../build/NEWS:3186 -msgid "The following three bytecodes have been added:" -msgstr "" - -#: ../build/NEWS:3188 -msgid "LIST_TO_TUPLE" -msgstr "" - -#: ../build/NEWS:3189 -msgid "LIST_EXTEND" -msgstr "" - -#: ../build/NEWS:3190 -msgid "SET_UPDATE" -msgstr "" - -#: ../build/NEWS:3192 -msgid "" -"`bpo-39336 `__: Import loaders which " -"publish immutable module objects can now publish immutable packages in " -"addition to individual modules." -msgstr "" - -#: ../build/NEWS:3195 -msgid "" -"`bpo-39322 `__: Added a new function :" -"func:`gc.is_finalized` to check if an object has been finalized by the " -"garbage collector. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3199 -msgid "" -"`bpo-39048 `__: Improve the displayed " -"error message when incorrect types are passed to ``async with`` statements " -"by looking up the :meth:`__aenter__` special method before the :meth:" -"`__aexit__` special method when entering an asynchronous context manager. " -"Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:3204 -msgid "" -"`bpo-39235 `__: Fix AST end location for " -"lone generator expression in function call, e.g. f(i for i in a)." -msgstr "" - -#: ../build/NEWS:3207 -msgid "" -"`bpo-39209 `__: Correctly handle multi-" -"line tokens in interactive mode. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3210 -msgid "" -"`bpo-1635741 `__: Port _json extension " -"module to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:3213 -msgid "" -"`bpo-39216 `__: Fix constant folding " -"optimization for positional only arguments - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:3216 -msgid "" -"`bpo-39215 `__: Fix ``SystemError`` when " -"nested function has annotation on positional-only argument - by Anthony " -"Sottile." -msgstr "" - -#: ../build/NEWS:3219 -msgid "" -"`bpo-39200 `__: Correct the error " -"message when calling the :func:`min` or :func:`max` with no arguments. Patch " -"by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3222 -msgid "" -"`bpo-39200 `__: Correct the error " -"message when trying to construct :class:`range` objects with no arguments. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3225 -msgid "" -"`bpo-39166 `__: Fix incorrect line " -"execution reporting in trace functions when tracing the last iteration of " -"asynchronous for loops. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3229 -msgid "" -"`bpo-39114 `__: Fix incorrent line " -"execution reporting in trace functions when tracing exception handlers with " -"name binding. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3232 -msgid "" -"`bpo-39156 `__: Split the COMPARE_OP " -"bytecode instruction into four distinct instructions." -msgstr "" - -#: ../build/NEWS:3235 -msgid "COMPARE_OP for rich comparisons" -msgstr "" - -#: ../build/NEWS:3236 -msgid "IS_OP for 'is' and 'is not' tests" -msgstr "" - -#: ../build/NEWS:3237 -msgid "CONTAINS_OP for 'in' and 'is not' tests" -msgstr "" - -#: ../build/NEWS:3238 -msgid "" -"JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements." -msgstr "" - -#: ../build/NEWS:3240 -msgid "" -"This improves the clarity of the interpreter and should provide a modest " -"speedup." -msgstr "" - -#: ../build/NEWS:3243 -msgid "" -"`bpo-38588 `__: Fix possible crashes in " -"dict and list when calling :c:func:`PyObject_RichCompareBool`." -msgstr "" - -#: ../build/NEWS:3246 -msgid "" -"`bpo-13601 `__: By default, ``sys." -"stderr`` is line-buffered now, even if ``stderr`` is redirected to a file. " -"You can still make ``sys.stderr`` unbuffered by passing the :option:`-u` " -"command-line option or setting the :envvar:`PYTHONUNBUFFERED` environment " -"variable." -msgstr "" - -#: ../build/NEWS:3251 -msgid "" -"(Contributed by Jendrik Seipp in `bpo-13601 `__.)" -msgstr "" - -#: ../build/NEWS:3253 -msgid "" -"`bpo-38610 `__: Fix possible crashes in " -"several list methods by holding strong references to list elements when " -"calling :c:func:`PyObject_RichCompareBool`." -msgstr "" - -#: ../build/NEWS:3257 -msgid "" -"`bpo-32021 `__: Include brotli .br " -"encoding in mimetypes encodings_map" -msgstr "" - -#: ../build/NEWS:3262 -msgid "" -"`bpo-39430 `__: Fixed race condition in " -"lazy imports in :mod:`tarfile`." -msgstr "" - -#: ../build/NEWS:3264 -msgid "" -"`bpo-39413 `__: The :func:`os.unsetenv` " -"function is now also available on Windows." -msgstr "" - -#: ../build/NEWS:3267 -msgid "" -"`bpo-39390 `__: Fixed a regression with " -"the `ignore` callback of :func:`shutil.copytree`. The argument types are now " -"str and List[str] again." -msgstr "" - -#: ../build/NEWS:3271 -msgid "" -"`bpo-39395 `__: The :func:`os.putenv` " -"and :func:`os.unsetenv` functions are now always available." -msgstr "" - -#: ../build/NEWS:3274 -msgid "" -"`bpo-39406 `__: If ``setenv()`` C " -"function is available, :func:`os.putenv` is now implemented with " -"``setenv()`` instead of ``putenv()``, so Python doesn't have to handle the " -"environment variable memory." -msgstr "" - -#: ../build/NEWS:3278 -msgid "" -"`bpo-39396 `__: Fix ``math." -"nextafter(-0.0, +0.0)`` on AIX 7.1." -msgstr "" - -#: ../build/NEWS:3280 -msgid "" -"`bpo-29435 `__: Allow :func:`tarfile." -"is_tarfile` to be used with file and file-like objects, like :func:`zipfile." -"is_zipfile`. Patch by William Woodruff." -msgstr "" - -#: ../build/NEWS:3284 -msgid "" -"`bpo-39377 `__: Removed ``encoding`` " -"option from :func:`json.loads`. It has been deprecated since Python 3.1." -msgstr "" - -#: ../build/NEWS:3287 -msgid "" -"`bpo-39389 `__: Write accurate " -"compression level metadata in :mod:`gzip` archives, rather than always " -"signaling maximum compression." -msgstr "" - -#: ../build/NEWS:3290 -msgid "" -"`bpo-39366 `__: The previously " -"deprecated ``xpath()`` and ``xgtitle()`` methods of :class:`nntplib.NNTP` " -"have been removed." -msgstr "" - -#: ../build/NEWS:3293 -msgid "" -"`bpo-39357 `__: Remove the *buffering* " -"parameter of :class:`bz2.BZ2File`. Since Python 3.0, it was ignored and " -"using it was emitting :exc:`DeprecationWarning`. Pass an open file object, " -"to control how the file is opened. The *compresslevel* parameter becomes " -"keyword-only." -msgstr "" - -#: ../build/NEWS:3298 -msgid "" -"`bpo-39353 `__: Deprecate binhex4 and " -"hexbin4 standards. Deprecate the :mod:`binhex` module and the following :mod:" -"`binascii` functions: :func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`, :" -"func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`, :func:" -"`~binascii.crc_hqx`." -msgstr "" - -#: ../build/NEWS:3304 -msgid "" -"`bpo-39351 `__: Remove ``base64." -"encodestring()`` and ``base64.decodestring()``, aliases deprecated since " -"Python 3.1: use :func:`base64.encodebytes` and :func:`base64.decodebytes` " -"instead." -msgstr "" - -#: ../build/NEWS:3308 -msgid "" -"`bpo-39350 `__: Remove ``fractions." -"gcd()`` function, deprecated since Python 3.5 (:issue:`22486`): use :func:" -"`math.gcd` instead." -msgstr "" - -#: ../build/NEWS:3311 -msgid "" -"`bpo-39329 `__: :class:`~smtplib.LMTP` " -"constructor now has an optional *timeout* parameter. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3314 -msgid "" -"`bpo-39313 `__: Add a new " -"``exec_function`` option (*--exec-function* in the CLI) to " -"``RefactoringTool`` for making ``exec`` a function. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:3318 -msgid "" -"`bpo-39259 `__: :class:`~ftplib.FTP_TLS` " -"and :class:`~ftplib.FTP_TLS` now raise a :class:`ValueError` if the given " -"timeout for their constructor is zero to prevent the creation of a non-" -"blocking socket. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3322 -msgid "" -"`bpo-39259 `__: :class:`~smtplib.SMTP` " -"and :class:`~smtplib.SMTP_SSL` now raise a :class:`ValueError` if the given " -"timeout for their constructor is zero to prevent the creation of a non-" -"blocking socket. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3326 -msgid "" -"`bpo-39310 `__: Add :func:`math.ulp`: " -"return the value of the least significant bit of a float." -msgstr "" - -#: ../build/NEWS:3329 -msgid "" -"`bpo-39297 `__: Improved performance of " -"importlib.metadata distribution discovery and resilients to inaccessible sys." -"path entries (importlib_metadata v1.4.0)." -msgstr "" - -#: ../build/NEWS:3333 -msgid "" -"`bpo-39259 `__: :class:`~nntplib.NNTP` " -"and :class:`~nntplib.NNTP_SSL` now raise a :class:`ValueError` if the given " -"timeout for their constructor is zero to prevent the creation of a non-" -"blocking socket. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3337 -msgid "" -"`bpo-38901 `__: When you specify " -"prompt='.' or equivalently python -m venv --prompt . ... the basename of the " -"current directory is used to set the created venv's prompt when it's " -"activated." -msgstr "" - -#: ../build/NEWS:3341 -msgid "" -"`bpo-39288 `__: Add :func:`math." -"nextafter`: return the next floating-point value after *x* towards *y*." -msgstr "" - -#: ../build/NEWS:3344 -msgid "" -"`bpo-39259 `__: :class:`~poplib.POP3` " -"and :class:`~poplib.POP3_SSL` now raise a :class:`ValueError` if the given " -"timeout for their constructor is zero to prevent the creation of a non-" -"blocking socket. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3348 -msgid "" -"`bpo-39242 `__: Updated the Gmane domain " -"from news.gmane.org to news.gmane.io which is used for examples of :class:" -"`~nntplib.NNTP` news reader server and nntplib tests." -msgstr "" - -#: ../build/NEWS:3352 -msgid "" -"`bpo-35292 `__: Proxy the " -"`SimpleHTTPRequestHandler.guess_type` to `mimetypes.guess_type` so the " -"`mimetypes.init` is called lazily to avoid unnecessary costs when :mod:`http." -"server` module is imported." -msgstr "" - -#: ../build/NEWS:3356 -msgid "" -"`bpo-39239 `__: The :meth:`select.epoll." -"unregister` method no longer ignores the :data:`~errno.EBADF` error." -msgstr "" - -#: ../build/NEWS:3359 -msgid "" -"`bpo-38907 `__: In http.server script, " -"restore binding to IPv4 on Windows." -msgstr "" - -#: ../build/NEWS:3361 -msgid "" -"`bpo-39152 `__: Fix ttk.Scale." -"configure([name]) to return configuration tuple for name or all options. " -"Giovanni Lombardo contributed part of the patch." -msgstr "" - -#: ../build/NEWS:3364 -msgid "" -"`bpo-39198 `__: If an exception were to " -"be thrown in `Logger.isEnabledFor` (say, by asyncio timeouts or stopit) , " -"the `logging` global lock may not be released appropriately, resulting in " -"deadlock. This change wraps that block of code with `try...finally` to " -"ensure the lock is released." -msgstr "" - -#: ../build/NEWS:3369 -msgid "" -"`bpo-39191 `__: Perform a check for " -"running loop before starting a new task in ``loop.run_until_complete()`` to " -"fail fast; it prevents the side effect of new task spawning before exception " -"raising." -msgstr "" - -#: ../build/NEWS:3373 -msgid "" -"`bpo-38871 `__: Correctly parenthesize " -"filter-based statements that contain lambda expressions in mod:`lib2to3`. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3376 -msgid "" -"`bpo-39142 `__: A change was made to " -"logging.config.dictConfig to avoid converting instances of named tuples to " -"ConvertingTuple. It's assumed that named tuples are too specialised to be " -"treated like ordinary tuples; if a user of named tuples requires " -"ConvertingTuple functionality, they will have to implement that themselves " -"in their named tuple class." -msgstr "" - -#: ../build/NEWS:3382 -msgid "" -"`bpo-39158 `__: ast.literal_eval() now " -"supports empty sets." -msgstr "" - -#: ../build/NEWS:3384 -msgid "" -"`bpo-39129 `__: Fix import path for " -"``asyncio.TimeoutError``" -msgstr "" - -#: ../build/NEWS:3386 -msgid "" -"`bpo-39057 `__: :func:`urllib.request." -"proxy_bypass_environment` now ignores leading dots and no longer ignores a " -"trailing newline." -msgstr "" - -#: ../build/NEWS:3389 -msgid "" -"`bpo-39056 `__: Fixed handling invalid " -"warning category in the -W option. No longer import the re module if it is " -"not needed." -msgstr "" - -#: ../build/NEWS:3392 -msgid "" -"`bpo-39055 `__: :func:`base64.b64decode` " -"with ``validate=True`` raises now a binascii.Error if the input ends with a " -"single ``\\n``." -msgstr "" - -#: ../build/NEWS:3395 -msgid "" -"`bpo-21600 `__: Fix :func:`mock.patch." -"stopall` to stop active patches that were created with :func:`mock.patch." -"dict`." -msgstr "" - -#: ../build/NEWS:3398 -msgid "" -"`bpo-39019 `__: Implement dummy " -"``__class_getitem__`` for :class:`tempfile.SpooledTemporaryFile`." -msgstr "" - -#: ../build/NEWS:3401 -msgid "" -"`bpo-39019 `__: Implement dummy " -"``__class_getitem__`` for ``subprocess.Popen``, ``subprocess." -"CompletedProcess``" -msgstr "" - -#: ../build/NEWS:3404 -msgid "" -"`bpo-38914 `__: Adjusted the wording of " -"the warning issued by distutils' ``check`` command when the ``author`` and " -"``maintainer`` fields are supplied but no corresponding e-mail field " -"(``author_email`` or ``maintainer_email``) is found. The wording now " -"reflects the fact that these fields are suggested, but not required. Patch " -"by Juergen Gmach." -msgstr "" - -#: ../build/NEWS:3410 -msgid "" -"`bpo-38878 `__: Fixed __subclasshook__ " -"of :class:`os.PathLike` to return a correct result upon inheritence. Patch " -"by Bar Harel." -msgstr "" - -#: ../build/NEWS:3413 -msgid "" -"`bpo-38615 `__: :class:`~imaplib.IMAP4` " -"and :class:`~imaplib.IMAP4_SSL` now have an optional *timeout* parameter for " -"their constructors. Also, the :meth:`~imaplib.IMAP4.open` method now has an " -"optional *timeout* parameter with this change. The overridden methods of :" -"class:`~imaplib.IMAP4_SSL` and :class:`~imaplib.IMAP4_stream` were applied " -"to this change. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3420 -msgid "" -"`bpo-35182 `__: Fixed :func:`Popen." -"communicate` subsequent call crash when the child process has already closed " -"any piped standard stream, but still continues to be running. Patch by " -"Andriy Maletsky." -msgstr "" - -#: ../build/NEWS:3424 -msgid "" -"`bpo-38630 `__: On Unix, :meth:" -"`subprocess.Popen.send_signal` now polls the process status. Polling reduces " -"the risk of sending a signal to the wrong process if the process completed, " -"the :attr:`subprocess.Popen.returncode` attribute is still ``None``, and the " -"pid has been reassigned (recycled) to a new different process." -msgstr "" - -#: ../build/NEWS:3430 -msgid "" -"`bpo-38536 `__: Removes trailing space " -"in formatted currency with `international=True` and a locale with symbol " -"following value. E.g. `locale.currency(12.34, international=True)` returned " -"`'12,34 EUR '` instead of `'12,34 EUR'`." -msgstr "" - -#: ../build/NEWS:3435 -msgid "" -"`bpo-38473 `__: Use signature from inner " -"mock for autospecced methods attached with :func:`unittest.mock." -"attach_mock`. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:3438 -msgid "" -"`bpo-38361 `__: Fixed an issue where " -"``ident`` could include a leading path separator when :func:`syslog.openlog` " -"was called without arguments." -msgstr "" - -#: ../build/NEWS:3441 -msgid "" -"`bpo-38293 `__: Add :func:`copy.copy` " -"and :func:`copy.deepcopy` support to :func:`property` objects." -msgstr "" - -#: ../build/NEWS:3444 -msgid "" -"`bpo-37958 `__: Added the pstats.Stats." -"get_profile_dict() method to return the profile data as a StatsProfile " -"instance." -msgstr "" - -#: ../build/NEWS:3447 -msgid "" -"`bpo-28367 `__: Termios magic constants " -"for the following baud rates: - B500000 - B576000 - B921600 - " -"B1000000 - B1152000 - B1500000 - B2000000 - B2500000 - B3000000 " -"- B3500000 - B4000000 Patch by Andrey Smirnov" -msgstr "" - -#: ../build/NEWS:3455 -msgid "" -"`bpo-39381 `__: Mention in docs that :" -"func:`asyncio.get_event_loop` implicitly creates new event loop only if " -"called from the main thread." -msgstr "" - -#: ../build/NEWS:3458 -msgid "" -"`bpo-38918 `__: Add an entry for " -"``__module__`` in the \"function\" & \"method\" sections of the `inspect " -"docs types and members table `_" -msgstr "" - -#: ../build/NEWS:3462 -msgid "" -"`bpo-3530 `__: In the :mod:`ast` module " -"documentation, fix a misleading ``NodeTransformer`` example and add advice " -"on when to use the ``fix_missing_locations`` function." -msgstr "" - -#: ../build/NEWS:3469 -msgid "" -"`bpo-39395 `__: On non-Windows " -"platforms, the :c:func:`setenv` and :c:func:`unsetenv` functions are now " -"required to build Python." -msgstr "" - -#: ../build/NEWS:3472 -msgid "" -"`bpo-39160 `__: Updated the " -"documentation in `./configure --help` to show default values, reference " -"documentation where required and add additional explanation where needed." -msgstr "" - -#: ../build/NEWS:3476 -msgid "" -"`bpo-39144 `__: The ctags and etags " -"build targets both include Modules/_ctypes and Python standard library " -"source files." -msgstr "" - -#: ../build/NEWS:3482 -msgid "" -"`bpo-39050 `__: Make IDLE Settings " -"dialog Help button work again." -msgstr "" - -#: ../build/NEWS:3484 -msgid "" -"`bpo-34118 `__: Tag memoryview, range, " -"and tuple as classes, the same as list, etcetera, in the library manual " -"built-in functions list." -msgstr "" - -#: ../build/NEWS:3487 -msgid "" -"`bpo-32989 `__: Add tests for editor " -"newline_and_indent_event method. Remove dead code from pyparse " -"find_good_parse_start method." -msgstr "" - -#: ../build/NEWS:3493 -msgid "" -"`bpo-39372 `__: Clean header files of " -"interfaces defined but with no implementation. The public API symbols being " -"removed are: ``_PyBytes_InsertThousandsGroupingLocale``, " -"``_PyBytes_InsertThousandsGrouping``, ``_Py_InitializeFromArgs``, " -"``_Py_InitializeFromWideArgs``, ``_PyFloat_Repr``, ``_PyFloat_Digits``, " -"``_PyFloat_DigitsInit``, ``PyFrame_ExtendStack``, ``_PyAIterWrapper_Type``, " -"``PyNullImporter_Type``, ``PyCmpWrapper_Type``, ``PySortWrapper_Type``, " -"``PyNoArgsFunction``." -msgstr "" - -#: ../build/NEWS:3502 -msgid "" -"`bpo-39164 `__: Add a private " -"``_PyErr_GetExcInfo()`` function to retrieve exception information of the " -"specified Python thread state." -msgstr "" - -#: ../build/NEWS:3507 -msgid "Python 3.9.0 alpha 2" -msgstr "" - -#: ../build/NEWS:3509 -msgid "*Release date: 2019-12-18*" -msgstr "" - -#: ../build/NEWS:3514 -msgid "" -"`bpo-38945 `__: Newline characters have " -"been escaped when performing uu encoding to prevent them from overflowing " -"into to content section of the encoded file. This prevents malicious or " -"accidental modification of data during the decoding process." -msgstr "" - -#: ../build/NEWS:3519 -msgid "" -"`bpo-37228 `__: Due to significant " -"security concerns, the *reuse_address* parameter of :meth:`asyncio.loop." -"create_datagram_endpoint` is no longer supported. This is because of the " -"behavior of ``SO_REUSEADDR`` in UDP. For more details, see the documentation " -"for ``loop.create_datagram_endpoint()``. (Contributed by Kyle Stanley, " -"Antoine Pitrou, and Yury Selivanov in :issue:`37228`.)" -msgstr "" - -#: ../build/NEWS:3526 -msgid "" -"`bpo-38804 `__: Fixes a ReDoS " -"vulnerability in :mod:`http.cookiejar`. Patch by Ben Caller." -msgstr "" - -#: ../build/NEWS:3532 -msgid "" -"`bpo-39028 `__: Slightly improve the " -"speed of keyword argument parsing with many kwargs by strengthening the " -"assumption that kwargs are interned strings." -msgstr "" - -#: ../build/NEWS:3536 -msgid "" -"`bpo-39080 `__: Fix the value of " -"*end_col_offset* for Starred Expression AST nodes when they are among the " -"elements in the *args* attribute of Call AST nodes." -msgstr "" - -#: ../build/NEWS:3540 -msgid "" -"`bpo-39031 `__: When parsing an \"elif\" " -"node, lineno and col_offset of the node now point to the \"elif\" keyword " -"and not to its condition, making it consistent with the \"if\" node. Patch " -"by Lysandros Nikolaou." -msgstr "" - -#: ../build/NEWS:3544 -msgid "" -"`bpo-20443 `__: In Python 3.9.0a1, sys." -"argv[0] was made an absolute path if a filename was specified on the command " -"line. Revert this change, since most users expect sys.argv to be unmodified." -msgstr "" - -#: ../build/NEWS:3548 -msgid "" -"`bpo-39008 `__: :c:func:`PySys_Audit` " -"now requires ``Py_ssize_t`` to be used for size arguments in the format " -"string, regardless of whether ``PY_SSIZE_T_CLEAN`` was defined at include " -"time." -msgstr "" - -#: ../build/NEWS:3552 -msgid "" -"`bpo-38673 `__: In REPL mode, don't " -"switch to PS2 if the line starts with comment or whitespace. Based on work " -"by Batuhan Taşkaya." -msgstr "" - -#: ../build/NEWS:3555 -msgid "" -"`bpo-38922 `__: Calling ``replace`` on a " -"code object now raises the ``code.__new__`` audit event." -msgstr "" - -#: ../build/NEWS:3558 -msgid "" -"`bpo-38920 `__: Add audit hooks for " -"when :func:`sys.excepthook` and :func:`sys.unraisablehook` are invoked." -msgstr "" - -#: ../build/NEWS:3561 -msgid "" -"`bpo-38892 `__: Improve documentation " -"for audit events table and functions." -msgstr "" - -#: ../build/NEWS:3563 -msgid "" -"`bpo-38852 `__: Set the thread stack " -"size to 8 Mb for debug builds on android platforms." -msgstr "" - -#: ../build/NEWS:3566 -msgid "" -"`bpo-38858 `__: Each Python " -"subinterpreter now has its own \"small integer singletons\": numbers in [-5; " -"257] range. It is no longer possible to change the number of small integers " -"at build time by overriding ``NSMALLNEGINTS`` and ``NSMALLPOSINTS`` macros: " -"macros should now be modified manually in ``pycore_pystate.h`` header file." -msgstr "" - -#: ../build/NEWS:3572 -msgid "" -"`bpo-36854 `__: The garbage collector " -"state becomes per interpreter (``PyInterpreterState.gc``), rather than being " -"global (``_PyRuntimeState.gc``)." -msgstr "" - -#: ../build/NEWS:3576 -msgid "" -"`bpo-38835 `__: The " -"``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros are empty: they " -"have been doing nothing for the last year, so stop using them." -msgstr "" - -#: ../build/NEWS:3580 -msgid "" -"`bpo-38328 `__: Sped up the creation " -"time of constant :class:`list` and :class:`set` displays. Patch by Brandt " -"Bucher." -msgstr "" - -#: ../build/NEWS:3583 -msgid "" -"`bpo-38707 `__: ``MainThread.native_id`` " -"is now correctly reset in child processes spawned using :class:" -"`multiprocessing.Process`, instead of retaining the parent's value." -msgstr "" - -#: ../build/NEWS:3587 -msgid "" -"`bpo-38629 `__: Added ``__floor__`` and " -"``__ceil__`` methods to float object. Patch by Batuhan Taşkaya." -msgstr "" - -#: ../build/NEWS:3590 -msgid "" -"`bpo-27145 `__: int + int and int - int " -"operators can now return small integer singletons. Patch by hongweipeng." -msgstr "" - -#: ../build/NEWS:3593 -msgid "" -"`bpo-38021 `__: Provide a platform tag " -"for AIX that is sufficient for PEP425 binary distribution identification. " -"Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:3596 -msgid "" -"`bpo-35409 `__: Ignore GeneratorExit " -"exceptions when throwing an exception into the aclose coroutine of an " -"asynchronous generator." -msgstr "" - -#: ../build/NEWS:3599 -msgid "" -"`bpo-33387 `__: Removed " -"WITH_CLEANUP_START, WITH_CLEANUP_FINISH, BEGIN_FINALLY, END_FINALLY, " -"CALL_FINALLY and POP_FINALLY bytecodes. Replaced with RERAISE and " -"WITH_EXCEPT_START bytecodes. The compiler now generates different code for " -"exceptional and non-exceptional branches for 'with' and 'try-except' " -"statements. For 'try-finally' statements the 'finally' block is replicated " -"for each exit from the 'try' body." -msgstr "" - -#: ../build/NEWS:3609 -msgid "" -"`bpo-39033 `__: Fix :exc:`NameError` in :" -"mod:`zipimport`. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:3612 -msgid "" -"`bpo-39022 `__: Update importlib." -"metadata to include improvements from importlib_metadata 1.3 including " -"better serialization of EntryPoints and improved documentation for custom " -"finders." -msgstr "" - -#: ../build/NEWS:3616 -msgid "" -"`bpo-39006 `__: Fix asyncio when the ssl " -"module is missing: only check for ssl.SSLSocket instance if the ssl module " -"is available." -msgstr "" - -#: ../build/NEWS:3619 -msgid "" -"`bpo-38708 `__: Fix a potential " -"IndexError in email parser when parsing an empty msg-id." -msgstr "" - -#: ../build/NEWS:3622 -msgid "" -"`bpo-38698 `__: Add a new " -"``InvalidMessageID`` token to email parser to represent invalid Message-ID " -"headers. Also, add defects when there is remaining value after parsing the " -"header." -msgstr "" - -#: ../build/NEWS:3626 -msgid "" -"`bpo-38994 `__: Implement " -"``__class_getitem__`` for ``os.PathLike``, ``pathlib.Path``." -msgstr "" - -#: ../build/NEWS:3629 -msgid "" -"`bpo-38979 `__: Return class from " -"``ContextVar.__class_getitem__`` to simplify subclassing." -msgstr "" - -#: ../build/NEWS:3632 -msgid "" -"`bpo-38978 `__: Implement " -"``__class_getitem__`` on asyncio objects (Future, Task, Queue). Patch by " -"Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:3635 -msgid "" -"`bpo-38916 `__: :class:`array.array`: " -"Remove ``tostring()`` and ``fromstring()`` methods. They were aliases to " -"``tobytes()`` and ``frombytes()``, deprecated since Python 3.2." -msgstr "" - -#: ../build/NEWS:3639 -msgid "" -"`bpo-38986 `__: Make repr of C " -"accelerated TaskWakeupMethWrapper the same as of pure Python version." -msgstr "" - -#: ../build/NEWS:3642 -msgid "" -"`bpo-38982 `__: Fix asyncio " -"``PidfdChildWatcher``: handle ``waitpid()`` error. If ``waitpid()`` is " -"called elsewhere, ``waitpid()`` call fails with :exc:`ChildProcessError`: " -"use return code 255 in this case, and log a warning. It ensures that the " -"pidfd file descriptor is closed if this error occurs." -msgstr "" - -#: ../build/NEWS:3648 -msgid "" -"`bpo-38529 `__: Drop too noisy asyncio " -"warning about deletion of a stream without explicit ``.close()`` call." -msgstr "" - -#: ../build/NEWS:3651 -msgid "" -"`bpo-27413 `__: Added ability to pass " -"through ``ensure_ascii`` options to json.dumps in the ``json.tool`` command-" -"line interface." -msgstr "" - -#: ../build/NEWS:3654 -msgid "" -"`bpo-38634 `__: The :mod:`readline` " -"module now detects if Python is linked to libedit at runtime on all " -"platforms. Previously, the check was only done on macOS." -msgstr "" - -#: ../build/NEWS:3658 -msgid "" -"`bpo-33684 `__: Fix ``json.tool`` failed " -"to read a JSON file with non-ASCII characters when locale encoding is not " -"UTF-8." -msgstr "" - -#: ../build/NEWS:3661 -msgid "" -"`bpo-38698 `__: Prevent " -"UnboundLocalError to pop up in parse_message_id." -msgstr "" - -#: ../build/NEWS:3663 -msgid "" -"parse_message_id() was improperly using a token defined inside an exception " -"handler, which was raising `UnboundLocalError` on parsing an invalid value. " -"Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:3667 -msgid "" -"`bpo-38927 `__: Use ``python -m pip`` " -"instead of ``pip`` to upgrade dependencies in venv." -msgstr "" - -#: ../build/NEWS:3670 -msgid "" -"`bpo-26730 `__: Fix " -"``SpooledTemporaryFile.rollover()`` might corrupt the file when it is in " -"text mode. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:3673 -msgid "" -"`bpo-38881 `__: random.choices() now " -"raises a ValueError when all the weights are zero." -msgstr "" - -#: ../build/NEWS:3676 -msgid "" -"`bpo-38876 `__: Raise pickle." -"UnpicklingError when loading an item from memo for invalid input." -msgstr "" - -#: ../build/NEWS:3679 -msgid "" -"The previous code was raising a `KeyError` for both the Python and C " -"implementation. This was caused by the specified index of an invalid input " -"which did not exist in the memo structure, where the pickle stores what " -"objects it has seen. The malformed input would have caused either a `BINGET` " -"or `LONG_BINGET` load from the memo, leading to a `KeyError` as the " -"determined index was bogus. Patch by Claudiu Popa" -msgstr "" - -#: ../build/NEWS:3686 -msgid "" -"`bpo-38688 `__: Calling func:`shutil." -"copytree` to copy a directory tree from one directory to another " -"subdirectory resulted in an endless loop and a RecursionError. A fix was " -"added to consume an iterator and create the list of the entries to be " -"copied, avoiding the recursion for newly created directories. Patch by Bruno " -"P. Kinoshita." -msgstr "" - -#: ../build/NEWS:3692 -msgid "" -"`bpo-38863 `__: Improve :func:`is_cgi` " -"function in :mod:`http.server`, which enables processing the case that cgi " -"directory is a child of another directory other than root." -msgstr "" - -#: ../build/NEWS:3696 -msgid "" -"`bpo-37838 `__: :meth:`typing." -"get_type_hints` properly handles functions decorated with :meth:`functools." -"wraps`." -msgstr "" - -#: ../build/NEWS:3699 -msgid "" -"`bpo-38870 `__: Expose :func:`ast." -"unparse` as a function of the :mod:`ast` module that can be used to unparse " -"an :class:`ast.AST` object and produce a string with code that would produce " -"an equivalent :class:`ast.AST` object when parsed. Patch by Pablo Galindo " -"and Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:3704 -msgid "" -"`bpo-38859 `__: AsyncMock now returns " -"StopAsyncIteration on the exhaustion of a side_effects iterable. Since " -"PEP-479 its Impossible to raise a StopIteration exception from a coroutine." -msgstr "" - -#: ../build/NEWS:3708 -msgid "" -"`bpo-38857 `__: AsyncMock fix for return " -"values that are awaitable types. This also covers side_effect iterable " -"values that happened to be awaitable, and wraps callables that return an " -"awaitable type. Before these awaitables were being awaited instead of being " -"returned as is." -msgstr "" - -#: ../build/NEWS:3713 -msgid "" -"`bpo-38834 `__: :class:`typing." -"TypedDict` subclasses now track which keys are optional using the " -"``__required_keys__`` and ``__optional_keys__`` attributes, to enable " -"runtime validation by downstream projects. Patch by Zac Hatfield-Dodds." -msgstr "" - -#: ../build/NEWS:3718 -msgid "" -"`bpo-38821 `__: Fix unhandled exceptions " -"in :mod:`argparse` when internationalizing error messages for arguments with " -"``nargs`` set to special (non-integer) values. Patch by Federico Bond." -msgstr "" - -#: ../build/NEWS:3722 -msgid "" -"`bpo-38820 `__: Make Python compatible " -"with OpenSSL 3.0.0. :func:`ssl.SSLSocket.getpeercert` no longer returns IPv6 " -"addresses with a trailing new line." -msgstr "" - -#: ../build/NEWS:3726 -msgid "" -"`bpo-38811 `__: Fix an unhandled " -"exception in :mod:`pathlib` when :meth:`os.link` is missing. Patch by Toke " -"Høiland-Jørgensen." -msgstr "" - -#: ../build/NEWS:3729 -msgid "" -"`bpo-38686 `__: Added support for " -"multiple ``qop`` values in :class:`urllib.request.AbstractDigestAuthHandler`." -msgstr "" - -#: ../build/NEWS:3732 -msgid "" -"`bpo-38712 `__: Add the Linux-specific :" -"func:`signal.pidfd_send_signal` function, which allows sending a signal to a " -"process identified by a file descriptor rather than a pid." -msgstr "" - -#: ../build/NEWS:3736 -msgid "" -"`bpo-38348 `__: Add ``-i`` and ``--" -"indent`` (indentation level), and ``--no-type-comments`` (type comments) " -"command line options to ast parsing tool." -msgstr "" - -#: ../build/NEWS:3740 -msgid "" -"`bpo-37523 `__: Change :class:`zipfile." -"ZipExtFile` to raise ``ValueError`` when trying to access the underlying " -"file object after it has been closed. This new behavior is consistent with " -"how accessing closed files is handled in other parts of Python." -msgstr "" - -#: ../build/NEWS:3745 -msgid "" -"`bpo-38045 `__: Improve the performance " -"of :func:`enum._decompose` in :mod:`enum`. Patch by hongweipeng." -msgstr "" - -#: ../build/NEWS:3748 -msgid "" -"`bpo-36820 `__: Break cycle generated " -"when saving an exception in socket.py, codeop.py and dyld.py as they keep " -"alive not only the exception but user objects through the ``__traceback__`` " -"attribute. Patch by Mario Corchero." -msgstr "" - -#: ../build/NEWS:3752 -msgid "" -"`bpo-36406 `__: Handle namespace " -"packages in :mod:`doctest`. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:3755 -msgid "" -"`bpo-34776 `__: Fix dataclasses to " -"support forward references in type annotations" -msgstr "" - -#: ../build/NEWS:3758 -msgid "" -"`bpo-20928 `__: ElementTree supports " -"recursive XInclude processing. Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:3761 -msgid "" -"`bpo-29636 `__: Add whitespace options " -"for formatting JSON with the ``json.tool`` CLI. The following mutually " -"exclusive options are now supported: ``--indent`` for setting the indent " -"level in spaces; ``--tab`` for indenting with tabs; ``--no-indent`` for " -"suppressing newlines; and ``--compact`` for suppressing all whitespace. The " -"default behavior remains the same as ``--indent=4``." -msgstr "" - -#: ../build/NEWS:3771 -msgid "" -"`bpo-38928 `__: Correct when venv's " -"``upgrade_dependencies()`` and ``--upgrade-deps`` are added." -msgstr "" - -#: ../build/NEWS:3774 -msgid "" -"`bpo-38899 `__: Update documentation to " -"state that to activate virtual environments under fish one should use " -"`source`, not `.` as documented at https://fishshell.com/docs/current/" -"commands.html#source." -msgstr "" - -#: ../build/NEWS:3778 -msgid "" -"`bpo-22377 `__: Improves documentation " -"of the values that :meth:`datetime.datetime.strptime` accepts for ``%Z``. " -"Patch by Karl Dubost." -msgstr "" - -#: ../build/NEWS:3785 -msgid "" -"`bpo-38546 `__: Fix " -"test_ressources_gced_in_workers() of test_concurrent_futures: explicitly " -"stop the manager to prevent leaking a child process running in the " -"background after the test completes." -msgstr "" - -#: ../build/NEWS:3789 -msgid "" -"`bpo-38546 `__: Multiprocessing and " -"concurrent.futures tests now stop the resource tracker process when tests " -"complete." -msgstr "" - -#: ../build/NEWS:3792 -msgid "" -"`bpo-38614 `__: Replace hardcoded " -"timeout constants in tests with new :mod:`test.support` constants: :data:" -"`~test.support.LOOPBACK_TIMEOUT`, :data:`~test.support.INTERNET_TIMEOUT`, :" -"data:`~test.support.SHORT_TIMEOUT` and :data:`~test.support.LONG_TIMEOUT`. " -"It becomes easier to adjust these four timeout constants for all tests at " -"once, rather than having to adjust every single test file." -msgstr "" - -#: ../build/NEWS:3800 -msgid "" -"`bpo-38547 `__: Fix test_pty: if the " -"process is the session leader, closing the master file descriptor raises a " -"SIGHUP signal: simply ignore SIGHUP when running the tests." -msgstr "" - -#: ../build/NEWS:3804 -msgid "" -"`bpo-38992 `__: Fix a test for :func:" -"`math.fsum` that was failing due to constant folding." -msgstr "" - -#: ../build/NEWS:3807 -msgid "" -"`bpo-38991 `__: :mod:`test.support`: :" -"func:`~test.support.run_python_until_end`, :func:`~test.support." -"assert_python_ok` and :func:`~test.support.assert_python_failure` functions " -"no longer strip whitespaces from stderr. Remove ``test.support." -"strip_python_stderr()`` function." -msgstr "" - -#: ../build/NEWS:3814 -msgid "" -"`bpo-38965 `__: Fix test_faulthandler on " -"GCC 10. Use the \"volatile\" keyword in ``faulthandler._stack_overflow()`` " -"to prevent tail call optimization on any compiler, rather than relying on " -"compiler specific pragma." -msgstr "" - -#: ../build/NEWS:3818 -msgid "" -"`bpo-38875 `__: test_capi: trashcan " -"tests now require the test \"cpu\" resource." -msgstr "" - -#: ../build/NEWS:3820 -msgid "" -"`bpo-38841 `__: Skip asyncio " -"test_create_datagram_endpoint_existing_sock_unix on platforms lacking a " -"functional bind() for named unix domain sockets." -msgstr "" - -#: ../build/NEWS:3823 -msgid "" -"`bpo-38692 `__: Skip the test_posix." -"test_pidfd_open() test if ``os.pidfd_open()`` fails with a :exc:" -"`PermissionError`. This situation can happen in a Linux sandbox using a " -"syscall whitelist which doesn't allow the ``pidfd_open()`` syscall yet." -msgstr "" - -#: ../build/NEWS:3828 -msgid "" -"`bpo-38839 `__: Fix some unused " -"functions in tests. Patch by Adam Johnson." -msgstr "" - -#: ../build/NEWS:3830 -msgid "" -"`bpo-38669 `__: Raise :exc:`TypeError` " -"when passing target as a string with :meth:`unittest.mock.patch.object`." -msgstr "" - -#: ../build/NEWS:3833 -msgid "" -"`bpo-37957 `__: test.regrtest now can " -"receive a list of test patterns to ignore (using the -i/--ignore argument) " -"or a file with a list of patterns to ignore (using the --ignore-file " -"argument). Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3840 -msgid "" -"`bpo-37404 `__: :mod:`asyncio` now " -"raises :exc:`TyperError` when calling incompatible methods with an :class:" -"`ssl.SSLSocket` socket. Patch by Ido Michael." -msgstr "" - -#: ../build/NEWS:3844 -msgid "" -"`bpo-36500 `__: Added an optional \"regen" -"\" project to the Visual Studio solution that will regenerate all grammar, " -"tokens, and opcodes." -msgstr "" - -#: ../build/NEWS:3850 -msgid "" -"`bpo-39007 `__: Add auditing events to " -"functions in :mod:`winreg`." -msgstr "" - -#: ../build/NEWS:3852 -msgid "" -"`bpo-33125 `__: Add support for building " -"and releasing Windows ARM64 packages." -msgstr "" - -#: ../build/NEWS:3857 -msgid "" -"`bpo-37931 `__: Fixed a crash on OSX " -"dynamic builds that occurred when re-initializing the posix module after a " -"Py_Finalize if the environment had changed since the previous `import " -"posix`. Patch by Benoît Hudson." -msgstr "" - -#: ../build/NEWS:3864 -msgid "" -"`bpo-38944 `__: Escape key now closes " -"IDLE completion windows. Patch by Johnny Najera." -msgstr "" - -#: ../build/NEWS:3867 -msgid "" -"`bpo-38943 `__: Fix IDLE autocomplete " -"windows not always appearing on some systems. Patch by Johnny Najera." -msgstr "" - -#: ../build/NEWS:3870 -msgid "" -"`bpo-38862 `__: 'Strip Trailing " -"Whitespace' on the Format menu removes extra newlines at the end of non-" -"shell files." -msgstr "" - -#: ../build/NEWS:3873 -msgid "" -"`bpo-38636 `__: Fix IDLE Format menu tab " -"toggle and file indent width. These functions (default shortcuts Alt-T and " -"Alt-U) were mistakenly disabled in 3.7.5 and 3.8.0." -msgstr "" - -#: ../build/NEWS:3880 -msgid "" -"`bpo-38896 `__: Remove " -"``PyUnicode_ClearFreeList()`` function: the Unicode free list has been " -"removed in Python 3.3." -msgstr "" - -#: ../build/NEWS:3883 -msgid "" -"`bpo-37340 `__: Remove " -"``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()`` functions: " -"the free lists of bound method objects have been removed." -msgstr "" - -#: ../build/NEWS:3887 -msgid "" -"`bpo-38835 `__: Exclude " -"``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` " -"from ``Py_LIMITED_API`` (stable API)." -msgstr "" - -#: ../build/NEWS:3892 -msgid "Python 3.9.0 alpha 1" -msgstr "" - -#: ../build/NEWS:3894 -msgid "*Release date: 2019-11-19*" -msgstr "" - -#: ../build/NEWS:3899 -msgid "" -"`bpo-38722 `__: :mod:`runpy` now uses :" -"meth:`io.open_code` to open code files. Patch by Jason Killen." -msgstr "" - -#: ../build/NEWS:3902 -msgid "" -"`bpo-38622 `__: Add additional audit " -"events for the :mod:`ctypes` module." -msgstr "" - -#: ../build/NEWS:3904 -msgid "" -"`bpo-38418 `__: Fixes audit event for :" -"func:`os.system` to be named ``os.system``." -msgstr "" - -#: ../build/NEWS:3907 -msgid "" -"`bpo-38243 `__: Escape the server title " -"of :class:`xmlrpc.server.DocXMLRPCServer` when rendering the document page " -"as HTML. (Contributed by Dong-hee Na in :issue:`38243`.)" -msgstr "" - -#: ../build/NEWS:3911 -msgid "" -"`bpo-38174 `__: Update vendorized expat " -"library version to 2.2.8, which resolves CVE-2019-15903." -msgstr "" - -#: ../build/NEWS:3914 -msgid "" -"`bpo-37764 `__: Fixes email." -"_header_value_parser.get_unstructured going into an infinite loop for a " -"specific case in which the email header does not have trailing whitespace, " -"and the case in which it contains an invalid encoded word. Patch by Ashwin " -"Ramaswami." -msgstr "" - -#: ../build/NEWS:3919 -msgid "" -"`bpo-37461 `__: Fix an infinite loop " -"when parsing specially crafted email headers. Patch by Abhilash Raj." -msgstr "" - -#: ../build/NEWS:3922 -msgid "" -"`bpo-37363 `__: Adds audit events for " -"the range of supported run commands (see :ref:`using-on-general`)." -msgstr "" - -#: ../build/NEWS:3925 -msgid "" -"`bpo-37463 `__: ssl.match_hostname() no " -"longer accepts IPv4 addresses with additional text after the address and " -"only quad-dotted notation without trailing whitespaces. Some inet_aton() " -"implementations ignore whitespace and all data after whitespace, e.g. " -"'127.0.0.1 whatever'." -msgstr "" - -#: ../build/NEWS:3930 -msgid "" -"`bpo-37363 `__: Adds audit events for :" -"mod:`ensurepip`, :mod:`ftplib`, :mod:`glob`, :mod:`imaplib`, :mod:" -"`nntplib`, :mod:`pdb`, :mod:`poplib`, :mod:`shutil`, :mod:`smtplib`, :mod:" -"`sqlite3`, :mod:`subprocess`, :mod:`telnetlib`, :mod:`tempfile` and :mod:" -"`webbrowser`, as well as :func:`os.listdir`, :func:`os.scandir` and :func:" -"`breakpoint`." -msgstr "" - -#: ../build/NEWS:3936 -msgid "" -"`bpo-37364 `__: :func:`io.open_code` is " -"now used when reading :file:`.pth` files." -msgstr "" - -#: ../build/NEWS:3939 -msgid "" -"`bpo-34631 `__: Updated OpenSSL to " -"1.1.1c in Windows installer" -msgstr "" - -#: ../build/NEWS:3941 -msgid "" -"`bpo-34155 `__: Fix parsing of invalid " -"email addresses with more than one ``@`` (e.g. a@b@c.com.) to not return the " -"part before 2nd ``@`` as valid email address. Patch by maxking & jpic." -msgstr "" - -#: ../build/NEWS:3948 -msgid "" -"`bpo-38631 `__: Replace " -"``Py_FatalError()`` call with a regular :exc:`RuntimeError` exception in :" -"meth:`float.__getformat__`." -msgstr "" - -#: ../build/NEWS:3951 -msgid "" -"`bpo-38639 `__: Optimized :func:`math." -"floor()`, :func:`math.ceil()` and :func:`math.trunc()` for floats." -msgstr "" - -#: ../build/NEWS:3954 -msgid "" -"`bpo-38640 `__: Fixed a bug in the " -"compiler that was causing to raise in the presence of break statements and " -"continue statements inside always false while loops. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3958 -msgid "" -"`bpo-38613 `__: Optimized some set " -"operations (e.g. ``|``, ``^``, and ``-``) of ``dict_keys``. ``d.keys() | " -"other`` was slower than ``set(d) | other`` but they are almost same " -"performance for now." -msgstr "" - -#: ../build/NEWS:3962 -msgid "" -"`bpo-28029 `__: ``\"\".replace(\"\", s, " -"n)`` now returns ``s`` instead of an empty string for all non-zero ``n``. " -"There are similar changes for :class:`bytes` and :class:`bytearray` objects." -msgstr "" - -#: ../build/NEWS:3966 -msgid "" -"`bpo-38535 `__: Fixed line numbers and " -"column offsets for AST nodes for calls without arguments in decorators." -msgstr "" - -#: ../build/NEWS:3969 -msgid "" -"`bpo-38525 `__: Fix a segmentation fault " -"when using reverse iterators of empty ``dict`` objects. Patch by Dong-hee Na " -"and Inada Naoki." -msgstr "" - -#: ../build/NEWS:3972 -msgid "" -"`bpo-38465 `__: :class:`bytearray`, :" -"class:`~array.array` and :class:`~mmap.mmap` objects allow now to export " -"more than 2**31 buffers at a time." -msgstr "" - -#: ../build/NEWS:3976 -msgid "" -"`bpo-38469 `__: Fixed a bug where the " -"scope of named expressions was not being resolved correctly in the presence " -"of the *global* keyword. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3980 -msgid "" -"`bpo-38437 `__: Activate the " -"``GC_DEBUG`` macro for debug builds of the interpreter (when ``Py_DEBUG`` is " -"set). Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3983 -msgid "" -"`bpo-38379 `__: When the garbage " -"collector makes a collection in which some objects resurrect (they are " -"reachable from outside the isolated cycles after the finalizers have been " -"executed), do not block the collection of all objects that are still " -"unreachable. Patch by Pablo Galindo and Tim Peters." -msgstr "" - -#: ../build/NEWS:3989 -msgid "" -"`bpo-38379 `__: When cyclic garbage " -"collection (gc) runs finalizers that resurrect unreachable objects, the " -"current gc run ends, without collecting any cyclic trash. However, the " -"statistics reported by ``collect()`` and ``get_stats()`` claimed that all " -"cyclic trash found was collected, and that the resurrected objects were " -"collected. Changed the stats to report that none were collected." -msgstr "" - -#: ../build/NEWS:3996 -msgid "" -"`bpo-38392 `__: In debug mode, :c:func:" -"`PyObject_GC_Track` now calls ``tp_traverse()`` of the object type to ensure " -"that the object is valid: test that objects visited by ``tp_traverse()`` are " -"valid." -msgstr "" - -#: ../build/NEWS:4000 -msgid "" -"`bpo-38210 `__: Remove unecessary " -"intersection and update set operation in dictview with empty set. " -"(Contributed by Dong-hee Na in :issue:`38210`.)" -msgstr "" - -#: ../build/NEWS:4003 -msgid "" -"`bpo-38402 `__: Check the error from the " -"system's underlying ``crypt`` or ``crypt_r``." -msgstr "" - -#: ../build/NEWS:4006 -msgid "" -"`bpo-37474 `__: On FreeBSD, Python no " -"longer calls ``fedisableexcept()`` at startup to control the floating point " -"control mode. The call became useless since FreeBSD 6: it became the default " -"mode." -msgstr "" - -#: ../build/NEWS:4010 -msgid "" -"`bpo-38006 `__: Fix a bug due to the " -"interaction of weakrefs and the cyclic garbage collector. We must clear any " -"weakrefs in garbage in order to prevent their callbacks from executing and " -"causing a crash." -msgstr "" - -#: ../build/NEWS:4014 -msgid "" -"`bpo-38317 `__: Fix warnings options " -"priority: ``PyConfig.warnoptions`` has the highest priority, as stated in " -"the :pep:`587`." -msgstr "" - -#: ../build/NEWS:4017 -msgid "" -"`bpo-38310 `__: Predict " -"``BUILD_MAP_UNPACK_WITH_CALL`` -> ``CALL_FUNCTION_EX`` opcode pairs in the " -"main interpreter loop. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:4020 -msgid "" -"`bpo-36871 `__: Improve error handling " -"for the assert_has_calls and assert_has_awaits methods of mocks. Fixed a bug " -"where any errors encountered while binding the expected calls to the mock's " -"spec were silently swallowed, leading to misleading error output." -msgstr "" - -#: ../build/NEWS:4025 -msgid "" -"`bpo-11410 `__: Better control over " -"symbol visibility is provided through use of the visibility attributes " -"available in gcc >= 4.0, provided in a uniform way across POSIX and Windows. " -"The POSIX build files have been updated to compile with -fvisibility=hidden, " -"minimising exported symbols." -msgstr "" - -#: ../build/NEWS:4030 -msgid "" -"`bpo-38219 `__: Optimized the :class:" -"`dict` constructor and the :meth:`~dict.update` method for the case when the " -"argument is a dict." -msgstr "" - -#: ../build/NEWS:4033 -msgid "" -"`bpo-38236 `__: Python now dumps path " -"configuration if it fails to import the Python codecs of the filesystem and " -"stdio encodings." -msgstr "" - -#: ../build/NEWS:4036 -msgid "" -"`bpo-38013 `__: Allow to call " -"``async_generator_athrow().throw(...)`` even for non-started async generator " -"helper. It fixes annoying warning at the end of :func:`asyncio.run` call." -msgstr "" - -#: ../build/NEWS:4040 -msgid "" -"`bpo-38124 `__: Fix an off-by-one error " -"in PyState_AddModule that could cause out-of-bounds memory access." -msgstr "" - -#: ../build/NEWS:4043 -msgid "" -"`bpo-38116 `__: The select module is now " -"PEP-384 compliant and no longer has static state" -msgstr "" - -#: ../build/NEWS:4046 -msgid "" -"`bpo-38113 `__: ast module updated to " -"PEP-384 and all statics removed" -msgstr "" - -#: ../build/NEWS:4048 -msgid "" -"`bpo-38076 `__: The struct module is now " -"PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:4050 -msgid "" -"`bpo-38075 `__: The random module is now " -"PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:4052 -msgid "" -"`bpo-38074 `__: zlib module made PEP-384 " -"compatible" -msgstr "" - -#: ../build/NEWS:4054 -msgid "" -"`bpo-38073 `__: Make pwd extension " -"module PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:4056 -msgid "" -"`bpo-38072 `__: grp module made PEP-384 " -"compatible" -msgstr "" - -#: ../build/NEWS:4058 -msgid "" -"`bpo-38069 `__: Make _posixsubprocess " -"PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:4060 -msgid "" -"`bpo-38071 `__: Make termios extension " -"module PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:4062 -msgid "" -"`bpo-38005 `__: Fixed comparing and " -"creating of InterpreterID and ChannelID." -msgstr "" - -#: ../build/NEWS:4064 -msgid "" -"`bpo-36946 `__: Fix possible signed " -"integer overflow when handling slices. Patch by hongweipeng." -msgstr "" - -#: ../build/NEWS:4067 -msgid "" -"`bpo-37994 `__: Fixed silencing " -"arbitrary errors if an attribute lookup fails in several sites. Only " -"AttributeError should be silenced." -msgstr "" - -#: ../build/NEWS:4070 -msgid "" -"`bpo-8425 `__: Optimize set " -"difference_update for the case when the other set is much larger than the " -"base set. (Suggested by Evgeny Kapun with code contributed by Michele Orrù)." -msgstr "" - -#: ../build/NEWS:4074 -msgid "" -"`bpo-37966 `__: The implementation of :" -"func:`~unicodedata.is_normalized` has been greatly sped up on strings that " -"aren't normalized, by implementing the full normalization-quick-check " -"algorithm from the Unicode standard." -msgstr "" - -#: ../build/NEWS:4078 -msgid "" -"`bpo-37947 `__: Adjust correctly the " -"recursion level in the symtable generation for named expressions. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4081 -msgid "" -"`bpo-37812 `__: The ``CHECK_SMALL_INT`` " -"macro used inside :file:`Object/longobject.c` has been replaced with an " -"explicit ``return`` at each call site." -msgstr "" - -#: ../build/NEWS:4085 -msgid "" -"`bpo-37751 `__: Fix :func:`codecs." -"lookup` to normalize the encoding name the same way than :func:`encodings." -"normalize_encoding`, except that :func:`codecs.lookup` also converts the " -"name to lower case." -msgstr "" - -#: ../build/NEWS:4089 -msgid "" -"`bpo-37830 `__: Fixed compilation of :" -"keyword:`break` and :keyword:`continue` in the :keyword:`finally` block when " -"the corresponding :keyword:`try` block contains :keyword:`return` with a non-" -"constant value." -msgstr "" - -#: ../build/NEWS:4093 -msgid "" -"`bpo-20490 `__: Improve import error " -"message for partially initialized module on circular ``from`` imports - by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:4096 -msgid "" -"`bpo-37840 `__: Fix handling of negative " -"indices in :c:member:`~PySequenceMethods.sq_item` of :class:`bytearray`. " -"Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:4100 -msgid "" -"`bpo-37802 `__: Slightly improve " -"performance of :c:func:`PyLong_FromUnsignedLong`, :c:func:" -"`PyLong_FromUnsignedLongLong` and :c:func:`PyLong_FromSize_t`. Patch by " -"Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:4104 -msgid "" -"`bpo-37409 `__: Ensure explicit relative " -"imports from interactive sessions and scripts (having no parent package) " -"always raise ImportError, rather than treating the current module as the " -"package. Patch by Ben Lewis." -msgstr "" - -#: ../build/NEWS:4108 -msgid "" -"`bpo-32912 `__: Reverted :issue:`32912`: " -"emitting :exc:`SyntaxWarning` instead of :exc:`DeprecationWarning` for " -"invalid escape sequences in string and bytes literals." -msgstr "" - -#: ../build/NEWS:4112 -msgid "" -"`bpo-37757 `__: :pep:`572`: As described " -"in the PEP, assignment expressions now raise :exc:`SyntaxError` when their " -"interaction with comprehension scoping results in an ambiguous target scope." -msgstr "" - -#: ../build/NEWS:4116 -msgid "" -"The ``TargetScopeError`` subclass originally proposed by the PEP has been " -"removed in favour of just raising regular syntax errors for the disallowed " -"cases." -msgstr "" - -#: ../build/NEWS:4120 -msgid "" -"`bpo-36279 `__: Fix potential use of " -"uninitialized memory in :func:`os.wait3`." -msgstr "" - -#: ../build/NEWS:4122 -msgid "" -"`bpo-36311 `__: Decoding bytes objects " -"larger than 2GiB is faster and no longer fails when a multibyte characters " -"spans a chunk boundary." -msgstr "" - -#: ../build/NEWS:4125 -msgid "" -"`bpo-34880 `__: The :keyword:`assert` " -"statement now works properly if the :exc:`AssertionError` exception is being " -"shadowed. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:4128 -msgid "" -"`bpo-37340 `__: Removed object cache " -"(``free_list``) for bound method objects. Temporary bound method objects are " -"less used than before thanks to the ``LOAD_METHOD`` opcode and the " -"``_PyObject_VectorcallMethod`` C API." -msgstr "" - -#: ../build/NEWS:4132 -msgid "" -"`bpo-37648 `__: Fixed minor " -"inconsistency in :meth:`list.__contains__`, :meth:`tuple.__contains__` and a " -"few other places. The collection's item is now always at the left and the " -"needle is on the right of ``==``." -msgstr "" - -#: ../build/NEWS:4136 -msgid "" -"`bpo-37444 `__: Update differing " -"exception between :meth:`builtins.__import__` and :meth:`importlib." -"__import__`." -msgstr "" - -#: ../build/NEWS:4139 -msgid "" -"`bpo-37619 `__: When adding a wrapper " -"descriptor from one class to a different class (for example, setting " -"``__add__ = str.__add__`` on an ``int`` subclass), an exception is correctly " -"raised when the operator is called." -msgstr "" - -#: ../build/NEWS:4143 -msgid "" -"`bpo-37593 `__: Swap the positions of " -"the *posonlyargs* and *args* parameters in the constructor of :class:`ast." -"parameters` nodes." -msgstr "" - -#: ../build/NEWS:4146 -msgid "" -"`bpo-37543 `__: Optimized pymalloc for " -"non PGO build." -msgstr "" - -#: ../build/NEWS:4148 -msgid "" -"`bpo-37537 `__: Compute allocated " -"pymalloc blocks inside _Py_GetAllocatedBlocks(). This slows down " -"_Py_GetAllocatedBlocks() but gives a small speedup to _PyObject_Malloc() and " -"_PyObject_Free()." -msgstr "" - -#: ../build/NEWS:4152 -msgid "" -"`bpo-37467 `__: Fix :func:`sys." -"excepthook` and :c:func:`PyErr_Display` if a filename is a bytes string. For " -"example, for a SyntaxError exception where the filename attribute is a bytes " -"string." -msgstr "" - -#: ../build/NEWS:4156 -msgid "" -"`bpo-37433 `__: Fix ``SyntaxError`` " -"indicator printing too many spaces for multi-line strings - by Anthony " -"Sottile." -msgstr "" - -#: ../build/NEWS:4159 -msgid "" -"`bpo-37417 `__: :meth:`bytearray.extend` " -"now correctly handles errors that arise during iteration. Patch by Brandt " -"Bucher." -msgstr "" - -#: ../build/NEWS:4162 -msgid "" -"`bpo-37414 `__: The undocumented ``sys." -"callstats()`` function has been removed. Since Python 3.7, it was deprecated " -"and always returned ``None``. It required a special build option " -"``CALL_PROFILE`` which was already removed in Python 3.7." -msgstr "" - -#: ../build/NEWS:4167 -msgid "" -"`bpo-37392 `__: Remove ``sys." -"getcheckinterval()`` and ``sys.setcheckinterval()`` functions. They were " -"deprecated since Python 3.2. Use :func:`sys.getswitchinterval` and :func:" -"`sys.setswitchinterval` instead. Remove also ``check_interval`` field of the " -"``PyInterpreterState`` structure." -msgstr "" - -#: ../build/NEWS:4173 -msgid "" -"`bpo-37388 `__: In development mode and " -"in debug build, *encoding* and *errors* arguments are now checked on string " -"encoding and decoding operations. Examples: :func:`open`, :meth:`str.encode` " -"and :meth:`bytes.decode`." -msgstr "" - -#: ../build/NEWS:4177 -msgid "" -"By default, for best performances, the *errors* argument is only checked at " -"the first encoding/decoding error, and the *encoding* argument is sometimes " -"ignored for empty strings." -msgstr "" - -#: ../build/NEWS:4181 -msgid "" -"`bpo-37348 `__: Optimized decoding short " -"ASCII string with UTF-8 and ascii codecs. ``b\"foo\".decode()`` is about 15% " -"faster. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:4184 -msgid "" -"`bpo-24214 `__: Improved support of the " -"surrogatepass error handler in the UTF-8 and UTF-16 incremental decoders." -msgstr "" - -#: ../build/NEWS:4187 -msgid "" -"`bpo-37330 `__: :func:`open`, :func:`io." -"open`, :func:`codecs.open` and :class:`fileinput.FileInput` no longer accept " -"``'U'`` (\"universal newline\") in the file mode. This flag was deprecated " -"since Python 3.3." -msgstr "" - -#: ../build/NEWS:4191 -msgid "" -"`bpo-35224 `__: Reverse evaluation order " -"of key: value in dict comprehensions as proposed in PEP 572. I.e. in ``{k: v " -"for ...}``, ``k`` will be evaluated before ``v``." -msgstr "" - -#: ../build/NEWS:4195 -msgid "" -"`bpo-37316 `__: Fix the :c:func:" -"`PySys_Audit` call in :class:`mmap.mmap`." -msgstr "" - -#: ../build/NEWS:4197 -msgid "" -"`bpo-37300 `__: Remove an unnecssary " -"Py_XINCREF in classobject.c." -msgstr "" - -#: ../build/NEWS:4199 -msgid "" -"`bpo-37269 `__: Fix a bug in the " -"peephole optimizer that was not treating correctly constant conditions with " -"binary operators. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4203 -msgid "" -"`bpo-20443 `__: Python now gets the " -"absolute path of the script filename specified on the command line (ex: " -"\"python3 script.py\"): the __file__ attribute of the __main__ module and " -"sys.path[0] become an absolute path, rather than a relative path." -msgstr "" - -#: ../build/NEWS:4208 -msgid "" -"`bpo-37257 `__: Python's small object " -"allocator (``obmalloc.c``) now allows (no more than) one empty arena to " -"remain available for immediate reuse, without returning it to the OS. This " -"prevents thrashing in simple loops where an arena could be created and " -"destroyed anew on each iteration." -msgstr "" - -#: ../build/NEWS:4213 -msgid "" -"`bpo-37231 `__: The dispatching of type " -"slots to special methods (for example calling ``__mul__`` when doing ``x * " -"y``) has been made faster." -msgstr "" - -#: ../build/NEWS:4216 -msgid "" -"`bpo-36974 `__: Implemented separate " -"vectorcall functions for every calling convention of builtin functions and " -"methods. This improves performance for calls." -msgstr "" - -#: ../build/NEWS:4220 -msgid "" -"`bpo-37213 `__: Handle correctly " -"negative line offsets in the peephole optimizer. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4223 -msgid "" -"`bpo-37219 `__: Remove erroneous " -"optimization for empty set differences." -msgstr "" - -#: ../build/NEWS:4225 -msgid "" -"`bpo-15913 `__: Implement :c:func:" -"`PyBuffer_SizeFromFormat()` function (previously documented but not " -"implemented): call :func:`struct.calcsize`. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:4229 -msgid "" -"`bpo-36922 `__: Slot functions optimize " -"any callable with ``Py_TPFLAGS_METHOD_DESCRIPTOR`` instead of only instances " -"of ``function``." -msgstr "" - -#: ../build/NEWS:4233 -msgid "" -"`bpo-36974 `__: The slot " -"``tp_vectorcall_offset`` is inherited unconditionally to support ``super()." -"__call__()`` when the base class uses vectorcall." -msgstr "" - -#: ../build/NEWS:4236 -msgid "" -"`bpo-37160 `__: :func:`threading." -"get_native_id` now also supports NetBSD." -msgstr "" - -#: ../build/NEWS:4238 -msgid "" -"`bpo-37077 `__: Add :func:`threading." -"get_native_id` support for AIX. Patch by M. Felt" -msgstr "" - -#: ../build/NEWS:4241 -msgid "" -"`bpo-36781 `__: :func:`sum` has been " -"optimized for boolean values." -msgstr "" - -#: ../build/NEWS:4243 -msgid "" -"`bpo-34556 `__: Add ``--upgrade-deps`` " -"to venv module. Patch by Cooper Ry Lees" -msgstr "" - -#: ../build/NEWS:4245 -msgid "" -"`bpo-20523 `__: ``pdb.Pdb`` supports ~/." -"pdbrc in Windows 7. Patch by Tim Hopper and Dan Lidral-Porter." -msgstr "" - -#: ../build/NEWS:4248 -msgid "" -"`bpo-35551 `__: Updated encodings: - " -"Removed the \"tis260\" encoding, which was an alias for the nonexistent " -"\"tactis\" codec. - Added \"mac_centeuro\" as an alias for the mac_latin2 " -"encoding." -msgstr "" - -#: ../build/NEWS:4252 -msgid "" -"`bpo-19072 `__: The :class:`classmethod` " -"decorator can now wrap other descriptors such as property objects. Adapted " -"from a patch written by Graham Dumpleton." -msgstr "" - -#: ../build/NEWS:4256 -msgid "" -"`bpo-27575 `__: Improve speed of " -"dictview intersection by directly using set intersection logic. Patch by " -"David Su." -msgstr "" - -#: ../build/NEWS:4259 -msgid "" -"`bpo-30773 `__: Prohibit parallel " -"running of aclose() / asend() / athrow(). Fix ag_running to reflect the " -"actual running status of the AG." -msgstr "" - -#: ../build/NEWS:4265 -msgid "" -"`bpo-36589 `__: The :func:`curses." -"update_lines_cols` function now returns ``None`` instead of ``1`` on success." -msgstr "" - -#: ../build/NEWS:4268 -msgid "" -"`bpo-38807 `__: Update :exc:`TypeError` " -"messages for :meth:`os.path.join` to include :class:`os.PathLike` objects as " -"acceptable input types." -msgstr "" - -#: ../build/NEWS:4271 -msgid "" -"`bpo-38724 `__: Add a repr for " -"``subprocess.Popen`` objects. Patch by Andrey Doroschenko." -msgstr "" - -#: ../build/NEWS:4274 -msgid "" -"`bpo-38786 `__: pydoc now recognizes and " -"parses HTTPS URLs. Patch by python273." -msgstr "" - -#: ../build/NEWS:4276 -msgid "" -"`bpo-38785 `__: Prevent asyncio from " -"crashing if parent ``__init__`` is not called from a constructor of object " -"derived from ``asyncio.Future``." -msgstr "" - -#: ../build/NEWS:4279 -msgid "" -"`bpo-38723 `__: :mod:`pdb` now uses :" -"meth:`io.open_code` to trigger auditing events." -msgstr "" - -#: ../build/NEWS:4282 -msgid "" -"`bpo-27805 `__: Allow opening pipes and " -"other non-seekable files in append mode with :func:`open`." -msgstr "" - -#: ../build/NEWS:4285 -msgid "" -"`bpo-38438 `__: Simplify the :mod:" -"`argparse` usage message for ``nargs=\"*\"``." -msgstr "" - -#: ../build/NEWS:4287 -msgid "" -"`bpo-38761 `__: WeakSet is now " -"registered as a collections.abc.MutableSet." -msgstr "" - -#: ../build/NEWS:4289 -msgid "" -"`bpo-38716 `__: logging: change " -"RotatingHandler namer and rotator to class-level attributes. This stops " -"__init__ from setting them to None in the case where a subclass defines them " -"with eponymous methods." -msgstr "" - -#: ../build/NEWS:4293 -msgid "" -"`bpo-38713 `__: Add :data:`os.P_PIDFD` " -"constant, which may be passed to :func:`os.waitid` to wait on a Linux " -"process file descriptor." -msgstr "" - -#: ../build/NEWS:4296 -msgid "" -"`bpo-38692 `__: Add :class:`asyncio." -"PidfdChildWatcher`, a Linux-specific child watcher implementation that polls " -"process file descriptors." -msgstr "" - -#: ../build/NEWS:4299 -msgid "" -"`bpo-38692 `__: Expose the Linux " -"``pidfd_open`` syscall as :func:`os.pidfd_open`." -msgstr "" - -#: ../build/NEWS:4302 -msgid "" -"`bpo-38602 `__: Added constants :data:" -"`~fcntl.F_OFD_GETLK`, :data:`~fcntl.F_OFD_SETLK` and :data:`~fcntl." -"F_OFD_SETLKW` to the :mod:`fcntl` module. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:4306 -msgid "" -"`bpo-38334 `__: Fixed seeking backward " -"on an encrypted :class:`zipfile.ZipExtFile`." -msgstr "" - -#: ../build/NEWS:4309 -msgid "" -"`bpo-38312 `__: Add :func:`curses." -"get_escdelay`, :func:`curses.set_escdelay`, :func:`curses.get_tabsize`, and :" -"func:`curses.set_tabsize` functions - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:4313 -msgid "" -"`bpo-38586 `__: Now :func:`~logging." -"config.fileConfig` correcty sets the .name of handlers loaded." -msgstr "" - -#: ../build/NEWS:4316 -msgid "" -"`bpo-38565 `__: Add new " -"cache_parameters() method for functools.lru_cache() to better support " -"pickling." -msgstr "" - -#: ../build/NEWS:4319 -msgid "" -"`bpo-34679 `__: asynci.ProactorEventLoop." -"close() now only calls signal.set_wakeup_fd() in the main thread." -msgstr "" - -#: ../build/NEWS:4322 -msgid "" -"`bpo-31202 `__: The case the result of :" -"func:`pathlib.WindowsPath.glob` matches now the case of the pattern for " -"literal parts." -msgstr "" - -#: ../build/NEWS:4325 -msgid "" -"`bpo-36321 `__: Remove misspelled " -"attribute. The 3.8 changelog noted that this would be removed in 3.9." -msgstr "" - -#: ../build/NEWS:4328 -msgid "" -"`bpo-38521 `__: Fixed erroneous equality " -"comparison in statistics.NormalDist()." -msgstr "" - -#: ../build/NEWS:4330 -msgid "" -"`bpo-38493 `__: Added :data:`~os." -"CLD_KILLED` and :data:`~os.CLD_STOPPED` for :attr:`si_code`. Patch by Dong-" -"hee Na." -msgstr "" - -#: ../build/NEWS:4333 -msgid "" -"`bpo-38478 `__: Fixed a bug in :meth:" -"`inspect.signature.bind` that was causing it to fail when handling a keyword " -"argument with same name as positional-only parameter. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4337 -msgid "" -"`bpo-33604 `__: Fixed `hmac.new` and " -"`hmac.HMAC` to raise TypeError instead of ValueError when the digestmod " -"parameter, now required in 3.8, is omitted. Also clarified the hmac module " -"documentation and docstrings." -msgstr "" - -#: ../build/NEWS:4341 -msgid "" -"`bpo-38378 `__: Parameters *out* and " -"*in* of :func:`os.sendfile` was renamed to *out_fd* and *in_fd*." -msgstr "" - -#: ../build/NEWS:4344 -msgid "" -"`bpo-38417 `__: Added support for " -"setting the umask in the child process to the subprocess module on POSIX " -"systems." -msgstr "" - -#: ../build/NEWS:4347 -msgid "" -"`bpo-38449 `__: Revert GH-15522, which " -"introduces a regression in :meth:`mimetypes.guess_type` due to improper " -"handling of filenames as urls." -msgstr "" - -#: ../build/NEWS:4351 -msgid "" -"`bpo-38431 `__: Fix ``__repr__`` method " -"for :class:`dataclasses.InitVar` to support typing objects, patch by Samuel " -"Colvin." -msgstr "" - -#: ../build/NEWS:4354 -msgid "" -"`bpo-38109 `__: Add missing :data:`stat." -"S_IFDOOR`, :data:`stat.S_IFPORT`, :data:`stat.S_IFWHT`, :func:`stat." -"S_ISDOOR`, :func:`stat.S_ISPORT`, and :func:`stat.S_ISWHT` values to the " -"Python implementation of :mod:`stat`." -msgstr "" - -#: ../build/NEWS:4358 -msgid "" -"`bpo-38422 `__: Clarify docstrings of " -"pathlib suffix(es)" -msgstr "" - -#: ../build/NEWS:4360 -msgid "" -"`bpo-38405 `__: Nested subclasses of :" -"class:`typing.NamedTuple` are now pickleable." -msgstr "" - -#: ../build/NEWS:4363 -msgid "" -"`bpo-38332 `__: Prevent :exc:`KeyError` " -"thrown by :func:`_encoded_words.decode` when given an encoded-word with " -"invalid content-type encoding from propagating all the way to :func:`email." -"message.get`." -msgstr "" - -#: ../build/NEWS:4367 -msgid "" -"`bpo-38371 `__: Deprecated the " -"``split()`` method in :class:`_tkinter.TkappType` in favour of the " -"``splitlist()`` method which has more consistent and predicable behavior." -msgstr "" - -#: ../build/NEWS:4371 -msgid "" -"`bpo-38341 `__: Add :exc:`smtplib." -"SMTPNotSupportedError` to the :mod:`smtplib` exported names." -msgstr "" - -#: ../build/NEWS:4374 -msgid "" -"`bpo-38319 `__: sendfile() used in " -"socket and shutil modules was raising OverflowError for files >= 2GiB on 32-" -"bit architectures. (patch by Giampaolo Rodola)" -msgstr "" - -#: ../build/NEWS:4378 -msgid "" -"`bpo-38242 `__: Revert the new asyncio " -"Streams API" -msgstr "" - -#: ../build/NEWS:4380 -msgid "" -"`bpo-13153 `__: OS native encoding is " -"now used for converting between Python strings and Tcl objects. This allows " -"to display, copy and paste to clipboard emoji and other non-BMP characters. " -"Converting strings from Tcl to Python and back now never fails (except " -"MemoryError)." -msgstr "" - -#: ../build/NEWS:4385 -msgid "" -"`bpo-38019 `__: Correctly handle pause/" -"resume reading of closed asyncio unix pipe." -msgstr "" - -#: ../build/NEWS:4388 -msgid "" -"`bpo-38163 `__: Child mocks will now " -"detect their type as either synchronous or asynchronous, asynchronous child " -"mocks will be AsyncMocks and synchronous child mocks will be either " -"MagicMock or Mock (depending on their parent type)." -msgstr "" - -#: ../build/NEWS:4393 -msgid "" -"`bpo-38161 `__: Removes _AwaitEvent from " -"AsyncMock." -msgstr "" - -#: ../build/NEWS:4395 -msgid "" -"`bpo-38216 `__: Allow the rare code that " -"wants to send invalid http requests from the `http.client` library a way to " -"do so. The fixes for `bpo-30458 `__ led " -"to breakage for some projects that were relying on this ability to test " -"their own behavior in the face of bad requests." -msgstr "" - -#: ../build/NEWS:4400 -msgid "" -"`bpo-28286 `__: Deprecate opening :class:" -"`~gzip.GzipFile` for writing implicitly. Always specify the *mode* argument " -"for writing." -msgstr "" - -#: ../build/NEWS:4403 -msgid "" -"`bpo-38108 `__: Any synchronous magic " -"methods on an AsyncMock now return a MagicMock. Any asynchronous magic " -"methods on a MagicMock now return an AsyncMock." -msgstr "" - -#: ../build/NEWS:4407 -msgid "" -"`bpo-38265 `__: Update the *length* " -"parameter of :func:`os.pread` to accept :c:type:`Py_ssize_t` instead of :c:" -"type:`int`." -msgstr "" - -#: ../build/NEWS:4410 -msgid "" -"`bpo-38112 `__: :mod:`compileall` has a " -"higher default recursion limit and new command-line arguments for path " -"manipulation, symlinks handling, and multiple optimization levels." -msgstr "" - -#: ../build/NEWS:4414 -msgid "" -"`bpo-38248 `__: asyncio: Fix " -"inconsistent immediate Task cancellation" -msgstr "" - -#: ../build/NEWS:4416 -msgid "" -"`bpo-38237 `__: The arguments for the " -"builtin pow function are more descriptive. They can now also be passed in as " -"keywords." -msgstr "" - -#: ../build/NEWS:4419 -msgid "" -"`bpo-34002 `__: Improve efficiency in " -"parts of email package by changing while-pop to a for loop, using isdisjoint " -"instead of set intersections." -msgstr "" - -#: ../build/NEWS:4422 -msgid "" -"`bpo-38191 `__: Constructors of :class:" -"`~typing.NamedTuple` and :class:`~typing.TypedDict` types now accept " -"arbitrary keyword argument names, including \"cls\", \"self\", \"typename\", " -"\"_typename\", \"fields\" and \"_fields\"." -msgstr "" - -#: ../build/NEWS:4427 -msgid "" -"`bpo-38155 `__: Add ``__all__`` to :mod:" -"`datetime`. Patch by Tahia Khan." -msgstr "" - -#: ../build/NEWS:4429 -msgid "" -"`bpo-38185 `__: Fixed case-insensitive " -"string comparison in :class:`sqlite3.Row` indexing." -msgstr "" - -#: ../build/NEWS:4432 -msgid "" -"`bpo-38136 `__: Changes AsyncMock call " -"count and await count to be two different counters. Now await count only " -"counts when a coroutine has been awaited, not when it has been called, and " -"vice-versa. Update the documentation around this." -msgstr "" - -#: ../build/NEWS:4437 -msgid "" -"`bpo-37828 `__: Fix default mock name " -"in :meth:`unittest.mock.Mock.assert_called` exceptions. Patch by Abraham " -"Toriz Cruz." -msgstr "" - -#: ../build/NEWS:4441 -msgid "" -"`bpo-38175 `__: Fix a memory leak in " -"comparison of :class:`sqlite3.Row` objects." -msgstr "" - -#: ../build/NEWS:4444 -msgid "" -"`bpo-33936 `__: _hashlib no longer calls " -"obsolete OpenSSL initialization function with OpenSSL 1.1.0+." -msgstr "" - -#: ../build/NEWS:4447 -msgid "" -"`bpo-34706 `__: Preserve subclassing in " -"inspect.Signature.from_callable." -msgstr "" - -#: ../build/NEWS:4449 -msgid "" -"`bpo-38153 `__: Names of hashing " -"algorithms frome OpenSSL are now normalized to follow Python's naming " -"conventions. For example OpenSSL uses sha3-512 instead of sha3_512 or " -"blake2b512 instead of blake2b." -msgstr "" - -#: ../build/NEWS:4453 -msgid "" -"`bpo-38115 `__: Fix a bug in dis." -"findlinestarts() where it would return invalid bytecode offsets. Document " -"that a code object's co_lnotab can contain invalid bytecode offsets." -msgstr "" - -#: ../build/NEWS:4457 -msgid "" -"`bpo-38148 `__: Add slots to :mod:" -"`asyncio` transport classes, which can reduce memory usage." -msgstr "" - -#: ../build/NEWS:4460 -msgid "" -"`bpo-38142 `__: The _hashlib OpenSSL " -"wrapper extension module is now PEP-384 compliant." -msgstr "" - -#: ../build/NEWS:4463 -msgid "" -"`bpo-9216 `__: hashlib constructors now " -"support usedforsecurity flag to signal that a hashing algorithm is not used " -"in a security context." -msgstr "" - -#: ../build/NEWS:4466 -msgid "" -"`bpo-36991 `__: Fixes a potential " -"incorrect AttributeError exception escaping ZipFile.extract() in some " -"unsupported input error situations." -msgstr "" - -#: ../build/NEWS:4469 -msgid "" -"`bpo-38134 `__: Remove obsolete copy of " -"PBKDF2_HMAC_fast. All supported OpenSSL versions contain a fast " -"implementation." -msgstr "" - -#: ../build/NEWS:4472 -msgid "" -"`bpo-38132 `__: The OpenSSL hashlib " -"wrapper uses a simpler implementation. Several Macros and pointless caches " -"are gone. The hash name now comes from OpenSSL's EVP. The algorithm name " -"stays the same, except it is now always lower case." -msgstr "" - -#: ../build/NEWS:4477 -msgid "" -"`bpo-38008 `__: Fix parent class check " -"in protocols to correctly identify the module that provides a builtin " -"protocol, instead of assuming they all come from the :mod:`collections.abc` " -"module" -msgstr "" - -#: ../build/NEWS:4481 -msgid "" -"`bpo-34037 `__: For :mod:`asyncio`, add " -"a new coroutine :meth:`loop.shutdown_default_executor`. The new coroutine " -"provides an API to schedule an executor shutdown that waits on the " -"threadpool to finish closing. Also, :func:`asyncio.run` has been updated to " -"utilize the new coroutine. Patch by Kyle Stanley." -msgstr "" - -#: ../build/NEWS:4487 -msgid "" -"`bpo-37405 `__: Fixed regression bug for " -"socket.getsockname() for non-CAN_ISOTP AF_CAN address family sockets by " -"returning a 1-tuple instead of string." -msgstr "" - -#: ../build/NEWS:4490 -msgid "" -"`bpo-38121 `__: Update parameter names " -"on functions in importlib.metadata matching the changes in the 0.22 release " -"of importlib_metadata." -msgstr "" - -#: ../build/NEWS:4493 -msgid "" -"`bpo-38110 `__: The os.closewalk() " -"implementation now uses the libc fdwalk() API on platforms where it is " -"available." -msgstr "" - -#: ../build/NEWS:4496 -msgid "" -"`bpo-38093 `__: Fixes AsyncMock so it " -"doesn't crash when used with AsyncContextManagers or AsyncIterators." -msgstr "" - -#: ../build/NEWS:4499 -msgid "" -"`bpo-37488 `__: Add warning to :meth:" -"`datetime.utctimetuple`, :meth:`datetime.utcnow` and :meth:`datetime." -"utcfromtimestamp` ." -msgstr "" - -#: ../build/NEWS:4502 -msgid "" -"`bpo-35640 `__: Allow passing a :term:" -"`path-like object` as ``directory`` argument to the :class:`http.server." -"SimpleHTTPRequestHandler` class. Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:4506 -msgid "" -"`bpo-38086 `__: Update importlib." -"metadata with changes from `importlib_metadata 0.21 `_." -msgstr "" - -#: ../build/NEWS:4510 -msgid "" -"`bpo-37251 `__: Remove `__code__` check " -"in AsyncMock that incorrectly evaluated function specs as async objects but " -"failed to evaluate classes with `__await__` but no `__code__` attribute " -"defined as async objects." -msgstr "" - -#: ../build/NEWS:4514 -msgid "" -"`bpo-38037 `__: Fix reference counters " -"in the :mod:`signal` module." -msgstr "" - -#: ../build/NEWS:4516 -msgid "" -"`bpo-38066 `__: Hide internal asyncio." -"Stream methods: feed_eof(), feed_data(), set_exception() and set_transport()." -msgstr "" - -#: ../build/NEWS:4519 -msgid "" -"`bpo-38059 `__: inspect.py now uses sys." -"exit() instead of exit()" -msgstr "" - -#: ../build/NEWS:4521 -msgid "" -"`bpo-38049 `__: Added command-line " -"interface for the :mod:`ast` module." -msgstr "" - -#: ../build/NEWS:4523 -msgid "" -"`bpo-37953 `__: In :mod:`typing`, " -"improved the ``__hash__`` and ``__eq__`` methods for :class:" -"`ForwardReferences`." -msgstr "" - -#: ../build/NEWS:4526 -msgid "" -"`bpo-38026 `__: Fixed :func:`inspect." -"getattr_static` used ``isinstance`` while it should avoid dynamic lookup." -msgstr "" - -#: ../build/NEWS:4529 -msgid "" -"`bpo-35923 `__: Update :class:`importlib." -"machinery.BuiltinImporter` to use ``loader._ORIGIN`` instead of a hardcoded " -"value. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:4532 -msgid "" -"`bpo-38010 `__: In ``importlib." -"metadata`` sync with ``importlib_metadata`` 0.20, clarifying behavior of " -"``files()`` and fixing issue where only one requirement was returned for " -"``requires()`` on ``dist-info`` packages." -msgstr "" - -#: ../build/NEWS:4536 -msgid "" -"`bpo-38006 `__: weakref." -"WeakValueDictionary defines a local remove() function used as callback for " -"weak references. This function was created with a closure. Modify the " -"implementation to avoid the closure." -msgstr "" - -#: ../build/NEWS:4540 -msgid "" -"`bpo-37995 `__: Added the *indent* " -"option to :func:`ast.dump` which allows it to produce a multiline indented " -"output." -msgstr "" - -#: ../build/NEWS:4543 -msgid "" -"`bpo-34410 `__: Fixed a crash in the :" -"func:`tee` iterator when re-enter it. RuntimeError is now raised in this " -"case." -msgstr "" - -#: ../build/NEWS:4546 -msgid "" -"`bpo-37140 `__: Fix a ctypes regression " -"of Python 3.8. When a ctypes.Structure is passed by copy to a function, " -"ctypes internals created a temporary object which had the side effect of " -"calling the structure finalizer (__del__) twice. The Python semantics " -"requires a finalizer to be called exactly once. Fix ctypes internals to no " -"longer call the finalizer twice." -msgstr "" - -#: ../build/NEWS:4552 -msgid "" -"`bpo-37587 `__: ``_json.scanstring`` is " -"now up to 3x faster when there are many backslash escaped characters in the " -"JSON string." -msgstr "" - -#: ../build/NEWS:4555 -msgid "" -"`bpo-37834 `__: Prevent shutil.rmtree " -"exception when built on non-Windows system without fd system call support, " -"like older versions of macOS." -msgstr "" - -#: ../build/NEWS:4558 -msgid "" -"`bpo-10978 `__: Semaphores and " -"BoundedSemaphores can now release more than one waiting thread at a time." -msgstr "" - -#: ../build/NEWS:4561 -msgid "" -"`bpo-37972 `__: Subscripts to the " -"`unittest.mock.call` objects now receive the same chaining mechanism as any " -"other custom attributes, so that the following usage no longer raises a " -"`TypeError`:" -msgstr "" - -#: ../build/NEWS:4565 -msgid "call().foo().__getitem__('bar')" -msgstr "" - -#: ../build/NEWS:4567 -msgid "Patch by blhsing" -msgstr "" - -#: ../build/NEWS:4569 -msgid "" -"`bpo-37965 `__: Fix C compiler warning " -"caused by distutils.ccompiler.CCompiler.has_function." -msgstr "" - -#: ../build/NEWS:4572 -msgid "" -"`bpo-37964 `__: Add ``F_GETPATH`` " -"command to :mod:`fcntl`." -msgstr "" - -#: ../build/NEWS:4574 -msgid "" -"`bpo-37960 `__: ``repr()`` of buffered " -"and text streams now silences only expected exceptions when get the value of " -"\"name\" and \"mode\" attributes." -msgstr "" - -#: ../build/NEWS:4577 -msgid "" -"`bpo-37961 `__: Add a ``total_nframe`` " -"field to the traces collected by the tracemalloc module. This field " -"indicates the original number of frames before it was truncated." -msgstr "" - -#: ../build/NEWS:4581 -msgid "" -"`bpo-37951 `__: Most features of the " -"subprocess module now work again in subinterpreters. Only *preexec_fn* is " -"restricted in subinterpreters." -msgstr "" - -#: ../build/NEWS:4584 -msgid "" -"`bpo-36205 `__: Fix the rusage " -"implementation of time.process_time() to correctly report the sum of the " -"system and user CPU time." -msgstr "" - -#: ../build/NEWS:4587 -msgid "" -"`bpo-37950 `__: Fix :func:`ast.dump` " -"when call with incompletely initialized node." -msgstr "" - -#: ../build/NEWS:4590 -msgid "" -"`bpo-34679 `__: Restores instantiation " -"of Windows IOCP event loops from the non-main thread." -msgstr "" - -#: ../build/NEWS:4593 -msgid "" -"`bpo-36917 `__: Add default " -"implementation of the :meth:`ast.NodeVisitor.visit_Constant` method which " -"emits a deprecation warning and calls corresponding methody ``visit_Num()``, " -"``visit_Str()``, etc." -msgstr "" - -#: ../build/NEWS:4598 -msgid "" -"`bpo-37798 `__: Update test_statistics." -"py to verify that the statistics module works well for both C and Python " -"implementations. Patch by Dong-hee Na" -msgstr "" - -#: ../build/NEWS:4601 -msgid "" -"`bpo-26589 `__: Added a new status code " -"to the http module: 451 UNAVAILABLE_FOR_LEGAL_REASONS" -msgstr "" - -#: ../build/NEWS:4604 -msgid "" -"`bpo-37915 `__: Fix a segmentation fault " -"that appeared when comparing instances of ``datetime.timezone`` and " -"``datetime.tzinfo`` objects. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4608 -msgid "" -"`bpo-32554 `__: Deprecate having random." -"seed() call hash on arbitrary types." -msgstr "" - -#: ../build/NEWS:4610 -msgid "" -"`bpo-9938 `__: Add optional keyword " -"argument ``exit_on_error`` for :class:`ArgumentParser`." -msgstr "" - -#: ../build/NEWS:4613 -msgid "" -"`bpo-37851 `__: The :mod:`faulthandler` " -"module no longer allocates its alternative stack at Python startup. Now the " -"stack is only allocated at the first faulthandler usage." -msgstr "" - -#: ../build/NEWS:4617 -msgid "" -"`bpo-32793 `__: Fix a duplicated debug " -"message when :meth:`smtplib.SMTP.connect` is called." -msgstr "" - -#: ../build/NEWS:4620 -msgid "" -"`bpo-37885 `__: venv: Don't generate " -"unset variable warning on deactivate." -msgstr "" - -#: ../build/NEWS:4622 -msgid "" -"`bpo-37868 `__: Fix dataclasses." -"is_dataclass when given an instance that never raises AttributeError in " -"__getattr__. That is, an object that returns something for " -"__dataclass_fields__ even if it's not a dataclass." -msgstr "" - -#: ../build/NEWS:4626 -msgid "" -"`bpo-37811 `__: Fix ``socket`` module's " -"``socket.connect(address)`` function being unable to establish connection in " -"case of interrupted system call. The problem was observed on all OSes which " -"``poll(2)`` system call can take only non-negative integers and -1 as a " -"timeout value." -msgstr "" - -#: ../build/NEWS:4631 -msgid "" -"`bpo-37863 `__: Optimizations for " -"Fraction.__hash__ suggested by Tim Peters." -msgstr "" - -#: ../build/NEWS:4633 -msgid "" -"`bpo-21131 `__: Fix ``faulthandler." -"register(chain=True)`` stack. faulthandler now allocates a dedicated stack " -"of ``SIGSTKSZ*2`` bytes, instead of just ``SIGSTKSZ`` bytes. Calling the " -"previous signal handler in faulthandler signal handler uses more than " -"``SIGSTKSZ`` bytes of stack memory on some platforms." -msgstr "" - -#: ../build/NEWS:4639 -msgid "" -"`bpo-37798 `__: Add C fastpath for " -"statistics.NormalDist.inv_cdf() Patch by Dong-hee Na" -msgstr "" - -#: ../build/NEWS:4642 -msgid "" -"`bpo-37804 `__: Remove the deprecated " -"method `threading.Thread.isAlive()`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:4645 -msgid "" -"`bpo-37819 `__: Add Fraction." -"as_integer_ratio() to match the corresponding methods in bool, int, float, " -"and decimal." -msgstr "" - -#: ../build/NEWS:4648 -msgid "" -"`bpo-14465 `__: Add an xml.etree." -"ElementTree.indent() function for pretty-printing XML trees. Contributed by " -"Stefan Behnel." -msgstr "" - -#: ../build/NEWS:4651 -msgid "" -"`bpo-37810 `__: Fix :mod:`difflib` ``?`` " -"hint in diff output when dealing with tabs. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:4654 -msgid "" -"`bpo-37772 `__: In ``zipfile.Path``, " -"when adding implicit dirs, ensure that ancestral directories are added and " -"that duplicates are excluded." -msgstr "" - -#: ../build/NEWS:4657 -msgid "" -"`bpo-18578 `__: Renamed and documented " -"`test.bytecode_helper` as `test.support.bytecode_helper`. Patch by Joannah " -"Nanjekye." -msgstr "" - -#: ../build/NEWS:4660 -msgid "" -"`bpo-37785 `__: Fix xgettext warnings " -"in :mod:`argparse`." -msgstr "" - -#: ../build/NEWS:4662 -msgid "" -"`bpo-34488 `__: :meth:`writelines` " -"method of :class:`io.BytesIO` is now slightly faster when many small lines " -"are passed. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:4666 -msgid "" -"`bpo-37449 `__: `ensurepip` now uses " -"`importlib.resources.read_binary()` to read data instead of `pkgutil." -"get_data()`. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:4669 -msgid "" -"`bpo-28292 `__: Mark calendar.py helper " -"functions as being private. The follows PEP 8 guidance to maintain the " -"style conventions in the module and it addresses a known case of user " -"confusion." -msgstr "" - -#: ../build/NEWS:4673 -msgid "" -"`bpo-18049 `__: Add definition of " -"THREAD_STACK_SIZE for AIX in Python/thread_pthread.h The default thread " -"stacksize caused crashes with the default recursion limit Patch by M Felt" -msgstr "" - -#: ../build/NEWS:4677 -msgid "" -"`bpo-37742 `__: The logging.getLogger() " -"API now returns the root logger when passed the name 'root', whereas " -"previously it returned a non-root logger named 'root'. This could affect " -"cases where user code explicitly wants a non-root logger named 'root', or " -"instantiates a logger using logging.getLogger(__name__) in some top-level " -"module called 'root.py'." -msgstr "" - -#: ../build/NEWS:4683 -msgid "" -"`bpo-37738 `__: Fix the implementation " -"of curses ``addch(str, color_pair)``: pass the color pair to ``setcchar()``, " -"instead of always passing 0 as the color pair." -msgstr "" - -#: ../build/NEWS:4687 -msgid "" -"`bpo-37723 `__: Fix performance " -"regression on regular expression parsing with huge character sets. Patch by " -"Yann Vaginay." -msgstr "" - -#: ../build/NEWS:4690 -msgid "" -"`bpo-35943 `__: The function :c:func:" -"`PyImport_GetModule` now ensures any module it returns is fully initialized. " -"Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:4693 -msgid "" -"`bpo-32178 `__: Fix IndexError in :mod:" -"`email` package when trying to parse invalid address fields starting with ``:" -"``." -msgstr "" - -#: ../build/NEWS:4696 -msgid "" -"`bpo-37268 `__: The :mod:`parser` module " -"is deprecated and will be removed in future versions of Python." -msgstr "" - -#: ../build/NEWS:4699 -msgid "" -"`bpo-11953 `__: Completing WSA* error " -"codes in :mod:`socket`." -msgstr "" - -#: ../build/NEWS:4701 -msgid "" -"`bpo-37685 `__: Fixed comparisons of :" -"class:`datetime.timedelta` and :class:`datetime.timezone`." -msgstr "" - -#: ../build/NEWS:4704 -msgid "" -"`bpo-37697 `__: Syncronize ``importlib." -"metadata`` with `importlib_metadata 0.19 `_, improving handling of EGG-INFO files " -"and fixing a crash when entry point names contained colons." -msgstr "" - -#: ../build/NEWS:4709 -msgid "" -"`bpo-37695 `__: Correct :func:`curses." -"unget_wch` error message. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:4712 -msgid "" -"`bpo-37689 `__: Add :meth:" -"`is_relative_to` in :class:`PurePath` to determine whether or not one path " -"is relative to another." -msgstr "" - -#: ../build/NEWS:4715 -msgid "" -"`bpo-29553 `__: Fixed :meth:`argparse." -"ArgumentParser.format_usage` for mutually exclusive groups. Patch by Andrew " -"Nester." -msgstr "" - -#: ../build/NEWS:4718 -msgid "" -"`bpo-37691 `__: Let math.dist() accept " -"coordinates as sequences (or iterables) rather than just tuples." -msgstr "" - -#: ../build/NEWS:4721 -msgid "" -"`bpo-37685 `__: Fixed ``__eq__``, " -"``__lt__`` etc implementations in some classes. They now return :data:" -"`NotImplemented` for unsupported type of the other operand. This allows the " -"other operand to play role (for example the equality comparison with :data:" -"`~unittest.mock.ANY` will return ``True``)." -msgstr "" - -#: ../build/NEWS:4727 -msgid "" -"`bpo-37354 `__: Make Activate.ps1 " -"Powershell script static to allow for signing it." -msgstr "" - -#: ../build/NEWS:4730 -msgid "" -"`bpo-37664 `__: Update wheels bundled " -"with ensurepip (pip 19.2.3 and setuptools 41.2.0)" -msgstr "" - -#: ../build/NEWS:4733 -msgid "" -"`bpo-37663 `__: Bring consistency to " -"venv shell activation scripts by always using __VENV_PROMPT__." -msgstr "" - -#: ../build/NEWS:4736 -msgid "" -"`bpo-37642 `__: Allowed the pure Python " -"implementation of :class:`datetime.timezone` to represent sub-minute offsets " -"close to minimum and maximum boundaries, specifically in the ranges (23:59, " -"24:00) and (-23:59, 24:00). Patch by Ngalim Siregar" -msgstr "" - -#: ../build/NEWS:4741 -msgid "" -"`bpo-36161 `__: In :mod:`posix`, use " -"``ttyname_r`` instead of ``ttyname`` for thread safety." -msgstr "" - -#: ../build/NEWS:4744 -msgid "" -"`bpo-36324 `__: Make internal attributes " -"for statistics.NormalDist() private." -msgstr "" - -#: ../build/NEWS:4746 -msgid "" -"`bpo-37555 `__: Fix `NonCallableMock." -"_call_matcher` returning tuple instead of `_Call` object when `self." -"_spec_signature` exists. Patch by Elizabeth Uselton" -msgstr "" - -#: ../build/NEWS:4750 -msgid "" -"`bpo-29446 `__: Make `from tkinter " -"import *` import only the expected objects." -msgstr "" - -#: ../build/NEWS:4752 -msgid "" -"`bpo-16970 `__: Adding a value error " -"when an invalid value in passed to nargs Patch by Robert Leenders" -msgstr "" - -#: ../build/NEWS:4755 -msgid "" -"`bpo-34443 `__: Exceptions from :mod:" -"`enum` now use the ``__qualname`` of the enum class in the exception message " -"instead of the ``__name__``." -msgstr "" - -#: ../build/NEWS:4758 -msgid "" -"`bpo-37491 `__: Fix ``IndexError`` when " -"parsing email headers with unexpectedly ending bare-quoted string value. " -"Patch by Abhilash Raj." -msgstr "" - -#: ../build/NEWS:4761 -msgid "" -"`bpo-37587 `__: Make json.loads faster " -"for long strings. (Patch by Marco Paolini)" -msgstr "" - -#: ../build/NEWS:4764 -msgid "" -"`bpo-18378 `__: Recognize \"UTF-8\" as a " -"valid value for LC_CTYPE in locale._parse_localename." -msgstr "" - -#: ../build/NEWS:4767 -msgid "" -"`bpo-37579 `__: Return :exc:" -"`NotImplemented` in Python implementation of ``__eq__`` for :class:" -"`~datetime.timedelta` and :class:`~datetime.time` when the other object " -"being compared is not of the same type to match C implementation. Patch by " -"Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:4772 -msgid "" -"`bpo-21478 `__: Record calls to parent " -"when autospecced object is attached to a mock using :func:`unittest.mock." -"attach_mock`. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:4776 -msgid "" -"`bpo-37531 `__: \"python3 -m test -jN --" -"timeout=TIMEOUT\" now kills a worker process if it runs longer than " -"*TIMEOUT* seconds." -msgstr "" - -#: ../build/NEWS:4779 -msgid "" -"`bpo-37482 `__: Fix serialization of " -"display name in originator or destination address fields with both encoded " -"words and special chars." -msgstr "" - -#: ../build/NEWS:4782 -msgid "" -"`bpo-36993 `__: Improve error reporting " -"for corrupt zip files with bad zip64 extra data. Patch by Daniel Hillier." -msgstr "" - -#: ../build/NEWS:4785 -msgid "" -"`bpo-37502 `__: pickle.loads() no longer " -"raises TypeError when the buffers argument is set to None" -msgstr "" - -#: ../build/NEWS:4788 -msgid "" -"`bpo-37520 `__: Correct behavior for " -"zipfile.Path.parent when the path object identifies a subdirectory." -msgstr "" - -#: ../build/NEWS:4791 -msgid "" -"`bpo-18374 `__: Fix the ``.col_offset`` " -"attribute of nested :class:`ast.BinOp` instances which had a too large value " -"in some situations." -msgstr "" - -#: ../build/NEWS:4794 -msgid "" -"`bpo-37424 `__: Fixes a possible hang " -"when using a timeout on `subprocess.run()` while capturing output. If the " -"child process spawned its own children or otherwise connected its stdout or " -"stderr handles with another process, we could hang after the timeout was " -"reached and our child was killed when attempting to read final output from " -"the pipes." -msgstr "" - -#: ../build/NEWS:4800 -msgid "" -"`bpo-37421 `__: Fix :func:" -"`multiprocessing.util.get_temp_dir` finalizer: clear also the 'tempdir' " -"configuration of the current process, so next call to ``get_temp_dir()`` " -"will create a new temporary directory, rather than reusing the removed " -"temporary directory." -msgstr "" - -#: ../build/NEWS:4805 -msgid "" -"`bpo-37481 `__: The distutils " -"``bdist_wininst`` command is deprecated in Python 3.8, use ``bdist_wheel`` " -"(wheel packages) instead." -msgstr "" - -#: ../build/NEWS:4808 -msgid "" -"`bpo-37479 `__: When `Enum.__str__` is " -"overridden in a derived class, the override will be used by `Enum." -"__format__` regardless of whether mixin classes are present." -msgstr "" - -#: ../build/NEWS:4812 -msgid "" -"`bpo-37440 `__: http.client now enables " -"TLS 1.3 post-handshake authentication for default context or if a cert_file " -"is passed to HTTPSConnection." -msgstr "" - -#: ../build/NEWS:4815 -msgid "" -"`bpo-37437 `__: Update vendorized expat " -"version to 2.2.7." -msgstr "" - -#: ../build/NEWS:4817 -msgid "" -"`bpo-37428 `__: SSLContext." -"post_handshake_auth = True no longer sets SSL_VERIFY_POST_HANDSHAKE verify " -"flag for client connections. Although the option is documented as ignored " -"for clients, OpenSSL implicitly enables cert chain validation when the flag " -"is set." -msgstr "" - -#: ../build/NEWS:4822 -msgid "" -"`bpo-37420 `__: :func:`os." -"sched_setaffinity` now correctly handles errors that arise during iteration " -"over its ``mask`` argument. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:4825 -msgid "" -"`bpo-37412 `__: The :func:`os.getcwdb` " -"function now uses the UTF-8 encoding on Windows, rather than the ANSI code " -"page: see :pep:`529` for the rationale. The function is no longer deprecated " -"on Windows." -msgstr "" - -#: ../build/NEWS:4829 -msgid "" -"`bpo-37406 `__: The sqlite3 module now " -"raises TypeError, rather than ValueError, if operation argument type is not " -"str: execute(), executemany() and calling a connection." -msgstr "" - -#: ../build/NEWS:4833 -msgid "" -"`bpo-29412 `__: Fix IndexError in " -"parsing a header value ending unexpectedly. Patch by Abhilash Raj." -msgstr "" - -#: ../build/NEWS:4836 -msgid "" -"`bpo-36546 `__: The *dist* argument for " -"statistics.quantiles() is now positional only. The current name doesn't " -"reflect that the argument can be either a dataset or a distribution. " -"Marking the parameter as positional avoids confusion and makes it possible " -"to change the name later." -msgstr "" - -#: ../build/NEWS:4841 -msgid "" -"`bpo-37394 `__: Fix a bug that was " -"causing the :mod:`queue` module to fail if the accelerator module was not " -"available. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4844 -msgid "" -"`bpo-37376 `__: :mod:`pprint` now has " -"support for :class:`types.SimpleNamespace`. Patch by Carl Bordum Hansen." -msgstr "" - -#: ../build/NEWS:4847 -msgid "" -"`bpo-26967 `__: An :class:`~argparse." -"ArgumentParser` with ``allow_abbrev=False`` no longer disables grouping of " -"short flags, such as ``-vv``, but only disables abbreviation of long flags " -"as documented. Patch by Zac Hatfield-Dodds." -msgstr "" - -#: ../build/NEWS:4852 -msgid "" -"`bpo-37212 `__: :func:`unittest.mock." -"call` now preserves the order of keyword arguments in repr output. Patch by " -"Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:4855 -msgid "" -"`bpo-37372 `__: Fix error unpickling " -"datetime.time objects from Python 2 with seconds>=24. Patch by Justin " -"Blanchard." -msgstr "" - -#: ../build/NEWS:4858 -msgid "" -"`bpo-37345 `__: Add formal support for " -"UDPLITE sockets. Support was present before, but it is now easier to detect " -"support with ``hasattr(socket, 'IPPROTO_UDPLITE')`` and there are constants " -"defined for each of the values needed: :py:obj:`socket.IPPROTO_UDPLITE`, :py:" -"obj:`UDPLITE_SEND_CSCOV`, and :py:obj:`UDPLITE_RECV_CSCOV`. Patch by Gabe " -"Appleton." -msgstr "" - -#: ../build/NEWS:4865 -msgid "" -"`bpo-37358 `__: Optimized ``functools." -"partial`` by using vectorcall." -msgstr "" - -#: ../build/NEWS:4867 -msgid "" -"`bpo-37347 `__: :meth:`sqlite3." -"Connection.create_aggregate`, :meth:`sqlite3.Connection.create_function`, :" -"meth:`sqlite3.Connection.set_authorizer`, :meth:`sqlite3.Connection." -"set_progress_handler` :meth:`sqlite3.Connection.set_trace_callback` methods " -"lead to segfaults if some of these methods are called twice with an equal " -"object but not the same. Now callbacks are stored more carefully. Patch by " -"Aleksandr Balezin." -msgstr "" - -#: ../build/NEWS:4875 -msgid "" -"`bpo-37163 `__: The *obj* argument of :" -"func:`dataclasses.replace` is positional-only now." -msgstr "" - -#: ../build/NEWS:4878 -msgid "" -"`bpo-37085 `__: Add the optional Linux " -"SocketCAN Broadcast Manager constants, used as flags to configure the BCM " -"behaviour, in the socket module. Patch by Karl Ding." -msgstr "" - -#: ../build/NEWS:4882 -msgid "" -"`bpo-37328 `__: ``HTMLParser.unescape`` " -"is removed. It was undocumented and deprecated since Python 3.4." -msgstr "" - -#: ../build/NEWS:4885 -msgid "" -"`bpo-37305 `__: Add .webmanifest -> " -"application/manifest+json to list of recognized file types and content type " -"headers" -msgstr "" - -#: ../build/NEWS:4888 -msgid "" -"`bpo-37320 `__: ``aifc.openfp()`` alias " -"to ``aifc.open()``, ``sunau.openfp()`` alias to ``sunau.open()``, and ``wave." -"openfp()`` alias to ``wave.open()`` have been removed. They were deprecated " -"since Python 3.7." -msgstr "" - -#: ../build/NEWS:4892 -msgid "" -"`bpo-37315 `__: Deprecated accepting " -"floats with integral value (like ``5.0``) in :func:`math.factorial`." -msgstr "" - -#: ../build/NEWS:4895 -msgid "" -"`bpo-37312 `__: ``_dummy_thread`` and " -"``dummy_threading`` modules have been removed. These modules were deprecated " -"since Python 3.7 which requires threading support." -msgstr "" - -#: ../build/NEWS:4899 -msgid "" -"`bpo-33972 `__: Email with single part " -"but content-type set to ``multipart/*`` doesn't raise AttributeError anymore." -msgstr "" - -#: ../build/NEWS:4902 -msgid "" -"`bpo-37280 `__: Use threadpool for " -"reading from file for sendfile fallback mode." -msgstr "" - -#: ../build/NEWS:4905 -msgid "" -"`bpo-37279 `__: Fix asyncio sendfile " -"support when sendfile sends extra data in fallback mode." -msgstr "" - -#: ../build/NEWS:4908 -msgid "" -"`bpo-19865 `__: :func:`ctypes." -"create_unicode_buffer()` now also supports non-BMP characters on platforms " -"with 16-bit :c:type:`wchar_t` (for example, Windows and AIX)." -msgstr "" - -#: ../build/NEWS:4912 -msgid "" -"`bpo-37266 `__: In a subinterpreter, " -"spawning a daemon thread now raises an exception. Daemon threads were never " -"supported in subinterpreters. Previously, the subinterpreter finalization " -"crashed with a Pyton fatal error if a daemon thread was still running." -msgstr "" - -#: ../build/NEWS:4917 -msgid "" -"`bpo-37210 `__: Allow pure Python " -"implementation of :mod:`pickle` to work even when the C :mod:`_pickle` " -"module is unavailable." -msgstr "" - -#: ../build/NEWS:4920 -msgid "" -"`bpo-21872 `__: Fix :mod:`lzma`: module " -"decompresses data incompletely. When decompressing a FORMAT_ALONE format " -"file, and it doesn't have the end marker, sometimes the last one to dozens " -"bytes can't be output. Patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:4925 -msgid "" -"`bpo-35922 `__: Fix :meth:" -"`RobotFileParser.crawl_delay` and :meth:`RobotFileParser.request_rate` to " -"return ``None`` rather than raise :exc:`AttributeError` when no relevant " -"rule is defined in the robots.txt file. Patch by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:4930 -msgid "" -"`bpo-35766 `__: Change the format of " -"feature_version to be a (major, minor) tuple." -msgstr "" - -#: ../build/NEWS:4933 -msgid "" -"`bpo-36607 `__: Eliminate :exc:" -"`RuntimeError` raised by :func:`asyncio.all_tasks()` if internal tasks weak " -"set is changed by another thread during iteration." -msgstr "" - -#: ../build/NEWS:4937 -msgid "" -"`bpo-18748 `__: :class:`_pyio.IOBase` " -"destructor now does nothing if getting the ``closed`` attribute fails to " -"better mimick :class:`_io.IOBase` finalizer." -msgstr "" - -#: ../build/NEWS:4941 -msgid "" -"`bpo-36402 `__: Fix a race condition at " -"Python shutdown when waiting for threads. Wait until the Python thread state " -"of all non-daemon threads get deleted (join all non-daemon threads), rather " -"than just wait until non-daemon Python threads complete." -msgstr "" - -#: ../build/NEWS:4946 -msgid "" -"`bpo-37206 `__: Default values which " -"cannot be represented as Python objects no longer improperly represented as " -"``None`` in function signatures." -msgstr "" - -#: ../build/NEWS:4949 -msgid "" -"`bpo-37111 `__: Added ``encoding`` and " -"``errors`` keyword parameters to ``logging.basicConfig``." -msgstr "" - -#: ../build/NEWS:4952 -msgid "" -"`bpo-12144 `__: Ensure cookies with " -"``expires`` attribute are handled in :meth:`CookieJar.make_cookies`." -msgstr "" - -#: ../build/NEWS:4955 -msgid "" -"`bpo-34886 `__: Fix an unintended " -"ValueError from :func:`subprocess.run` when checking for conflicting `input` " -"and `stdin` or `capture_output` and `stdout` or `stderr` args when they were " -"explicitly provided but with `None` values within a passed in `**kwargs` " -"dict rather than as passed directly by name. Patch contributed by Rémi " -"Lapeyre." -msgstr "" - -#: ../build/NEWS:4961 -msgid "" -"`bpo-37173 `__: The exception message " -"for ``inspect.getfile()`` now correctly reports the passed class rather than " -"the builtins module." -msgstr "" - -#: ../build/NEWS:4964 -msgid "" -"`bpo-37178 `__: Give math.perm() a one " -"argument form that means the same as math.factorial()." -msgstr "" - -#: ../build/NEWS:4967 -msgid "" -"`bpo-37178 `__: For math.perm(n, k), let " -"k default to n, giving the same result as factorial." -msgstr "" - -#: ../build/NEWS:4970 -msgid "" -"`bpo-37165 `__: Converted _collections." -"_count_elements to use the Argument Clinic." -msgstr "" - -#: ../build/NEWS:4973 -msgid "" -"`bpo-34767 `__: Do not always create a :" -"class:`collections.deque` in :class:`asyncio.Lock`." -msgstr "" - -#: ../build/NEWS:4976 -msgid "" -"`bpo-37158 `__: Speed-up statistics." -"fmean() by switching from a function to a generator." -msgstr "" - -#: ../build/NEWS:4979 -msgid "" -"`bpo-34282 `__: Remove ``Enum._convert`` " -"method, deprecated in 3.8." -msgstr "" - -#: ../build/NEWS:4981 -msgid "" -"`bpo-37150 `__: `argparse." -"_ActionsContainer.add_argument` now throws error, if someone accidentally " -"pass FileType class object instead of instance of FileType as `type` argument" -msgstr "" - -#: ../build/NEWS:4985 -msgid "" -"`bpo-28724 `__: The socket module now " -"has the :func:`socket.send_fds` and :func:`socket.recv.fds` methods. " -"Contributed by Joannah Nanjekye, Shinya Okano and Victor Stinner." -msgstr "" - -#: ../build/NEWS:4989 -msgid "" -"`bpo-35621 `__: Support running asyncio " -"subprocesses when execution event loop in a thread on UNIX." -msgstr "" - -#: ../build/NEWS:4992 -msgid "" -"`bpo-36520 `__: Lengthy email headers " -"with UTF-8 characters are now properly encoded when they are folded. Patch " -"by Jeffrey Kintscher." -msgstr "" - -#: ../build/NEWS:4995 -msgid "" -"`bpo-30835 `__: Fixed a bug in email " -"parsing where a message with invalid bytes in content-transfer-encoding of a " -"multipart message can cause an AttributeError. Patch by Andrew Donnellan." -msgstr "" - -#: ../build/NEWS:4999 -msgid "" -"`bpo-31163 `__: pathlib.Path instance's " -"rename and replace methods now return the new Path instance." -msgstr "" - -#: ../build/NEWS:5002 -msgid "" -"`bpo-25068 `__: :class:`urllib.request." -"ProxyHandler` now lowercases the keys of the passed dictionary." -msgstr "" - -#: ../build/NEWS:5005 -msgid "" -"`bpo-26185 `__: Fix :func:`repr` on " -"empty :class:`ZipInfo` object. Patch by Mickaël Schoentgen." -msgstr "" - -#: ../build/NEWS:5008 -msgid "" -"`bpo-21315 `__: Email headers containing " -"RFC2047 encoded words are parsed despite the missing whitespace, and a " -"defect registered. Also missing trailing whitespace after encoded words is " -"now registered as a defect." -msgstr "" - -#: ../build/NEWS:5012 -msgid "" -"`bpo-31904 `__: Port test_datetime to " -"VxWorks: skip zoneinfo tests on VxWorks" -msgstr "" - -#: ../build/NEWS:5014 -msgid "" -"`bpo-35805 `__: Add parser for Message-" -"ID header and add it to default HeaderRegistry. This should prevent folding " -"of Message-ID using RFC 2048 encoded words." -msgstr "" - -#: ../build/NEWS:5018 -msgid "" -"`bpo-36871 `__: Ensure method signature " -"is used instead of constructor signature of a class while asserting mock " -"object against method calls. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:5022 -msgid "" -"`bpo-35070 `__: posix.getgrouplist() now " -"works correctly when the user belongs to NGROUPS_MAX supplemental groups. " -"Patch by Jeffrey Kintscher." -msgstr "" - -#: ../build/NEWS:5025 -msgid "" -"`bpo-31783 `__: Fix race condition in " -"ThreadPoolExecutor when worker threads are created during interpreter " -"shutdown." -msgstr "" - -#: ../build/NEWS:5028 -msgid "" -"`bpo-36582 `__: Fix ``UserString." -"encode()`` to correctly return ``bytes`` rather than a ``UserString`` " -"instance." -msgstr "" - -#: ../build/NEWS:5031 -msgid "" -"`bpo-32424 `__: Deprecate xml.etree." -"ElementTree.Element.copy() in favor of copy.copy()." -msgstr "" - -#: ../build/NEWS:5034 -msgid "Patch by Gordon P. Hemsley" -msgstr "" - -#: ../build/NEWS:5036 -msgid "" -"`bpo-36564 `__: Fix infinite loop in " -"email header folding logic that would be triggered when an email policy's " -"max_line_length is not long enough to include the required markup and any " -"values in the message. Patch by Paul Ganssle" -msgstr "" - -#: ../build/NEWS:5041 -msgid "" -"`bpo-36543 `__: Removed methods Element." -"getchildren(), Element.getiterator() and ElementTree.getiterator() and the " -"xml.etree.cElementTree module." -msgstr "" - -#: ../build/NEWS:5044 -msgid "" -"`bpo-36409 `__: Remove the old plistlib " -"API deprecated in Python 3.4" -msgstr "" - -#: ../build/NEWS:5046 -msgid "" -"`bpo-36302 `__: distutils sorts source " -"file lists so that Extension .so files build more reproducibly by default" -msgstr "" - -#: ../build/NEWS:5049 -msgid "" -"`bpo-36250 `__: Ignore ``ValueError`` " -"from ``signal`` with ``interaction`` in non-main thread." -msgstr "" - -#: ../build/NEWS:5052 -msgid "" -"`bpo-36046 `__: Added ``user``, " -"``group`` and ``extra_groups`` parameters to the subprocess.Popen " -"constructor. Patch by Patrick McLean." -msgstr "" - -#: ../build/NEWS:5055 -msgid "" -"`bpo-32627 `__: Fix compile error when " -"``_uuid`` headers conflicting included." -msgstr "" - -#: ../build/NEWS:5057 -msgid "" -"`bpo-35800 `__: Deprecate ``smtpd." -"MailmanProxy`` ready for future removal." -msgstr "" - -#: ../build/NEWS:5059 -msgid "" -"`bpo-35168 `__: :attr:`shlex.shlex." -"punctuation_chars` is now a read-only property." -msgstr "" - -#: ../build/NEWS:5062 -msgid "" -"`bpo-8538 `__: Add support for boolean " -"actions like ``--foo`` and ``--no-foo`` to argparse. Patch contributed by " -"Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:5065 -msgid "" -"`bpo-20504 `__: Fixes a bug in :mod:" -"`cgi` module when a multipart/form-data request has no `Content-Length` " -"header." -msgstr "" - -#: ../build/NEWS:5068 -msgid "" -"`bpo-25988 `__: The abstract base " -"classes in :mod:`collections.abc` no longer are exposed in the regular :mod:" -"`collections` module." -msgstr "" - -#: ../build/NEWS:5071 -msgid "" -"`bpo-11122 `__: Distutils won't check " -"for rpmbuild in specified paths only." -msgstr "" - -#: ../build/NEWS:5073 -msgid "" -"`bpo-34775 `__: Division handling of " -"PurePath now returns NotImplemented instead of raising a TypeError when " -"passed something other than an instance of str or PurePath. Patch by Roger " -"Aiudi." -msgstr "" - -#: ../build/NEWS:5077 -msgid "" -"`bpo-34749 `__: :func:`binascii." -"a2b_base64` is now up to 2 times faster. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:5080 -msgid "" -"`bpo-34519 `__: Add additional aliases " -"for HP Roman 8. Patch by Michael Osipov." -msgstr "" - -#: ../build/NEWS:5082 -msgid "" -"`bpo-28009 `__: Fix uuid.getnode() on " -"platforms with '.' as MAC Addr delimiter as well fix for MAC Addr format " -"that omits a leading 0 in MAC Addr values. Currently, AIX is the only know " -"platform with these settings. Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:5087 -msgid "" -"`bpo-30618 `__: Add :meth:`~pathlib.Path." -"readlink`. Patch by Girts Folkmanis." -msgstr "" - -#: ../build/NEWS:5089 -msgid "" -"`bpo-32498 `__: Made :func:`urllib.parse." -"unquote()` accept bytes in addition to strings. Patch by Stein Karlsen." -msgstr "" - -#: ../build/NEWS:5092 -msgid "" -"`bpo-33348 `__: lib2to3 now recognizes " -"expressions after ``*`` and `**` like in ``f(*[] or [])``." -msgstr "" - -#: ../build/NEWS:5095 -msgid "" -"`bpo-32689 `__: Update :func:`shutil." -"move` function to allow for Path objects to be used as source argument. " -"Patch by Emily Morehouse and Maxwell \"5.13b\" McKinnon." -msgstr "" - -#: ../build/NEWS:5099 -msgid "" -"`bpo-32820 `__: Added __format__ to IPv4 " -"and IPv6 classes. Always outputs a fully zero- padded string. Supports b/x/" -"n modifiers (bin/hex/native format). Native format for IPv4 is bin, native " -"format for IPv6 is hex. Also supports '#' and '_' modifiers." -msgstr "" - -#: ../build/NEWS:5104 -msgid "" -"`bpo-27657 `__: Fix urllib.parse." -"urlparse() with numeric paths. A string like \"path:80\" is no longer parsed " -"as a path but as a scheme (\"path\") and a path (\"80\")." -msgstr "" - -#: ../build/NEWS:5108 -msgid "" -"`bpo-4963 `__: Fixed non-deterministic " -"behavior related to mimetypes extension mapping and module reinitialization." -msgstr "" - -#: ../build/NEWS:5114 -msgid "" -"`bpo-21767 `__: Explicitly mention abc " -"support in functools.singledispatch" -msgstr "" - -#: ../build/NEWS:5116 -msgid "" -"`bpo-38816 `__: Provides more details " -"about the interaction between :c:func:`fork` and CPython's runtime, focusing " -"just on the C-API. This includes cautions about where :c:func:`fork` should " -"and shouldn't be called." -msgstr "" - -#: ../build/NEWS:5121 -msgid "" -"`bpo-38351 `__: Modernize :mod:`email` " -"examples from %-formatting to f-strings." -msgstr "" - -#: ../build/NEWS:5123 -msgid "" -"`bpo-38778 `__: Document the fact that :" -"exc:`RuntimeError` is raised if :meth:`os.fork` is called in a " -"subinterpreter." -msgstr "" - -#: ../build/NEWS:5126 -msgid "" -"`bpo-38592 `__: Add Brazilian Portuguese " -"to the language switcher at Python Documentation website." -msgstr "" - -#: ../build/NEWS:5129 -msgid "" -"`bpo-38294 `__: Add list of no-longer-" -"escaped chars to re.escape documentation" -msgstr "" - -#: ../build/NEWS:5131 -msgid "" -"`bpo-38053 `__: Modernized the plistlib " -"documentation" -msgstr "" - -#: ../build/NEWS:5133 -msgid "" -"`bpo-26868 `__: Fix example usage of :c:" -"func:`PyModule_AddObject` to properly handle errors." -msgstr "" - -#: ../build/NEWS:5136 -msgid "" -"`bpo-36797 `__: Fix a dead link in the " -"distutils API Reference." -msgstr "" - -#: ../build/NEWS:5138 -msgid "" -"`bpo-37977 `__: Warn more strongly and " -"clearly about pickle insecurity" -msgstr "" - -#: ../build/NEWS:5140 -msgid "" -"`bpo-37979 `__: Added a link to dateutil." -"parser.isoparse in the datetime.fromisoformat documentation. Patch by Paul " -"Ganssle" -msgstr "" - -#: ../build/NEWS:5143 -msgid "" -"`bpo-12707 `__: Deprecate info(), " -"geturl(), getcode() methods in favor of the headers, url, and status " -"properties, respectively, for HTTPResponse and addinfourl. Also deprecate " -"the code attribute of addinfourl in favor of the status attribute. Patch by " -"Ashwin Ramaswami" -msgstr "" - -#: ../build/NEWS:5148 -msgid "" -"`bpo-37937 `__: Mention ``frame." -"f_trace`` in :func:`sys.settrace` docs." -msgstr "" - -#: ../build/NEWS:5150 -msgid "" -"`bpo-37878 `__: Make :c:func:" -"`PyThreadState_DeleteCurrent` Internal." -msgstr "" - -#: ../build/NEWS:5152 -msgid "" -"`bpo-37759 `__: Beginning edits to " -"Whatsnew 3.8" -msgstr "" - -#: ../build/NEWS:5154 -msgid "" -"`bpo-37726 `__: Stop recommending getopt " -"in the tutorial for command line argument parsing and promote argparse." -msgstr "" - -#: ../build/NEWS:5157 -msgid "" -"`bpo-32910 `__: Remove implementation-" -"specific behaviour of how venv's Deactivate works." -msgstr "" - -#: ../build/NEWS:5160 -msgid "" -"`bpo-37256 `__: Fix wording of arguments " -"for :class:`Request` in :mod:`urllib.request`" -msgstr "" - -#: ../build/NEWS:5163 -msgid "" -"`bpo-37284 `__: Add a brief note to " -"indicate that any new ``sys.implementation`` required attributes must go " -"through the PEP process." -msgstr "" - -#: ../build/NEWS:5167 -msgid "" -"`bpo-30088 `__: Documented that :class:" -"`mailbox.Maildir` constructor doesn't attempt to verify the maildir folder " -"layout correctness. Patch by Sviatoslav Sydorenko." -msgstr "" - -#: ../build/NEWS:5171 -msgid "" -"`bpo-37521 `__: Fix `importlib` examples " -"to insert any newly created modules via importlib.util.module_from_spec() " -"immediately into sys.modules instead of after calling loader.exec_module()." -msgstr "" - -#: ../build/NEWS:5175 -msgid "Thanks to Benjamin Mintz for finding the bug." -msgstr "" - -#: ../build/NEWS:5177 -msgid "" -"`bpo-37456 `__: Slash ('/') is now part " -"of syntax." -msgstr "" - -#: ../build/NEWS:5179 -msgid "" -"`bpo-37487 `__: Fix PyList_GetItem index " -"description to include 0." -msgstr "" - -#: ../build/NEWS:5181 -msgid "" -"`bpo-37149 `__: Replace the dead link to " -"the Tkinter 8.5 reference by John Shipman, New Mexico Tech, with a link to " -"the archive.org copy." -msgstr "" - -#: ../build/NEWS:5184 -msgid "" -"`bpo-37478 `__: Added possible " -"exceptions to the description of os.chdir()." -msgstr "" - -#: ../build/NEWS:5186 -msgid "" -"`bpo-34903 `__: Documented that in :meth:" -"`datetime.datetime.strptime()`, the leading zero in some two-digit formats " -"is optional. Patch by Mike Gleen." -msgstr "" - -#: ../build/NEWS:5189 -msgid "" -"`bpo-36260 `__: Add decompression " -"pitfalls to zipfile module documentation." -msgstr "" - -#: ../build/NEWS:5191 -msgid "" -"`bpo-37004 `__: In the documentation for " -"difflib, a note was added explicitly warning that the results of " -"SequenceMatcher's ratio method may depend on the order of the input strings." -msgstr "" - -#: ../build/NEWS:5195 -msgid "" -"`bpo-36960 `__: Restructured the :mod:" -"`datetime` docs in the interest of making them more user-friendly and " -"improving readability. Patch by Brad Solomon." -msgstr "" - -#: ../build/NEWS:5198 -msgid "" -"`bpo-36487 `__: Make C-API docs clear " -"about what the \"main\" interpreter is." -msgstr "" - -#: ../build/NEWS:5200 -msgid "" -"`bpo-23460 `__: The documentation for " -"decimal string formatting using the `:g` specifier has been updated to " -"reflect the correct exponential notation cutoff point. Original patch " -"contributed by Tuomas Suutari." -msgstr "" - -#: ../build/NEWS:5204 -msgid "" -"`bpo-35803 `__: Document and test that " -"``tempfile`` functions may accept a :term:`path-like object` for the ``dir`` " -"argument. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:5208 -msgid "" -"`bpo-33944 `__: Added a note about the " -"intended use of code in .pth files." -msgstr "" - -#: ../build/NEWS:5210 -msgid "" -"`bpo-34293 `__: Fix the Doc/Makefile " -"regarding PAPER environment variable and PDF builds" -msgstr "" - -#: ../build/NEWS:5213 -msgid "" -"`bpo-25237 `__: Add documentation for " -"tkinter modules" -msgstr "" - -#: ../build/NEWS:5218 -msgid "" -"`bpo-38614 `__: Fix test_communicate() " -"of test_asyncio.test_subprocess: use ``support.LONG_TIMEOUT`` (5 minutes), " -"instead of just 1 minute." -msgstr "" - -#: ../build/NEWS:5221 -msgid "" -"`bpo-38614 `__: Add timeout constants " -"to :mod:`test.support`: :data:`~test.support.LOOPBACK_TIMEOUT`, :data:`~test." -"support.INTERNET_TIMEOUT`, :data:`~test.support.SHORT_TIMEOUT` and :data:" -"`~test.support.LONG_TIMEOUT`." -msgstr "" - -#: ../build/NEWS:5227 -msgid "" -"`bpo-38502 `__: test.regrtest now uses " -"process groups in the multiprocessing mode (-jN command line option) if " -"process groups are available: if :func:`os.setsid` and :func:`os.killpg` " -"functions are available." -msgstr "" - -#: ../build/NEWS:5231 -msgid "" -"`bpo-35998 `__: Fix a race condition in " -"test_asyncio.test_start_tls_server_1(). Previously, there was a race " -"condition between the test main() function which replaces the protocol and " -"the test ServerProto protocol which sends ANSWER once it gets HELLO. Now, " -"only the test main() function is responsible to send data, ServerProto no " -"longer sends data." -msgstr "" - -#: ../build/NEWS:5237 -msgid "" -"`bpo-38470 `__: Fix ``test_compileall." -"test_compile_dir_maxlevels()`` on Windows without long path support: only " -"create 3 subdirectories instead of between 20 and 100 subdirectories." -msgstr "" - -#: ../build/NEWS:5241 -msgid "" -"`bpo-37531 `__: On timeout, regrtest no " -"longer attempts to call ``popen.communicate()`` again: it can hang until all " -"child processes using stdout and stderr pipes completes. Kill the worker " -"process and ignores its output. Change also the faulthandler timeout of the " -"main process from 1 minute to 5 minutes, for Python slowest buildbots." -msgstr "" - -#: ../build/NEWS:5247 -msgid "" -"`bpo-38239 `__: Fix test_gdb for Link " -"Time Optimization (LTO) builds." -msgstr "" - -#: ../build/NEWS:5249 -msgid "" -"`bpo-38275 `__: test_ssl now handles " -"disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time " -"settings are recognized and tests for disabled versions are skipped. Tests " -"also accept more TLS minimum_versions for platforms that override OpenSSL's " -"default with strict settings." -msgstr "" - -#: ../build/NEWS:5254 -msgid "" -"`bpo-38271 `__: The private keys for " -"test_ssl were encrypted with 3DES in traditional PKCS#5 format. 3DES and the " -"digest algorithm of PKCS#5 are blocked by some strict crypto policies. Use " -"PKCS#8 format with AES256 encryption instead." -msgstr "" - -#: ../build/NEWS:5259 -msgid "" -"`bpo-38270 `__: test.support now has a " -"helper function to check for availibility of a hash digest function. Several " -"tests are refactored avoid MD5 and use SHA256 instead. Other tests are " -"marked to use MD5 and skipped when MD5 is disabled." -msgstr "" - -#: ../build/NEWS:5264 -msgid "" -"`bpo-37123 `__: Multiprocessing test " -"test_mymanager() now also expects -SIGTERM, not only exitcode 0. BaseManager." -"_finalize_manager() sends SIGTERM to the manager process if it takes longer " -"than 1 second to stop, which happens on slow buildbots." -msgstr "" - -#: ../build/NEWS:5269 -msgid "" -"`bpo-38212 `__: Multiprocessing tests: " -"increase test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds." -msgstr "" - -#: ../build/NEWS:5272 -msgid "" -"`bpo-38117 `__: Test with OpenSSL 1.1.1d" -msgstr "" - -#: ../build/NEWS:5274 -msgid "" -"`bpo-38018 `__: Increase code coverage " -"for multiprocessing.shared_memory." -msgstr "" - -#: ../build/NEWS:5276 -msgid "" -"`bpo-37805 `__: Add tests for json." -"dump(..., skipkeys=True). Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5279 -msgid "" -"`bpo-37531 `__: Enhance regrtest " -"multiprocess timeout: write a message when killing a worker process, catch " -"popen.kill() and popen.wait() exceptions, put a timeout on the second call " -"to popen.communicate()." -msgstr "" - -#: ../build/NEWS:5283 -msgid "" -"`bpo-37876 `__: Add tests for ROT-13 " -"codec." -msgstr "" - -#: ../build/NEWS:5285 -msgid "" -"`bpo-36833 `__: Added tests for " -"PyDateTime_xxx_GET_xxx() macros of the C API of the :mod:`datetime` module. " -"Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:5288 -msgid "" -"`bpo-37558 `__: Fix " -"test_shared_memory_cleaned_after_process_termination name handling" -msgstr "" - -#: ../build/NEWS:5291 -msgid "" -"`bpo-37526 `__: Add :func:`test.support." -"catch_threading_exception`: context manager catching :class:`threading." -"Thread` exception using :func:`threading.excepthook`." -msgstr "" - -#: ../build/NEWS:5295 -msgid "" -"`bpo-37421 `__: test_concurrent_futures " -"now explicitly stops the ForkServer instance if it's running." -msgstr "" - -#: ../build/NEWS:5298 -msgid "" -"`bpo-37421 `__: multiprocessing tests " -"now stop the ForkServer instance if it's running: close the \"alive\" file " -"descriptor to ask the server to stop and then remove its UNIX address." -msgstr "" - -#: ../build/NEWS:5302 -msgid "" -"`bpo-37421 `__: test_distutils." -"test_build_ext() is now able to remove the temporary directory on Windows: " -"don't import the newly built C extension (\"xx\") in the current process, " -"but test it in a separated process." -msgstr "" - -#: ../build/NEWS:5306 -msgid "" -"`bpo-37421 `__: test_concurrent_futures " -"now cleans up multiprocessing to remove immediately temporary directories " -"created by multiprocessing.util.get_temp_dir()." -msgstr "" - -#: ../build/NEWS:5310 -msgid "" -"`bpo-37421 `__: test_winconsoleio " -"doesn't leak a temporary file anymore: use tempfile.TemporaryFile() to " -"remove it when the test completes." -msgstr "" - -#: ../build/NEWS:5313 -msgid "" -"`bpo-37421 `__: multiprocessing tests " -"now explicitly call ``_run_finalizers()`` to immediately remove temporary " -"directories created by tests." -msgstr "" - -#: ../build/NEWS:5316 -msgid "" -"`bpo-37421 `__: urllib.request tests now " -"call :func:`~urllib.request.urlcleanup` to remove temporary files created by " -"``urlretrieve()`` tests and to clear the ``_opener`` global variable set by " -"``urlopen()`` and functions calling indirectly ``urlopen()``." -msgstr "" - -#: ../build/NEWS:5321 -msgid "" -"`bpo-37472 `__: Remove ``Lib/test/" -"outstanding_bugs.py``." -msgstr "" - -#: ../build/NEWS:5323 -msgid "" -"`bpo-37199 `__: Fix test failures when " -"IPv6 is unavailable or disabled." -msgstr "" - -#: ../build/NEWS:5325 -msgid "" -"`bpo-19696 `__: Replace deprecated " -"method \"random.choose\" with \"random.choice\" in \"test_pkg_import.py\"." -msgstr "" - -#: ../build/NEWS:5328 -msgid "" -"`bpo-37335 `__: Remove no longer " -"necessary code from c locale coercion tests" -msgstr "" - -#: ../build/NEWS:5330 -msgid "" -"`bpo-37421 `__: Fix test_shutil to no " -"longer leak temporary files." -msgstr "" - -#: ../build/NEWS:5332 -msgid "" -"`bpo-37411 `__: Fix test_wsgiref." -"testEnviron() to no longer depend on the environment variables (don't fail " -"if \"X\" variable is set)." -msgstr "" - -#: ../build/NEWS:5335 -msgid "" -"`bpo-37400 `__: Fix test_os." -"test_chown(): use os.getgroups() rather than grp.getgrall() to get groups. " -"Rename also the test to test_chown_gid()." -msgstr "" - -#: ../build/NEWS:5338 -msgid "" -"`bpo-37359 `__: Add --cleanup option to " -"python3 -m test to remove ``test_python_*`` directories of previous failed " -"jobs. Add \"make cleantest\" to run ``python3 -m test --cleanup``." -msgstr "" - -#: ../build/NEWS:5342 -msgid "" -"`bpo-37362 `__: test_gdb no longer fails " -"if it gets an \"unexpected\" message on stderr: it now ignores stderr. The " -"purpose of test_gdb is to test that python-gdb.py commands work as expected, " -"not to test gdb." -msgstr "" - -#: ../build/NEWS:5346 -msgid "" -"`bpo-35998 `__: Avoid TimeoutError in " -"test_asyncio: test_start_tls_server_1()" -msgstr "" - -#: ../build/NEWS:5348 -msgid "" -"`bpo-37278 `__: Fix test_asyncio " -"ProactorLoopCtrlC: join the thread to prevent leaking a running thread and " -"leaking a reference." -msgstr "" - -#: ../build/NEWS:5351 -msgid "" -"`bpo-37261 `__: Fix :func:`test.support." -"catch_unraisable_exception`: its __exit__() method now ignores unraisable " -"exception raised when clearing its ``unraisable`` attribute." -msgstr "" - -#: ../build/NEWS:5355 -msgid "" -"`bpo-37069 `__: regrtest now uses :func:" -"`sys.unraisablehook` to mark a test as \"environment altered\" (ENV_CHANGED) " -"if it emits an \"unraisable exception\". Moreover, regrtest logs a warning " -"in this case." -msgstr "" - -#: ../build/NEWS:5359 -msgid "" -"Use ``python3 -m test --fail-env-changed`` to catch unraisable exceptions in " -"tests." -msgstr "" - -#: ../build/NEWS:5362 -msgid "" -"`bpo-37252 `__: Fix assertions in " -"``test_close`` and ``test_events_mask_overflow`` devpoll tests." -msgstr "" - -#: ../build/NEWS:5365 -msgid "" -"`bpo-37169 `__: Rewrite " -"``_PyObject_IsFreed()`` unit tests." -msgstr "" - -#: ../build/NEWS:5367 -msgid "" -"`bpo-37153 `__: ``test_venv." -"test_multiprocessing()`` now explicitly calls ``pool.terminate()`` to wait " -"until the pool completes." -msgstr "" - -#: ../build/NEWS:5370 -msgid "" -"`bpo-34001 `__: Make test_ssl pass with " -"LibreSSL. LibreSSL handles minimum and maximum TLS version differently than " -"OpenSSL." -msgstr "" - -#: ../build/NEWS:5373 -msgid "" -"`bpo-36919 `__: Make " -"``test_source_encoding.test_issue2301`` implementation independent. The test " -"will work now for both CPython and IronPython." -msgstr "" - -#: ../build/NEWS:5376 -msgid "" -"`bpo-30202 `__: Update ``test." -"test_importlib.test_abc`` to test ``find_spec()``." -msgstr "" - -#: ../build/NEWS:5379 -msgid "" -"`bpo-28009 `__: Modify the test_uuid " -"logic to test when a program is available AND can be used to obtain a " -"MACADDR as basis for an UUID. Patch by M. Felt" -msgstr "" - -#: ../build/NEWS:5382 -msgid "" -"`bpo-34596 `__: Fallback to a default " -"reason when :func:`unittest.skip` is uncalled. Patch by Naitree Zhu." -msgstr "" - -#: ../build/NEWS:5388 -msgid "" -"`bpo-38809 `__: On Windows, build " -"scripts will now recognize and use python.exe from an active virtual env." -msgstr "" - -#: ../build/NEWS:5391 -msgid "" -"`bpo-38684 `__: Fix _hashlib build when " -"Blake2 is disabled, but OpenSSL supports it." -msgstr "" - -#: ../build/NEWS:5394 -msgid "" -"`bpo-38468 `__: Misc/python-config.in " -"now uses `getvar()` for all still existing `sysconfig.get_config_var()` " -"calls. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:5397 -msgid "" -"`bpo-37415 `__: Fix stdatomic.h header " -"check for ICC compiler: the ICC implementation lacks atomic_uintptr_t type " -"which is needed by Python." -msgstr "" - -#: ../build/NEWS:5400 -msgid "" -"`bpo-38301 `__: In Solaris family, we " -"must be sure to use ``-D_REENTRANT``. Patch by Jesús Cea Avión." -msgstr "" - -#: ../build/NEWS:5403 -msgid "" -"`bpo-36002 `__: Locate ``llvm-profdata`` " -"and ``llvm-ar`` binaries using ``AC_PATH_TOOL`` rather than " -"``AC_PATH_TARGET_TOOL``." -msgstr "" - -#: ../build/NEWS:5406 -msgid "" -"`bpo-37936 `__: The :file:`.gitignore` " -"file systematically keeps \"rooted\", with a non-trailing slash, all the " -"rules that are meant to apply to files in a specific place in the repo. " -"Previously, when the intended file to ignore happened to be at the root of " -"the repo, we'd most often accidentally also ignore files and directories " -"with the same name anywhere in the tree." -msgstr "" - -#: ../build/NEWS:5412 -msgid "" -"`bpo-37760 `__: The :file:`Tools/unicode/" -"makeunicodedata.py` script, which is used for converting information from " -"the Unicode Character Database into generated code and data used by the " -"methods of :class:`str` and by the :mod:`unicodedata` module, now handles " -"each character's data as a ``dataclass`` with named attributes, rather than " -"a length-18 list of different fields." -msgstr "" - -#: ../build/NEWS:5419 -msgid "" -"`bpo-37936 `__: The :file:`.gitignore` " -"file no longer applies to any files that are in fact tracked in the Git " -"repository. Patch by Greg Price." -msgstr "" - -#: ../build/NEWS:5422 -msgid "" -"`bpo-37725 `__: Change \"clean\" " -"makefile target to also clean the program guided optimization (PGO) data. " -"Previously you would have to use \"make clean\" and \"make profile-removal" -"\", or \"make clobber\"." -msgstr "" - -#: ../build/NEWS:5426 -msgid "" -"`bpo-37707 `__: Mark some individual " -"tests to skip when --pgo is used. The tests marked increase the PGO task " -"time significantly and likely don't help improve optimization of the final " -"executable." -msgstr "" - -#: ../build/NEWS:5430 -msgid "" -"`bpo-36044 `__: Reduce the number of " -"unit tests run for the PGO generation task. This speeds up the task by a " -"factor of about 15x. Running the full unit test suite is slow. This change " -"may result in a slightly less optimized build since not as many code " -"branches will be executed. If you are willing to wait for the much slower " -"build, the old behavior can be restored using './configure [..] PROFILE_TASK=" -"\"-m test --pgo-extended\"'. We make no guarantees as to which PGO task set " -"produces a faster build. Users who care should run their own relevant " -"benchmarks as results can depend on the environment, workload, and compiler " -"tool chain." -msgstr "" - -#: ../build/NEWS:5440 -msgid "" -"`bpo-37468 `__: ``make install`` no " -"longer installs ``wininst-*.exe`` files used by distutils bdist_wininst: " -"bdist_wininst only works on Windows." -msgstr "" - -#: ../build/NEWS:5443 -msgid "" -"`bpo-37189 `__: Many ``PyRun_XXX()`` " -"functions like :c:func:`PyRun_String` were no longer exported in " -"``libpython38.dll`` by mistake. Export them again to fix the ABI " -"compatibility." -msgstr "" - -#: ../build/NEWS:5447 -msgid "" -"`bpo-25361 `__: Enables use of SSE2 " -"instructions in Windows 32-bit build." -msgstr "" - -#: ../build/NEWS:5449 -msgid "" -"`bpo-36210 `__: Update optional " -"extension module detection for AIX. ossaudiodev and spwd are not applicable " -"for AIX, and are no longer reported as missing. 3rd-party packaging of " -"ncurses (with ASIS support) conflicts with officially supported AIX curses " -"library, so configure AIX to use libcurses.a. However, skip trying to build " -"_curses_panel." -msgstr "" - -#: ../build/NEWS:5455 -msgid "patch by M Felt" -msgstr "" - -#: ../build/NEWS:5460 -msgid "" -"`bpo-38589 `__: Fixes HTML Help shortcut " -"when Windows is not installed to C drive" -msgstr "" - -#: ../build/NEWS:5463 -msgid "" -"`bpo-38453 `__: Ensure ntpath.realpath() " -"correctly resolves relative paths." -msgstr "" - -#: ../build/NEWS:5465 -msgid "" -"`bpo-38519 `__: Restores the internal C " -"headers that were missing from the nuget.org and Microsoft Store packages." -msgstr "" - -#: ../build/NEWS:5468 -msgid "" -"`bpo-38492 `__: Remove ``pythonw.exe`` " -"dependency on the Microsoft C++ runtime." -msgstr "" - -#: ../build/NEWS:5470 -msgid "" -"`bpo-38344 `__: Fix error message in " -"activate.bat" -msgstr "" - -#: ../build/NEWS:5472 -msgid "" -"`bpo-38359 `__: Ensures ``pyw.exe`` " -"launcher reads correct registry key." -msgstr "" - -#: ../build/NEWS:5474 -msgid "" -"`bpo-38355 `__: Fixes ``ntpath." -"realpath`` failing on ``sys.executable``." -msgstr "" - -#: ../build/NEWS:5476 -msgid "" -"`bpo-38117 `__: Update bundled OpenSSL " -"to 1.1.1d" -msgstr "" - -#: ../build/NEWS:5478 -msgid "" -"`bpo-38092 `__: Reduce overhead when " -"using multiprocessing in a Windows virtual environment." -msgstr "" - -#: ../build/NEWS:5481 -msgid "" -"`bpo-38133 `__: Allow py.exe launcher to " -"locate installations from the Microsoft Store and improve display of active " -"virtual environments." -msgstr "" - -#: ../build/NEWS:5484 -msgid "" -"`bpo-38114 `__: The ``pip.ini`` is no " -"longer included in the Nuget package." -msgstr "" - -#: ../build/NEWS:5486 -msgid "" -"`bpo-32592 `__: Set Windows 8 as the " -"minimum required version for API support" -msgstr "" - -#: ../build/NEWS:5488 -msgid "" -"`bpo-36634 `__: :func:`os.cpu_count` now " -"returns active processors rather than maximum processors." -msgstr "" - -#: ../build/NEWS:5491 -msgid "" -"`bpo-36634 `__: venv activate.bat now " -"works when the existing variables contain double quote characters." -msgstr "" - -#: ../build/NEWS:5494 -msgid "" -"`bpo-38081 `__: Prevent error calling :" -"func:`os.path.realpath` on ``'NUL'``." -msgstr "" - -#: ../build/NEWS:5496 -msgid "" -"`bpo-38087 `__: Fix case sensitivity in " -"test_pathlib and test_ntpath." -msgstr "" - -#: ../build/NEWS:5498 -msgid "" -"`bpo-38088 `__: Fixes distutils not " -"finding vcruntime140.dll with only the v142 toolset installed." -msgstr "" - -#: ../build/NEWS:5501 -msgid "" -"`bpo-37283 `__: Ensure command-line and " -"unattend.xml setting override previously detected states in Windows " -"installer." -msgstr "" - -#: ../build/NEWS:5504 -msgid "" -"`bpo-38030 `__: Fixes :func:`os.stat` " -"failing for block devices on Windows" -msgstr "" - -#: ../build/NEWS:5506 -msgid "" -"`bpo-38020 `__: Fixes potential crash " -"when calling :func:`os.readlink` (or indirectly through :func:`~os.path." -"realpath`) on a file that is not a supported link." -msgstr "" - -#: ../build/NEWS:5510 -msgid "" -"`bpo-37705 `__: Improve the " -"implementation of ``winerror_to_errno()``." -msgstr "" - -#: ../build/NEWS:5512 -msgid "" -"`bpo-37549 `__: :func:`os.dup` no longer " -"fails for standard streams on Windows 7." -msgstr "" - -#: ../build/NEWS:5515 -msgid "" -"`bpo-1311 `__: The ``nul`` file on " -"Windows now returns True from :func:`~os.path.exists` and a valid result " -"from :func:`os.stat` with ``S_IFCHR`` set." -msgstr "" - -#: ../build/NEWS:5519 -msgid "" -"`bpo-9949 `__: Enable support for " -"following symlinks in :func:`os.realpath`." -msgstr "" - -#: ../build/NEWS:5521 -msgid "" -"`bpo-37834 `__: Treat all name surrogate " -"reparse points on Windows in :func:`os.lstat` and other reparse points as " -"regular files in :func:`os.stat`." -msgstr "" - -#: ../build/NEWS:5525 -msgid "" -"`bpo-36266 `__: Add the module name in " -"the formatted error message when DLL load fail happens during module import " -"in ``_PyImport_FindSharedFuncptrWindows()``. Patch by Srinivas Nyayapati." -msgstr "" - -#: ../build/NEWS:5529 -msgid "" -"`bpo-25172 `__: Trying to import the :" -"mod:`crypt` module on Windows will result in an :exc:`ImportError` with a " -"message explaining that the module isn't supported on Windows. On other " -"platforms, if the underlying ``_crypt`` module is not available, the " -"ImportError will include a message explaining the problem." -msgstr "" - -#: ../build/NEWS:5535 -msgid "" -"`bpo-37778 `__: Fixes the icons used for " -"file associations to the Microsoft Store package." -msgstr "" - -#: ../build/NEWS:5538 -msgid "" -"`bpo-37734 `__: Fix use of registry " -"values to launch Python from Microsoft Store app." -msgstr "" - -#: ../build/NEWS:5541 -msgid "" -"`bpo-37702 `__: Fix memory leak on " -"Windows in creating an SSLContext object or running urllib.request." -"urlopen('https://...')." -msgstr "" - -#: ../build/NEWS:5544 -msgid "" -"`bpo-37672 `__: Switch Windows Store " -"package's pip to use bundled :file:`pip.ini` instead of :envvar:`PIP_USER` " -"variable." -msgstr "" - -#: ../build/NEWS:5547 -msgid "" -"`bpo-10945 `__: Officially drop support " -"for creating bdist_wininst installers on non-Windows systems." -msgstr "" - -#: ../build/NEWS:5550 -msgid "" -"`bpo-37445 `__: Include the " -"``FORMAT_MESSAGE_IGNORE_INSERTS`` flag in ``FormatMessageW()`` calls." -msgstr "" - -#: ../build/NEWS:5553 -msgid "" -"`bpo-37369 `__: Fixes path for :data:" -"`sys.executable` when running from the Microsoft Store." -msgstr "" - -#: ../build/NEWS:5556 -msgid "" -"`bpo-37380 `__: Don't collect unfinished " -"processes with ``subprocess._active`` on Windows to cleanup later. Patch by " -"Ruslan Kuprieiev." -msgstr "" - -#: ../build/NEWS:5559 -msgid "" -"`bpo-37351 `__: Removes libpython38.a " -"from standard Windows distribution." -msgstr "" - -#: ../build/NEWS:5561 -msgid "" -"`bpo-35360 `__: Update Windows builds to " -"use SQLite 3.28.0." -msgstr "" - -#: ../build/NEWS:5563 -msgid "" -"`bpo-37267 `__: On Windows, :func:`os." -"dup` no longer creates an inheritable fd when handling a character file." -msgstr "" - -#: ../build/NEWS:5566 -msgid "" -"`bpo-36779 `__: Ensure ``time.tzname`` " -"is correct on Windows when the active code page is set to CP_UTF7 or CP_UTF8." -msgstr "" - -#: ../build/NEWS:5569 -msgid "" -"`bpo-32587 `__: Make :data:`winreg." -"REG_MULTI_SZ` support zero-length strings." -msgstr "" - -#: ../build/NEWS:5571 -msgid "" -"`bpo-28269 `__: Replace use of :c:func:" -"`strcasecmp` for the system function :c:func:`_stricmp`. Patch by Minmin " -"Gong." -msgstr "" - -#: ../build/NEWS:5574 -msgid "" -"`bpo-36590 `__: Add native Bluetooth " -"RFCOMM support to socket module." -msgstr "" - -#: ../build/NEWS:5579 -msgid "" -"`bpo-38117 `__: Updated OpenSSL to " -"1.1.1d in macOS installer." -msgstr "" - -#: ../build/NEWS:5581 -msgid "" -"`bpo-38089 `__: Move Azure Pipelines to " -"latest VM versions and make macOS tests optional" -msgstr "" - -#: ../build/NEWS:5584 -msgid "" -"`bpo-18049 `__: Increase the default " -"stack size of threads from 5MB to 16MB on macOS, to match the stack size of " -"the main thread. This avoids crashes on deep recursion in threads." -msgstr "" - -#: ../build/NEWS:5588 -msgid "" -"`bpo-34602 `__: Avoid test suite " -"failures on macOS by no longer calling resource.setrlimit to increase the " -"process stack size limit at runtime. The runtime change is no longer needed " -"since the interpreter is being built with a larger default stack size." -msgstr "" - -#: ../build/NEWS:5593 -msgid "" -"`bpo-35360 `__: Update macOS installer " -"to use SQLite 3.28.0." -msgstr "" - -#: ../build/NEWS:5595 -msgid "" -"`bpo-34631 `__: Updated OpenSSL to " -"1.1.1c in macOS installer." -msgstr "" - -#: ../build/NEWS:5600 -msgid "" -"`bpo-26353 `__: Stop adding newline when " -"saving an IDLE shell window." -msgstr "" - -#: ../build/NEWS:5602 -msgid "" -"`bpo-4630 `__: Add an option to toggle " -"IDLE's cursor blink for shell, editor, and output windows. See Settings, " -"General, Window Preferences, Cursor Blink. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:5606 -msgid "" -"`bpo-38598 `__: Do not try to compile " -"IDLE shell or output windows" -msgstr "" - -#: ../build/NEWS:5608 -msgid "" -"`bpo-36698 `__: IDLE no longer fails " -"when write non-encodable characters to stderr. It now escapes them with a " -"backslash, as the regular Python interpreter. Added the ``errors`` field to " -"the standard streams." -msgstr "" - -#: ../build/NEWS:5612 -msgid "" -"`bpo-35379 `__: When exiting IDLE, catch " -"any AttributeError. One happens when EditorWindow.close is called twice. " -"Printing a traceback, when IDLE is run from a terminal, is useless and " -"annoying." -msgstr "" - -#: ../build/NEWS:5616 -msgid "" -"`bpo-38183 `__: To avoid problems, " -"test_idle ignores the user config directory. It no longer tries to create or " -"access .idlerc or any files within. Users must run IDLE to discover problems " -"with saving settings." -msgstr "" - -#: ../build/NEWS:5620 -msgid "" -"`bpo-38077 `__: IDLE no longer adds " -"'argv' to the user namespace when initializing it. This bug only affected " -"3.7.4 and 3.8.0b2 to 3.8.0b4." -msgstr "" - -#: ../build/NEWS:5623 -msgid "" -"`bpo-38041 `__: Shell restart lines now " -"fill the window width, always start with '=', and avoid wrapping " -"unnecessarily. The line will still wrap if the included file name is long " -"relative to the width." -msgstr "" - -#: ../build/NEWS:5627 -msgid "" -"`bpo-35771 `__: To avoid occasional " -"spurious test_idle failures on slower machines, increase the ``hover_delay`` " -"in test_tooltip." -msgstr "" - -#: ../build/NEWS:5630 -msgid "" -"`bpo-37824 `__: Properly handle user " -"input warnings in IDLE shell. Cease turning SyntaxWarnings into SyntaxErrors." -msgstr "" - -#: ../build/NEWS:5633 -msgid "" -"`bpo-37929 `__: IDLE Settings dialog now " -"closes properly when there is no shell window." -msgstr "" - -#: ../build/NEWS:5636 -msgid "" -"`bpo-37902 `__: Add mousewheel scrolling " -"for IDLE module, path, and stack browsers. Patch by George Zhang." -msgstr "" - -#: ../build/NEWS:5639 -msgid "" -"`bpo-37849 `__: Fixed completions list " -"appearing too high or low when shown above the current line." -msgstr "" - -#: ../build/NEWS:5642 -msgid "" -"`bpo-36419 `__: Refactor IDLE " -"autocomplete and improve testing." -msgstr "" - -#: ../build/NEWS:5644 -msgid "" -"`bpo-37748 `__: Reorder the Run menu. " -"Put the most common choice, Run Module, at the top." -msgstr "" - -#: ../build/NEWS:5647 -msgid "" -"`bpo-37692 `__: Improve highlight config " -"sample with example shell interaction and better labels for shell elements." -msgstr "" - -#: ../build/NEWS:5650 -msgid "" -"`bpo-37628 `__: Settings dialog no " -"longer expands with font size." -msgstr "" - -#: ../build/NEWS:5652 -msgid "" -"`bpo-37627 `__: Initialize the Customize " -"Run dialog with the command line arguments most recently entered before. " -"The user can optionally edit before submitting them." -msgstr "" - -#: ../build/NEWS:5656 -msgid "" -"`bpo-33610 `__: Fix code context not " -"showing the correct context when first toggled on." -msgstr "" - -#: ../build/NEWS:5659 -msgid "" -"`bpo-37530 `__: Optimize code context to " -"reduce unneeded background activity. Font and highlight changes now occur " -"along with text changes instead of after a random delay." -msgstr "" - -#: ../build/NEWS:5663 -msgid "" -"`bpo-27452 `__: Cleanup ``config.py`` by " -"inlining ``RemoveFile`` and simplifying the handling of ``file`` in " -"``CreateConfigHandlers``." -msgstr "" - -#: ../build/NEWS:5666 -msgid "" -"`bpo-37325 `__: Fix tab focus traversal " -"order for help source and custom run dialogs." -msgstr "" - -#: ../build/NEWS:5669 -msgid "" -"`bpo-37321 `__: Both subprocess " -"connection error messages now refer to the 'Startup failure' section of the " -"IDLE doc." -msgstr "" - -#: ../build/NEWS:5672 -msgid "" -"`bpo-17535 `__: Add optional line " -"numbers for IDLE editor windows. Windows open without line numbers unless " -"set otherwise in the General tab of the configuration dialog." -msgstr "" - -#: ../build/NEWS:5676 -msgid "" -"`bpo-26806 `__: To compensate for stack " -"frames added by IDLE and avoid possible problems with low recursion limits, " -"add 30 to limits in the user code execution process. Subtract 30 when " -"reporting recursion limits to make this addition mostly transparent." -msgstr "" - -#: ../build/NEWS:5681 -msgid "" -"`bpo-37177 `__: Properly 'attach' search " -"dialogs to their main window so that they behave like other dialogs and do " -"not get hidden behind their main window." -msgstr "" - -#: ../build/NEWS:5685 -msgid "" -"`bpo-37039 `__: Adjust \"Zoom Height\" " -"to individual screens by momentarily maximizing the window on first use with " -"a particular screen. Changing screen settings may invalidate the saved " -"height. While a window is maximized, \"Zoom Height\" has no effect." -msgstr "" - -#: ../build/NEWS:5690 -msgid "" -"`bpo-35763 `__: Make calltip reminder " -"about '/' meaning positional-only less obtrusive by only adding it when " -"there is room on the first line." -msgstr "" - -#: ../build/NEWS:5693 -msgid "" -"`bpo-5680 `__: Add 'Run... Customized' to " -"the Run menu to run a module with customized settings. Any 'command line " -"arguments' entered are added to sys.argv. One can suppress the normal Shell " -"main module restart." -msgstr "" - -#: ../build/NEWS:5697 -msgid "" -"`bpo-36390 `__: Gather Format menu " -"functions into format.py. Combine paragraph.py, rstrip.py, and format " -"methods from editor.py." -msgstr "" - -#: ../build/NEWS:5703 -msgid "" -"`bpo-38118 `__: Update Valgrind " -"suppression file to ignore a false alarm in :c:func:`PyUnicode_Decode` when " -"using GCC builtin strcmp()." -msgstr "" - -#: ../build/NEWS:5706 -msgid "" -"`bpo-38347 `__: pathfix.py: Assume all " -"files that end on '.py' are Python scripts when working recursively." -msgstr "" - -#: ../build/NEWS:5709 -msgid "" -"`bpo-37803 `__: pdb's ``--help`` and ``--" -"version`` long options now work." -msgstr "" - -#: ../build/NEWS:5711 -msgid "" -"`bpo-37942 `__: Improve ArgumentClinic " -"converter for floats." -msgstr "" - -#: ../build/NEWS:5713 -msgid "" -"`bpo-37704 `__: Remove ``Tools/scripts/" -"h2py.py``: use cffi to access a C API in Python." -msgstr "" - -#: ../build/NEWS:5716 -msgid "" -"`bpo-37675 `__: 2to3 now works when run " -"from a zipped standard library." -msgstr "" - -#: ../build/NEWS:5718 -msgid "" -"`bpo-37034 `__: Argument Clinic now uses " -"the argument name on errors with keyword-only argument instead of their " -"position. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:5722 -msgid "" -"`bpo-37064 `__: Add option -k to " -"pathscript.py script: preserve shebang flags. Add option -a to pathscript.py " -"script: add flags." -msgstr "" - -#: ../build/NEWS:5728 -msgid "" -"`bpo-37633 `__: Re-export some function " -"compatibility wrappers for macros in ``pythonrun.h``." -msgstr "" - -#: ../build/NEWS:5731 -msgid "" -"`bpo-38644 `__: Provide :c:func:" -"`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` as regular " -"functions for the limited API. Previously, there were defined as macros, but " -"these macros didn't work with the limited API which cannot access " -"``PyThreadState.recursion_depth`` field. Remove ``_Py_CheckRecursionLimit`` " -"from the stable ABI." -msgstr "" - -#: ../build/NEWS:5737 -msgid "" -"`bpo-38650 `__: The global variable :c:" -"data:`PyStructSequence_UnnamedField` is now a constant and refers to a " -"constant string." -msgstr "" - -#: ../build/NEWS:5740 -msgid "" -"`bpo-38540 `__: Fixed possible leak in :" -"c:func:`PyArg_Parse` and similar functions for format units ``\"es#\"`` and " -"``\"et#\"`` when the macro :c:macro:`PY_SSIZE_T_CLEAN` is not defined." -msgstr "" - -#: ../build/NEWS:5744 -msgid "" -"`bpo-38395 `__: Fix a crash in :class:" -"`weakref.proxy` objects due to incorrect lifetime management when calling " -"some associated methods that may delete the last reference to object being " -"referenced by the proxy. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5749 -msgid "" -"`bpo-36389 `__: The " -"``_PyObject_CheckConsistency()`` function is now also available in release " -"mode. For example, it can be used to debug a crash in the ``visit_decref()`` " -"function of the GC." -msgstr "" - -#: ../build/NEWS:5753 -msgid "" -"`bpo-38266 `__: Revert the removal of " -"PyThreadState_DeleteCurrent() with documentation." -msgstr "" - -#: ../build/NEWS:5756 -msgid "" -"`bpo-38303 `__: Update audioop extension " -"module to use the stable ABI (PEP-384). Patch by Tyler Kieft." -msgstr "" - -#: ../build/NEWS:5759 -msgid "" -"`bpo-38234 `__: :c:func:`Py_SetPath` now " -"sets :data:`sys.executable` to the program full path (:c:func:" -"`Py_GetProgramFullPath`) rather than to the program name (:c:func:" -"`Py_GetProgramName`)." -msgstr "" - -#: ../build/NEWS:5763 -msgid "" -"`bpo-38234 `__: Python ignored arguments " -"passed to :c:func:`Py_SetPath`, :c:func:`Py_SetPythonHome` and :c:func:" -"`Py_SetProgramName`: fix Python initialization to use specified arguments." -msgstr "" - -#: ../build/NEWS:5767 -msgid "" -"`bpo-38205 `__: The :c:func:" -"`Py_UNREACHABLE` macro now calls :c:func:`Py_FatalError`." -msgstr "" - -#: ../build/NEWS:5770 -msgid "" -"`bpo-38140 `__: Make dict and weakref " -"offsets opaque for C heap types by passing the offsets through PyMemberDef" -msgstr "" - -#: ../build/NEWS:5773 -msgid "" -"`bpo-15088 `__: The C function " -"``PyGen_NeedsFinalizing`` has been removed. It was not documented, tested or " -"used anywhere within CPython after the implementation of :pep:`442`. Patch " -"by Joannah Nanjekye. (Patch by Joannah Nanjekye)" -msgstr "" - -#: ../build/NEWS:5778 -msgid "" -"`bpo-36763 `__: Options added by " -"``PySys_AddXOption()`` are now handled the same way than ``PyConfig." -"xoptions`` and command line ``-X`` options." -msgstr "" - -#: ../build/NEWS:5781 -msgid "" -"`bpo-37926 `__: Fix a crash in " -"``PySys_SetArgvEx(0, NULL, 0)``." -msgstr "" - -#: ../build/NEWS:5783 -msgid "" -"`bpo-37879 `__: Fix subtype_dealloc to " -"suppress the type decref when the base type is a C heap type" -msgstr "" - -#: ../build/NEWS:5786 -msgid "" -"`bpo-37645 `__: Add :c:func:" -"`_PyObject_FunctionStr` to get a user-friendly string representation of a " -"function-like object. Patch by Jeroen Demeyer." -msgstr "" - -#: ../build/NEWS:5789 -msgid "" -"`bpo-29548 `__: The functions " -"``PyEval_CallObject``, ``PyEval_CallFunction``, ``PyEval_CallMethod`` and " -"``PyEval_CallObjectWithKeywords`` are deprecated. Use :c:func:" -"`PyObject_Call` and its variants instead." -msgstr "" - -#: ../build/NEWS:5793 -msgid "" -"`bpo-37151 `__: ``PyCFunction_Call`` is " -"now a deprecated alias of :c:func:`PyObject_Call`." -msgstr "" - -#: ../build/NEWS:5796 -msgid "" -"`bpo-37540 `__: The vectorcall protocol " -"now requires that the caller passes only strings as keyword names." -msgstr "" - -#: ../build/NEWS:5799 -msgid "" -"`bpo-37207 `__: The vectorcall protocol " -"is now enabled for ``type`` objects: set ``tp_vectorcall`` to a vectorcall " -"function to be used instead of ``tp_new`` and ``tp_init`` when calling the " -"class itself." -msgstr "" - -#: ../build/NEWS:5803 -msgid "" -"`bpo-21120 `__: Exclude Python-ast.h, " -"ast.h and asdl.h from the limited API." -msgstr "" - -#: ../build/NEWS:5805 -msgid "" -"`bpo-37483 `__: Add new function " -"``_PyObject_CallOneArg`` for calling an object with one positional argument." -msgstr "" - -#: ../build/NEWS:5808 -msgid "" -"`bpo-36763 `__: Add :func:" -"`PyConfig_SetWideStringList` function." -msgstr "" - -#: ../build/NEWS:5810 -msgid "" -"`bpo-37337 `__: Add fast functions for " -"calling methods: :c:func:`_PyObject_VectorcallMethod`, :c:func:" -"`_PyObject_CallMethodNoArgs` and :c:func:`_PyObject_CallMethodOneArg`." -msgstr "" - -#: ../build/NEWS:5814 -msgid "" -"`bpo-28805 `__: The :const:" -"`METH_FASTCALL` calling convention has been documented." -msgstr "" - -#: ../build/NEWS:5817 -msgid "" -"`bpo-37221 `__: The new function :c:func:" -"`PyCode_NewWithPosOnlyArgs` allows to create code objects like :c:func:" -"`PyCode_New`, but with an extra *posonlyargcount* parameter for indicating " -"the number of positonal-only arguments." -msgstr "" - -#: ../build/NEWS:5822 -msgid "" -"`bpo-37215 `__: Fix dtrace issue " -"introduce by `bpo-36842 `__" -msgstr "" - -#: ../build/NEWS:5824 -msgid "" -"`bpo-37194 `__: Add a new public :c:func:" -"`PyObject_CallNoArgs` function to the C API: call a callable Python object " -"without any arguments. It is the most efficient way to call a callback " -"without any argument. On x86-64, for example, " -"``PyObject_CallFunctionObjArgs(func, NULL)`` allocates 960 bytes on the " -"stack per call, whereas ``PyObject_CallNoArgs(func)`` only allocates 624 " -"bytes per call." -msgstr "" - -#: ../build/NEWS:5831 -msgid "" -"`bpo-37170 `__: Fix the cast on error " -"in :c:func:`PyLong_AsUnsignedLongLongMask()`." -msgstr "" - -#: ../build/NEWS:5834 -msgid "" -"`bpo-35381 `__: Convert posixmodule.c " -"statically allocated types ``DirEntryType`` and ``ScandirIteratorType`` to " -"heap-allocated types." -msgstr "" - -#: ../build/NEWS:5837 -msgid "" -"`bpo-34331 `__: Use singular/plural noun " -"in error message when instantiating an abstract class with non-overriden " -"abstract method(s)." -msgstr "" - -#: ../build/NEWS:5842 -msgid "Python 3.8.0 beta 1" -msgstr "" - -#: ../build/NEWS:5844 -msgid "*Release date: 2019-06-04*" -msgstr "" - -#: ../build/NEWS:5849 -msgid "" -"`bpo-35907 `__: CVE-2019-9948: Avoid " -"file reading by disallowing ``local-file://`` and ``local_file://`` URL " -"schemes in ``URLopener().open()`` and ``URLopener().retrieve()`` of :mod:" -"`urllib.request`." -msgstr "" - -#: ../build/NEWS:5854 -msgid "" -"`bpo-33529 `__: Prevent fold function " -"used in email header encoding from entering infinite loop when there are too " -"many non-ASCII characters in a header." -msgstr "" - -#: ../build/NEWS:5858 -msgid "" -"`bpo-33164 `__: Updated blake2 " -"implementation which uses secure memset implementation provided by platform." -msgstr "" - -#: ../build/NEWS:5864 -msgid "" -"`bpo-35814 `__: Allow unpacking in the " -"right hand side of annotated assignments. In particular, ``t: " -"Tuple[int, ...] = x, y, *z`` is now allowed." -msgstr "" - -#: ../build/NEWS:5868 -msgid "" -"`bpo-37126 `__: All structseq objects " -"are now tracked by the garbage collector. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5871 -msgid "" -"`bpo-37122 `__: Make the *co_argcount* " -"attribute of code objects represent the total number of positional arguments " -"(including positional-only arguments). The value of *co_posonlyargcount* can " -"be used to distinguish which arguments are positional only, and the " -"difference (*co_argcount* - *co_posonlyargcount*) is the number of " -"positional-or-keyword arguments. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5878 -msgid "" -"`bpo-20092 `__: Constructors of :class:" -"`int`, :class:`float` and :class:`complex` will now use the :meth:`~object." -"__index__` special method, if available and the corresponding method :meth:" -"`~object.__int__`, :meth:`~object.__float__` or :meth:`~object.__complex__` " -"is not available." -msgstr "" - -#: ../build/NEWS:5883 -msgid "" -"`bpo-37087 `__: Add native thread ID " -"(TID) support to OpenBSD." -msgstr "" - -#: ../build/NEWS:5885 -msgid "" -"`bpo-26219 `__: Implemented per opcode " -"cache mechanism and ``LOAD_GLOBAL`` instruction use it. ``LOAD_GLOBAL`` is " -"now about 40% faster. Contributed by Yury Selivanov, and Inada Naoki." -msgstr "" - -#: ../build/NEWS:5889 -msgid "" -"`bpo-37072 `__: Fix crash in " -"PyAST_FromNodeObject() when flags is NULL." -msgstr "" - -#: ../build/NEWS:5891 -msgid "" -"`bpo-37029 `__: Freeing a great many " -"small objects could take time quadratic in the number of arenas, due to " -"using linear search to keep ``obmalloc.c``'s list of usable arenas sorted by " -"order of number of free memory pools. This is accomplished without search " -"now, leaving the worst-case time linear in the number of arenas. For " -"programs where this quite visibly matters (typically with more than 100 " -"thousand small objects alive simultaneously), this can greatly reduce the " -"time needed to release their memory." -msgstr "" - -#: ../build/NEWS:5900 -msgid "" -"`bpo-26423 `__: Fix possible overflow in " -"``wrap_lenfunc()`` when ``sizeof(long) < sizeof(Py_ssize_t)`` (e.g., 64-bit " -"Windows)." -msgstr "" - -#: ../build/NEWS:5903 -msgid "" -"`bpo-37050 `__: Improve the AST for " -"\"debug\" f-strings, which use '=' to print out the source of the expression " -"being evaluated. Delete expr_text from the FormattedValue node, and instead " -"use a Constant string node (possibly merged with adjacent constant " -"expressions inside the f-string)." -msgstr "" - -#: ../build/NEWS:5908 -msgid "" -"`bpo-22385 `__: The `bytes.hex`, " -"`bytearray.hex`, and `memoryview.hex` methods as well as the `binascii." -"hexlify` and `b2a_hex` functions now have the ability to include an optional " -"separator between hex bytes. This functionality was inspired by " -"MicroPython's hexlify implementation." -msgstr "" - -#: ../build/NEWS:5913 -msgid "" -"`bpo-26836 `__: Add :func:`os." -"memfd_create`." -msgstr "" - -#: ../build/NEWS:5915 -msgid "" -"`bpo-37032 `__: Added new ``replace()`` " -"method to the code type (:class:`types.CodeType`)." -msgstr "" - -#: ../build/NEWS:5918 -msgid "" -"`bpo-37007 `__: Implement :func:`socket." -"if_nameindex()`, :func:`socket.if_nametoindex()`, and :func:`socket." -"if_indextoname()` on Windows." -msgstr "" - -#: ../build/NEWS:5922 -msgid "" -"`bpo-36829 `__: :c:func:" -"`PyErr_WriteUnraisable` now creates a traceback object if there is no " -"current traceback. Moreover, call :c:func:`PyErr_NormalizeException` and :c:" -"func:`PyException_SetTraceback` to normalize the exception value. Ignore any " -"error." -msgstr "" - -#: ../build/NEWS:5927 -msgid "" -"`bpo-36878 `__: Only accept text after " -"`# type: ignore` if the first character is ASCII. This is to disallow things " -"like `# type: ignoreé`." -msgstr "" - -#: ../build/NEWS:5930 -msgid "" -"`bpo-36878 `__: Store text appearing " -"after a `# type: ignore` comment in the AST. For example a type ignore like " -"`# type: ignore[E1000]` will have the string `\"[E1000]\"` stored in its AST " -"node." -msgstr "" - -#: ../build/NEWS:5934 -msgid "" -"`bpo-2180 `__: Treat line continuation at " -"EOF as a ``SyntaxError`` by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:5937 -msgid "" -"`bpo-36907 `__: Fix a crash when calling " -"a C function with a keyword dict (``f(**kwargs)``) and changing the dict " -"``kwargs`` while that function is running." -msgstr "" - -#: ../build/NEWS:5941 -msgid "" -"`bpo-36946 `__: Fix possible signed " -"integer overflow when handling slices." -msgstr "" - -#: ../build/NEWS:5943 -msgid "" -"`bpo-36826 `__: Add NamedExpression kind " -"support to ast_unparse.c" -msgstr "" - -#: ../build/NEWS:5945 -msgid "" -"`bpo-1875 `__: A :exc:`SyntaxError` is " -"now raised if a code blocks that will be optimized away (e.g. if conditions " -"that are always false) contains syntax errors. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5949 -msgid "" -"`bpo-36027 `__: Allow computation of " -"modular inverses via three-argument ``pow``: the second argument is now " -"permitted to be negative in the case where the first and third arguments are " -"relatively prime." -msgstr "" - -#: ../build/NEWS:5953 -msgid "" -"`bpo-36861 `__: Update the Unicode " -"database to version 12.1.0." -msgstr "" - -#: ../build/NEWS:5955 -msgid "" -"`bpo-28866 `__: Avoid caching attributes " -"of classes which type defines mro() to avoid a hard cache invalidation " -"problem." -msgstr "" - -#: ../build/NEWS:5958 -msgid "" -"`bpo-36851 `__: The ``FrameType`` stack " -"is now correctly cleaned up if the execution ends with a return and the " -"stack is not empty." -msgstr "" - -#: ../build/NEWS:5961 -msgid "" -"`bpo-34616 `__: The ``compile()`` " -"builtin functions now support the ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag, " -"which allow to compile sources that contains top-level ``await``, ``async " -"with`` or ``async for``. This is useful to evaluate async-code from with an " -"already async functions; for example in a custom REPL." -msgstr "" - -#: ../build/NEWS:5967 -msgid "" -"`bpo-36842 `__: Implement PEP 578, " -"adding sys.audit, io.open_code and related APIs." -msgstr "" - -#: ../build/NEWS:5970 -msgid "" -"`bpo-27639 `__: Correct return type for " -"UserList slicing operations. Patch by Michael Blahay, Erick Cervantes, and " -"vaultah" -msgstr "" - -#: ../build/NEWS:5973 -msgid "" -"`bpo-36737 `__: Move PyRuntimeState." -"warnings into per-interpreter state (via \"module state\")." -msgstr "" - -#: ../build/NEWS:5976 -msgid "" -"`bpo-36793 `__: Removed ``__str__`` " -"implementations from builtin types :class:`bool`, :class:`int`, :class:" -"`float`, :class:`complex` and few classes from the standard library. They " -"now inherit ``__str__()`` from :class:`object`." -msgstr "" - -#: ../build/NEWS:5981 -msgid "" -"`bpo-36817 `__: Add a ``=`` feature f-" -"strings for debugging. This can precede ``!s``, ``!r``, or ``!a``. It " -"produces the text of the expression, followed by an equal sign, followed by " -"the repr of the value of the expression. So ``f'{3*9+15=}'`` would be equal " -"to the string ``'3*9+15=42'``. If ``=`` is specified, the default " -"conversion is set to ``!r``, unless a format spec is given, in which case " -"the formatting behavior is unchanged, and __format__ will be used." -msgstr "" - -#: ../build/NEWS:5989 -msgid "" -"`bpo-24048 `__: Save the live exception " -"during import.c's ``remove_module()``." -msgstr "" - -#: ../build/NEWS:5991 -msgid "" -"`bpo-27987 `__: pymalloc returns memory " -"blocks aligned by 16 bytes, instead of 8 bytes, on 64-bit platforms to " -"conform x86-64 ABI. Recent compilers assume this alignment more often. Patch " -"by Inada Naoki." -msgstr "" - -#: ../build/NEWS:5995 -msgid "" -"`bpo-36601 `__: A long-since-meaningless " -"check for ``getpid() == main_pid`` was removed from Python's internal C " -"signal handler." -msgstr "" - -#: ../build/NEWS:5998 -msgid "" -"`bpo-36594 `__: Fix incorrect use of ``" -"%p`` in format strings. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:6001 -msgid "" -"`bpo-36045 `__: builtins.help() now " -"prefixes `async` for async functions" -msgstr "" - -#: ../build/NEWS:6003 -msgid "" -"`bpo-36084 `__: Add native thread ID " -"(TID) to threading.Thread objects (supported platforms: Windows, FreeBSD, " -"Linux, macOS)" -msgstr "" - -#: ../build/NEWS:6006 -msgid "" -"`bpo-36035 `__: Added fix for broken " -"symlinks in combination with pathlib" -msgstr "" - -#: ../build/NEWS:6008 -msgid "" -"`bpo-35983 `__: Added new trashcan " -"macros to deal with a double deallocation that could occur when the " -"`tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that " -"base class uses the trashcan mechanism. Patch by Jeroen Demeyer." -msgstr "" - -#: ../build/NEWS:6013 -msgid "" -"`bpo-20602 `__: Do not clear :data:`sys." -"flags` and :data:`sys.float_info` during shutdown. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:6016 -msgid "" -"`bpo-26826 `__: Expose :func:" -"`copy_file_range` as a low level API in the :mod:`os` module." -msgstr "" - -#: ../build/NEWS:6019 -msgid "" -"`bpo-32388 `__: Remove cross-version " -"binary compatibility requirement in tp_flags." -msgstr "" - -#: ../build/NEWS:6022 -msgid "" -"`bpo-31862 `__: Port binascii to PEP 489 " -"multiphase initialization. Patch by Marcel Plch." -msgstr "" - -#: ../build/NEWS:6028 -msgid "" -"`bpo-37128 `__: Added :func:`math.perm`." -msgstr "" - -#: ../build/NEWS:6030 -msgid "" -"`bpo-37120 `__: Add SSLContext." -"num_tickets to control the number of TLSv1.3 session tickets." -msgstr "" - -#: ../build/NEWS:6033 -msgid "" -"`bpo-12202 `__: Fix the error handling " -"in :meth:`msilib.SummaryInformation.GetProperty`. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:6036 -msgid "" -"`bpo-26835 `__: The fcntl module now " -"contains file sealing constants for sealing of memfds." -msgstr "" - -#: ../build/NEWS:6039 -msgid "" -"`bpo-29262 `__: Add ``get_origin()`` and " -"``get_args()`` introspection helpers to ``typing`` module." -msgstr "" - -#: ../build/NEWS:6042 -msgid "" -"`bpo-12639 `__: :meth:`msilib.Directory." -"start_component()` no longer fails if *keyfile* is not ``None``." -msgstr "" - -#: ../build/NEWS:6045 -msgid "" -"`bpo-36999 `__: Add the ``asyncio.Task." -"get_coro()`` method to publicly expose the tasks's coroutine object." -msgstr "" - -#: ../build/NEWS:6048 -msgid "" -"`bpo-35246 `__: Make :func:`asyncio." -"create_subprocess_exec` accept path-like arguments." -msgstr "" - -#: ../build/NEWS:6051 -msgid "" -"`bpo-35279 `__: Change default " -"*max_workers* of ``ThreadPoolExecutor`` from ``cpu_count() * 5`` to " -"``min(32, cpu_count() + 4))``. Previous value was unreasonably large on " -"many cores machines." -msgstr "" - -#: ../build/NEWS:6055 -msgid "" -"`bpo-37076 `__: :func:`_thread." -"start_new_thread` now logs uncaught exception raised by the function using :" -"func:`sys.unraisablehook`, rather than :func:`sys.excepthook`, so the hook " -"gets access to the function which raised the exception." -msgstr "" - -#: ../build/NEWS:6060 -msgid "" -"`bpo-33725 `__: On macOS, the :mod:" -"`multiprocessing` module now uses *spawn* start method by default." -msgstr "" - -#: ../build/NEWS:6063 -msgid "" -"`bpo-37054 `__: Fix destructor :class:" -"`_pyio.BytesIO` and :class:`_pyio.TextIOWrapper`: initialize their " -"``_buffer`` attribute as soon as possible (in the class body), because it's " -"used by ``__del__()`` which calls ``close()``." -msgstr "" - -#: ../build/NEWS:6068 -msgid "" -"`bpo-37058 `__: PEP 544: Add " -"``Protocol`` and ``@runtime_checkable`` to the ``typing`` module." -msgstr "" - -#: ../build/NEWS:6071 -msgid "" -"`bpo-36933 `__: The functions ``sys." -"set_coroutine_wrapper`` and ``sys.get_coroutine_wrapper`` that were " -"deprecated and marked for removal in 3.8 have been removed." -msgstr "" - -#: ../build/NEWS:6075 -msgid "" -"`bpo-37047 `__: Handle late binding and " -"attribute access in :class:`unittest.mock.AsyncMock` setup for autospeccing. " -"Document newly implemented async methods in :class:`unittest.mock.MagicMock`." -msgstr "" - -#: ../build/NEWS:6079 -msgid "" -"`bpo-37049 `__: PEP 589: Add " -"``TypedDict`` to the ``typing`` module." -msgstr "" - -#: ../build/NEWS:6081 -msgid "" -"`bpo-37046 `__: PEP 586: Add ``Literal`` " -"to the ``typing`` module." -msgstr "" - -#: ../build/NEWS:6083 -msgid "" -"`bpo-37045 `__: PEP 591: Add ``Final`` " -"qualifier and ``@final`` decorator to the ``typing`` module." -msgstr "" - -#: ../build/NEWS:6086 -msgid "" -"`bpo-37035 `__: Don't log OSError based " -"exceptions if a fatal error has occurred in asyncio transport. Peer can " -"generate almost any OSError, user cannot avoid these exceptions by fixing " -"own code. Errors are still propagated to user code, it's just logging them " -"is pointless and pollute asyncio logs." -msgstr "" - -#: ../build/NEWS:6092 -msgid "" -"`bpo-37001 `__: :func:`symtable." -"symtable` now accepts the same input types for source code as the built-in :" -"func:`compile` function. Patch by Dino Viehland." -msgstr "" - -#: ../build/NEWS:6096 -msgid "" -"`bpo-37028 `__: Implement asyncio REPL" -msgstr "" - -#: ../build/NEWS:6098 -msgid "" -"`bpo-37027 `__: Return safe to use proxy " -"socket object from transport.get_extra_info('socket')" -msgstr "" - -#: ../build/NEWS:6101 -msgid "" -"`bpo-32528 `__: Make asyncio." -"CancelledError a BaseException." -msgstr "" - -#: ../build/NEWS:6103 -msgid "" -"This will address the common mistake many asyncio users make: an \"except " -"Exception\" clause breaking Tasks cancellation." -msgstr "" - -#: ../build/NEWS:6106 -msgid "" -"In addition to this change, we stop inheriting asyncio.TimeoutError and " -"asyncio.InvalidStateError from their concurrent.futures.* counterparts. " -"There's no point for these exceptions to share the inheritance chain." -msgstr "" - -#: ../build/NEWS:6110 -msgid "" -"`bpo-1230540 `__: Add a new :func:" -"`threading.excepthook` function which handles uncaught :meth:`threading." -"Thread.run` exception. It can be overridden to control how uncaught :meth:" -"`threading.Thread.run` exceptions are handled." -msgstr "" - -#: ../build/NEWS:6114 -msgid "" -"`bpo-36996 `__: Handle :func:`unittest." -"mock.patch` used as a decorator on async functions." -msgstr "" - -#: ../build/NEWS:6117 -msgid "" -"`bpo-37008 `__: Add support for calling :" -"func:`next` with the mock resulting from :func:`unittest.mock.mock_open`" -msgstr "" - -#: ../build/NEWS:6120 -msgid "" -"`bpo-27737 `__: Allow whitespace only " -"header encoding in ``email.header`` - by Batuhan Taskaya" -msgstr "" - -#: ../build/NEWS:6123 -msgid "" -"`bpo-36969 `__: PDB command `args` now " -"display positional only arguments. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:6126 -msgid "" -"`bpo-36969 `__: PDB command `args` now " -"display keyword only arguments. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:6129 -msgid "" -"`bpo-36983 `__: Add missing names to " -"``typing.__all__``: ``ChainMap``, ``ForwardRef``, ``OrderedDict`` - by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:6132 -msgid "" -"`bpo-36972 `__: Add SupportsIndex " -"protocol to the typing module to allow type checking to detect classes that " -"can be passed to `hex()`, `oct()` and `bin()`." -msgstr "" - -#: ../build/NEWS:6136 -msgid "" -"`bpo-32972 `__: Implement ``unittest." -"IsolatedAsyncioTestCase`` to help testing asyncio-based code." -msgstr "" - -#: ../build/NEWS:6139 -msgid "" -"`bpo-36952 `__: :func:`fileinput.input` " -"and :class:`fileinput.FileInput` **bufsize** argument has been removed (was " -"deprecated and ignored since Python 3.6), and as a result the **mode** and " -"**openhook** arguments have been made keyword-only." -msgstr "" - -#: ../build/NEWS:6144 -msgid "" -"`bpo-36952 `__: Starting with Python " -"3.3, importing ABCs from :mod:`collections` is deprecated, and import should " -"be done from :mod:`collections.abc`. Still being able to import from :mod:" -"`collections` was marked for removal in 3.8, but has been delayed to 3.9; " -"documentation and ``DeprecationWarning`` clarified." -msgstr "" - -#: ../build/NEWS:6150 -msgid "" -"`bpo-36949 `__: Implement __repr__ for " -"WeakSet objects." -msgstr "" - -#: ../build/NEWS:6152 -msgid "" -"`bpo-36948 `__: Fix :exc:`NameError` in :" -"meth:`urllib.request.URLopener.retrieve`. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:6156 -msgid "" -"`bpo-33524 `__: Fix the folding of email " -"header when the max_line_length is 0 or None and the header contains non-" -"ascii characters. Contributed by Licht Takeuchi (@Licht-T)." -msgstr "" - -#: ../build/NEWS:6160 -msgid "" -"`bpo-24564 `__: :func:`shutil.copystat` " -"now ignores :const:`errno.EINVAL` on :func:`os.setxattr` which may occur " -"when copying files on filesystems without extended attributes support." -msgstr "" - -#: ../build/NEWS:6164 -msgid "Original patch by Giampaolo Rodola, updated by Ying Wang." -msgstr "" - -#: ../build/NEWS:6166 -msgid "" -"`bpo-36888 `__: Python child processes " -"can now access the status of their parent process using multiprocessing." -"process.parent_process" -msgstr "" - -#: ../build/NEWS:6169 -msgid "" -"`bpo-36921 `__: Deprecate ``@coroutine`` " -"for sake of ``async def``." -msgstr "" - -#: ../build/NEWS:6171 -msgid "" -"`bpo-25652 `__: Fix bug in ``__rmod__`` " -"of ``UserString`` - by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:6173 -msgid "" -"`bpo-36916 `__: Remove a message about " -"an unhandled exception in a task when writer.write() is used without await " -"and writer.drain() fails with an exception." -msgstr "" - -#: ../build/NEWS:6177 -msgid "" -"`bpo-36889 `__: Introduce :class:" -"`asyncio.Stream` class that merges :class:`asyncio.StreamReader` and :class:" -"`asyncio.StreamWriter` functionality. :class:`asyncio.Stream` can work in " -"readonly, writeonly and readwrite modes. Provide :func:`asyncio.connect`, :" -"func:`asyncio.connect_unix`, :func:`asyncio.connect_read_pipe` and :func:" -"`asyncio.connect_write_pipe` factories to open :class:`asyncio.Stream` " -"connections. Provide :class:`asyncio.StreamServer` and :class:" -"`UnixStreamServer` to serve servers with asyncio.Stream API. Modify :func:" -"`asyncio.create_subprocess_shell` and :func:`asyncio.create_subprocess_exec` " -"to use :class:`asyncio.Stream` instead of deprecated :class:`StreamReader` " -"and :class:`StreamWriter`. Deprecate :class:`asyncio.StreamReader` and :" -"class:`asyncio.StreamWriter`. Deprecate usage of private classes, e.g. :" -"class:`asyncio.FlowControlMixing` and :class:`asyncio.StreamReaderProtocol` " -"outside of asyncio package." -msgstr "" - -#: ../build/NEWS:6193 -msgid "" -"`bpo-36845 `__: Added validation of " -"integer prefixes to the construction of IP networks and interfaces in the " -"ipaddress module." -msgstr "" - -#: ../build/NEWS:6196 -msgid "" -"`bpo-23378 `__: Add an extend action to " -"argparser." -msgstr "" - -#: ../build/NEWS:6198 -msgid "" -"`bpo-36867 `__: Fix a bug making a " -"SharedMemoryManager instance and its parent process use two separate " -"resource_tracker processes." -msgstr "" - -#: ../build/NEWS:6201 -msgid "" -"`bpo-23896 `__: Adds a grammar to " -"lib2to3.pygram that contains exec as a function not as statement." -msgstr "" - -#: ../build/NEWS:6204 -msgid "" -"`bpo-36895 `__: The function ``time." -"clock()`` was deprecated in 3.3 in favor of ``time.perf_counter()`` and " -"marked for removal in 3.8, it has removed." -msgstr "" - -#: ../build/NEWS:6207 -msgid "" -"`bpo-35545 `__: Fix asyncio discarding " -"IPv6 scopes when ensuring hostname resolutions internally" -msgstr "" - -#: ../build/NEWS:6210 -msgid "" -"`bpo-36887 `__: Add new function :func:" -"`math.isqrt` to compute integer square roots." -msgstr "" - -#: ../build/NEWS:6213 -msgid "" -"`bpo-34632 `__: Introduce the " -"``importlib.metadata`` module with (provisional) support for reading " -"metadata from third-party packages." -msgstr "" - -#: ../build/NEWS:6216 -msgid "" -"`bpo-36878 `__: When using " -"`type_comments=True` in `ast.parse`, treat `# type: ignore` followed by a " -"non-alphanumeric character and then arbitrary text as a type ignore, instead " -"of requiring nothing but whitespace or another comment. This is to permit " -"formations such as `# type: ignore[E1000]`." -msgstr "" - -#: ../build/NEWS:6221 -msgid "" -"`bpo-36778 `__: ``cp65001`` encoding " -"(Windows code page 65001) becomes an alias to ``utf_8`` encoding." -msgstr "" - -#: ../build/NEWS:6224 -msgid "" -"`bpo-36867 `__: The multiprocessing." -"resource_tracker replaces the multiprocessing.semaphore_tracker module. " -"Other than semaphores, resource_tracker also tracks shared_memory segments." -msgstr "" - -#: ../build/NEWS:6228 -msgid "" -"`bpo-30262 `__: The ``Cache`` and " -"``Statement`` objects of the :mod:`sqlite3` module are not exposed to the " -"user. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:6231 -msgid "" -"`bpo-24538 `__: In `shutil.copystat()`, " -"first copy extended file attributes and then file permissions, since " -"extended attributes can only be set on the destination while it is still " -"writeable." -msgstr "" - -#: ../build/NEWS:6235 -msgid "" -"`bpo-36829 `__: Add new :func:`sys." -"unraisablehook` function which can be overridden to control how \"unraisable " -"exceptions\" are handled. It is called when an exception has occurred but " -"there is no way for Python to handle it. For example, when a destructor " -"raises an exception or during garbage collection (:func:`gc.collect`)." -msgstr "" - -#: ../build/NEWS:6241 -msgid "" -"`bpo-36832 `__: Introducing ``zipfile." -"Path``, a pathlib-compatible wrapper for traversing zip files." -msgstr "" - -#: ../build/NEWS:6244 -msgid "" -"`bpo-36814 `__: Fix an issue where os." -"posix_spawnp() would incorrectly raise a TypeError when file_actions is None." -msgstr "" - -#: ../build/NEWS:6247 -msgid "" -"`bpo-33110 `__: Handle exceptions raised " -"by functions added by concurrent.futures add_done_callback correctly when " -"the Future has already completed." -msgstr "" - -#: ../build/NEWS:6251 -msgid "" -"`bpo-26903 `__: Limit `max_workers` in " -"`ProcessPoolExecutor` to 61 to work around a WaitForMultipleObjects " -"limitation." -msgstr "" - -#: ../build/NEWS:6254 -msgid "" -"`bpo-36813 `__: Fix :class:`~logging." -"handlers.QueueListener` to call ``queue.task_done()`` upon stopping. Patch " -"by Bar Harel." -msgstr "" - -#: ../build/NEWS:6257 -msgid "" -"`bpo-36806 `__: Forbid creation of " -"asyncio stream objects like StreamReader, StreamWriter, Process, and their " -"protocols outside of asyncio package." -msgstr "" - -#: ../build/NEWS:6260 -msgid "" -"`bpo-36802 `__: Provide both sync and " -"async calls for StreamWriter.write() and StreamWriter.close()" -msgstr "" - -#: ../build/NEWS:6263 -msgid "" -"`bpo-36801 `__: Properly handle SSL " -"connection closing in asyncio StreamWriter.drain() call." -msgstr "" - -#: ../build/NEWS:6266 -msgid "" -"`bpo-36785 `__: Implement PEP 574 " -"(pickle protocol 5 with out-of-band buffers)." -msgstr "" - -#: ../build/NEWS:6268 -msgid "" -"`bpo-36772 `__: functools.lru_cache() " -"can now be used as a straight decorator in addition to its existing usage as " -"a function that returns a decorator." -msgstr "" - -#: ../build/NEWS:6271 -msgid "" -"`bpo-6584 `__: Add a :exc:`~gzip." -"BadGzipFile` exception to the :mod:`gzip` module." -msgstr "" - -#: ../build/NEWS:6274 -msgid "" -"`bpo-36748 `__: Optimized write " -"buffering in C implementation of ``TextIOWrapper``. Writing ASCII string to " -"``TextIOWrapper`` with ascii, latin1, or utf-8 encoding is about 20% " -"faster. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:6278 -msgid "" -"`bpo-8138 `__: Don't mark ``wsgiref." -"simple_server.SimpleServer`` as multi-threaded since ``wsgiref.simple_server." -"WSGIServer`` is single-threaded." -msgstr "" - -#: ../build/NEWS:6282 -msgid "" -"`bpo-22640 `__: :func:`py_compile." -"compile` now supports silent mode. Patch by Joannah Nanjekye" -msgstr "" - -#: ../build/NEWS:6285 -msgid "" -"`bpo-29183 `__: Fix double exceptions " -"in :class:`wsgiref.handlers.BaseHandler` by calling its :meth:`~wsgiref." -"handlers.BaseHandler.close` method only when no exception is raised." -msgstr "" - -#: ../build/NEWS:6289 -msgid "" -"`bpo-36548 `__: Improved the repr of " -"regular expression flags." -msgstr "" - -#: ../build/NEWS:6291 -msgid "" -"`bpo-36542 `__: The signature of Python " -"functions can now be overridden by specifying the ``__text_signature__`` " -"attribute." -msgstr "" - -#: ../build/NEWS:6294 -msgid "" -"`bpo-36533 `__: Reinitialize logging." -"Handler locks in forked child processes instead of attempting to acquire " -"them all in the parent before forking only to be released in the child " -"process. The acquire/release pattern was leading to deadlocks in code that " -"has implemented any form of chained logging handlers that depend upon one " -"another as the lock acquisition order cannot be guaranteed." -msgstr "" - -#: ../build/NEWS:6301 -msgid "" -"`bpo-35252 `__: Throw a TypeError " -"instead of an AssertionError when using an invalid type annotation with " -"singledispatch." -msgstr "" - -#: ../build/NEWS:6304 -msgid "" -"`bpo-35900 `__: Allow reduction methods " -"to return a 6-item tuple where the 6th item specifies a custom state-setting " -"method that's called instead of the regular ``__setstate__`` method." -msgstr "" - -#: ../build/NEWS:6308 -msgid "" -"`bpo-35900 `__: enable custom reduction " -"callback registration for functions and classes in _pickle.c, using the new " -"Pickler's attribute ``reducer_override``" -msgstr "" - -#: ../build/NEWS:6312 -msgid "" -"`bpo-36368 `__: Fix a bug crashing " -"SharedMemoryManager instances in interactive sessions after a ctrl-c " -"(KeyboardInterrupt) was sent" -msgstr "" - -#: ../build/NEWS:6315 -msgid "" -"`bpo-31904 `__: Fix mmap fail for VxWorks" -msgstr "" - -#: ../build/NEWS:6317 -msgid "" -"`bpo-27497 `__: :meth:`csv.DictWriter." -"writeheader` now returns the return value of the underlying :meth:`csv." -"Writer.writerow` method. Patch contributed by Ashish Nitin Patil." -msgstr "" - -#: ../build/NEWS:6321 -msgid "" -"`bpo-36239 `__: Parsing .mo files now " -"ignores comments starting and ending with #-#-#-#-#." -msgstr "" - -#: ../build/NEWS:6324 -msgid "" -"`bpo-26707 `__: Enable plistlib to read " -"and write binary plist files that were created as a KeyedArchive file. " -"Specifically, this allows the plistlib to process 0x80 tokens as UID objects." -msgstr "" - -#: ../build/NEWS:6328 -msgid "" -"`bpo-31904 `__: Add posix module support " -"for VxWorks." -msgstr "" - -#: ../build/NEWS:6330 -msgid "" -"`bpo-35125 `__: Asyncio: Remove inner " -"callback on outer cancellation in shield" -msgstr "" - -#: ../build/NEWS:6332 -msgid "" -"`bpo-35721 `__: Fix :meth:`asyncio." -"SelectorEventLoop.subprocess_exec()` leaks file descriptors if ``Popen`` " -"fails and called with ``stdin=subprocess.PIPE``. Patch by Niklas Fiekas." -msgstr "" - -#: ../build/NEWS:6336 -msgid "" -"`bpo-31855 `__: :func:`unittest.mock." -"mock_open` results now respects the argument of read([size]). Patch " -"contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:6339 -msgid "" -"`bpo-35431 `__: Implement :func:`math." -"comb` that returns binomial coefficient, that computes the number of ways to " -"choose k items from n items without repetition and without order. Patch by " -"Yash Aggarwal and Keller Fuchs." -msgstr "" - -#: ../build/NEWS:6343 -msgid "" -"`bpo-26660 `__: Fixed permission errors " -"in :class:`~tempfile.TemporaryDirectory` clean up. Previously " -"``TemporaryDirectory.cleanup()`` failed when non-writeable or non-searchable " -"files or directories were created inside a temporary directory." -msgstr "" - -#: ../build/NEWS:6349 -msgid "" -"`bpo-34271 `__: Add debugging helpers to " -"ssl module. It's now possible to dump key material and to trace TLS " -"protocol. The default and stdlib contexts also support SSLKEYLOGFILE env var." -msgstr "" - -#: ../build/NEWS:6353 -msgid "" -"`bpo-26467 `__: Added AsyncMock to " -"support using unittest to mock asyncio coroutines. Patch by Lisa Roach." -msgstr "" - -#: ../build/NEWS:6356 -msgid "" -"`bpo-33569 `__: dataclasses.InitVar: " -"Exposes the type used to create the init var." -msgstr "" - -#: ../build/NEWS:6359 -msgid "" -"`bpo-34424 `__: Fix serialization of " -"messages containing encoded strings when the policy.linesep is set to a " -"multi-character string. Patch by Jens Troeger." -msgstr "" - -#: ../build/NEWS:6363 -msgid "" -"`bpo-34303 `__: Performance of :func:" -"`functools.reduce` is slightly improved. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:6366 -msgid "" -"`bpo-33361 `__: Fix a bug in :class:" -"`codecs.StreamRecoder` where seeking might leave old data in a buffer and " -"break subsequent read calls. Patch by Ammar Askar." -msgstr "" - -#: ../build/NEWS:6370 -msgid "" -"`bpo-22454 `__: The :mod:`shlex` module " -"now exposes :func:`shlex.join`, the inverse of :func:`shlex.split`. Patch by " -"Bo Bayles." -msgstr "" - -#: ../build/NEWS:6373 -msgid "" -"`bpo-31922 `__: :meth:`asyncio." -"AbstractEventLoop.create_datagram_endpoint`: Do not connect UDP socket when " -"broadcast is allowed. This allows to receive replies after a UDP broadcast." -msgstr "" - -#: ../build/NEWS:6377 -msgid "" -"`bpo-24882 `__: Change " -"ThreadPoolExecutor to use existing idle threads before spinning up new ones." -msgstr "" - -#: ../build/NEWS:6380 -msgid "" -"`bpo-31961 `__: Added support for bytes " -"and path-like objects in :func:`subprocess.Popen` on Windows. The *args* " -"parameter now accepts a :term:`path-like object` if *shell* is ``False`` and " -"a sequence containing bytes and path-like objects. The *executable* " -"parameter now accepts a bytes and :term:`path-like object`. The *cwd* " -"parameter now accepts a bytes object. Based on patch by Anders Lorentsen." -msgstr "" - -#: ../build/NEWS:6387 -msgid "" -"`bpo-33123 `__: :class:`pathlib.Path." -"unlink` now accepts a *missing_ok* parameter to avoid a :exc:" -"`FileNotFoundError` from being raised. Patch by Robert Buchholz." -msgstr "" - -#: ../build/NEWS:6391 -msgid "" -"`bpo-32941 `__: Allow :class:`mmap.mmap` " -"objects to access the madvise() system call (through :meth:`mmap.mmap." -"madvise`)." -msgstr "" - -#: ../build/NEWS:6394 -msgid "" -"`bpo-22102 `__: Added support for ZIP " -"files with disks set to 0. Such files are commonly created by builtin tools " -"on Windows when use ZIP64 extension. Patch by Francisco Facioni." -msgstr "" - -#: ../build/NEWS:6398 -msgid "" -"`bpo-32515 `__: trace.py can now run " -"modules via python3 -m trace -t --module module_name" -msgstr "" - -#: ../build/NEWS:6401 -msgid "" -"`bpo-32299 `__: Changed :func:`unittest." -"mock.patch.dict` to return the patched dictionary when used as context " -"manager. Patch by Vadim Tsander." -msgstr "" - -#: ../build/NEWS:6404 -msgid "" -"`bpo-27141 `__: Added a ``__copy__()`` " -"to ``collections.UserList`` and ``collections.UserDict`` in order to " -"correctly implement shallow copying of the objects. Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:6408 -msgid "" -"`bpo-31829 `__: ``\\r``, ``\\0`` and ``" -"\\x1a`` (end-of-file on Windows) are now escaped in protocol 0 pickles of " -"Unicode strings. This allows to load them without loss from files open in " -"text mode in Python 2." -msgstr "" - -#: ../build/NEWS:6412 -msgid "" -"`bpo-23395 `__: ``_thread." -"interrupt_main()`` now avoids setting the Python error status if the " -"``SIGINT`` signal is ignored or not handled by Python." -msgstr "" - -#: ../build/NEWS:6418 -msgid "" -"`bpo-36896 `__: Clarify that some types " -"have unstable constructor signature between Python versions." -msgstr "" - -#: ../build/NEWS:6421 -msgid "" -"`bpo-36686 `__: Improve documentation of " -"the stdin, stdout, and stderr arguments of the ``asyncio.subprocess_exec`` " -"function to specify which values are supported. Also mention that decoding " -"as text is not supported." -msgstr "" - -#: ../build/NEWS:6425 -msgid "" -"Add a few tests to verify that the various values passed to the std* " -"arguments actually work." -msgstr "" - -#: ../build/NEWS:6428 -msgid "" -"`bpo-36984 `__: Improve version added " -"references in ``typing`` module - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:6431 -msgid "" -"`bpo-36868 `__: What's new now mentions " -"SSLContext.hostname_checks_common_name instead of SSLContext.host_flags." -msgstr "" - -#: ../build/NEWS:6434 -msgid "" -"`bpo-35924 `__: Add a note to the " -"``curses.addstr()`` documentation to warn that multiline strings can cause " -"segfaults because of an ncurses bug." -msgstr "" - -#: ../build/NEWS:6437 -msgid "" -"`bpo-36783 `__: Added C API " -"Documentation for Time_FromTimeAndFold and PyDateTime_FromDateAndTimeAndFold " -"as per PEP 495. Patch by Edison Abahurire." -msgstr "" - -#: ../build/NEWS:6441 -msgid "" -"`bpo-36797 `__: More of the legacy " -"distutils documentation has been either pruned, or else more clearly marked " -"as being retained solely until the setuptools documentation covers it " -"independently." -msgstr "" - -#: ../build/NEWS:6445 -msgid "" -"`bpo-22865 `__: Add detail to the " -"documentation on the `pty.spawn` function." -msgstr "" - -#: ../build/NEWS:6447 -msgid "" -"`bpo-35397 `__: Remove deprecation and " -"document urllib.parse.unwrap(). Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:6450 -msgid "" -"`bpo-32995 `__: Added the context " -"variable in glossary." -msgstr "" - -#: ../build/NEWS:6452 -msgid "" -"`bpo-33519 `__: Clarify that `copy()` is " -"not part of the `MutableSequence` ABC." -msgstr "" - -#: ../build/NEWS:6454 -msgid "" -"`bpo-33482 `__: Make `codecs." -"StreamRecoder.writelines` take a list of bytes." -msgstr "" - -#: ../build/NEWS:6456 -msgid "" -"`bpo-25735 `__: Added documentation for " -"func factorial to indicate that returns integer values" -msgstr "" - -#: ../build/NEWS:6459 -msgid "" -"`bpo-20285 `__: Expand object.__doc__ " -"(docstring) to make it clearer. Modify pydoc.py so that help(object) lists " -"object methods (for other classes, help omits methods of the object base " -"class.)" -msgstr "" - -#: ../build/NEWS:6466 -msgid "" -"`bpo-37069 `__: Modify test_coroutines, " -"test_cprofile, test_generators, test_raise, test_ssl and test_yield_from to " -"use :func:`test.support.catch_unraisable_exception` rather than :func:`test." -"support.captured_stderr`." -msgstr "" - -#: ../build/NEWS:6471 -msgid "" -"`bpo-37098 `__: Fix test_memfd_create on " -"older Linux Kernels." -msgstr "" - -#: ../build/NEWS:6473 -msgid "" -"`bpo-37081 `__: Test with OpenSSL 1.1.1c" -msgstr "" - -#: ../build/NEWS:6475 -msgid "" -"`bpo-36829 `__: Add :func:`test.support." -"catch_unraisable_exception`: context manager catching unraisable exception " -"using :func:`sys.unraisablehook`." -msgstr "" - -#: ../build/NEWS:6478 -msgid "" -"`bpo-36915 `__: The main regrtest " -"process now always removes all temporary directories of worker processes " -"even if they crash or if they are killed on KeyboardInterrupt (CTRL+c)." -msgstr "" - -#: ../build/NEWS:6482 -msgid "" -"`bpo-36719 `__: \"python3 -m test -jN ..." -"\" now continues the execution of next tests when a worker process crash " -"(CHILD_ERROR state). Previously, the test suite stopped immediately. Use --" -"failfast to stop at the first error." -msgstr "" - -#: ../build/NEWS:6486 -msgid "" -"`bpo-36816 `__: Update Lib/test/" -"selfsigned_pythontestdotnet.pem to match self-signed.pythontest.net's new " -"TLS certificate." -msgstr "" - -#: ../build/NEWS:6489 -msgid "" -"`bpo-35925 `__: Skip httplib and nntplib " -"networking tests when they would otherwise fail due to a modern OS or distro " -"with a default OpenSSL policy of rejecting connections to servers with weak " -"certificates." -msgstr "" - -#: ../build/NEWS:6493 -msgid "" -"`bpo-36782 `__: Add tests for several C " -"API functions in the :mod:`datetime` module. Patch by Edison Abahurire." -msgstr "" - -#: ../build/NEWS:6496 -msgid "" -"`bpo-36342 `__: Fix test_multiprocessing " -"in test_venv if platform lacks functioning sem_open." -msgstr "" - -#: ../build/NEWS:6502 -msgid "" -"`bpo-36721 `__: To embed Python into an " -"application, a new ``--embed`` option must be passed to ``python3-config --" -"libs --embed`` to get ``-lpython3.8`` (link the application to libpython). " -"To support both 3.8 and older, try ``python3-config --libs --embed`` first " -"and fallback to ``python3-config --libs`` (without ``--embed``) if the " -"previous command fails." -msgstr "" - -#: ../build/NEWS:6508 -msgid "" -"Add a pkg-config ``python-3.8-embed`` module to embed Python into an " -"application: ``pkg-config python-3.8-embed --libs`` includes ``-" -"lpython3.8``. To support both 3.8 and older, try ``pkg-config python-X.Y-" -"embed --libs`` first and fallback to ``pkg-config python-X.Y --libs`` " -"(without ``--embed``) if the previous command fails (replace ``X.Y`` with " -"the Python version)." -msgstr "" - -#: ../build/NEWS:6515 -msgid "" -"On the other hand, ``pkg-config python3.8 --libs`` no longer contains ``-" -"lpython3.8``. C extensions must not be linked to libpython (except on " -"Android, case handled by the script); this change is backward incompatible " -"on purpose." -msgstr "" - -#: ../build/NEWS:6520 -msgid "" -"`bpo-36786 `__: \"make install\" now " -"runs compileall in parallel." -msgstr "" - -#: ../build/NEWS:6525 -msgid "" -"`bpo-36965 `__: include of " -"STATUS_CONTROL_C_EXIT without depending on MSC compiler" -msgstr "" - -#: ../build/NEWS:6528 -msgid "" -"`bpo-35926 `__: Update to OpenSSL 1.1.1b " -"for Windows." -msgstr "" - -#: ../build/NEWS:6530 -msgid "" -"`bpo-29883 `__: Add Windows support for " -"UDP transports for the Proactor Event Loop. Patch by Adam Meily." -msgstr "" - -#: ../build/NEWS:6533 -msgid "" -"`bpo-33407 `__: The :c:macro:" -"`Py_DEPRECATED()` macro has been implemented for MSVC." -msgstr "" - -#: ../build/NEWS:6539 -msgid "" -"`bpo-36231 `__: Support building Python " -"on macOS without /usr/include installed. As of macOS 10.14, system header " -"files are only available within an SDK provided by either the Command Line " -"Tools or the Xcode app." -msgstr "" - -#: ../build/NEWS:6546 -msgid "" -"`bpo-35610 `__: Replace now redundant ." -"context_use_ps1 with .prompt_last_line. This finishes change started in " -"`bpo-31858 `__." -msgstr "" - -#: ../build/NEWS:6549 -msgid "" -"`bpo-37038 `__: Make idlelib.run " -"runnable; add test clause." -msgstr "" - -#: ../build/NEWS:6551 -msgid "" -"`bpo-36958 `__: Print any argument other " -"than None or int passed to SystemExit or sys.exit()." -msgstr "" - -#: ../build/NEWS:6554 -msgid "" -"`bpo-36807 `__: When saving a file, call " -"os.fsync() so bits are flushed to e.g. USB drive." -msgstr "" - -#: ../build/NEWS:6557 -msgid "" -"`bpo-32411 `__: In browser.py, remove " -"extraneous sorting by line number since dictionary was created in line " -"number order." -msgstr "" - -#: ../build/NEWS:6563 -msgid "" -"`bpo-37053 `__: Handle strings like u" -"\"bar\" correctly in Tools/parser/unparse.py. Patch by Chih-Hsuan Yen." -msgstr "" - -#: ../build/NEWS:6569 -msgid "" -"`bpo-36763 `__: Implement the :pep:`587` " -"\"Python Initialization Configuration\"." -msgstr "" - -#: ../build/NEWS:6571 -msgid "" -"`bpo-36379 `__: Fix crashes when " -"attempting to use the *modulo* parameter when ``__ipow__`` is implemented in " -"C." -msgstr "" - -#: ../build/NEWS:6574 -msgid "" -"`bpo-37107 `__: Update :c:func:" -"`PyObject_CallMethodObjArgs` and ``_PyObject_CallMethodIdObjArgs`` to use " -"``_PyObject_GetMethod`` to avoid creating a bound method object in many " -"cases. Patch by Michael J. Sullivan." -msgstr "" - -#: ../build/NEWS:6579 -msgid "" -"`bpo-36974 `__: Implement :pep:`590`: " -"Vectorcall: a fast calling protocol for CPython. This is a new protocol to " -"optimize calls of custom callable objects." -msgstr "" - -#: ../build/NEWS:6583 -msgid "" -"`bpo-36763 `__: ``Py_Main()`` now " -"returns the exitcode rather than calling ``Py_Exit(exitcode)`` when calling " -"``PyErr_Print()`` if the current exception type is ``SystemExit``." -msgstr "" - -#: ../build/NEWS:6587 -msgid "" -"`bpo-36922 `__: Add new type flag " -"``Py_TPFLAGS_METHOD_DESCRIPTOR`` for objects behaving like unbound methods. " -"These are objects supporting the optimization given by the ``LOAD_METHOD``/" -"``CALL_METHOD`` opcodes. See PEP 590." -msgstr "" - -#: ../build/NEWS:6592 -msgid "" -"`bpo-36728 `__: The :c:func:" -"`PyEval_ReInitThreads` function has been removed from the C API. It should " -"not be called explicitly: use :c:func:`PyOS_AfterFork_Child` instead." -msgstr "" - -#: ../build/NEWS:6598 -msgid "Python 3.8.0 alpha 4" -msgstr "" - -#: ../build/NEWS:6600 -msgid "*Release date: 2019-05-06*" -msgstr "" - -#: ../build/NEWS:6605 -msgid "" -"`bpo-36742 `__: Fixes mishandling of pre-" -"normalization characters in urlsplit()." -msgstr "" - -#: ../build/NEWS:6608 -msgid "" -"`bpo-30458 `__: Address CVE-2019-9740 by " -"disallowing URL paths with embedded whitespace or control characters through " -"into the underlying http client request. Such potentially malicious header " -"injection URLs now cause an http.client.InvalidURL exception to be raised." -msgstr "" - -#: ../build/NEWS:6613 -msgid "" -"`bpo-35755 `__: :func:`shutil.which` now " -"uses ``os.confstr(\"CS_PATH\")`` if available and if the :envvar:`PATH` " -"environment variable is not set. Remove also the current directory from :" -"data:`posixpath.defpath`. On Unix, :func:`shutil.which` and the :mod:" -"`subprocess` module no longer search the executable in the current directory " -"if the :envvar:`PATH` environment variable is not set." -msgstr "" - -#: ../build/NEWS:6623 -msgid "" -"`bpo-36722 `__: In debug build, import " -"now also looks for C extensions compiled in release mode and for C " -"extensions compiled in the stable ABI." -msgstr "" - -#: ../build/NEWS:6626 -msgid "" -"`bpo-32849 `__: Fix Python " -"Initialization code on FreeBSD to detect properly when stdin file descriptor " -"(fd 0) is invalid." -msgstr "" - -#: ../build/NEWS:6629 -msgid "" -"`bpo-36623 `__: Remove parser headers " -"and related function declarations that lack implementations after the " -"removal of pgen." -msgstr "" - -#: ../build/NEWS:6632 -msgid "" -"`bpo-20180 `__: ``dict.pop()`` is now up " -"to 33% faster thanks to Argument Clinic. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:6635 -msgid "" -"`bpo-36611 `__: Debug memory allocators: " -"disable serialno field by default from debug hooks on Python memory " -"allocators to reduce the memory footprint by 5%. Enable :mod:`tracemalloc` " -"to get the traceback where a memory block has been allocated when a fatal " -"memory error is logged to decide where to put a breakpoint. Compile Python " -"with ``PYMEM_DEBUG_SERIALNO`` defined to get back the field." -msgstr "" - -#: ../build/NEWS:6642 -msgid "" -"`bpo-36588 `__: On AIX, :attr:`sys." -"platform` doesn't contain the major version anymore. Always return " -"``'aix'``, instead of ``'aix3'`` .. ``'aix7'``. Since older Python versions " -"include the version number, it is recommended to always use ``sys.platform." -"startswith('aix')``. Contributed by M. Felt." -msgstr "" - -#: ../build/NEWS:6647 -msgid "" -"`bpo-36549 `__: Change str.capitalize to " -"use titlecase for the first character instead of uppercase." -msgstr "" - -#: ../build/NEWS:6650 -msgid "" -"`bpo-36540 `__: Implement :pep:`570` " -"(Python positional-only parameters). Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:6653 -msgid "" -"`bpo-36475 `__: :c:func:" -"`PyEval_AcquireLock` and :c:func:`PyEval_AcquireThread` now terminate the " -"current thread if called while the interpreter is finalizing, making them " -"consistent with :c:func:`PyEval_RestoreThread`, :c:func:" -"`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`." -msgstr "" - -#: ../build/NEWS:6658 -msgid "" -"`bpo-36504 `__: Fix signed integer " -"overflow in _ctypes.c's ``PyCArrayType_new()``." -msgstr "" - -#: ../build/NEWS:6661 -msgid "" -"`bpo-20844 `__: Fix running script with " -"encoding cookie and LF line ending may fail on Windows." -msgstr "" - -#: ../build/NEWS:6664 -msgid "" -"`bpo-24214 `__: Fixed support of the " -"surrogatepass error handler in the UTF-8 incremental decoder." -msgstr "" - -#: ../build/NEWS:6667 -msgid "" -"`bpo-36452 `__: Changing ``dict`` keys " -"during iteration of the dict itself, ``keys()``, ``values()``, or " -"``items()`` will now be detected in certain corner cases where keys are " -"deleted/added so that the number of keys isn't changed. A `RuntimeError` " -"will be raised after ``len(dict)`` iterations. Contributed by Thomas Perl." -msgstr "" - -#: ../build/NEWS:6673 -msgid "" -"`bpo-36459 `__: Fix a possible double " -"``PyMem_FREE()`` due to tokenizer.c's ``tok_nextc()``." -msgstr "" - -#: ../build/NEWS:6676 -msgid "" -"`bpo-36433 `__: Fixed TypeError message " -"in classmethoddescr_call." -msgstr "" - -#: ../build/NEWS:6678 -msgid "" -"`bpo-36430 `__: Fix a possible reference " -"leak in :func:`itertools.count`." -msgstr "" - -#: ../build/NEWS:6680 -msgid "" -"`bpo-36440 `__: Include node names in " -"``ParserError`` messages, instead of numeric IDs. Patch by A. Skrobov." -msgstr "" - -#: ../build/NEWS:6683 -msgid "" -"`bpo-36143 `__: Regenerate :mod:" -"`keyword` from the Grammar and Tokens file using pgen. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:6686 -msgid "" -"`bpo-18372 `__: Add missing :c:func:" -"`PyObject_GC_Track` calls in the :mod:`pickle` module. Patch by Zackery " -"Spytz." -msgstr "" - -#: ../build/NEWS:6692 -msgid "" -"`bpo-35952 `__: Fix pythoninfo when the " -"compiler is missing." -msgstr "" - -#: ../build/NEWS:6694 -msgid "" -"`bpo-28238 `__: The ``.find*()`` methods " -"of xml.etree.ElementTree can now search for wildcards like ``{*}tag`` and " -"``{ns}*`` that match a tag in any namespace or all tags in a namespace. " -"Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:6698 -msgid "" -"`bpo-26978 `__: `pathlib.path.link_to()` " -"is now implemented. It creates a hard link pointing to a path." -msgstr "" - -#: ../build/NEWS:6701 -msgid "" -"`bpo-1613500 `__: :class:`fileinput." -"FileInput` now uses the input file mode to correctly set the output file " -"mode (previously it was hardcoded to ``'w'``) when ``inplace=True`` is " -"passed to its constructor." -msgstr "" - -#: ../build/NEWS:6705 -msgid "" -"`bpo-36734 `__: Fix compilation of " -"``faulthandler.c`` on HP-UX. Initialize ``stack_t current_stack`` to zero " -"using ``memset()``." -msgstr "" - -#: ../build/NEWS:6708 -msgid "" -"`bpo-13611 `__: The xml.etree." -"ElementTree packages gained support for C14N 2.0 serialisation. Patch by " -"Stefan Behnel." -msgstr "" - -#: ../build/NEWS:6711 -msgid "" -"`bpo-36669 `__: Add missing matrix " -"multiplication operator support to weakref.proxy." -msgstr "" - -#: ../build/NEWS:6714 -msgid "" -"`bpo-36676 `__: The XMLParser() in xml." -"etree.ElementTree provides namespace prefix context to the parser target if " -"it defines the callback methods \"start_ns()\" and/or \"end_ns()\". Patch by " -"Stefan Behnel." -msgstr "" - -#: ../build/NEWS:6718 -msgid "" -"`bpo-36673 `__: The TreeBuilder and " -"XMLPullParser in xml.etree.ElementTree gained support for parsing comments " -"and processing instructions. Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:6722 -msgid "" -"`bpo-36650 `__: The C version of " -"functools.lru_cache() was treating calls with an empty ``**kwargs`` " -"dictionary as being distinct from calls with no keywords at all. This did " -"not result in an incorrect answer, but it did trigger an unexpected cache " -"miss." -msgstr "" - -#: ../build/NEWS:6727 -msgid "" -"`bpo-28552 `__: Fix :mod:`distutils." -"sysconfig` if :data:`sys.executable` is ``None`` or an empty string: use :" -"func:`os.getcwd` to initialize ``project_base``. Fix also the distutils " -"build command: don't use :data:`sys.executable` if it is ``None`` or an " -"empty string." -msgstr "" - -#: ../build/NEWS:6732 -msgid "" -"`bpo-35755 `__: :func:`shutil.which` " -"and :func:`distutils.spawn.find_executable` now use ``os.confstr(\"CS_PATH" -"\")`` if available instead of :data:`os.defpath`, if the ``PATH`` " -"environment variable is not set. Moreover, don't use ``os.confstr(\"CS_PATH" -"\")`` nor :data:`os.defpath` if the ``PATH`` environment variable is set to " -"an empty string." -msgstr "" - -#: ../build/NEWS:6739 -msgid "" -"`bpo-25430 `__: improve performance of " -"``IPNetwork.__contains__()``" -msgstr "" - -#: ../build/NEWS:6741 -msgid "" -"`bpo-30485 `__: Path expressions in xml." -"etree.ElementTree can now avoid explicit namespace prefixes for tags (or the " -"\"{namespace}tag\" notation) by passing a default namespace with an empty " -"string prefix." -msgstr "" - -#: ../build/NEWS:6745 -msgid "" -"`bpo-36613 `__: Fix :mod:`asyncio` " -"wait() not removing callback if exception" -msgstr "" - -#: ../build/NEWS:6747 -msgid "" -"`bpo-36598 `__: Fix ``isinstance`` check " -"for Mock objects with spec when the code is executed under tracing. Patch by " -"Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:6750 -msgid "" -"`bpo-18748 `__: In development mode (:" -"option:`-X` ``dev``) and in debug build, the :class:`io.IOBase` destructor " -"now logs ``close()`` exceptions. These exceptions are silent by default in " -"release mode." -msgstr "" - -#: ../build/NEWS:6754 -msgid "" -"`bpo-36575 `__: The ``_lsprof`` module " -"now uses internal timer same to ``time.perf_counter()`` by default. " -"``gettimeofday(2)`` was used on Unix. New timer has better resolution on " -"most Unix platforms and timings are no longer impacted by system clock " -"updates since ``perf_counter()`` is monotonic. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:6760 -msgid "" -"`bpo-33461 `__: ``json.loads`` now emits " -"``DeprecationWarning`` when ``encoding`` option is specified. Patch by " -"Matthias Bussonnier." -msgstr "" - -#: ../build/NEWS:6763 -msgid "" -"`bpo-36559 `__: The random module now " -"prefers the lean internal _sha512 module over hashlib for seed(version=2) to " -"optimize import time." -msgstr "" - -#: ../build/NEWS:6766 -msgid "" -"`bpo-17561 `__: Set backlog=None as the " -"default for socket.create_server." -msgstr "" - -#: ../build/NEWS:6768 -msgid "" -"`bpo-34373 `__: Fix :func:`time.mktime` " -"error handling on AIX for year before 1970." -msgstr "" - -#: ../build/NEWS:6771 -msgid "" -"`bpo-36232 `__: Improve error message " -"when trying to open existing DBM database that actually doesn't exist. Patch " -"by Marco Rougeth." -msgstr "" - -#: ../build/NEWS:6774 -msgid "" -"`bpo-36546 `__: Add statistics." -"quantiles()" -msgstr "" - -#: ../build/NEWS:6776 -msgid "" -"`bpo-36050 `__: Optimized ``http.client." -"HTTPResponse.read()`` for large response. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:6779 -msgid "" -"`bpo-36522 `__: If *debuglevel* is set " -"to >0 in :mod:`http.client`, print all values for headers with multiple " -"values for the same header name. Patch by Matt Houglum." -msgstr "" - -#: ../build/NEWS:6783 -msgid "" -"`bpo-36492 `__: Deprecated passing " -"required arguments like *func* as keyword arguments in functions which " -"should accept arbitrary keyword arguments and pass them to other function. " -"Arbitrary keyword arguments (even with names \"self\" and \"func\") can now " -"be passed to these functions if the required arguments are passed as " -"positional arguments." -msgstr "" - -#: ../build/NEWS:6789 -msgid "" -"`bpo-27181 `__: Add statistics." -"geometric_mean()." -msgstr "" - -#: ../build/NEWS:6791 -msgid "" -"`bpo-30427 `__: ``os.path.normcase()`` " -"relies on ``os.fspath()`` to check the type of its argument. Redundant " -"checks have been removed from its ``posixpath.normcase()`` and ``ntpath." -"normcase()`` implementations. Patch by Wolfgang Maier." -msgstr "" - -#: ../build/NEWS:6796 -msgid "" -"`bpo-36385 `__: Stop rejecting IPv4 " -"octets for being ambiguously octal. Leading zeros are ignored, and no longer " -"are assumed to specify octal octets. Octets are always decimal numbers. " -"Octets must still be no more than three digits, including leading zeroes." -msgstr "" - -#: ../build/NEWS:6801 -msgid "" -"`bpo-36434 `__: Errors during writing to " -"a ZIP file no longer prevent to properly close it." -msgstr "" - -#: ../build/NEWS:6804 -msgid "" -"`bpo-36407 `__: Fixed wrong indentation " -"writing for CDATA section in xml.dom.minidom. Patch by Vladimir Surjaninov." -msgstr "" - -#: ../build/NEWS:6807 -msgid "" -"`bpo-36326 `__: inspect.getdoc() can now " -"find docstrings for member objects when __slots__ is a dictionary." -msgstr "" - -#: ../build/NEWS:6810 -msgid "" -"`bpo-36366 `__: Calling ``stop()`` on an " -"unstarted or stopped :func:`unittest.mock.patch` object will now return " -"`None` instead of raising :exc:`RuntimeError`, making the method idempotent. " -"Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:6815 -msgid "" -"`bpo-36348 `__: The :meth:`imap.IMAP4." -"logout` method no longer ignores silently arbitrary exceptions." -msgstr "" - -#: ../build/NEWS:6818 -msgid "" -"`bpo-31904 `__: Add time module support " -"and fix test_time faiures for VxWorks." -msgstr "" - -#: ../build/NEWS:6820 -msgid "" -"`bpo-36227 `__: Added support for " -"keyword arguments `default_namespace` and `xml_declaration` in functions " -"ElementTree.tostring() and ElementTree.tostringlist()." -msgstr "" - -#: ../build/NEWS:6824 -msgid "" -"`bpo-36004 `__: Added new alternate " -"constructors :meth:`datetime.date.fromisocalendar` and :meth:`datetime." -"datetime.fromisocalendar`, which construct date objects from ISO year, week " -"number and weekday; these are the inverse of each class's ``isocalendar`` " -"method. Patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:6830 -msgid "" -"`bpo-35936 `__: :mod:`modulefinder` no " -"longer depends on the deprecated :mod:`imp` module, and the initializer for :" -"class:`modulefinder.ModuleFinder` now has immutable default arguments. Patch " -"by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:6835 -msgid "" -"`bpo-35376 `__: :mod:`modulefinder` " -"correctly handles modules that have the same name as a bad package. Patch by " -"Brandt Bucher." -msgstr "" - -#: ../build/NEWS:6838 -msgid "" -"`bpo-17396 `__: :mod:`modulefinder` no " -"longer crashes when encountering syntax errors in followed imports. Patch by " -"Brandt Bucher." -msgstr "" - -#: ../build/NEWS:6841 -msgid "" -"`bpo-35934 `__: Added :meth:`~socket." -"create_server()` and :meth:`~socket.has_dualstack_ipv6()` convenience " -"functions to automate the necessary tasks usually involved when creating a " -"server socket, including accepting both IPv4 and IPv6 connections on the " -"same socket. (Contributed by Giampaolo Rodola in :issue:`17561`.)" -msgstr "" - -#: ../build/NEWS:6847 -msgid "" -"`bpo-23078 `__: Add support for :func:" -"`classmethod` and :func:`staticmethod` to :func:`unittest.mock." -"create_autospec`. Initial patch by Felipe Ochoa." -msgstr "" - -#: ../build/NEWS:6850 -msgid "" -"`bpo-35416 `__: Fix potential resource " -"warnings in distutils. Patch by Mickaël Schoentgen." -msgstr "" - -#: ../build/NEWS:6853 -msgid "" -"`bpo-25451 `__: Add transparency methods " -"to :class:`tkinter.PhotoImage`. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:6856 -msgid "" -"`bpo-35082 `__: Don't return deleted " -"attributes when calling dir on a :class:`unittest.mock.Mock`." -msgstr "" - -#: ../build/NEWS:6859 -msgid "" -"`bpo-34547 `__: :class:`wsgiref.handlers." -"BaseHandler` now handles abrupt client connection terminations gracefully. " -"Patch by Petter Strandmark." -msgstr "" - -#: ../build/NEWS:6862 -msgid "" -"`bpo-31658 `__: :func:`xml.sax.parse` " -"now supports :term:`path-like `. Patch by Mickaël " -"Schoentgen." -msgstr "" - -#: ../build/NEWS:6865 -msgid "" -"`bpo-34139 `__: Remove stale unix " -"datagram socket before binding" -msgstr "" - -#: ../build/NEWS:6867 -msgid "" -"`bpo-33530 `__: Implemented Happy " -"Eyeballs in `asyncio.create_connection()`. Added two new arguments, " -"*happy_eyeballs_delay* and *interleave*, to specify Happy Eyeballs behavior." -msgstr "" - -#: ../build/NEWS:6871 -msgid "" -"`bpo-33291 `__: Do not raise " -"AttributeError when calling the inspect functions isgeneratorfunction, " -"iscoroutinefunction, isasyncgenfunction on a method created from an " -"arbitrary callable. Instead, return False." -msgstr "" - -#: ../build/NEWS:6875 -msgid "" -"`bpo-31310 `__: Fix the multiprocessing." -"semaphore_tracker so it is reused by child processes" -msgstr "" - -#: ../build/NEWS:6878 -msgid "" -"`bpo-31292 `__: Fix ``setup.py check --" -"restructuredtext`` for files containing ``include`` directives." -msgstr "" - -#: ../build/NEWS:6884 -msgid "" -"`bpo-36625 `__: Remove obsolete comments " -"from docstrings in fractions.Fraction" -msgstr "" - -#: ../build/NEWS:6886 -msgid "" -"`bpo-30840 `__: Document relative imports" -msgstr "" - -#: ../build/NEWS:6888 -msgid "" -"`bpo-36523 `__: Add docstring for io." -"IOBase.writelines()." -msgstr "" - -#: ../build/NEWS:6890 -msgid "" -"`bpo-36425 `__: New documentation " -"translation: `Simplified Chinese `_." -msgstr "" - -#: ../build/NEWS:6893 -msgid "" -"`bpo-36345 `__: Avoid the duplication of " -"code from ``Tools/scripts/serve.py`` in using the :rst:dir:`literalinclude` " -"directive for the basic wsgiref-based web server in the documentation of :" -"mod:`wsgiref`. Contributed by Stéphane Wirtel." -msgstr "" - -#: ../build/NEWS:6898 -msgid "" -"`bpo-36345 `__: Using the code of the " -"``Tools/scripts/serve.py`` script as an example in the :mod:`wsgiref` " -"documentation. Contributed by Stéphane Wirtel." -msgstr "" - -#: ../build/NEWS:6902 -msgid "" -"`bpo-36157 `__: Added Documention for " -"PyInterpreterState_Main()." -msgstr "" - -#: ../build/NEWS:6904 -msgid "" -"`bpo-33043 `__: Updates the docs.python." -"org page with the addition of a 'Contributing to Docs' link at the end of " -"the page (between 'Reporting Bugs' and 'About Documentation'). Updates the " -"'Found a Bug' page with additional links and information in the " -"Documentation Bugs section." -msgstr "" - -#: ../build/NEWS:6909 -msgid "" -"`bpo-35581 `__: @typing.type_check_only " -"now allows type stubs to mark functions and classes not available during " -"runtime." -msgstr "" - -#: ../build/NEWS:6912 -msgid "" -"`bpo-33832 `__: Add glossary entry for " -"'magic method'." -msgstr "" - -#: ../build/NEWS:6914 -msgid "" -"`bpo-32913 `__: Added re.Match.groupdict " -"example to regex HOWTO." -msgstr "" - -#: ../build/NEWS:6919 -msgid "" -"`bpo-36719 `__: regrtest now always " -"detects uncollectable objects. Previously, the check was only enabled by ``--" -"findleaks``. The check now also works with ``-jN/--multiprocess N``. ``--" -"findleaks`` becomes a deprecated alias to ``--fail-env-changed``." -msgstr "" - -#: ../build/NEWS:6924 -msgid "" -"`bpo-36725 `__: When using " -"multiprocessing mode (-jN), regrtest now better reports errors if a worker " -"process fails, and it exits immediately on a worker thread failure or when " -"interrupted." -msgstr "" - -#: ../build/NEWS:6928 -msgid "" -"`bpo-36454 `__: Change test_time." -"test_monotonic() to test only the lower bound of elapsed time after a sleep " -"command rather than the upper bound. This prevents unnecessary test failures " -"on slow buildbots. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:6933 -msgid "" -"`bpo-32424 `__: Improve test coverage " -"for xml.etree.ElementTree. Patch by Gordon P. Hemsley." -msgstr "" - -#: ../build/NEWS:6936 -msgid "" -"`bpo-32424 `__: Fix typo in " -"test_cyclic_gc() test for xml.etree.ElementTree. Patch by Gordon P. Hemsley." -msgstr "" - -#: ../build/NEWS:6939 -msgid "" -"`bpo-36635 `__: Add a new :mod:" -"`_testinternalcapi` module to test the internal C API." -msgstr "" - -#: ../build/NEWS:6942 -msgid "" -"`bpo-36629 `__: Fix " -"``test_imap4_host_default_value()`` of ``test_imaplib``: catch also :data:" -"`errno.ENETUNREACH` error." -msgstr "" - -#: ../build/NEWS:6945 -msgid "" -"`bpo-36611 `__: Fix ``test_sys." -"test_getallocatedblocks()`` when :mod:`tracemalloc` is enabled." -msgstr "" - -#: ../build/NEWS:6948 -msgid "" -"`bpo-36560 `__: Fix reference leak " -"hunting in regrtest: compute also deltas (of reference count, allocated " -"memory blocks, file descriptor count) during warmup, to ensure that " -"everything is initialized before starting to hunt reference leaks." -msgstr "" - -#: ../build/NEWS:6953 -msgid "" -"`bpo-36565 `__: Fix reference hunting " -"(``python3 -m test -R 3:3``) when Python has no built-in abc module." -msgstr "" - -#: ../build/NEWS:6956 -msgid "" -"`bpo-31904 `__: Port test_resource to " -"VxWorks: skip tests cases setting RLIMIT_FSIZE and RLIMIT_CPU." -msgstr "" - -#: ../build/NEWS:6959 -msgid "" -"`bpo-31904 `__: Fix test_tabnanny on " -"VxWorks: adjust ENOENT error message." -msgstr "" - -#: ../build/NEWS:6961 -msgid "" -"`bpo-36436 `__: Fix ``_testcapi." -"pymem_buffer_overflow()``: handle memory allocation failure." -msgstr "" - -#: ../build/NEWS:6964 -msgid "" -"`bpo-31904 `__: Fix test_utf8_mode on " -"VxWorks: Python always use UTF-8 on VxWorks." -msgstr "" - -#: ../build/NEWS:6967 -msgid "" -"`bpo-36341 `__: Fix tests that may fail " -"with PermissionError upon calling bind() on AF_UNIX sockets." -msgstr "" - -#: ../build/NEWS:6973 -msgid "" -"`bpo-36747 `__: Remove the stale " -"scriptsinstall Makefile target." -msgstr "" - -#: ../build/NEWS:6975 -msgid "" -"`bpo-21536 `__: On Unix, C extensions " -"are no longer linked to libpython except on Android and Cygwin." -msgstr "" - -#: ../build/NEWS:6978 -msgid "" -"It is now possible for a statically linked Python to load a C extension " -"built using a shared library Python." -msgstr "" - -#: ../build/NEWS:6981 -msgid "" -"When Python is embedded, ``libpython`` must not be loaded with " -"``RTLD_LOCAL``, but ``RTLD_GLOBAL`` instead. Previously, using " -"``RTLD_LOCAL``, it was already not possible to load C extensions which were " -"not linked to ``libpython``, such as C extensions of the standard library " -"built by the ``*shared*`` section of ``Modules/Setup``." -msgstr "" - -#: ../build/NEWS:6987 -msgid "distutils, python-config and python-config.py have been modified." -msgstr "" - -#: ../build/NEWS:6989 -msgid "" -"`bpo-36707 `__: ``./configure --with-" -"pymalloc`` no longer adds the ``m`` flag to SOABI (sys.implementation." -"cache_tag). Enabling or disabling pymalloc has no impact on the ABI." -msgstr "" - -#: ../build/NEWS:6993 -msgid "" -"`bpo-36635 `__: Change " -"``PyAPI_FUNC(type)``, ``PyAPI_DATA(type)`` and ``PyMODINIT_FUNC`` macros of " -"``pyport.h`` when ``Py_BUILD_CORE_MODULE`` is defined. The " -"``Py_BUILD_CORE_MODULE`` define must be now be used to build a C extension " -"as a dynamic library accessing Python internals: export the PyInit_xxx() " -"function in DLL exports on Windows." -msgstr "" - -#: ../build/NEWS:6999 -msgid "" -"`bpo-31904 `__: Don't build the " -"``_crypt`` extension on VxWorks." -msgstr "" - -#: ../build/NEWS:7001 -msgid "" -"`bpo-36618 `__: Add ``-fmax-type-" -"align=8`` to CFLAGS when clang compiler is detected. The pymalloc memory " -"allocator aligns memory on 8 bytes. On x86-64, clang expects alignment on 16 " -"bytes by default and so uses MOVAPS instruction which can lead to " -"segmentation fault. Instruct clang that Python is limited to alignment on 8 " -"bytes to use MOVUPS instruction instead: slower but don't trigger a SIGSEGV " -"if the memory is not aligned on 16 bytes. Sadly, the flag must be added to " -"``CFLAGS`` and not just ``CFLAGS_NODIST``, since third party C extensions " -"can have the same issue." -msgstr "" - -#: ../build/NEWS:7010 -msgid "" -"`bpo-36605 `__: ``make tags`` and ``make " -"TAGS`` now also parse ``Modules/_io/*.c`` and ``Modules/_io/*.h``." -msgstr "" - -#: ../build/NEWS:7013 -msgid "" -"`bpo-36465 `__: Release builds and debug " -"builds are now ABI compatible: defining the ``Py_DEBUG`` macro no longer " -"implies the ``Py_TRACE_REFS`` macro, which introduces the only ABI " -"incompatibility. The ``Py_TRACE_REFS`` macro, which adds the :func:`sys." -"getobjects` function and the :envvar:`PYTHONDUMPREFS` environment variable, " -"can be set using the new ``./configure --with-trace-refs`` build option." -msgstr "" - -#: ../build/NEWS:7020 -msgid "" -"`bpo-36577 `__: setup.py now correctly " -"reports missing OpenSSL headers and libraries again." -msgstr "" - -#: ../build/NEWS:7023 -msgid "" -"`bpo-36544 `__: Fix regression " -"introduced in `bpo-36146 `__ refactoring " -"setup.py" -msgstr "" - -#: ../build/NEWS:7025 -msgid "" -"`bpo-36508 `__: ``python-config --" -"ldflags`` no longer includes flags of the ``LINKFORSHARED`` variable. The " -"``LINKFORSHARED`` variable must only be used to build executables." -msgstr "" - -#: ../build/NEWS:7029 -msgid "" -"`bpo-36503 `__: Remove references to " -"\"aix3\" and \"aix4\". Patch by M. Felt." -msgstr "" - -#: ../build/NEWS:7034 -msgid "" -"`bpo-35920 `__: Added platform." -"win32_edition() and platform.win32_is_iot(). Added support for cross-" -"compiling packages for Windows ARM32. Skip tests that are not expected to " -"work on Windows IoT Core ARM32." -msgstr "" - -#: ../build/NEWS:7038 -msgid "" -"`bpo-36649 `__: Remove trailing spaces " -"for registry keys when installed via the Store." -msgstr "" - -#: ../build/NEWS:7041 -msgid "" -"`bpo-34144 `__: Fixed activate.bat to " -"correctly update codepage when chcp.com returns dots in output. Patch by " -"Lorenz Mende." -msgstr "" - -#: ../build/NEWS:7044 -msgid "" -"`bpo-36509 `__: Added preset-iot layout " -"for Windows IoT ARM containers. This layout doesn't contain UI components " -"like tkinter or IDLE. It also doesn't contain files to support on-target " -"builds since Windows ARM32 builds must be cross-compiled when using MSVC." -msgstr "" - -#: ../build/NEWS:7049 -msgid "" -"`bpo-35941 `__: enum_certificates " -"function of the ssl module now returns certificates from all available " -"certificate stores inside windows in a query instead of returning only " -"certificates from the system wide certificate store. This includes " -"certificates from these certificate stores: local machine, local machine " -"enterprise, local machine group policy, current user, current user group " -"policy, services, users. ssl.enum_crls() function is changed in the same way " -"to return all certificate revocation lists inside the windows certificate " -"revocation list stores." -msgstr "" - -#: ../build/NEWS:7059 -msgid "" -"`bpo-36441 `__: Fixes creating a venv " -"when debug binaries are installed." -msgstr "" - -#: ../build/NEWS:7061 -msgid "" -"`bpo-36085 `__: Enable better DLL " -"resolution on Windows by using safe DLL search paths and adding :func:`os." -"add_dll_directory`." -msgstr "" - -#: ../build/NEWS:7064 -msgid "" -"`bpo-36010 `__: Add the venv standard " -"library module to the nuget distribution for Windows." -msgstr "" - -#: ../build/NEWS:7067 -msgid "" -"`bpo-29515 `__: Add the following socket " -"module constants on Windows: IPPROTO_AH IPPROTO_CBT IPPROTO_DSTOPTS " -"IPPROTO_EGP IPPROTO_ESP IPPROTO_FRAGMENT IPPROTO_GGP IPPROTO_HOPOPTS " -"IPPROTO_ICLFXBM IPPROTO_ICMPV6 IPPROTO_IDP IPPROTO_IGMP IPPROTO_IGP " -"IPPROTO_IPV4 IPPROTO_IPV6 IPPROTO_L2TP IPPROTO_MAX IPPROTO_ND IPPROTO_NONE " -"IPPROTO_PGM IPPROTO_PIM IPPROTO_PUP IPPROTO_RDP IPPROTO_ROUTING IPPROTO_SCTP " -"IPPROTO_ST" -msgstr "" - -#: ../build/NEWS:7075 -msgid "" -"`bpo-35947 `__: Added current version of " -"libffi to cpython-source-deps. Change _ctypes to use current version of " -"libffi on Windows." -msgstr "" - -#: ../build/NEWS:7078 -msgid "" -"`bpo-34060 `__: Report system load when " -"running test suite on Windows. Patch by Ammar Askar. Based on prior work by " -"Jeremy Kloth." -msgstr "" - -#: ../build/NEWS:7081 -msgid "" -"`bpo-31512 `__: With the Windows 10 " -"Creators Update, non-elevated users can now create symlinks as long as the " -"computer has Developer Mode enabled." -msgstr "" - -#: ../build/NEWS:7087 -msgid "" -"`bpo-34602 `__: Avoid failures setting " -"macOS stack resource limit with resource.setrlimit. This reverts an earlier " -"fix for `bpo-18075 `__ which forced a " -"non-default stack size when building the interpreter executable on macOS." -msgstr "" - -#: ../build/NEWS:7095 -msgid "" -"`bpo-36429 `__: Fix starting IDLE with " -"pyshell. Add idlelib.pyshell alias at top; remove pyshell alias at bottom. " -"Remove obsolete __name__=='__main__' command." -msgstr "" - -#: ../build/NEWS:7102 -msgid "" -"`bpo-14546 `__: Fix the argument " -"handling in Tools/scripts/lll.py." -msgstr "" - -#: ../build/NEWS:7107 -msgid "" -"`bpo-36763 `__: Fix memory leak in :c:" -"func:`Py_SetStandardStreamEncoding`: release memory if the function is " -"called twice." -msgstr "" - -#: ../build/NEWS:7110 -msgid "" -"`bpo-36641 `__: :c:macro:" -"`PyDoc_VAR(name)` and :c:macro:`PyDoc_STRVAR(name,str)` now create ``static " -"const char name[]`` instead of ``static char name[]``. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:7114 -msgid "" -"`bpo-36389 `__: Change the value of " -"``CLEANBYTE``, ``DEADDYTE`` and ``FORBIDDENBYTE`` internal constants used by " -"debug hooks on Python memory allocators (:c:func:`PyMem_SetupDebugHooks` " -"function). Byte patterns ``0xCB``, ``0xDB`` and ``0xFB`` have been replaced " -"with ``0xCD``, ``0xDD`` and ``0xFD`` to use the same values than Windows CRT " -"debug ``malloc()`` and ``free()``." -msgstr "" - -#: ../build/NEWS:7121 -msgid "" -"`bpo-36443 `__: Since Python 3.7.0, " -"calling :c:func:`Py_DecodeLocale` before :c:func:`Py_Initialize` produces " -"mojibake if the ``LC_CTYPE`` locale is coerced and/or if the UTF-8 Mode is " -"enabled by the user configuration. The LC_CTYPE coercion and UTF-8 Mode are " -"now disabled by default to fix the mojibake issue. They must now be enabled " -"explicitly (opt-in) using the new :c:func:`_Py_PreInitialize` API with " -"``_PyPreConfig``." -msgstr "" - -#: ../build/NEWS:7128 -msgid "" -"`bpo-36025 `__: Fixed an accidental " -"change to the datetime C API where the arguments to the :c:func:" -"`PyDate_FromTimestamp` function were incorrectly interpreted as a single " -"timestamp rather than an arguments tuple, which causes existing code to " -"start raising :exc:`TypeError`. The backwards-incompatible change was only " -"present in alpha releases of Python 3.8. Patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:7135 -msgid "" -"`bpo-35810 `__: Modify ``PyObject_Init`` " -"to correctly increase the refcount of heap- allocated Type objects. Also fix " -"the refcounts of the heap-allocated types that were either doing this " -"manually or not decreasing the type's refcount in tp_dealloc" -msgstr "" - -#: ../build/NEWS:7142 -msgid "Python 3.8.0 alpha 3" -msgstr "" - -#: ../build/NEWS:7144 -msgid "*Release date: 2019-03-25*" -msgstr "" - -#: ../build/NEWS:7149 -msgid "" -"`bpo-36216 `__: Changes urlsplit() to " -"raise ValueError when the URL contains characters that decompose under IDNA " -"encoding (NFKC-normalization) into characters that affect how the URL is " -"parsed." -msgstr "" - -#: ../build/NEWS:7153 -msgid "" -"`bpo-35121 `__: Don't send cookies of " -"domain A without Domain attribute to domain B when domain A is a suffix " -"match of domain B while using a cookiejar with :class:`http.cookiejar." -"DefaultCookiePolicy` policy. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:7161 -msgid "" -"`bpo-36421 `__: Fix a possible double " -"decref in _ctypes.c's ``PyCArrayType_new()``." -msgstr "" - -#: ../build/NEWS:7164 -msgid "" -"`bpo-36412 `__: Fix a possible crash " -"when creating a new dictionary." -msgstr "" - -#: ../build/NEWS:7166 -msgid "" -"`bpo-36398 `__: Fix a possible crash in " -"``structseq_repr()``." -msgstr "" - -#: ../build/NEWS:7168 -msgid "" -"`bpo-36256 `__: Fix bug in parsermodule " -"when parsing a state in a DFA that has two or more arcs with labels of the " -"same type. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7171 -msgid "" -"`bpo-36365 `__: repr(structseq) is no " -"longer limited to 512 bytes." -msgstr "" - -#: ../build/NEWS:7173 -msgid "" -"`bpo-36374 `__: Fix a possible null " -"pointer dereference in ``merge_consts_recursive()``. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7176 -msgid "" -"`bpo-36236 `__: At Python " -"initialization, the current directory is no longer prepended to :data:`sys." -"path` if it has been removed." -msgstr "" - -#: ../build/NEWS:7179 -msgid "" -"`bpo-36352 `__: Python initialization " -"now fails with an error, rather than silently truncating paths, if a path is " -"too long." -msgstr "" - -#: ../build/NEWS:7182 -msgid "" -"`bpo-36301 `__: Python initialization " -"now fails if decoding ``pybuilddir.txt`` configuration file fails at startup." -msgstr "" - -#: ../build/NEWS:7185 -msgid "" -"`bpo-36333 `__: Fix leak in " -"_PyRuntimeState_Fini. Contributed by Stéphane Wirtel." -msgstr "" - -#: ../build/NEWS:7188 -msgid "" -"`bpo-36332 `__: The builtin :func:" -"`compile` can now handle AST objects that contain assignment expressions. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7191 -msgid "" -"`bpo-36282 `__: Improved error message " -"for too much positional arguments in some builtin functions." -msgstr "" - -#: ../build/NEWS:7194 -msgid "" -"`bpo-30040 `__: New empty dict uses " -"fewer memory for now. It used more memory than empty dict created by ``dict." -"clear()``. And empty dict creation and deletion is about 2x faster. Patch " -"by Inada Naoki." -msgstr "" - -#: ../build/NEWS:7198 -msgid "" -"`bpo-36262 `__: Fix an unlikely memory " -"leak on conversion from string to float in the function ``_Py_dg_strtod()`` " -"used by ``float(str)``, ``complex(str)``, :func:`pickle.load`, :func:" -"`marshal.load`, etc." -msgstr "" - -#: ../build/NEWS:7202 -msgid "" -"`bpo-36252 `__: Update Unicode databases " -"to version 12.0.0." -msgstr "" - -#: ../build/NEWS:7204 -msgid "" -"`bpo-36218 `__: Fix a segfault occurring " -"when sorting a list of heterogeneous values. Patch contributed by Rémi " -"Lapeyre and Elliot Gorokhovsky." -msgstr "" - -#: ../build/NEWS:7207 -msgid "" -"`bpo-36188 `__: Cleaned up left-over " -"vestiges of Python 2 unbound method handling in method objects and " -"documentation. Patch by Martijn Pieters" -msgstr "" - -#: ../build/NEWS:7210 -msgid "" -"`bpo-36124 `__: Add a new interpreter-" -"specific dict and expose it in the C-API via PyInterpreterState_GetDict(). " -"This parallels PyThreadState_GetDict(). However, extension modules should " -"continue using PyModule_GetState() for their own internal per-interpreter " -"state." -msgstr "" - -#: ../build/NEWS:7215 -msgid "" -"`bpo-35975 `__: Add a " -"``feature_version`` flag to ``ast.parse()`` (documented) and ``compile()`` " -"(hidden) that allows tweaking the parser to support older versions of the " -"grammar. In particular, if ``feature_version`` is 5 or 6, the hacks for the " -"``async`` and ``await`` keyword from PEP 492 are reinstated. (For 7 or " -"higher, these are unconditionally treated as keywords, but they are still " -"special tokens rather than ``NAME`` tokens that the parser driver " -"recognizes.)" -msgstr "" - -#: ../build/NEWS:7223 -msgid "" -"`bpo-31904 `__: Use UTF-8 as the system " -"encoding on VxWorks." -msgstr "" - -#: ../build/NEWS:7225 -msgid "" -"`bpo-36048 `__: The :meth:`~object." -"__index__` special method will be used instead of :meth:`~object.__int__` " -"for implicit conversion of Python numbers to C integers. Using the " -"``__int__()`` method in implicit conversions has been deprecated." -msgstr "" - -#: ../build/NEWS:7230 -msgid "" -"`bpo-35808 `__: Retire pgen and use a " -"modified version of pgen2 to generate the parser. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7236 -msgid "" -"`bpo-36401 `__: The class documentation " -"created by pydoc now has a separate section for readonly properties." -msgstr "" - -#: ../build/NEWS:7239 -msgid "" -"`bpo-36320 `__: The typing.NamedTuple() " -"class has deprecated the _field_types attribute in favor of the " -"__annotations__ attribute which carried the same information. Also, both " -"attributes were converted from OrderedDict to a regular dict." -msgstr "" - -#: ../build/NEWS:7244 -msgid "" -"`bpo-34745 `__: Fix :mod:`asyncio` ssl " -"memory issues caused by circular references" -msgstr "" - -#: ../build/NEWS:7247 -msgid "" -"`bpo-36324 `__: Add method to statistics." -"NormalDist for computing the inverse cumulative normal distribution." -msgstr "" - -#: ../build/NEWS:7250 -msgid "" -"`bpo-36321 `__: collections.namedtuple() " -"misspelled the name of an attribute. To be consistent with typing." -"NamedTuple, the attribute name should have been \"_field_defaults\" instead " -"of \"_fields_defaults\". For backwards compatibility, both spellings are " -"now created. The misspelled version may be removed in the future." -msgstr "" - -#: ../build/NEWS:7256 -msgid "" -"`bpo-36297 `__: \"unicode_internal\" " -"codec is removed. It was deprecated since Python 3.3. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:7259 -msgid "" -"`bpo-36298 `__: Raise " -"ModuleNotFoundError in pyclbr when a module can't be found. Thanks to " -"'mental' for the bug report." -msgstr "" - -#: ../build/NEWS:7262 -msgid "" -"`bpo-36268 `__: Switch the default " -"format used for writing tars with mod:`tarfile` to the modern POSIX.1-2001 " -"pax standard, from the vendor-specific GNU. Contributed by C.A.M. Gerlach." -msgstr "" - -#: ../build/NEWS:7266 -msgid "" -"`bpo-36285 `__: Fix integer overflows in " -"the array module. Patch by Stephan Hohe." -msgstr "" - -#: ../build/NEWS:7269 -msgid "" -"`bpo-31904 `__: Add _signal module " -"support for VxWorks." -msgstr "" - -#: ../build/NEWS:7271 -msgid "" -"`bpo-36272 `__: :mod:`logging` does not " -"silently ignore RecursionError anymore. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:7274 -msgid "" -"`bpo-36280 `__: Add a kind field to ast." -"Constant. It is 'u' if the literal has a 'u' prefix (i.e. a Python 2 style " -"unicode literal), else None." -msgstr "" - -#: ../build/NEWS:7277 -msgid "" -"`bpo-35931 `__: The :mod:`pdb` ``debug`` " -"command now gracefully handles all exceptions." -msgstr "" - -#: ../build/NEWS:7280 -msgid "" -"`bpo-36251 `__: Fix format strings used " -"for stderrprinter and re.Match reprs. Patch by Stephan Hohe." -msgstr "" - -#: ../build/NEWS:7283 -msgid "" -"`bpo-36235 `__: Fix ``CFLAGS`` in " -"``customize_compiler()`` of ``distutils.sysconfig``: when the ``CFLAGS`` " -"environment variable is defined, don't override ``CFLAGS`` variable with the " -"``OPT`` variable anymore. Initial patch written by David Malcolm." -msgstr "" - -#: ../build/NEWS:7288 -msgid "" -"`bpo-35807 `__: Update ensurepip to " -"install pip 19.0.3 and setuptools 40.8.0." -msgstr "" - -#: ../build/NEWS:7290 -msgid "" -"`bpo-36139 `__: Release GIL when " -"closing :class:`~mmap.mmap` objects." -msgstr "" - -#: ../build/NEWS:7292 -msgid "" -"`bpo-36179 `__: Fix two unlikely " -"reference leaks in _hashopenssl. The leaks only occur in out-of-memory cases." -msgstr "" - -#: ../build/NEWS:7295 -msgid "" -"`bpo-36169 `__: Add overlap() method to " -"statistics.NormalDist. Computes the overlapping coefficient for two normal " -"distributions." -msgstr "" - -#: ../build/NEWS:7298 -msgid "" -"`bpo-36103 `__: Default buffer size used " -"by ``shutil.copyfileobj()`` is changed from 16 KiB to 64 KiB on non-Windows " -"platform to reduce system call overhead. Contributed by Inada Naoki." -msgstr "" - -#: ../build/NEWS:7302 -msgid "" -"`bpo-36130 `__: Fix ``pdb`` with " -"``skip=...`` when stepping into a frame without a ``__name__`` global. " -"Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:7305 -msgid "" -"`bpo-35652 `__: shutil." -"copytree(copy_function=...) erroneously pass DirEntry instead of a path " -"string." -msgstr "" - -#: ../build/NEWS:7308 -msgid "" -"`bpo-35178 `__: Ensure custom :func:" -"`warnings.formatwarning` function can receive `line` as positional argument. " -"Based on patch by Tashrif Billah." -msgstr "" - -#: ../build/NEWS:7311 -msgid "" -"`bpo-36106 `__: Resolve potential name " -"clash with libm's sinpi(). Patch by Dmitrii Pasechnik." -msgstr "" - -#: ../build/NEWS:7314 -msgid "" -"`bpo-36091 `__: Clean up reference to " -"async generator in Lib/types. Patch by Henry Chen." -msgstr "" - -#: ../build/NEWS:7317 -msgid "" -"`bpo-36043 `__: :class:`FileCookieJar` " -"supports :term:`path-like object`. Contributed by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:7320 -msgid "" -"`bpo-35899 `__: Enum has been fixed to " -"correctly handle empty strings and strings with non-Latin characters (ie. " -"'α', 'א') without crashing. Original patch contributed by Maxwell. Assisted " -"by Stéphane Wirtel." -msgstr "" - -#: ../build/NEWS:7324 -msgid "" -"`bpo-21269 `__: Add ``args`` and " -"``kwargs`` properties to mock call objects. Contributed by Kumar Akshay." -msgstr "" - -#: ../build/NEWS:7327 -msgid "" -"`bpo-30670 `__: `pprint.pp` has been " -"added to pretty-print objects with dictionary keys being sorted with their " -"insertion order by default. Parameter *sort_dicts* has been added to `pprint." -"pprint`, `pprint.pformat` and `pprint.PrettyPrinter`. Contributed by Rémi " -"Lapeyre." -msgstr "" - -#: ../build/NEWS:7332 -msgid "" -"`bpo-35843 `__: Implement " -"``__getitem__`` for ``_NamespacePath``. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:7335 -msgid "" -"`bpo-35802 `__: Clean up code which " -"checked presence of ``os.stat`` / ``os.lstat`` / ``os.chmod`` which are " -"always present. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:7339 -msgid "" -"`bpo-35715 `__: Librates the return " -"value of a ProcessPoolExecutor _process_worker after it's no longer needed " -"to free memory" -msgstr "" - -#: ../build/NEWS:7342 -msgid "" -"`bpo-35493 `__: Use :func:" -"`multiprocessing.connection.wait` instead of polling each 0.2 seconds for " -"worker updates in :class:`multiprocessing.Pool`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7346 -msgid "" -"`bpo-35661 `__: Store the venv prompt in " -"pyvenv.cfg." -msgstr "" - -#: ../build/NEWS:7348 -msgid "" -"`bpo-35121 `__: Don't set cookie for a " -"request when the request path is a prefix match of the cookie's path " -"attribute but doesn't end with \"/\". Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:7352 -msgid "" -"`bpo-21478 `__: Calls to a child " -"function created with :func:`unittest.mock.create_autospec` should propagate " -"to the parent. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:7356 -msgid "" -"`bpo-35198 `__: Fix C++ extension " -"compilation on AIX" -msgstr "" - -#: ../build/NEWS:7361 -msgid "" -"`bpo-36329 `__: Declare the path of the " -"Python binary for the usage of ``Tools/scripts/serve.py`` when executing " -"``make -C Doc/ serve``. Contributed by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:7365 -msgid "" -"`bpo-36138 `__: Improve documentation " -"about converting datetime.timedelta to scalars." -msgstr "" - -#: ../build/NEWS:7368 -msgid "" -"`bpo-21314 `__: A new entry was added to " -"the Core Language Section of the Programming FAQ, which explaines the usage " -"of slash(/) in the signature of a function. Patch by Lysandros Nikolaou" -msgstr "" - -#: ../build/NEWS:7375 -msgid "" -"`bpo-36234 `__: test_posix." -"PosixUidGidTests: add tests for invalid uid/gid type (str). Initial patch " -"written by David Malcolm." -msgstr "" - -#: ../build/NEWS:7378 -msgid "" -"`bpo-29571 `__: Fix ``test_re." -"test_locale_flag()``: use ``locale.getpreferredencoding()`` rather than " -"``locale.getlocale()`` to get the locale encoding. With some locales, " -"``locale.getlocale()`` returns the wrong encoding." -msgstr "" - -#: ../build/NEWS:7383 -msgid "" -"`bpo-36123 `__: Fix race condition in " -"test_socket." -msgstr "" - -#: ../build/NEWS:7388 -msgid "" -"`bpo-36356 `__: Fix leaks that led to " -"build failure when configured with address sanitizer." -msgstr "" - -#: ../build/NEWS:7391 -msgid "" -"`bpo-36146 `__: Add ``TEST_EXTENSIONS`` " -"constant to ``setup.py`` to allow to not build test extensions like " -"``_testcapi``." -msgstr "" - -#: ../build/NEWS:7394 -msgid "" -"`bpo-36146 `__: Fix setup.py on macOS: " -"only add ``/usr/include/ffi`` to include directories of _ctypes, not for all " -"extensions." -msgstr "" - -#: ../build/NEWS:7397 -msgid "" -"`bpo-31904 `__: Enable build system to " -"cross-build for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:7402 -msgid "" -"`bpo-36312 `__: Fixed decoders for the " -"following code pages: 50220, 50221, 50222, 50225, 50227, 50229, 57002 " -"through 57011, 65000 and 42." -msgstr "" - -#: ../build/NEWS:7405 -msgid "" -"`bpo-36264 `__: Don't honor POSIX " -"``HOME`` in ``os.path.expanduser`` on windows. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:7408 -msgid "" -"`bpo-24643 `__: Fix name collisions due " -"to ``#define timezone _timezone`` in PC/pyconfig.h." -msgstr "" - -#: ../build/NEWS:7414 -msgid "" -"`bpo-36405 `__: Use dict unpacking in " -"idlelib." -msgstr "" - -#: ../build/NEWS:7416 -msgid "" -"`bpo-36396 `__: Remove fgBg param of " -"idlelib.config.GetHighlight(). This param was only used twice and changed " -"the return type." -msgstr "" - -#: ../build/NEWS:7419 -msgid "" -"`bpo-36176 `__: Fix IDLE autocomplete & " -"calltip popup colors. Prevent conflicts with Linux dark themes (and slightly " -"darken calltip background)." -msgstr "" - -#: ../build/NEWS:7422 -msgid "" -"`bpo-23205 `__: For the grep module, add " -"tests for findfiles, refactor findfiles to be a module-level function, and " -"refactor findfiles to use os.walk." -msgstr "" - -#: ../build/NEWS:7426 -msgid "" -"`bpo-23216 `__: Add docstrings to IDLE " -"search modules." -msgstr "" - -#: ../build/NEWS:7428 -msgid "" -"`bpo-36152 `__: Remove colorizer." -"ColorDelegator.close_when_done and the corresponding argument of .close(). " -"In IDLE, both have always been None or False since 2007." -msgstr "" - -#: ../build/NEWS:7432 -msgid "" -"`bpo-32129 `__: Avoid blurry IDLE " -"application icon on macOS with Tk 8.6. Patch by Kevin Walzer." -msgstr "" - -#: ../build/NEWS:7435 -msgid "" -"`bpo-36096 `__: Refactor class variables " -"to instance variables in colorizer." -msgstr "" - -#: ../build/NEWS:7437 -msgid "" -"`bpo-30348 `__: Increase test coverage " -"of idlelib.autocomplete by 30%. Patch by Louie Lu" -msgstr "" - -#: ../build/NEWS:7443 -msgid "" -"`bpo-35132 `__: Fix py-list and py-bt " -"commands of python-gdb.py on gdb7." -msgstr "" - -#: ../build/NEWS:7445 -msgid "" -"`bpo-32217 `__: Fix freeze script on " -"Windows." -msgstr "" - -#: ../build/NEWS:7450 -msgid "" -"`bpo-36381 `__: Raise " -"``DeprecationWarning`` when '#' formats are used for building or parsing " -"values without ``PY_SSIZE_T_CLEAN``." -msgstr "" - -#: ../build/NEWS:7453 -msgid "" -"`bpo-36142 `__: The whole coreconfig.h " -"header is now excluded from Py_LIMITED_API. Move functions definitions into " -"a new internal pycore_coreconfig.h header." -msgstr "" - -#: ../build/NEWS:7459 -msgid "Python 3.8.0 alpha 2" -msgstr "" - -#: ../build/NEWS:7461 -msgid "*Release date: 2019-02-25*" -msgstr "" - -#: ../build/NEWS:7466 -msgid "" -"`bpo-36052 `__: Raise a :exc:" -"`SyntaxError` when assigning a value to `__debug__` with the Assignment " -"Operator. Contributed by Stéphane Wirtel and Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7470 -msgid "" -"`bpo-36012 `__: Doubled the speed of " -"class variable writes. When a non-dunder attribute was updated, there was " -"an unnecessary call to update slots." -msgstr "" - -#: ../build/NEWS:7473 -msgid "" -"`bpo-35942 `__: The error message " -"emitted when returning invalid types from ``__fspath__`` in interfaces that " -"allow passing :class:`~os.PathLike` objects has been improved and now it " -"does explain the origin of the error." -msgstr "" - -#: ../build/NEWS:7477 -msgid "" -"`bpo-36016 `__: ``gc.get_objects`` can " -"now receive an optional parameter indicating a generation to get objects " -"from. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7480 -msgid "" -"`bpo-1054041 `__: When the main " -"interpreter exits due to an uncaught KeyboardInterrupt, the process now " -"exits in the appropriate manner for its parent process to detect that a " -"SIGINT or ^C terminated the process. This allows shells and batch scripts " -"to understand that the user has asked them to stop." -msgstr "" - -#: ../build/NEWS:7486 -msgid "" -"`bpo-35992 `__: Fix " -"``__class_getitem__()`` not being called on a class with a custom non-" -"subscriptable metaclass." -msgstr "" - -#: ../build/NEWS:7489 -msgid "" -"`bpo-35993 `__: Fix a crash on fork when " -"using subinterpreters. Contributed by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:7492 -msgid "" -"`bpo-35991 `__: Fix a potential double " -"free in Modules/_randommodule.c." -msgstr "" - -#: ../build/NEWS:7494 -msgid "" -"`bpo-35961 `__: Fix a crash in " -"slice_richcompare(): use strong references rather than stolen references for " -"the two temporary internal tuples." -msgstr "" - -#: ../build/NEWS:7497 -msgid "" -"`bpo-35911 `__: Enable the creation of " -"cell objects by adding a ``cell.__new__`` method, and expose the type " -"``cell`` in ``Lib/types.py`` under the name CellType. Patch by Pierre Glaser." -msgstr "" - -#: ../build/NEWS:7501 -msgid "" -"`bpo-12822 `__: Use monotonic clock for " -"``pthread_cond_timedwait`` when ``pthread_condattr_setclock`` and " -"``CLOCK_MONOTONIC`` are available." -msgstr "" - -#: ../build/NEWS:7504 -msgid "" -"`bpo-15248 `__: The compiler emits now " -"syntax warnings in the case when a comma is likely missed before tuple or " -"list." -msgstr "" - -#: ../build/NEWS:7507 -msgid "" -"`bpo-35886 `__: The implementation of " -"PyInterpreterState has been moved into the internal header files (guarded by " -"Py_BUILD_CORE)." -msgstr "" - -#: ../build/NEWS:7510 -msgid "" -"`bpo-31506 `__: Clarify the errors " -"reported when ``object.__new__`` and ``object.__init__`` receive more than " -"one argument. Contributed by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:7514 -msgid "" -"`bpo-35724 `__: Signal-handling is now " -"guaranteed to happen relative to the main interpreter." -msgstr "" - -#: ../build/NEWS:7517 -msgid "" -"`bpo-33608 `__: We added a new internal " -"_Py_AddPendingCall() that operates relative to the provided interpreter. " -"This allows us to use the existing implementation to ask another interpreter " -"to do work that cannot be done in the current interpreter, like decref an " -"object the other interpreter owns. The existing Py_AddPendingCall() only " -"operates relative to the main interpreter." -msgstr "" - -#: ../build/NEWS:7524 -msgid "" -"`bpo-33989 `__: Fix a possible crash in :" -"meth:`list.sort` when sorting objects with ``ob_type->tp_richcompare == " -"NULL``. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7530 -msgid "" -"`bpo-35512 `__: :func:`unittest.mock." -"patch.dict` used as a decorator with string target resolves the target " -"during function call instead of during decorator construction. Patch by " -"Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:7534 -msgid "" -"`bpo-36018 `__: Add statistics." -"NormalDist, a tool for creating and manipulating normal distributions of " -"random variable. Features a composite class that treats the mean and " -"standard deviation of measurement data as single entity." -msgstr "" - -#: ../build/NEWS:7539 -msgid "" -"`bpo-35904 `__: Added statistics.fmean() " -"as a faster, floating point variant of the existing mean() function." -msgstr "" - -#: ../build/NEWS:7542 -msgid "" -"`bpo-35918 `__: Removed broken " -"``has_key`` method from multiprocessing.managers.SyncManager.dict. " -"Contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:7545 -msgid "" -"`bpo-18283 `__: Add support for bytes " -"to :func:`shutil.which`." -msgstr "" - -#: ../build/NEWS:7547 -msgid "" -"`bpo-35960 `__: Fix :func:`dataclasses." -"field` throwing away empty mapping objects passed as metadata." -msgstr "" - -#: ../build/NEWS:7550 -msgid "" -"`bpo-35500 `__: Write expected and " -"actual call parameters on separate lines in :meth:`unittest.mock.Mock." -"assert_called_with` assertion errors. Contributed by Susan Su." -msgstr "" - -#: ../build/NEWS:7554 -msgid "" -"`bpo-35931 `__: The :mod:`pdb` ``debug`` " -"command now gracefully handles syntax errors." -msgstr "" - -#: ../build/NEWS:7557 -msgid "" -"`bpo-24209 `__: In http.server script, " -"rely on getaddrinfo to bind to preferred address based on the bind " -"parameter. Now default bind or binding to a name may bind to IPv6 or dual-" -"stack, depending on the environment." -msgstr "" - -#: ../build/NEWS:7561 -msgid "" -"`bpo-35321 `__: Set ``__spec__.origin`` " -"of ``_frozen_importlib`` to frozen so that it matches the behavior of " -"``_frozen_importlib_external``. Patch by Nina Zakharenko." -msgstr "" - -#: ../build/NEWS:7565 -msgid "" -"`bpo-35378 `__: Fix a reference issue " -"inside :class:`multiprocessing.Pool` that caused the pool to remain alive if " -"it was deleted without being closed or terminated explicitly. A new strong " -"reference is added to the pool iterators to link the lifetime of the pool to " -"the lifetime of its iterators so the pool does not get destroyed if a pool " -"iterator is still alive." -msgstr "" - -#: ../build/NEWS:7572 -msgid "" -"`bpo-34294 `__: re module, fix wrong " -"capturing groups in rare cases. :func:`re.search`, :func:`re.findall`, :func:" -"`re.sub` and other functions that scan through string looking for a match, " -"should reset capturing groups between two match attempts. Patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:7577 -msgid "" -"`bpo-35615 `__: :mod:`weakref`: Fix a " -"RuntimeError when copying a WeakKeyDictionary or a WeakValueDictionary, due " -"to some keys or values disappearing while iterating." -msgstr "" - -#: ../build/NEWS:7581 -msgid "" -"`bpo-35606 `__: Implement :func:`math." -"prod` as analogous function to :func:`sum` that returns the product of a " -"'start' value (default: 1) times an iterable of numbers. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:7585 -msgid "" -"`bpo-32417 `__: Performing arithmetic " -"between :class:`datetime.datetime` subclasses and :class:`datetime." -"timedelta` now returns an object of the same type as the :class:`datetime." -"datetime` subclass. As a result, :meth:`datetime.datetime.astimezone` and " -"alternate constructors like :meth:`datetime.datetime.now` and :meth:" -"`datetime.fromtimestamp` called with a ``tz`` argument now *also* retain " -"their subclass." -msgstr "" - -#: ../build/NEWS:7592 -msgid "" -"`bpo-35153 `__: Add *headers* optional " -"keyword-only parameter to :class:`xmlrpc.client.ServerProxy`, :class:`xmlrpc." -"client.Transport` and :class:`xmlrpc.client.SafeTransport`. Patch by Cédric " -"Krier." -msgstr "" - -#: ../build/NEWS:7596 -msgid "" -"`bpo-34572 `__: Fix C implementation of " -"pickle.loads to use importlib's locking mechanisms, and thereby avoid using " -"partially-loaded modules. Patch by Tim Burgess." -msgstr "" - -#: ../build/NEWS:7603 -msgid "" -"`bpo-36083 `__: Fix formatting of --" -"check-hash-based-pycs options in the manpage Synopsis." -msgstr "" - -#: ../build/NEWS:7606 -msgid "" -"`bpo-36007 `__: Bump minimum sphinx " -"version to 1.8. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:7608 -msgid "" -"`bpo-22062 `__: Update documentation and " -"docstrings for pathlib. Original patch by Mike Short." -msgstr "" - -#: ../build/NEWS:7614 -msgid "" -"`bpo-27313 `__: Avoid test_ttk_guionly " -"ComboboxTest failure with macOS Cocoa Tk." -msgstr "" - -#: ../build/NEWS:7617 -msgid "" -"`bpo-36019 `__: Add test.support." -"TEST_HTTP_URL and replace references of http://www.example.com by this new " -"constant. Contributed by Stéphane Wirtel." -msgstr "" - -#: ../build/NEWS:7621 -msgid "" -"`bpo-36037 `__: Fix test_ssl for strict " -"OpenSSL configuration like RHEL8 strict crypto policy. Use older TLS version " -"for minimum TLS version of the server SSL context if needed, to test TLS " -"version older than default minimum TLS version." -msgstr "" - -#: ../build/NEWS:7626 -msgid "" -"`bpo-35798 `__: Added :func:`test." -"support.check_syntax_warning`." -msgstr "" - -#: ../build/NEWS:7628 -msgid "" -"`bpo-35505 `__: Make " -"test_imap4_host_default_value independent on whether the local IMAP server " -"is running." -msgstr "" - -#: ../build/NEWS:7631 -msgid "" -"`bpo-35917 `__: multiprocessing: provide " -"unit tests for SyncManager and SharedMemoryManager classes + all the " -"shareable types which are supposed to be supported by them. (patch by " -"Giampaolo Rodola)" -msgstr "" - -#: ../build/NEWS:7635 -msgid "" -"`bpo-35704 `__: Skip ``test_shutil." -"test_unpack_archive_xztar`` to prevent a MemoryError on 32-bit AIX when " -"MAXDATA setting is less than 0x20000000." -msgstr "" - -#: ../build/NEWS:7638 -msgid "Patch by Michael Felt (aixtools)" -msgstr "" - -#: ../build/NEWS:7640 -msgid "" -"`bpo-34720 `__: Assert m_state != NULL " -"to mimic GC traversal functions that do not correctly handle module creation " -"when the module state has not been created." -msgstr "" - -#: ../build/NEWS:7647 -msgid "" -"`bpo-35976 `__: Added ARM build support " -"to Windows build files in PCBuild." -msgstr "" - -#: ../build/NEWS:7649 -msgid "" -"`bpo-35692 `__: ``pathlib`` no longer " -"raises when checking file and directory existence on drives that are not " -"ready" -msgstr "" - -#: ../build/NEWS:7652 -msgid "" -"`bpo-35872 `__: Uses the base Python " -"executable when invoking venv in a virtual environment" -msgstr "" - -#: ../build/NEWS:7655 -msgid "" -"`bpo-35873 `__: Prevents venv paths " -"being inherited by child processes" -msgstr "" - -#: ../build/NEWS:7657 -msgid "" -"`bpo-35299 `__: Fix sysconfig detection " -"of the source directory and distutils handling of pyconfig.h during PGO " -"profiling" -msgstr "" - -#: ../build/NEWS:7663 -msgid "" -"`bpo-24310 `__: IDLE -- Document " -"settings dialog font tab sample." -msgstr "" - -#: ../build/NEWS:7665 -msgid "" -"`bpo-35833 `__: Revise IDLE doc for " -"control codes sent to Shell. Add a code example block." -msgstr "" - -#: ../build/NEWS:7668 -msgid "" -"`bpo-35689 `__: Add docstrings and " -"unittests for colorizer.py." -msgstr "" - -#: ../build/NEWS:7672 -msgid "Python 3.8.0 alpha 1" -msgstr "" - -#: ../build/NEWS:7674 -msgid "*Release date: 2019-02-03*" -msgstr "" - -#: ../build/NEWS:7679 -msgid "" -"`bpo-35746 `__: [CVE-2019-5010] Fix a " -"NULL pointer deref in ssl module. The cert parser did not handle CRL " -"distribution points with empty DP or URI correctly. A malicious or buggy " -"certificate can result into segfault. Vulnerability (TALOS-2018-0758) " -"reported by Colin Read and Nicolas Edet of Cisco." -msgstr "" - -#: ../build/NEWS:7685 -msgid "" -"`bpo-34812 `__: The :option:`-I` command " -"line option (run Python in isolated mode) is now also copied by the :mod:" -"`multiprocessing` and :mod:`distutils` modules when spawning child " -"processes. Previously, only :option:`-E` and :option:`-s` options (enabled " -"by :option:`-I`) were copied." -msgstr "" - -#: ../build/NEWS:7691 -msgid "" -"`bpo-34791 `__: The xml.sax and xml.dom." -"domreg no longer use environment variables to override parser " -"implementations when sys.flags.ignore_environment is set by -E or -I " -"arguments." -msgstr "" - -#: ../build/NEWS:7695 -msgid "" -"`bpo-17239 `__: The xml.sax and xml.dom." -"minidom parsers no longer processes external entities by default. External " -"DTD and ENTITY declarations no longer load files or create network " -"connections." -msgstr "" - -#: ../build/NEWS:7699 -msgid "" -"`bpo-34623 `__: CVE-2018-14647: The C " -"accelerated _elementtree module now initializes hash randomization salt from " -"_Py_HashSecret instead of libexpat's default CSPRNG." -msgstr "" - -#: ../build/NEWS:7703 -msgid "" -"`bpo-34405 `__: Updated to OpenSSL " -"1.1.0i for Windows builds." -msgstr "" - -#: ../build/NEWS:7705 -msgid "" -"`bpo-33871 `__: Fixed sending the part " -"of the file in :func:`os.sendfile` on macOS. Using the *trailers* argument " -"could cause sending more bytes from the input file than was specified." -msgstr "" - -#: ../build/NEWS:7709 -msgid "" -"`bpo-32533 `__: Fixed thread-safety of " -"error handling in _ssl." -msgstr "" - -#: ../build/NEWS:7711 ../build/NEWS:11210 -msgid "" -"`bpo-33136 `__: Harden ssl module " -"against LibreSSL CVE-2018-8970. X509_VERIFY_PARAM_set1_host() is called with " -"an explicit namelen. A new test ensures that NULL bytes are not allowed." -msgstr "" - -#: ../build/NEWS:7715 ../build/NEWS:11214 ../build/NEWS:15607 -msgid "" -"`bpo-33001 `__: Minimal fix to prevent " -"buffer overrun in os.symlink on Windows" -msgstr "" - -#: ../build/NEWS:7717 ../build/NEWS:11216 ../build/NEWS:15609 -msgid "" -"`bpo-32981 `__: Regexes in difflib and " -"poplib were vulnerable to catastrophic backtracking. These regexes formed " -"potential DOS vectors (REDOS). They have been refactored. This resolves " -"CVE-2018-1060 and CVE-2018-1061. Patch by Jamie Davis." -msgstr "" - -#: ../build/NEWS:7722 ../build/NEWS:11428 -msgid "" -"`bpo-28414 `__: The ssl module now " -"allows users to perform their own IDN en/decoding when using SNI." -msgstr "" - -#: ../build/NEWS:7728 -msgid "" -"`bpo-35877 `__: Make parenthesis " -"optional for named expressions in while statement. Patch by Karthikeyan " -"Singaravelan." -msgstr "" - -#: ../build/NEWS:7731 -msgid "" -"`bpo-35814 `__: Allow same right hand " -"side expressions in annotated assignments as in normal ones. In particular, " -"``x: Tuple[int, int] = 1, 2`` (without parentheses on the right) is now " -"allowed." -msgstr "" - -#: ../build/NEWS:7735 -msgid "" -"`bpo-35766 `__: Add the option to parse " -"PEP 484 type comments in the ast module. (Off by default.) This is merging " -"the key functionality of the third party fork thereof, [typed_ast](https://" -"github.com/python/typed_ast)." -msgstr "" - -#: ../build/NEWS:7740 -msgid "" -"`bpo-35713 `__: Reorganize Python " -"initialization to get working exceptions and sys.stderr earlier." -msgstr "" - -#: ../build/NEWS:7743 -msgid "" -"`bpo-33416 `__: Add end line and end " -"column position information to the Python AST nodes. This is a C-level " -"backwards incompatible change." -msgstr "" - -#: ../build/NEWS:7746 -msgid "" -"`bpo-35720 `__: Fixed a minor memory " -"leak in pymain_parse_cmdline_impl function in Modules/main.c" -msgstr "" - -#: ../build/NEWS:7749 -msgid "" -"`bpo-35634 `__: ``func(**kwargs)`` will " -"now raise an error when ``kwargs`` is a mapping containing multiple entries " -"with the same key. An error was already raised when other keyword arguments " -"are passed before ``**kwargs`` since Python 3.6." -msgstr "" - -#: ../build/NEWS:7754 -msgid "" -"`bpo-35623 `__: Fix a crash when sorting " -"very long lists. Patch by Stephan Hohe." -msgstr "" - -#: ../build/NEWS:7757 -msgid "" -"`bpo-35214 `__: clang Memory Sanitizer " -"build instrumentation was added to work around false positives from posix, " -"socket, time, test_io, and test_faulthandler." -msgstr "" - -#: ../build/NEWS:7761 -msgid "" -"`bpo-35560 `__: Fix an assertion error " -"in :func:`format` in debug build for floating point formatting with \"n\" " -"format, zero padding and small width. Release build is not impacted. Patch " -"by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:7765 -msgid "" -"`bpo-35552 `__: Format characters ``%s`` " -"and ``%V`` in :c:func:`PyUnicode_FromFormat` and ``%s`` in :c:func:" -"`PyBytes_FromFormat` no longer read memory past the limit if *precision* is " -"specified." -msgstr "" - -#: ../build/NEWS:7769 -msgid "" -"`bpo-35504 `__: Fix segfaults and :exc:" -"`SystemError`\\ s when deleting certain attributes. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7772 -msgid "" -"`bpo-35504 `__: Fixed a SystemError when " -"delete the characters_written attribute of an OSError." -msgstr "" - -#: ../build/NEWS:7775 -msgid "" -"`bpo-35494 `__: Improved syntax error " -"messages for unbalanced parentheses in f-string." -msgstr "" - -#: ../build/NEWS:7778 -msgid "" -"`bpo-35444 `__: Fixed error handling in " -"pickling methods when fail to look up builtin \"getattr\". Sped up pickling " -"iterators." -msgstr "" - -#: ../build/NEWS:7781 -msgid "" -"`bpo-35436 `__: Fix various issues with " -"memory allocation error handling. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7784 -msgid "" -"`bpo-35423 `__: Separate the signal " -"handling trigger in the eval loop from the \"pending calls\" machinery. " -"There is no semantic change and the difference in performance is " -"insignificant." -msgstr "" - -#: ../build/NEWS:7788 -msgid "" -"`bpo-35357 `__: Internal attributes' " -"names of unittest.mock._Call and unittest.mock.MagicProxy (name, parent & " -"from_kall) are now prefixed with _mock_ in order to prevent clashes with " -"widely used object attributes. Fixed minor typo in test function name." -msgstr "" - -#: ../build/NEWS:7793 -msgid "" -"`bpo-35372 `__: Fixed the code page " -"decoder for input longer than 2 GiB containing undecodable bytes." -msgstr "" - -#: ../build/NEWS:7796 -msgid "" -"`bpo-35336 `__: Fix " -"PYTHONCOERCECLOCALE=1 environment variable: only coerce the C locale if the " -"LC_CTYPE locale is \"C\"." -msgstr "" - -#: ../build/NEWS:7799 -msgid "" -"`bpo-31241 `__: The *lineno* and " -"*col_offset* attributes of AST nodes for list comprehensions, generator " -"expressions and tuples are now point to the opening parenthesis or square " -"brace. For tuples without parenthesis they point to the position of the " -"first item." -msgstr "" - -#: ../build/NEWS:7804 -msgid "" -"`bpo-33954 `__: For :meth:`str.format`, :" -"meth:`float.__format__` and :meth:`complex.__format__` methods for non-ASCII " -"decimal point when using the \"n\" formatter." -msgstr "" - -#: ../build/NEWS:7808 -msgid "" -"`bpo-35269 `__: Fix a possible segfault " -"involving a newly-created coroutine. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7811 -msgid "" -"`bpo-35224 `__: Implement :pep:`572` " -"(assignment expressions). Patch by Emily Morehouse." -msgstr "" - -#: ../build/NEWS:7814 -msgid "" -"`bpo-32492 `__: Speed up :class:" -"`namedtuple` attribute access by 1.6x using a C fast-path for the name " -"descriptors. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7817 -msgid "" -"`bpo-35214 `__: Fixed an out of bounds " -"memory access when parsing a truncated unicode escape sequence at the end of " -"a string such as ``'\\N'``. It would read one byte beyond the end of the " -"memory allocation." -msgstr "" - -#: ../build/NEWS:7821 -msgid "" -"`bpo-35214 `__: The interpreter and " -"extension modules have had annotations added so that they work properly " -"under clang's Memory Sanitizer. A new configure flag --with-memory-" -"sanitizer has been added to make test builds of this nature easier to " -"perform." -msgstr "" - -#: ../build/NEWS:7826 -msgid "" -"`bpo-35193 `__: Fix an off by one error " -"in the bytecode peephole optimizer where it could read bytes beyond the end " -"of bounds of an array when removing unreachable code. This bug was present " -"in every release of Python 3.6 and 3.7 until now." -msgstr "" - -#: ../build/NEWS:7831 -msgid "" -"`bpo-35169 `__: Improved error messages " -"for forbidden assignments." -msgstr "" - -#: ../build/NEWS:7833 -msgid "" -"`bpo-34022 `__: Fix handling of hash-" -"based bytecode files in :mod:`zipimport`. Patch by Elvis Pranskevichus." -msgstr "" - -#: ../build/NEWS:7836 -msgid "" -"`bpo-28401 `__: Debug builds will no " -"longer to attempt to import extension modules built for the ABI as they were " -"never compatible to begin with. Patch by Stefano Rivera." -msgstr "" - -#: ../build/NEWS:7840 -msgid "" -"`bpo-29341 `__: Clarify in the " -"docstrings of :mod:`os` methods that path-like objects are also accepted as " -"input parameters." -msgstr "" - -#: ../build/NEWS:7843 -msgid "" -"`bpo-35050 `__: :mod:`socket`: Fix off-" -"by-one bug in length check for ``AF_ALG`` name and type." -msgstr "" - -#: ../build/NEWS:7846 -msgid "" -"`bpo-29743 `__: Raise :exc:`ValueError` " -"instead of :exc:`OverflowError` in case of a negative ``_length_`` in a :" -"class:`ctypes.Array` subclass. Also raise :exc:`TypeError` instead of :exc:" -"`AttributeError` for non-integer ``_length_``. Original patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:7851 -msgid "" -"`bpo-16806 `__: Fix ``lineno`` and " -"``col_offset`` for multi-line string tokens." -msgstr "" - -#: ../build/NEWS:7853 -msgid "" -"`bpo-35029 `__: :exc:`SyntaxWarning` " -"raised as an exception at code generation time will be now replaced with a :" -"exc:`SyntaxError` for better error reporting." -msgstr "" - -#: ../build/NEWS:7857 -msgid "" -"`bpo-34983 `__: Expose :meth:`symtable." -"Symbol.is_nonlocal` in the symtable module. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7860 -msgid "" -"`bpo-34974 `__: :class:`bytes` and :" -"class:`bytearray` constructors no longer convert unexpected exceptions (e." -"g. :exc:`MemoryError` and :exc:`KeyboardInterrupt`) to :exc:`TypeError`." -msgstr "" - -#: ../build/NEWS:7864 -msgid "" -"`bpo-34939 `__: Allow annotated names in " -"module namespace that are declared global before the annotation happens. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7867 -msgid "" -"`bpo-34973 `__: Fixed crash in :func:" -"`bytes` when the :class:`list` argument is mutated while it is iterated." -msgstr "" - -#: ../build/NEWS:7870 -msgid "" -"`bpo-34876 `__: The *lineno* and " -"*col_offset* attributes of the AST for decorated function and class refer " -"now to the position of the corresponding ``def``, ``async def`` and " -"``class`` instead of the position of the first decorator. This leads to more " -"correct line reporting in tracing. This is the only case when the position " -"of child AST nodes can precede the position of the parent AST node." -msgstr "" - -#: ../build/NEWS:7877 -msgid "" -"`bpo-34879 `__: Fix a possible null " -"pointer dereference in bytesobject.c. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7880 -msgid "" -"`bpo-34784 `__: Fix the implementation " -"of PyStructSequence_NewType in order to create heap allocated " -"StructSequences." -msgstr "" - -#: ../build/NEWS:7883 -msgid "" -"`bpo-32912 `__: A :exc:`SyntaxWarning` " -"is now emitted instead of a :exc:`DeprecationWarning` for invalid escape " -"sequences in string and bytes literals." -msgstr "" - -#: ../build/NEWS:7887 -msgid "" -"`bpo-34854 `__: Fixed a crash in " -"compiling string annotations containing a lambda with a keyword-only " -"argument that doesn't have a default value." -msgstr "" - -#: ../build/NEWS:7890 -msgid "" -"`bpo-34850 `__: The compiler now " -"produces a :exc:`SyntaxWarning` when identity checks (``is`` and ``is not``) " -"are used with certain types of literals (e.g. strings, ints). These can " -"often work by accident in CPython, but are not guaranteed by the language " -"spec. The warning advises users to use equality tests (``==`` and ``!=``) " -"instead." -msgstr "" - -#: ../build/NEWS:7896 -msgid "" -"`bpo-34824 `__: Fix a possible null " -"pointer dereference in Modules/_ssl.c. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7899 -msgid "" -"`bpo-30156 `__: The C function " -"``property_descr_get()`` uses a \"cached\" tuple to optimize function calls. " -"But this tuple can be discovered in debug mode with :func:`sys." -"getobjects()`. Remove the optimization, it's not really worth it and it " -"causes 3 different crashes last years." -msgstr "" - -#: ../build/NEWS:7904 -msgid "" -"`bpo-34762 `__: Fix contextvars C API to " -"use PyObject* pointer types." -msgstr "" - -#: ../build/NEWS:7906 -msgid "" -"`bpo-34751 `__: The hash function for " -"tuples is now based on xxHash which gives better collision results on " -"(formerly) pathological cases. Additionally, on 64-bit systems it improves " -"tuple hashes in general. Patch by Jeroen Demeyer with substantial " -"contributions by Tim Peters." -msgstr "" - -#: ../build/NEWS:7911 -msgid "" -"`bpo-34735 `__: Fix a memory leak in " -"Modules/timemodule.c. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7914 -msgid "" -"`bpo-34683 `__: Fixed a bug where some " -"SyntaxError error pointed to locations that were off-by-one." -msgstr "" - -#: ../build/NEWS:7917 -msgid "" -"`bpo-34651 `__: Only allow the main " -"interpreter to fork. The avoids the possibility of affecting the main " -"interpreter, which is critical to operation of the runtime." -msgstr "" - -#: ../build/NEWS:7921 -msgid "" -"`bpo-34653 `__: Remove unused function " -"PyParser_SimpleParseStringFilename." -msgstr "" - -#: ../build/NEWS:7923 -msgid "" -"`bpo-32236 `__: Warn that line buffering " -"is not supported if :func:`open` is called with binary mode and " -"``buffering=1``." -msgstr "" - -#: ../build/NEWS:7926 -msgid "" -"`bpo-34641 `__: Further restrict the " -"syntax of the left-hand side of keyword arguments in function calls. In " -"particular, ``f((keyword)=arg)`` is now disallowed." -msgstr "" - -#: ../build/NEWS:7930 -msgid "" -"`bpo-34637 `__: Make the *start* " -"argument to *sum()* visible as a keyword argument." -msgstr "" - -#: ../build/NEWS:7933 -msgid "" -"`bpo-1621 `__: Do not assume signed " -"integer overflow behavior (C undefined behavior) when performing set hash " -"table resizing." -msgstr "" - -#: ../build/NEWS:7936 -msgid "" -"`bpo-34588 `__: Fix an off-by-one in the " -"recursive call pruning feature of traceback formatting." -msgstr "" - -#: ../build/NEWS:7939 -msgid "" -"`bpo-34485 `__: On Windows, the LC_CTYPE " -"is now set to the user preferred locale at startup. Previously, the LC_CTYPE " -"locale was \"C\" at startup, but changed when calling setlocale(LC_CTYPE, " -"\"\") or setlocale(LC_ALL, \"\")." -msgstr "" - -#: ../build/NEWS:7943 -msgid "" -"`bpo-34485 `__: Standard streams like " -"sys.stdout now use the \"surrogateescape\" error handler, instead of \"strict" -"\", on the POSIX locale (when the C locale is not coerced and the UTF-8 Mode " -"is disabled)." -msgstr "" - -#: ../build/NEWS:7947 -msgid "" -"`bpo-34485 `__: Fix the error handler of " -"standard streams like sys.stdout: PYTHONIOENCODING=\":\" is now ignored " -"instead of setting the error handler to \"strict\"." -msgstr "" - -#: ../build/NEWS:7951 -msgid "" -"`bpo-34485 `__: Python now gets the " -"locale encoding with C code to initialize the encoding of standard streams " -"like sys.stdout. Moreover, the encoding is now initialized to the Python " -"codec name to get a normalized encoding name and to ensure that the codec is " -"loaded. The change avoids importing _bootlocale and _locale modules at " -"startup by default." -msgstr "" - -#: ../build/NEWS:7957 -msgid "" -"`bpo-34527 `__: On FreeBSD, " -"Py_DecodeLocale() and Py_EncodeLocale() now also forces the ASCII encoding " -"if the LC_CTYPE locale is \"POSIX\", not only if the LC_CTYPE locale is \"C" -"\"." -msgstr "" - -#: ../build/NEWS:7961 -msgid "" -"`bpo-34527 `__: The UTF-8 Mode is now " -"also enabled by the \"POSIX\" locale, not only by the \"C\" locale." -msgstr "" - -#: ../build/NEWS:7964 -msgid "" -"`bpo-34403 `__: On HP-UX with C or POSIX " -"locale, sys.getfilesystemencoding() now returns \"ascii\" instead of " -"\"roman8\" (when the UTF-8 Mode is disabled and the C locale is not coerced)." -msgstr "" - -#: ../build/NEWS:7968 -msgid "" -"`bpo-34523 `__: The Python filesystem " -"encoding is now read earlier during the Python initialization." -msgstr "" - -#: ../build/NEWS:7971 -msgid "" -"`bpo-12458 `__: Tracebacks show now " -"correct line number for subexpressions in multiline expressions. Tracebacks " -"show now the line number of the first line for multiline expressions instead " -"of the line number of the last subexpression." -msgstr "" - -#: ../build/NEWS:7976 -msgid "" -"`bpo-34408 `__: Prevent a null pointer " -"dereference and resource leakage in ``PyInterpreterState_New()``." -msgstr "" - -#: ../build/NEWS:7979 -msgid "" -"`bpo-34400 `__: Fix undefined behavior " -"in parsetok.c. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7981 -msgid "" -"`bpo-33073 `__: Added as_integer_ratio " -"to ints to make them more interoperable with floats." -msgstr "" - -#: ../build/NEWS:7984 -msgid "" -"`bpo-34377 `__: Update valgrind " -"suppression list to use ``_PyObject_Free``/``_PyObject_Realloc`` instead of " -"``PyObject_Free``/``PyObject_Realloc``." -msgstr "" - -#: ../build/NEWS:7988 -msgid "" -"`bpo-34353 `__: Added the \"socket\" " -"option in the `stat.filemode()` Python implementation to match the C " -"implementation." -msgstr "" - -#: ../build/NEWS:7991 -msgid "" -"`bpo-34320 `__: Fix ``dict(od)`` didn't " -"copy iteration order of OrderedDict." -msgstr "" - -#: ../build/NEWS:7993 -msgid "" -"`bpo-34113 `__: Fixed crash on debug " -"builds when opcode stack was adjusted with negative numbers. Patch by " -"Constantin Petrisor." -msgstr "" - -#: ../build/NEWS:7996 -msgid "" -"`bpo-34100 `__: Compiler now merges " -"constants in tuples and frozensets recursively. Code attributes like " -"``co_names`` are merged too." -msgstr "" - -#: ../build/NEWS:7999 -msgid "" -"`bpo-34151 `__: Performance of list " -"concatenation, repetition and slicing operations is slightly improved. Patch " -"by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:8002 -msgid "" -"`bpo-34170 `__: -X dev: it is now " -"possible to override the memory allocator using PYTHONMALLOC even if the " -"developer mode is enabled." -msgstr "" - -#: ../build/NEWS:8005 -msgid "" -"`bpo-33237 `__: Improved :exc:" -"`AttributeError` message for partially initialized module." -msgstr "" - -#: ../build/NEWS:8008 -msgid "" -"`bpo-34149 `__: Fix min and max " -"functions to get default behavior when key is None." -msgstr "" - -#: ../build/NEWS:8011 -msgid "" -"`bpo-34125 `__: Profiling of unbound " -"built-in methods now works when ``**kwargs`` is given." -msgstr "" - -#: ../build/NEWS:8014 -msgid "" -"`bpo-34141 `__: Optimized pickling " -"atomic types (None, bool, int, float, bytes, str)." -msgstr "" - -#: ../build/NEWS:8017 -msgid "" -"`bpo-34126 `__: Fix crashes when " -"profiling certain invalid calls of unbound methods. Patch by Jeroen Demeyer." -msgstr "" - -#: ../build/NEWS:8020 -msgid "" -"`bpo-24618 `__: Fixed reading invalid " -"memory when create the code object with too small varnames tuple or too " -"large argument counts." -msgstr "" - -#: ../build/NEWS:8023 -msgid "" -"`bpo-34068 `__: In :meth:`io.IOBase." -"close`, ensure that the :attr:`~io.IOBase.closed` attribute is not set with " -"a live exception. Patch by Zackery Spytz and Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:8027 -msgid "" -"`bpo-34087 `__: Fix buffer overflow " -"while converting unicode to numeric values." -msgstr "" - -#: ../build/NEWS:8029 -msgid "" -"`bpo-34080 `__: Fixed a memory leak in " -"the compiler when it raised some uncommon errors during tokenizing." -msgstr "" - -#: ../build/NEWS:8032 -msgid "" -"`bpo-34066 `__: Disabled interruption by " -"Ctrl-C between calling ``open()`` and entering a **with** block in ``with " -"open()``." -msgstr "" - -#: ../build/NEWS:8035 -msgid "" -"`bpo-34042 `__: Fix dict.copy() to " -"maintain correct total refcount (as reported by sys.gettotalrefcount())." -msgstr "" - -#: ../build/NEWS:8038 -msgid "" -"`bpo-33418 `__: Fix potential memory " -"leak in function object when it creates reference cycle." -msgstr "" - -#: ../build/NEWS:8041 -msgid "" -"`bpo-33985 `__: Implement contextvars." -"ContextVar.name attribute." -msgstr "" - -#: ../build/NEWS:8043 -msgid "" -"`bpo-33956 `__: Update vendored Expat " -"library copy to version 2.2.5." -msgstr "" - -#: ../build/NEWS:8045 -msgid "" -"`bpo-24596 `__: Decref the module object " -"in :c:func:`PyRun_SimpleFileExFlags` before calling :c:func:" -"`PyErr_Print()`. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:8048 -msgid "" -"`bpo-33451 `__: Close directly executed " -"pyc files before calling ``PyEval_EvalCode()``." -msgstr "" - -#: ../build/NEWS:8051 -msgid "" -"`bpo-1617161 `__: The hash of :class:" -"`BuiltinMethodType` instances (methods of built-in classes) now depends on " -"the hash of the identity of *__self__* instead of its value. The hash and " -"equality of :class:`ModuleType` and :class:`MethodWrapperType` instances " -"(methods of user-defined classes and some methods of built-in classes like " -"``str.__add__``) now depend on the hash and equality of the identity of " -"*__self__* instead of its value. :class:`MethodWrapperType` instances no " -"longer support ordering." -msgstr "" - -#: ../build/NEWS:8059 -msgid "" -"`bpo-33824 `__: Fix \"LC_ALL=C python3.7 " -"-V\": reset properly the command line parser when the encoding changes after " -"reading the Python configuration." -msgstr "" - -#: ../build/NEWS:8062 ../build/NEWS:10708 -msgid "" -"`bpo-33803 `__: Fix a crash in hamt.c " -"caused by enabling GC tracking for an object that hadn't all of its fields " -"set to NULL." -msgstr "" - -#: ../build/NEWS:8065 -msgid "" -"`bpo-33738 `__: Seven macro " -"incompatibilities with the Limited API were fixed, and the macros :c:func:" -"`PyIter_Check`, :c:func:`PyIndex_Check` and :c:func:`PyExceptionClass_Name` " -"were added as functions. A script for automatic macro checks was added." -msgstr "" - -#: ../build/NEWS:8070 ../build/NEWS:15280 -msgid "" -"`bpo-33786 `__: Fix asynchronous " -"generators to handle GeneratorExit in athrow() correctly" -msgstr "" - -#: ../build/NEWS:8073 -msgid "" -"`bpo-30167 `__: " -"``PyRun_SimpleFileExFlags`` removes ``__cached__`` from module in addition " -"to ``__file__``." -msgstr "" - -#: ../build/NEWS:8076 ../build/NEWS:10711 -msgid "" -"`bpo-33706 `__: Fix a crash in Python " -"initialization when parsing the command line options. Thanks Christoph " -"Gohlke for the bug report and the fix!" -msgstr "" - -#: ../build/NEWS:8079 -msgid "" -"`bpo-33597 `__: Reduce ``PyGC_Head`` " -"size from 3 words to 2 words." -msgstr "" - -#: ../build/NEWS:8081 ../build/NEWS:10714 ../build/NEWS:15283 -msgid "" -"`bpo-30654 `__: Fixed reset of the " -"SIGINT handler to SIG_DFL on interpreter shutdown even when there was a " -"custom handler set previously. Patch by Philipp Kerling." -msgstr "" - -#: ../build/NEWS:8085 ../build/NEWS:10820 ../build/NEWS:15287 -msgid "" -"`bpo-33622 `__: Fixed a leak when the " -"garbage collector fails to add an object with the ``__del__`` method or " -"referenced by it into the :data:`gc.garbage` list. :c:func:`PyGC_Collect` " -"can now be called when an exception is set and preserves it." -msgstr "" - -#: ../build/NEWS:8090 -msgid "" -"`bpo-33462 `__: Make dict and dict views " -"reversible. Patch by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:8092 -msgid "" -"`bpo-23722 `__: A :exc:`RuntimeError` is " -"now raised when the custom metaclass doesn't provide the ``__classcell__`` " -"entry in the namespace passed to ``type.__new__``. A :exc:" -"`DeprecationWarning` was emitted in Python 3.6--3.7." -msgstr "" - -#: ../build/NEWS:8097 -msgid "" -"`bpo-33499 `__: Add :envvar:" -"`PYTHONPYCACHEPREFIX` environment variable and :option:`-X` " -"``pycache_prefix`` command-line option to set an alternate root directory " -"for writing module bytecode cache files." -msgstr "" - -#: ../build/NEWS:8101 -msgid "" -"`bpo-25711 `__: The :mod:`zipimport` " -"module has been rewritten in pure Python." -msgstr "" - -#: ../build/NEWS:8103 ../build/NEWS:10825 -msgid "" -"`bpo-33509 `__: Fix module_globals " -"parameter of warnings.warn_explicit(): don't crash if module_globals is not " -"a dict." -msgstr "" - -#: ../build/NEWS:8106 ../build/NEWS:10718 ../build/NEWS:15292 -msgid "" -"`bpo-31849 `__: Fix signed/unsigned " -"comparison warning in pyhash.c." -msgstr "" - -#: ../build/NEWS:8108 ../build/NEWS:10832 -msgid "" -"`bpo-33475 `__: Fixed miscellaneous bugs " -"in converting annotations to strings and optimized parentheses in the string " -"representation." -msgstr "" - -#: ../build/NEWS:8111 -msgid "" -"`bpo-20104 `__: Added support for the " -"`setpgroup`, `resetids`, `setsigmask`, `setsigdef` and `scheduler` " -"parameters of `posix_spawn`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8115 ../build/NEWS:10835 ../build/NEWS:15294 -msgid "" -"`bpo-33391 `__: Fix a leak in " -"set_symmetric_difference()." -msgstr "" - -#: ../build/NEWS:8117 ../build/NEWS:11033 -msgid "" -"`bpo-33363 `__: Raise a SyntaxError for " -"``async with`` and ``async for`` statements outside of async functions." -msgstr "" - -#: ../build/NEWS:8120 ../build/NEWS:10837 ../build/NEWS:15296 -msgid "" -"`bpo-28055 `__: Fix unaligned accesses " -"in siphash24(). Patch by Rolf Eike Beer." -msgstr "" - -#: ../build/NEWS:8122 ../build/NEWS:11036 -msgid "" -"`bpo-33128 `__: Fix a bug that causes " -"PathFinder to appear twice on sys.meta_path. Patch by Pablo Galindo Salgado." -msgstr "" - -#: ../build/NEWS:8125 -msgid "" -"`bpo-33331 `__: Modules imported last " -"are now cleared first at interpreter shutdown." -msgstr "" - -#: ../build/NEWS:8128 ../build/NEWS:11039 -msgid "" -"`bpo-33312 `__: Fixed clang ubsan " -"(undefined behavior sanitizer) warnings in dictobject.c by adjusting how the " -"internal struct _dictkeysobject shared keys structure is declared." -msgstr "" - -#: ../build/NEWS:8132 -msgid "" -"`bpo-33305 `__: Improved syntax error " -"messages for invalid numerical literals." -msgstr "" - -#: ../build/NEWS:8134 -msgid "" -"`bpo-33306 `__: Improved syntax error " -"messages for unbalanced parentheses." -msgstr "" - -#: ../build/NEWS:8136 -msgid "" -"`bpo-33234 `__: The list constructor " -"will pre-size and not over-allocate when the input length is known." -msgstr "" - -#: ../build/NEWS:8139 -msgid "" -"`bpo-33270 `__: Intern the names for all " -"anonymous code objects. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:8142 -msgid "" -"`bpo-30455 `__: The C and Python code " -"and the documentation related to tokens are now generated from a single " -"source file :file:`Grammar/Tokens`." -msgstr "" - -#: ../build/NEWS:8145 -msgid "" -"`bpo-33176 `__: Add a ``toreadonly()`` " -"method to memoryviews." -msgstr "" - -#: ../build/NEWS:8147 ../build/NEWS:11043 ../build/NEWS:15298 -msgid "" -"`bpo-33231 `__: Fix potential memory " -"leak in ``normalizestring()``." -msgstr "" - -#: ../build/NEWS:8149 ../build/NEWS:11045 -msgid "" -"`bpo-33205 `__: Change dict growth " -"function from ``round_up_to_power_2(used*2+hashtable_size/2)`` to " -"``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when " -"``used == 0``. Now dict has more chance to be shrinked." -msgstr "" - -#: ../build/NEWS:8154 ../build/NEWS:11050 ../build/NEWS:15300 -msgid "" -"`bpo-29922 `__: Improved error messages " -"in 'async with' when ``__aenter__()`` or ``__aexit__()`` return non-" -"awaitable object." -msgstr "" - -#: ../build/NEWS:8157 ../build/NEWS:11053 ../build/NEWS:15303 -msgid "" -"`bpo-33199 `__: Fix ``ma_version_tag`` " -"in dict implementation is uninitialized when copying from key-sharing dict." -msgstr "" - -#: ../build/NEWS:8160 ../build/NEWS:11224 -msgid "" -"`bpo-33053 `__: When using the -m " -"switch, sys.path[0] is now explicitly expanded as the *starting* working " -"directory, rather than being left as the empty path (which allows imports " -"from the current working directory at the time of the import)" -msgstr "" - -#: ../build/NEWS:8165 -msgid "" -"`bpo-33138 `__: Changed standard error " -"message for non-pickleable and non-copyable types. It now says \"cannot " -"pickle\" instead of \"can't pickle\" or \"cannot serialize\"." -msgstr "" - -#: ../build/NEWS:8169 ../build/NEWS:11229 -msgid "" -"`bpo-33018 `__: Improve consistency of " -"errors raised by ``issubclass()`` when called with a non-class and an " -"abstract base class as the first and second arguments, respectively. Patch " -"by Josh Bronson." -msgstr "" - -#: ../build/NEWS:8173 -msgid "" -"`bpo-33083 `__: ``math.factorial`` no " -"longer accepts arguments that are not int-like. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8176 -msgid "" -"`bpo-33041 `__: Added new opcode :opcode:" -"`END_ASYNC_FOR` and fixes the following issues:" -msgstr "" - -#: ../build/NEWS:8179 -msgid "" -"Setting global :exc:`StopAsyncIteration` no longer breaks ``async for`` " -"loops." -msgstr "" - -#: ../build/NEWS:8181 -msgid "Jumping into an ``async for`` loop is now disabled." -msgstr "" - -#: ../build/NEWS:8182 -msgid "Jumping out of an ``async for`` loop no longer corrupts the stack." -msgstr "" - -#: ../build/NEWS:8184 -msgid "" -"`bpo-25750 `__: Fix rare Python crash " -"due to bad refcounting in ``type_getattro()`` if a descriptor deletes itself " -"from the class. Patch by Jeroen Demeyer." -msgstr "" - -#: ../build/NEWS:8188 -msgid "" -"`bpo-33041 `__: Fixed bytecode " -"generation for \"async for\" with a complex target. A StopAsyncIteration " -"raised on assigning or unpacking will be now propagated instead of stopping " -"the iteration." -msgstr "" - -#: ../build/NEWS:8192 ../build/NEWS:11235 ../build/NEWS:15617 -msgid "" -"`bpo-33026 `__: Fixed jumping out of " -"\"with\" block by setting f_lineno." -msgstr "" - -#: ../build/NEWS:8194 ../build/NEWS:11237 -msgid "" -"`bpo-33005 `__: Fix a crash on fork when " -"using a custom memory allocator (ex: using PYTHONMALLOC env var). " -"_PyGILState_Reinit() and _PyInterpreterState_Enable() now use the default " -"RAW memory allocator to allocate a new interpreters mutex on fork." -msgstr "" - -#: ../build/NEWS:8199 ../build/NEWS:10839 -msgid "" -"`bpo-32911 `__: Due to unexpected " -"compatibility issues discovered during downstream beta testing, reverted :" -"issue:`29463`. ``docstring`` field is removed from Module, ClassDef, " -"FunctionDef, and AsyncFunctionDef ast nodes which was added in 3.7a1. " -"Docstring expression is restored as a first statement in their body. Based " -"on patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:8205 ../build/NEWS:11242 ../build/NEWS:15619 -msgid "" -"`bpo-17288 `__: Prevent jumps from " -"'return' and 'exception' trace events." -msgstr "" - -#: ../build/NEWS:8207 -msgid "" -"`bpo-32946 `__: Importing names from " -"already imported module with \"from ... import ...\" is now 30% faster if " -"the module is not a package." -msgstr "" - -#: ../build/NEWS:8210 -msgid "" -"`bpo-32932 `__: Make error message more " -"revealing when there are non-str objects in ``__all__``." -msgstr "" - -#: ../build/NEWS:8213 -msgid "" -"`bpo-32925 `__: Optimized iterating and " -"containing test for literal lists consisting of non-constants: ``x in [a, " -"b]`` and ``for x in [a, b]``. The case of all constant elements already was " -"optimized." -msgstr "" - -#: ../build/NEWS:8217 ../build/NEWS:11434 ../build/NEWS:15621 -msgid "" -"`bpo-32889 `__: Update Valgrind " -"suppression list to account for the rename of ``Py_ADDRESS_IN_RANG`` to " -"``address_in_range``." -msgstr "" - -#: ../build/NEWS:8220 ../build/NEWS:11244 -msgid "" -"`bpo-32836 `__: Don't use temporary " -"variables in cases of list/dict/set comprehensions" -msgstr "" - -#: ../build/NEWS:8223 ../build/NEWS:11437 -msgid "" -"`bpo-31356 `__: Remove the new API added " -"in `bpo-31356 `__ (gc.ensure_disabled() " -"context manager)." -msgstr "" - -#: ../build/NEWS:8226 ../build/NEWS:11440 -msgid "" -"`bpo-32305 `__: For namespace packages, " -"ensure that both ``__file__`` and ``__spec__.origin`` are set to None." -msgstr "" - -#: ../build/NEWS:8229 ../build/NEWS:11443 -msgid "" -"`bpo-32303 `__: Make sure ``__spec__." -"loader`` matches ``__loader__`` for namespace packages." -msgstr "" - -#: ../build/NEWS:8232 ../build/NEWS:11446 -msgid "" -"`bpo-32711 `__: Fix the warning messages " -"for Python/ast_unparse.c. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:8235 ../build/NEWS:11449 ../build/NEWS:15632 -msgid "" -"`bpo-32583 `__: Fix possible crashing in " -"builtin Unicode decoders caused by write out-of-bound errors when using " -"customized decode error handlers." -msgstr "" - -#: ../build/NEWS:8238 -msgid "" -"`bpo-32489 `__: A :keyword:`continue` " -"statement is now allowed in the :keyword:`finally` clause." -msgstr "" - -#: ../build/NEWS:8241 -msgid "" -"`bpo-17611 `__: Simplified the " -"interpreter loop by moving the logic of unrolling the stack of blocks into " -"the compiler. The compiler emits now explicit instructions for adjusting the " -"stack of values and calling the cleaning up code for :keyword:`break`, :" -"keyword:`continue` and :keyword:`return`." -msgstr "" - -#: ../build/NEWS:8247 -msgid "" -"Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:" -"`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:" -"`ROT_FOUR`, :opcode:`BEGIN_FINALLY` and :opcode:`CALL_FINALLY` and :opcode:" -"`POP_FINALLY`. Changed the behavior of :opcode:`END_FINALLY` and :opcode:" -"`WITH_CLEANUP_START`." -msgstr "" - -#: ../build/NEWS:8253 -msgid "" -"`bpo-32285 `__: New function unicodedata." -"is_normalized, which can check whether a string is in a specific normal form." -msgstr "" - -#: ../build/NEWS:8256 -msgid "" -"`bpo-10544 `__: Yield expressions are " -"now disallowed in comprehensions and generator expressions except the " -"expression for the outermost iterable." -msgstr "" - -#: ../build/NEWS:8259 -msgid "" -"`bpo-32117 `__: Iterable unpacking is " -"now allowed without parentheses in yield and return statements, e.g. ``yield " -"1, 2, 3, *rest``. Thanks to David Cuthbert for the change and Jordan Chapman " -"for added tests." -msgstr "" - -#: ../build/NEWS:8263 -msgid "" -"`bpo-31902 `__: Fix the ``col_offset`` " -"attribute for ast nodes ``ast.AsyncFor``, ``ast.AsyncFunctionDef``, and " -"``ast.AsyncWith``. Previously, ``col_offset`` pointed to the keyword after " -"``async``." -msgstr "" - -#: ../build/NEWS:8267 -msgid "" -"`bpo-25862 `__: Fix assertion failures " -"in the ``tell()`` method of ``io.TextIOWrapper``. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:8270 ../build/NEWS:10845 ../build/NEWS:15311 -msgid "" -"`bpo-21983 `__: Fix a crash in `ctypes." -"cast()` in case the type argument is a ctypes structured data type. Patch by " -"Eryk Sun and Oren Milman." -msgstr "" - -#: ../build/NEWS:8273 -msgid "" -"`bpo-31577 `__: Fix a crash in `os." -"utime()` in case of a bad ns argument. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:8276 -msgid "" -"`bpo-29832 `__: Remove references to " -"'getsockaddrarg' from various socket error messages. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:8282 -msgid "" -"`bpo-35845 `__: Add 'order' parameter to " -"memoryview.tobytes()." -msgstr "" - -#: ../build/NEWS:8284 -msgid "" -"`bpo-35864 `__: The _asdict() method for " -"collections.namedtuple now returns a regular dict instead of an OrderedDict." -msgstr "" - -#: ../build/NEWS:8287 -msgid "" -"`bpo-35537 `__: An ExitStack is now used " -"internally within subprocess.POpen to clean up pipe file handles. No " -"behavior change in normal operation. But if closing one handle were ever to " -"cause an exception, the others will now be closed instead of leaked. (patch " -"by Giampaolo Rodola)" -msgstr "" - -#: ../build/NEWS:8292 -msgid "" -"`bpo-35847 `__: RISC-V needed the " -"CTYPES_PASS_BY_REF_HACK. Fixes ctypes Structure test_pass_by_value." -msgstr "" - -#: ../build/NEWS:8295 -msgid "" -"`bpo-35813 `__: Shared memory submodule " -"added to multiprocessing to avoid need for serialization between processes" -msgstr "" - -#: ../build/NEWS:8298 -msgid "" -"`bpo-35780 `__: Fix lru_cache() errors " -"arising in recursive, reentrant, or multi-threaded code. These errors could " -"result in orphan links and in the cache being trapped in a state with fewer " -"than the specified maximum number of links. Fix handling of negative maxsize " -"which should have been treated as zero. Fix errors in toggling the \"full\" " -"status flag. Fix misordering of links when errors are encountered. Sync-up " -"the C code and pure Python code for the space saving path in functions with " -"a single positional argument. In this common case, the space overhead of an " -"lru cache entry is reduced by almost half. Fix counting of cache misses. In " -"error cases, the miss count was out of sync with the actual number of times " -"the underlying user function was called." -msgstr "" - -#: ../build/NEWS:8310 -msgid "" -"`bpo-35537 `__: :func:`os.posix_spawn` " -"and :func:`os.posix_spawnp` now have a *setsid* parameter." -msgstr "" - -#: ../build/NEWS:8313 -msgid "" -"`bpo-23846 `__: :class:`asyncio." -"ProactorEventLoop` now catches and logs send errors when the self-pipe is " -"full." -msgstr "" - -#: ../build/NEWS:8316 -msgid "" -"`bpo-34323 `__: :mod:`asyncio`: Enhance " -"``IocpProactor.close()`` log: wait 1 second before the first log, then log " -"every second. Log also the number of seconds since ``close()`` was called." -msgstr "" - -#: ../build/NEWS:8320 -msgid "" -"`bpo-35674 `__: Add a new :func:`os." -"posix_spawnp` function. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:8323 -msgid "" -"`bpo-35733 `__: ``ast." -"Constant(boolean)`` no longer an instance of :class:`ast.Num`. Patch by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:8326 -msgid "" -"`bpo-35726 `__: QueueHandler.prepare() " -"now makes a copy of the record before modifying and enqueueing it, to avoid " -"affecting other handlers in the chain." -msgstr "" - -#: ../build/NEWS:8330 -msgid "" -"`bpo-35719 `__: Sped up multi-argument :" -"mod:`math` functions atan2(), copysign(), remainder() and hypot() by " -"1.3--2.5 times." -msgstr "" - -#: ../build/NEWS:8333 -msgid "" -"`bpo-35717 `__: Fix KeyError exception " -"raised when using enums and compile. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:8336 -msgid "" -"`bpo-35699 `__: Fixed detection of " -"Visual Studio Build Tools 2017 in distutils" -msgstr "" - -#: ../build/NEWS:8338 -msgid "" -"`bpo-32710 `__: Fix memory leaks in " -"asyncio ProactorEventLoop on overlapped operation failure." -msgstr "" - -#: ../build/NEWS:8341 -msgid "" -"`bpo-35702 `__: The :data:`time." -"CLOCK_UPTIME_RAW` constant is now available for macOS 10.12." -msgstr "" - -#: ../build/NEWS:8344 -msgid "" -"`bpo-32710 `__: Fix a memory leak in " -"asyncio in the ProactorEventLoop when ``ReadFile()`` or ``WSASend()`` " -"overlapped operation fail immediately: release the internal buffer." -msgstr "" - -#: ../build/NEWS:8348 -msgid "" -"`bpo-35682 `__: Fix ``asyncio." -"ProactorEventLoop.sendfile()``: don't attempt to set the result of an " -"internal future if it's already done." -msgstr "" - -#: ../build/NEWS:8351 -msgid "" -"`bpo-35283 `__: Add a deprecated warning " -"for the :meth:`threading.Thread.isAlive` method. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:8354 -msgid "" -"`bpo-35664 `__: Improve operator." -"itemgetter() performance by 33% with optimized argument handling and with " -"adding a fast path for the common case of a single non-negative integer " -"index into a tuple (which is the typical use case in the standard library)." -msgstr "" - -#: ../build/NEWS:8359 -msgid "" -"`bpo-35643 `__: Fixed a SyntaxWarning: " -"invalid escape sequence in Modules/_sha3/cleanup.py. Patch by Mickaël " -"Schoentgen." -msgstr "" - -#: ../build/NEWS:8362 -msgid "" -"`bpo-35619 `__: Improved support of " -"custom data descriptors in :func:`help` and :mod:`pydoc`." -msgstr "" - -#: ../build/NEWS:8365 -msgid "" -"`bpo-28503 `__: The `crypt` module now " -"internally uses the `crypt_r()` library function instead of `crypt()` when " -"available." -msgstr "" - -#: ../build/NEWS:8368 -msgid "" -"`bpo-35614 `__: Fixed help() on " -"metaclasses. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:8370 -msgid "" -"`bpo-35568 `__: Expose ``raise(signum)`` " -"as `raise_signal`" -msgstr "" - -#: ../build/NEWS:8372 -msgid "" -"`bpo-35588 `__: The floor division and " -"modulo operations and the :func:`divmod` function on :class:`fractions." -"Fraction` types are 2--4x faster. Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:8376 -msgid "" -"`bpo-35585 `__: Speed-up building enums " -"by value, e.g. http.HTTPStatus(200)." -msgstr "" - -#: ../build/NEWS:8378 -msgid "" -"`bpo-30561 `__: random.gammavariate(1.0, " -"beta) now computes the same result as random.expovariate(1.0 / beta). This " -"synchronizes the two algorithms and eliminates some idiosyncrasies in the " -"old implementation. It does however produce a difference stream of random " -"variables than it used to." -msgstr "" - -#: ../build/NEWS:8383 -msgid "" -"`bpo-35537 `__: The :mod:`subprocess` " -"module can now use the :func:`os.posix_spawn` function in some cases for " -"better performance." -msgstr "" - -#: ../build/NEWS:8386 -msgid "" -"`bpo-35526 `__: Delaying the 'joke' of " -"barry_as_FLUFL.mandatory to Python version 4.0" -msgstr "" - -#: ../build/NEWS:8389 -msgid "" -"`bpo-35523 `__: Remove :mod:`ctypes` " -"callback workaround: no longer create a callback at startup. Avoid SELinux " -"alert on ``import ctypes`` and ``import uuid``." -msgstr "" - -#: ../build/NEWS:8393 -msgid "" -"`bpo-31784 `__: :func:`uuid.uuid1` now " -"calls :func:`time.time_ns` rather than ``int(time.time() * 1e9)``." -msgstr "" - -#: ../build/NEWS:8396 -msgid "" -"`bpo-35513 `__: :class:`~unittest.runner." -"TextTestRunner` of :mod:`unittest.runner` now uses :func:`time.perf_counter` " -"rather than :func:`time.time` to measure the execution time of a test: :func:" -"`time.time` can go backwards, whereas :func:`time.perf_counter` is monotonic." -msgstr "" - -#: ../build/NEWS:8402 -msgid "" -"`bpo-35502 `__: Fixed reference leaks " -"in :class:`xml.etree.ElementTree.TreeBuilder` in case of unfinished building " -"of the tree (in particular when an error was raised during parsing XML)." -msgstr "" - -#: ../build/NEWS:8406 -msgid "" -"`bpo-35348 `__: Make :func:`platform." -"architecture` parsing of ``file`` command output more reliable: add the ``-" -"b`` option to the ``file`` command to omit the filename, force the usage of " -"the C locale, and search also the \"shared object\" pattern." -msgstr "" - -#: ../build/NEWS:8411 -msgid "" -"`bpo-35491 `__: :mod:`multiprocessing`: " -"Add ``Pool.__repr__()`` and enhance ``BaseProcess.__repr__()`` (add pid and " -"parent pid) to ease debugging. Pool state constant values are now strings " -"instead of integers, for example ``RUN`` value becomes ``'RUN'`` instead of " -"``0``." -msgstr "" - -#: ../build/NEWS:8416 -msgid "" -"`bpo-35477 `__: :meth:`multiprocessing." -"Pool.__enter__` now fails if the pool is not running: ``with pool:`` fails " -"if used more than once." -msgstr "" - -#: ../build/NEWS:8419 -msgid "" -"`bpo-31446 `__: Copy command line that " -"was passed to CreateProcessW since this function can change the content of " -"the input buffer." -msgstr "" - -#: ../build/NEWS:8422 -msgid "" -"`bpo-35471 `__: Python 2.4 dropped MacOS " -"9 support. The macpath module was deprecated in Python 3.7. The module is " -"now removed." -msgstr "" - -#: ../build/NEWS:8425 -msgid "" -"`bpo-23057 `__: Unblock Proactor event " -"loop when keyboard interrupt is received on Windows" -msgstr "" - -#: ../build/NEWS:8428 -msgid "" -"`bpo-35052 `__: Fix xml.dom.minidom " -"cloneNode() on a document with an entity: pass the correct arguments to the " -"user data handler of an entity." -msgstr "" - -#: ../build/NEWS:8431 -msgid "" -"`bpo-20239 `__: Allow repeated " -"assignment deletion of :class:`unittest.mock.Mock` attributes. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8434 -msgid "" -"`bpo-17185 `__: Set ``__signature__`` on " -"mock for :mod:`inspect` to get signature. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:8437 -msgid "" -"`bpo-35445 `__: Memory errors during " -"creating posix.environ no longer ignored." -msgstr "" - -#: ../build/NEWS:8439 -msgid "" -"`bpo-35415 `__: Validate fileno= " -"argument to socket.socket()." -msgstr "" - -#: ../build/NEWS:8441 -msgid "" -"`bpo-35424 `__: :class:`multiprocessing." -"Pool` destructor now emits :exc:`ResourceWarning` if the pool is still " -"running." -msgstr "" - -#: ../build/NEWS:8444 -msgid "" -"`bpo-35330 `__: When a :class:`Mock` " -"instance was used to wrap an object, if `side_effect` is used in one of the " -"mocks of it methods, don't call the original implementation and return the " -"result of using the side effect the same way that it is done with " -"return_value." -msgstr "" - -#: ../build/NEWS:8449 -msgid "" -"`bpo-35346 `__: Drop Mac OS 9 and " -"Rhapsody support from the :mod:`platform` module. Rhapsody last release was " -"in 2000. Mac OS 9 last release was in 2001." -msgstr "" - -#: ../build/NEWS:8453 -msgid "" -"`bpo-10496 `__: :func:`~distutils.utils." -"check_environ` of :mod:`distutils.utils` now catches :exc:`KeyError` on " -"calling :func:`pwd.getpwuid`: don't create the ``HOME`` environment variable " -"in this case." -msgstr "" - -#: ../build/NEWS:8458 -msgid "" -"`bpo-10496 `__: :func:`posixpath." -"expanduser` now returns the input *path* unchanged if the ``HOME`` " -"environment variable is not set and the current user has no home directory " -"(if the current user identifier doesn't exist in the password database). " -"This change fix the :mod:`site` module if the current user doesn't exist in " -"the password database (if the user has no home directory)." -msgstr "" - -#: ../build/NEWS:8465 -msgid "" -"`bpo-35389 `__: :func:`platform." -"libc_ver` now uses ``os.confstr('CS_GNU_LIBC_VERSION')`` if available and " -"the *executable* parameter is not set." -msgstr "" - -#: ../build/NEWS:8469 -msgid "" -"`bpo-35394 `__: Add empty slots to " -"asyncio abstract protocols." -msgstr "" - -#: ../build/NEWS:8471 -msgid "" -"`bpo-35310 `__: Fix a bug in :func:" -"`select.select` where, in some cases, the file descriptor sequences were " -"returned unmodified after a signal interruption, even though the file " -"descriptors might not be ready yet. :func:`select.select` will now always " -"return empty lists if a timeout has occurred. Patch by Oran Avraham." -msgstr "" - -#: ../build/NEWS:8477 -msgid "" -"`bpo-35380 `__: Enable TCP_NODELAY on " -"Windows for proactor asyncio event loop." -msgstr "" - -#: ../build/NEWS:8479 -msgid "" -"`bpo-35341 `__: Add generic version of " -"``collections.OrderedDict`` to the ``typing`` module. Patch by Ismo Toijala." -msgstr "" - -#: ../build/NEWS:8482 -msgid "" -"`bpo-35371 `__: Fixed possible crash in " -"``os.utime()`` on Windows when pass incorrect arguments." -msgstr "" - -#: ../build/NEWS:8485 -msgid "" -"`bpo-35346 `__: :func:`platform.uname` " -"now redirects ``stderr`` to :data:`os.devnull` when running external " -"programs like ``cmd /c ver``." -msgstr "" - -#: ../build/NEWS:8488 -msgid "" -"`bpo-35066 `__: Previously, calling the " -"strftime() method on a datetime object with a trailing '%' in the format " -"string would result in an exception. However, this only occurred when the " -"datetime C module was being used; the python implementation did not match " -"this behavior. Datetime is now PEP-399 compliant, and will not throw an " -"exception on a trailing '%'." -msgstr "" - -#: ../build/NEWS:8494 -msgid "" -"`bpo-35345 `__: The function `platform." -"popen` has been removed, it was deprecated since Python 3.3: use :func:`os." -"popen` instead." -msgstr "" - -#: ../build/NEWS:8497 -msgid "" -"`bpo-35344 `__: On macOS, :func:" -"`platform.platform` now uses :func:`platform.mac_ver`, if it returns a non-" -"empty release string, to get the macOS version rather than the darwin " -"version." -msgstr "" - -#: ../build/NEWS:8501 -msgid "" -"`bpo-35312 `__: Make ``lib2to3.pgen2." -"parse.ParseError`` round-trip pickle-able. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:8504 -msgid "" -"`bpo-35308 `__: Fix regression in " -"``webbrowser`` where default browsers may be preferred over browsers in the " -"``BROWSER`` environment variable." -msgstr "" - -#: ../build/NEWS:8507 -msgid "" -"`bpo-24746 `__: Avoid stripping trailing " -"whitespace in doctest fancy diff. Original patch by R. David Murray & Jairo " -"Trad. Enhanced by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:8511 -msgid "" -"`bpo-28604 `__: :func:`locale." -"localeconv` now sets temporarily the ``LC_CTYPE`` locale to the " -"``LC_MONETARY`` locale if the two locales are different and monetary strings " -"are non-ASCII. This temporary change affects other threads." -msgstr "" - -#: ../build/NEWS:8516 -msgid "" -"`bpo-35277 `__: Update ensurepip to " -"install pip 18.1 and setuptools 40.6.2." -msgstr "" - -#: ../build/NEWS:8518 -msgid "" -"`bpo-24209 `__: Adds IPv6 support when " -"invoking http.server directly." -msgstr "" - -#: ../build/NEWS:8520 -msgid "" -"`bpo-35226 `__: Recursively check " -"arguments when testing for equality of :class:`unittest.mock.call` objects " -"and add note that tracking of parameters used to create ancestors of mocks " -"in ``mock_calls`` is not possible." -msgstr "" - -#: ../build/NEWS:8525 -msgid "" -"`bpo-29564 `__: The warnings module now " -"suggests to enable tracemalloc if the source is specified, the tracemalloc " -"module is available, but tracemalloc is not tracing memory allocations." -msgstr "" - -#: ../build/NEWS:8529 -msgid "" -"`bpo-35189 `__: Modify the following " -"fnctl function to retry if interrupted by a signal (EINTR): flock, lockf, " -"fnctl" -msgstr "" - -#: ../build/NEWS:8532 -msgid "" -"`bpo-30064 `__: Use add_done_callback() " -"in sock_* asyncio API to unsubscribe reader/writer early on calcellation." -msgstr "" - -#: ../build/NEWS:8535 -msgid "" -"`bpo-35186 `__: Removed the \"built with" -"\" comment added when ``setup.py upload`` is used with either ``bdist_rpm`` " -"or ``bdist_dumb``." -msgstr "" - -#: ../build/NEWS:8538 -msgid "" -"`bpo-35152 `__: Allow sending more than " -"2 GB at once on a multiprocessing connection on non-Windows systems." -msgstr "" - -#: ../build/NEWS:8541 -msgid "" -"`bpo-35062 `__: Fix incorrect parsing " -"of :class:`_io.IncrementalNewlineDecoder`'s *translate* argument." -msgstr "" - -#: ../build/NEWS:8544 -msgid "" -"`bpo-35065 `__: Remove " -"`StreamReaderProtocol._untrack_reader`. The call to `_untrack_reader` is " -"currently performed too soon, causing the protocol to forget about the " -"reader before `connection_lost` can run and feed the EOF to the reader." -msgstr "" - -#: ../build/NEWS:8549 -msgid "" -"`bpo-34160 `__: ElementTree and minidom " -"now preserve the attribute order specified by the user." -msgstr "" - -#: ../build/NEWS:8552 -msgid "" -"`bpo-35079 `__: Improve difflib." -"SequenceManager.get_matching_blocks doc by adding 'non-overlapping' and " -"changing '!=' to '<'." -msgstr "" - -#: ../build/NEWS:8555 -msgid "" -"`bpo-33710 `__: Deprecated " -"``l*gettext()`` functions and methods in the :mod:`gettext` module. They " -"return encoded bytes instead of Unicode strings and are artifacts from " -"Python 2 times. Also deprecated functions and methods related to setting the " -"charset for ``l*gettext()`` functions and methods." -msgstr "" - -#: ../build/NEWS:8561 -msgid "" -"`bpo-35017 `__: :meth:`socketserver." -"BaseServer.serve_forever` now exits immediately if it's :meth:`~socketserver." -"BaseServer.shutdown` method is called while it is polling for new events." -msgstr "" - -#: ../build/NEWS:8565 -msgid "" -"`bpo-35024 `__: `importlib` no longer " -"logs `wrote ` redundantly after `(created|could not create) " -"` is already logged. Patch by Quentin Agren." -msgstr "" - -#: ../build/NEWS:8569 -msgid "" -"`bpo-35047 `__: ``unittest.mock`` now " -"includes mock calls in exception messages if ``assert_not_called``, " -"``assert_called_once``, or ``assert_called_once_with`` fails. Patch by " -"Petter Strandmark." -msgstr "" - -#: ../build/NEWS:8573 -msgid "" -"`bpo-31047 `__: Fix ``ntpath.abspath`` " -"regression where it didn't remove a trailing separator on Windows. Patch by " -"Tim Graham." -msgstr "" - -#: ../build/NEWS:8576 -msgid "" -"`bpo-35053 `__: tracemalloc now tries to " -"update the traceback when an object is reused from a \"free list" -"\" (optimization for faster object creation, used by the builtin list type " -"for example)." -msgstr "" - -#: ../build/NEWS:8580 -msgid "" -"`bpo-31553 `__: Add the --json-lines " -"option to json.tool. Patch by hongweipeng." -msgstr "" - -#: ../build/NEWS:8582 -msgid "" -"`bpo-34794 `__: Fixed a leak in Tkinter " -"when pass the Python wrapper around Tcl_Obj back to Tcl/Tk." -msgstr "" - -#: ../build/NEWS:8585 -msgid "" -"`bpo-34909 `__: Enum: fix grandchildren " -"subclassing when parent mixed with concrete data types." -msgstr "" - -#: ../build/NEWS:8588 -msgid "" -"`bpo-35022 `__: :class:`unittest.mock." -"MagicMock` now supports the ``__fspath__`` method (from :class:`os." -"PathLike`)." -msgstr "" - -#: ../build/NEWS:8591 -msgid "" -"`bpo-35008 `__: Fixed references leaks " -"when call the ``__setstate__()`` method of :class:`xml.etree.ElementTree." -"Element` in the C implementation for already initialized element." -msgstr "" - -#: ../build/NEWS:8595 -msgid "" -"`bpo-23420 `__: Verify the value for the " -"parameter '-s' of the cProfile CLI. Patch by Robert Kuska" -msgstr "" - -#: ../build/NEWS:8598 -msgid "" -"`bpo-33947 `__: dataclasses now handle " -"recursive reprs without raising RecursionError." -msgstr "" - -#: ../build/NEWS:8601 -msgid "" -"`bpo-34890 `__: Make :func:`inspect." -"iscoroutinefunction`, :func:`inspect.isgeneratorfunction` and :func:`inspect." -"isasyncgenfunction` work with :func:`functools.partial`. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:8605 -msgid "" -"`bpo-34521 `__: Use :func:`socket." -"CMSG_SPACE` to calculate ancillary data size instead of :func:`socket." -"CMSG_LEN` in :func:`multiprocessing.reduction.recvfds` as :rfc:`3542` " -"requires the use of the former for portable applications." -msgstr "" - -#: ../build/NEWS:8610 -msgid "" -"`bpo-31522 `__: The `mailbox.mbox." -"get_string` function *from_* parameter can now successfully be set to a non-" -"default value." -msgstr "" - -#: ../build/NEWS:8613 -msgid "" -"`bpo-34970 `__: Protect tasks weak set " -"manipulation in ``asyncio.all_tasks()``" -msgstr "" - -#: ../build/NEWS:8615 -msgid "" -"`bpo-34969 `__: gzip: Add --fast, --best " -"on the gzip CLI, these parameters will be used for the fast compression " -"method (quick) or the best method compress (slower, but smaller file). Also, " -"change the default compression level to 6 (tradeoff)." -msgstr "" - -#: ../build/NEWS:8620 -msgid "" -"`bpo-16965 `__: The :term:" -"`2to3` :2to3fixer:`execfile` fixer now opens the file with mode ``'rb'``. " -"Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:8623 -msgid "" -"`bpo-34966 `__: :mod:`pydoc` now " -"supports aliases not only to methods defined in the end class, but also to " -"inherited methods. The docstring is not duplicated for aliases." -msgstr "" - -#: ../build/NEWS:8627 -msgid "" -"`bpo-34926 `__: :meth:`mimetypes." -"MimeTypes.guess_type` now accepts :term:`path-like object` in addition to " -"url strings. Patch by Mayank Asthana." -msgstr "" - -#: ../build/NEWS:8631 -msgid "" -"`bpo-23831 `__: Add ``moveto()`` method " -"to the ``tkinter.Canvas`` widget. Patch by Juliette Monsel." -msgstr "" - -#: ../build/NEWS:8634 -msgid "" -"`bpo-34941 `__: Methods ``find()``, " -"``findtext()`` and ``findall()`` of the ``Element`` class in the :mod:`xml." -"etree.ElementTree` module are now able to find children which are instances " -"of ``Element`` subclasses." -msgstr "" - -#: ../build/NEWS:8638 -msgid "" -"`bpo-32680 `__: :class:`smtplib.SMTP` " -"objects now always have a `sock` attribute present" -msgstr "" - -#: ../build/NEWS:8641 -msgid "" -"`bpo-34769 `__: Fix for async generators " -"not finalizing when event loop is in debug mode and garbage collector runs " -"in another thread." -msgstr "" - -#: ../build/NEWS:8644 -msgid "" -"`bpo-34936 `__: Fix ``TclError`` in " -"``tkinter.Spinbox.selection_element()``. Patch by Juliette Monsel." -msgstr "" - -#: ../build/NEWS:8647 -msgid "" -"`bpo-34829 `__: Add methods " -"``selection_from``, ``selection_range``, ``selection_present`` and " -"``selection_to`` to the ``tkinter.Spinbox`` for consistency with the " -"``tkinter.Entry`` widget. Patch by Juliette Monsel." -msgstr "" - -#: ../build/NEWS:8651 -msgid "" -"`bpo-34911 `__: Added *secure_protocols* " -"argument to *http.cookiejar.DefaultCookiePolicy* to allow for tweaking of " -"protocols and also to add support by default for *wss*, the secure websocket " -"protocol." -msgstr "" - -#: ../build/NEWS:8656 -msgid "" -"`bpo-34922 `__: Fixed integer overflow " -"in the :meth:`~hashlib.shake.digest()` and :meth:`~hashlib.shake." -"hexdigest()` methods for the SHAKE algorithm in the :mod:`hashlib` module." -msgstr "" - -#: ../build/NEWS:8660 -msgid "" -"`bpo-34925 `__: 25% speedup in argument " -"parsing for the functions in the bisect module." -msgstr "" - -#: ../build/NEWS:8663 -msgid "" -"`bpo-34900 `__: Fixed :meth:`unittest." -"TestCase.debug` when used to call test methods with subtests. Patch by " -"Bruno Oliveira." -msgstr "" - -#: ../build/NEWS:8666 -msgid "" -"`bpo-34844 `__: logging.Formatter " -"enhancement - Ensure styles and fmt matches in logging.Formatter - Added " -"validate method in each format style class: StrFormatStyle, PercentStyle, " -"StringTemplateStyle. - This method is called in the constructor of logging." -"Formatter class - Also re-raise the KeyError in the format method of each " -"style class, so it would a bit clear that it's an error with the invalid " -"format fields." -msgstr "" - -#: ../build/NEWS:8673 -msgid "" -"`bpo-34897 `__: Adjust test.support." -"missing_compiler_executable check so that a nominal command name of \"\" is " -"ignored. Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:8676 -msgid "" -"`bpo-34871 `__: Fix inspect module " -"polluted ``sys.modules`` when parsing ``__text_signature__`` of callable." -msgstr "" - -#: ../build/NEWS:8679 -msgid "" -"`bpo-34898 `__: Add `mtime` argument to " -"`gzip.compress` for reproducible output. Patch by Guo Ci Teo." -msgstr "" - -#: ../build/NEWS:8682 -msgid "" -"`bpo-28441 `__: On Cygwin and MinGW, " -"ensure that ``sys.executable`` always includes the full filename in the " -"path, including the ``.exe`` suffix (unless it is a symbolic link)." -msgstr "" - -#: ../build/NEWS:8686 -msgid "" -"`bpo-34866 `__: Adding " -"``max_num_fields`` to ``cgi.FieldStorage`` to make DOS attacks harder by " -"limiting the number of ``MiniFieldStorage`` objects created by " -"``FieldStorage``." -msgstr "" - -#: ../build/NEWS:8690 -msgid "" -"`bpo-34711 `__: http.server ensures it " -"reports HTTPStatus.NOT_FOUND when the local path ends with \"/\" and is not " -"a directory, even if the underlying OS (e.g. AIX) accepts such paths as a " -"valid file reference. Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:8695 -msgid "" -"`bpo-34872 `__: Fix self-cancellation in " -"C implementation of asyncio.Task" -msgstr "" - -#: ../build/NEWS:8697 -msgid "" -"`bpo-34849 `__: Don't log waiting for " -"``selector.select`` in asyncio loop iteration. The waiting is pretty normal " -"for any asyncio program, logging its time just adds a noise to logs without " -"any useful information provided." -msgstr "" - -#: ../build/NEWS:8702 -msgid "" -"`bpo-34022 `__: The :envvar:" -"`SOURCE_DATE_EPOCH` environment variable no longer overrides the value of " -"the *invalidation_mode* argument to :func:`py_compile.compile`, and " -"determines its default value instead." -msgstr "" - -#: ../build/NEWS:8706 -msgid "" -"`bpo-34819 `__: Use a monotonic clock to " -"compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order " -"to prevent timeouts from deviating when the system clock is adjusted." -msgstr "" - -#: ../build/NEWS:8710 -msgid "" -"`bpo-34758 `__: Add .wasm -> application/" -"wasm to list of recognized file types and content type headers" -msgstr "" - -#: ../build/NEWS:8713 -msgid "" -"`bpo-34789 `__: :func:`xml.sax." -"make_parser` now accepts any iterable as its *parser_list* argument. Patch " -"by Andrés Delfino." -msgstr "" - -#: ../build/NEWS:8716 -msgid "" -"`bpo-34334 `__: In :class:" -"`QueueHandler`, clear `exc_text` from :class:`LogRecord` to prevent " -"traceback from being written twice." -msgstr "" - -#: ../build/NEWS:8719 -msgid "" -"`bpo-34687 `__: On Windows, asyncio now " -"uses ProactorEventLoop, instead of SelectorEventLoop, by default." -msgstr "" - -#: ../build/NEWS:8722 -msgid "" -"`bpo-5950 `__: Support reading zip files " -"with archive comments in :mod:`zipimport`." -msgstr "" - -#: ../build/NEWS:8725 -msgid "" -"`bpo-32892 `__: The parser now " -"represents all constants as :class:`ast.Constant` instead of using specific " -"constant AST types (``Num``, ``Str``, ``Bytes``, ``NameConstant`` and " -"``Ellipsis``). These classes are considered deprecated and will be removed " -"in future Python versions." -msgstr "" - -#: ../build/NEWS:8731 -msgid "" -"`bpo-34728 `__: Add deprecation warning " -"when `loop` is used in methods: `asyncio.sleep`, `asyncio.wait` and `asyncio." -"wait_for`." -msgstr "" - -#: ../build/NEWS:8734 -msgid "" -"`bpo-34738 `__: ZIP files created by :" -"mod:`distutils` will now include entries for directories." -msgstr "" - -#: ../build/NEWS:8737 -msgid "" -"`bpo-34659 `__: Add an optional " -"*initial* argument to itertools.accumulate()." -msgstr "" - -#: ../build/NEWS:8739 -msgid "" -"`bpo-29577 `__: Support multiple mixin " -"classes when creating Enums." -msgstr "" - -#: ../build/NEWS:8741 -msgid "" -"`bpo-34670 `__: Add SSLContext." -"post_handshake_auth and SSLSocket.verify_client_post_handshake for TLS 1.3's " -"post handshake authentication feature." -msgstr "" - -#: ../build/NEWS:8745 -msgid "" -"`bpo-32718 `__: The Activate.ps1 script " -"from venv works with PowerShell Core 6.1 and is now available under all " -"operating systems." -msgstr "" - -#: ../build/NEWS:8748 -msgid "" -"`bpo-31177 `__: Fix bug that prevented " -"using :meth:`reset_mock ` on mock instances " -"with deleted attributes" -msgstr "" - -#: ../build/NEWS:8751 -msgid "" -"`bpo-34672 `__: Add a workaround, so the " -"``'Z'`` :func:`time.strftime` specifier on the musl C library can work in " -"some cases." -msgstr "" - -#: ../build/NEWS:8754 -msgid "" -"`bpo-34666 `__: Implement ``asyncio." -"StreamWriter.awrite`` and ``asyncio.StreamWriter.aclose()`` coroutines. " -"Methods are needed for providing a consistent stream API with control flow " -"switched on by default." -msgstr "" - -#: ../build/NEWS:8759 -msgid "" -"`bpo-6721 `__: Acquire the logging " -"module's commonly used internal locks while fork()ing to avoid deadlocks in " -"the child process." -msgstr "" - -#: ../build/NEWS:8762 -msgid "" -"`bpo-34658 `__: Fix a rare interpreter " -"unhandled exception state SystemError only seen when using subprocess with a " -"preexec_fn while an after_parent handler has been registered with os." -"register_at_fork and the fork system call fails." -msgstr "" - -#: ../build/NEWS:8767 -msgid "" -"`bpo-34652 `__: Ensure :func:`os.lchmod` " -"is never defined on Linux." -msgstr "" - -#: ../build/NEWS:8769 -msgid "" -"`bpo-34638 `__: Store a weak reference " -"to stream reader to break strong references loop between reader and " -"protocol. It allows to detect and close the socket if the stream is deleted " -"(garbage collected) without ``close()`` call." -msgstr "" - -#: ../build/NEWS:8774 -msgid "" -"`bpo-34536 `__: `Enum._missing_`: raise " -"`ValueError` if None returned and `TypeError` if non-member is returned." -msgstr "" - -#: ../build/NEWS:8777 -msgid "" -"`bpo-34636 `__: Speed up re scanning of " -"many non-matching characters for \\s \\w and \\d within bytes objects. " -"(microoptimization)" -msgstr "" - -#: ../build/NEWS:8780 -msgid "" -"`bpo-24412 `__: Add :func:`~unittest." -"addModuleCleanup()` and :meth:`~unittest.TestCase.addClassCleanup()` to " -"unittest to support cleanups for :func:`~unittest.setUpModule()` and :meth:" -"`~unittest.TestCase.setUpClass()`. Patch by Lisa Roach." -msgstr "" - -#: ../build/NEWS:8785 -msgid "" -"`bpo-34630 `__: Don't log SSL " -"certificate errors in asyncio code (connection error logging is skipped " -"already)." -msgstr "" - -#: ../build/NEWS:8788 -msgid "" -"`bpo-32490 `__: Prevent filename " -"duplication in :mod:`subprocess` exception messages. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:8791 -msgid "" -"`bpo-34363 `__: dataclasses.asdict() " -"and .astuple() now handle namedtuples correctly." -msgstr "" - -#: ../build/NEWS:8794 -msgid "" -"`bpo-34625 `__: Update vendorized expat " -"library version to 2.2.6." -msgstr "" - -#: ../build/NEWS:8796 -msgid "" -"`bpo-32270 `__: The subprocess module no " -"longer mistakenly closes redirected fds even when they were in pass_fds when " -"outside of the default {0, 1, 2} set." -msgstr "" - -#: ../build/NEWS:8800 -msgid "" -"`bpo-34622 `__: Create a dedicated " -"``asyncio.CancelledError``, ``asyncio.InvalidStateError`` and ``asyncio." -"TimeoutError`` exception classes. Inherit them from corresponding " -"exceptions from ``concurrent.futures`` package. Extract ``asyncio`` " -"exceptions into a separate file." -msgstr "" - -#: ../build/NEWS:8806 -msgid "" -"`bpo-34610 `__: Fixed iterator of :class:" -"`multiprocessing.managers.DictProxy`." -msgstr "" - -#: ../build/NEWS:8808 -msgid "" -"`bpo-34421 `__: Fix distutils logging " -"for non-ASCII strings. This caused installation issues on Windows." -msgstr "" - -#: ../build/NEWS:8811 -msgid "" -"`bpo-34604 `__: Fix possible mojibake in " -"the error message of `pwd.getpwnam` and `grp.getgrnam` using string " -"representation because of invisible characters or trailing whitespaces. " -"Patch by William Grzybowski." -msgstr "" - -#: ../build/NEWS:8815 -msgid "" -"`bpo-30977 `__: Make uuid.UUID use " -"``__slots__`` to reduce its memory footprint. Based on original patch by " -"Wouter Bolsterlee." -msgstr "" - -#: ../build/NEWS:8818 -msgid "" -"`bpo-34574 `__: OrderedDict iterators " -"are not exhausted during pickling anymore. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:8821 -msgid "" -"`bpo-8110 `__: Refactored :mod:" -"`subprocess` to check for Windows-specific modules rather than ``sys." -"platform == 'win32'``." -msgstr "" - -#: ../build/NEWS:8824 -msgid "" -"`bpo-34530 `__: ``distutils.spawn." -"find_executable()`` now falls back on :data:`os.defpath` if the ``PATH`` " -"environment variable is not set." -msgstr "" - -#: ../build/NEWS:8827 -msgid "" -"`bpo-34563 `__: On Windows, fix " -"multiprocessing.Connection for very large read: fix _winapi.PeekNamedPipe() " -"and _winapi.ReadFile() for read larger than INT_MAX (usually 2^31-1)." -msgstr "" - -#: ../build/NEWS:8831 -msgid "" -"`bpo-34558 `__: Correct typo in Lib/" -"ctypes/_aix.py" -msgstr "" - -#: ../build/NEWS:8833 -msgid "" -"`bpo-34282 `__: Move ``Enum._convert`` " -"to ``EnumMeta._convert_`` and fix enum members getting shadowed by parent " -"attributes." -msgstr "" - -#: ../build/NEWS:8836 -msgid "" -"`bpo-22872 `__: When the queue is " -"closed, :exc:`ValueError` is now raised by :meth:`multiprocessing.Queue.put` " -"and :meth:`multiprocessing.Queue.get` instead of :exc:`AssertionError` and :" -"exc:`OSError`, respectively. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:8841 -msgid "" -"`bpo-34515 `__: Fix parsing non-ASCII " -"identifiers in :mod:`lib2to3.pgen2.tokenize` (PEP 3131)." -msgstr "" - -#: ../build/NEWS:8844 -msgid "" -"`bpo-13312 `__: Avoids a possible " -"integer underflow (undefined behavior) in the time module's year handling " -"code when passed a very low negative year value." -msgstr "" - -#: ../build/NEWS:8848 -msgid "" -"`bpo-34472 `__: Improved compatibility " -"for streamed files in :mod:`zipfile`. Previously an optional signature was " -"not being written and certain ZIP applications were not supported. Patch by " -"Silas Sewell." -msgstr "" - -#: ../build/NEWS:8852 -msgid "" -"`bpo-34454 `__: Fix the .fromisoformat() " -"methods of datetime types crashing when given unicode with non-UTF-8-" -"encodable code points. Specifically, datetime.fromisoformat() now accepts " -"surrogate unicode code points used as the separator. Report and tests by " -"Alexey Izbyshev, patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:8857 -msgid "" -"`bpo-6700 `__: Fix inspect.getsourcelines " -"for module level frames/tracebacks. Patch by Vladimir Matveev." -msgstr "" - -#: ../build/NEWS:8860 -msgid "" -"`bpo-34171 `__: Running the :mod:`trace` " -"module no longer creates the ``trace.cover`` file." -msgstr "" - -#: ../build/NEWS:8863 -msgid "" -"`bpo-34441 `__: Fix crash when an " -"``ABC``-derived class with invalid ``__subclasses__`` is passed as the " -"second argument to :func:`issubclass()`. Patch by Alexey Izbyshev." -msgstr "" - -#: ../build/NEWS:8867 -msgid "" -"`bpo-34427 `__: Fix infinite loop in ``a." -"extend(a)`` for ``MutableSequence`` subclasses." -msgstr "" - -#: ../build/NEWS:8870 -msgid "" -"`bpo-34412 `__: Make :func:`signal." -"strsignal` work on HP-UX. Patch by Michael Osipov." -msgstr "" - -#: ../build/NEWS:8873 -msgid "" -"`bpo-20849 `__: shutil.copytree now " -"accepts a new ``dirs_exist_ok`` keyword argument. Patch by Josh Bronson." -msgstr "" - -#: ../build/NEWS:8876 -msgid "" -"`bpo-31715 `__: Associate ``.mjs`` file " -"extension with ``application/javascript`` MIME Type." -msgstr "" - -#: ../build/NEWS:8879 -msgid "" -"`bpo-34384 `__: :func:`os.readlink` now " -"accepts :term:`path-like ` and :class:`bytes` objects on " -"Windows." -msgstr "" - -#: ../build/NEWS:8882 -msgid "" -"`bpo-22602 `__: The UTF-7 decoder now " -"raises :exc:`UnicodeDecodeError` for ill-formed sequences starting with \"+" -"\" (as specified in RFC 2152). Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:8886 -msgid "" -"`bpo-2122 `__: The :meth:`mmap.flush() " -"` method now returns ``None`` on success, raises an " -"exception on error under all platforms." -msgstr "" - -#: ../build/NEWS:8889 -msgid "" -"`bpo-34341 `__: Appending to the ZIP " -"archive with the ZIP64 extension no longer grows the size of extra fields of " -"existing entries." -msgstr "" - -#: ../build/NEWS:8892 -msgid "" -"`bpo-34333 `__: Fix %-formatting in :" -"meth:`pathlib.PurePath.with_suffix` when formatting an error message." -msgstr "" - -#: ../build/NEWS:8895 -msgid "" -"`bpo-18540 `__: The :class:`imaplib." -"IMAP4` and :class:`imaplib.IMAP4_SSL` classes now resolve to the local host " -"IP correctly when the default value of *host* parameter (``''``) is used." -msgstr "" - -#: ../build/NEWS:8899 -msgid "" -"`bpo-26502 `__: Implement ``traceback." -"FrameSummary.__len__()`` method to preserve compatibility with the old tuple " -"API." -msgstr "" - -#: ../build/NEWS:8902 -msgid "" -"`bpo-34318 `__: :func:`~unittest." -"TestCase.assertRaises`, :func:`~unittest.TestCase.assertRaisesRegex`, :func:" -"`~unittest.TestCase.assertWarns` and :func:`~unittest.TestCase." -"assertWarnsRegex` no longer success if the passed callable is None. They no " -"longer ignore unknown keyword arguments in the context manager mode. A " -"DeprecationWarning was raised in these cases since Python 3.5." -msgstr "" - -#: ../build/NEWS:8910 -msgid "" -"`bpo-9372 `__: Deprecate :meth:" -"`__getitem__` methods of :class:`xml.dom.pulldom.DOMEventStream`, :class:" -"`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput`." -msgstr "" - -#: ../build/NEWS:8914 -msgid "" -"`bpo-33613 `__: Fix a race condition in " -"``multiprocessing.semaphore_tracker`` when the tracker receives SIGINT " -"before it can register signal handlers for ignoring it." -msgstr "" - -#: ../build/NEWS:8918 -msgid "" -"`bpo-34248 `__: Report filename in the " -"exception raised when the database file cannot be opened by :func:`dbm.gnu." -"open` and :func:`dbm.ndbm.open` due to OS-related error. Patch by Zsolt " -"Cserna." -msgstr "" - -#: ../build/NEWS:8922 -msgid "" -"`bpo-33089 `__: Add math.dist() to " -"compute the Euclidean distance between two points." -msgstr "" - -#: ../build/NEWS:8925 -msgid "" -"`bpo-34246 `__: :meth:`smtplib.SMTP." -"send_message` no longer modifies the content of the *mail_options* argument. " -"Patch by Pablo S. Blum de Aguiar." -msgstr "" - -#: ../build/NEWS:8928 -msgid "" -"`bpo-31047 `__: Fix ``ntpath.abspath`` " -"for invalid paths on windows. Patch by Franz Woellert." -msgstr "" - -#: ../build/NEWS:8931 -msgid "" -"`bpo-32321 `__: Add pure Python fallback " -"for functools.reduce. Patch by Robert Wright." -msgstr "" - -#: ../build/NEWS:8934 -msgid "" -"`bpo-34270 `__: The default asyncio task " -"class now always has a name which can be get or set using two new methods (:" -"meth:`~asyncio.Task.get_name()` and :meth:`~asyncio.Task.set_name`) and is " -"visible in the :func:`repr` output. An initial name can also be set using " -"the new ``name`` keyword argument to :func:`asyncio.create_task` or the :" -"meth:`~asyncio.AbstractEventLoop.create_task` method of the event loop. If " -"no initial name is set, the default Task implementation generates a name " -"like ``Task-1`` using a monotonic counter." -msgstr "" - -#: ../build/NEWS:8943 -msgid "" -"`bpo-34263 `__: asyncio's event loop " -"will not pass timeouts longer than one day to epoll/select etc." -msgstr "" - -#: ../build/NEWS:8946 -msgid "" -"`bpo-34035 `__: Fix several " -"AttributeError in zipfile seek() methods. Patch by Mickaël Schoentgen." -msgstr "" - -#: ../build/NEWS:8949 -msgid "" -"`bpo-32215 `__: Fix performance " -"regression in :mod:`sqlite3` when a DML statement appeared in a different " -"line than the rest of the SQL query." -msgstr "" - -#: ../build/NEWS:8952 -msgid "" -"`bpo-34075 `__: Deprecate passing non-" -"ThreadPoolExecutor instances to :meth:`AbstractEventLoop." -"set_default_executor`." -msgstr "" - -#: ../build/NEWS:8955 -msgid "" -"`bpo-34251 `__: Restore ``msilib.Win64`` " -"to preserve backwards compatibility since it's already used by :mod:" -"`distutils`' ``bdist_msi`` command." -msgstr "" - -#: ../build/NEWS:8958 -msgid "" -"`bpo-19891 `__: Ignore errors caused by " -"missing / non-writable homedir while writing history during exit of an " -"interactive session. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:8962 -msgid "" -"`bpo-33089 `__: Enhanced math.hypot() to " -"support more than two dimensions." -msgstr "" - -#: ../build/NEWS:8964 -msgid "" -"`bpo-34228 `__: tracemalloc: " -"PYTHONTRACEMALLOC=0 environment variable and -X tracemalloc=0 command line " -"option are now allowed to disable explicitly tracemalloc at startup." -msgstr "" - -#: ../build/NEWS:8968 -msgid "" -"`bpo-13041 `__: Use :func:`shutil." -"get_terminal_size` to calculate the terminal width correctly in the " -"``argparse.HelpFormatter`` class. Initial patch by Zbyszek Jędrzejewski-" -"Szmek." -msgstr "" - -#: ../build/NEWS:8972 -msgid "" -"`bpo-34213 `__: Allow frozen dataclasses " -"to have a field named \"object\". Previously this conflicted with an " -"internal use of \"object\"." -msgstr "" - -#: ../build/NEWS:8975 -msgid "" -"`bpo-34052 `__: :meth:`sqlite3." -"Connection.create_aggregate`, :meth:`sqlite3.Connection.create_function`, :" -"meth:`sqlite3.Connection.set_authorizer`, :meth:`sqlite3.Connection." -"set_progress_handler` methods raises TypeError when unhashable objects are " -"passed as callable. These methods now don't pass such objects to SQLite API. " -"Previous behavior could lead to segfaults. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:8983 -msgid "" -"`bpo-34197 `__: Attributes " -"*skipinitialspace*, *doublequote* and *strict* of the *dialect* attribute of " -"the :mod:`csv` reader are now :class:`bool` instances instead of integers 0 " -"or 1." -msgstr "" - -#: ../build/NEWS:8987 -msgid "" -"`bpo-32788 `__: Errors other than :exc:" -"`TypeError` raised in methods ``__adapt__()`` and ``__conform__()`` in the :" -"mod:`sqlite3` module are now propagated to the user." -msgstr "" - -#: ../build/NEWS:8991 -msgid "" -"`bpo-21446 `__: The :2to3fixer:`reload` " -"fixer now uses :func:`importlib.reload` instead of deprecated :func:`imp." -"reload`." -msgstr "" - -#: ../build/NEWS:8994 -msgid "" -"`bpo-940286 `__: pydoc's ``Helper." -"showtopic()`` method now prints the cross references of a topic correctly." -msgstr "" - -#: ../build/NEWS:8997 -msgid "" -"`bpo-34164 `__: :func:`base64.b32decode` " -"could raise UnboundLocalError or OverflowError for incorrect padding. Now " -"it always raises :exc:`base64.Error` in these cases." -msgstr "" - -#: ../build/NEWS:9001 -msgid "" -"`bpo-33729 `__: Fixed issues with " -"arguments parsing in :mod:`hashlib`." -msgstr "" - -#: ../build/NEWS:9003 -msgid "" -"`bpo-34097 `__: ZipFile can zip files " -"older than 1980-01-01 and newer than 2107-12-31 using a new " -"``strict_timestamps`` parameter at the cost of setting the timestamp to the " -"limit." -msgstr "" - -#: ../build/NEWS:9007 -msgid "" -"`bpo-34108 `__: Remove extraneous CR in " -"2to3 refactor." -msgstr "" - -#: ../build/NEWS:9009 -msgid "" -"`bpo-34070 `__: Make sure to only check " -"if the handle is a tty, when opening a file with ``buffering=-1``." -msgstr "" - -#: ../build/NEWS:9012 -msgid "" -"`bpo-27494 `__: Reverted :issue:`27494`. " -"2to3 rejects now a trailing comma in generator expressions." -msgstr "" - -#: ../build/NEWS:9015 -msgid "" -"`bpo-33967 `__: functools.singledispatch " -"now raises TypeError instead of IndexError when no positional arguments are " -"passed." -msgstr "" - -#: ../build/NEWS:9018 -msgid "" -"`bpo-34041 `__: Add the parameter " -"*deterministic* to the :meth:`sqlite3.Connection.create_function` method. " -"Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:9022 -msgid "" -"`bpo-34056 `__: Ensure the loader shim " -"created by ``imp.load_module`` always returns bytes from its ``get_data()`` " -"function. This fixes using ``imp.load_module`` with :pep:`552` hash-based " -"pycs." -msgstr "" - -#: ../build/NEWS:9026 -msgid "" -"`bpo-34054 `__: The multiprocessing " -"module now uses the monotonic clock :func:`time.monotonic` instead of the " -"system clock :func:`time.time` to implement timeout." -msgstr "" - -#: ../build/NEWS:9030 -msgid "" -"`bpo-34043 `__: Optimize tarfile " -"uncompress performance about 15% when gzip is used." -msgstr "" - -#: ../build/NEWS:9033 -msgid "" -"`bpo-34044 `__: ``subprocess.Popen`` now " -"copies the *startupinfo* argument to leave it unchanged: it will modify the " -"copy, so that the same ``STARTUPINFO`` object can be used multiple times." -msgstr "" - -#: ../build/NEWS:9037 -msgid "" -"`bpo-34010 `__: Fixed a performance " -"regression for reading streams with tarfile. The buffered read should use a " -"list, instead of appending to a bytes object." -msgstr "" - -#: ../build/NEWS:9041 -msgid "" -"`bpo-34019 `__: webbrowser: Correct the " -"arguments passed to Opera Browser when opening a new URL using the " -"``webbrowser`` module. Patch by Bumsik Kim." -msgstr "" - -#: ../build/NEWS:9044 -msgid "" -"`bpo-34003 `__: csv.DictReader now " -"creates dicts instead of OrderedDicts. Patch by Michael Selik." -msgstr "" - -#: ../build/NEWS:9047 -msgid "" -"`bpo-33978 `__: Closed existing logging " -"handlers before reconfiguration via fileConfig and dictConfig. Patch by " -"Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:9050 -msgid "" -"`bpo-14117 `__: Make minor tweaks to " -"turtledemo. The 'wikipedia' example is now 'rosette', describing what it " -"draws. The 'penrose' print output is reduced. The'1024' output of 'tree' is " -"eliminated." -msgstr "" - -#: ../build/NEWS:9054 -msgid "" -"`bpo-33974 `__: Fixed passing lists and " -"tuples of strings containing special characters ``\"``, ``\\``, ``{``, ``}`` " -"and ``\\n`` as options to :mod:`~tkinter.ttk` widgets." -msgstr "" - -#: ../build/NEWS:9058 -msgid "" -"`bpo-27500 `__: Fix getaddrinfo to " -"resolve IPv6 addresses correctly." -msgstr "" - -#: ../build/NEWS:9060 -msgid "" -"`bpo-24567 `__: Improve random.choices() " -"to handle subnormal input weights that could occasionally trigger an " -"IndexError." -msgstr "" - -#: ../build/NEWS:9063 -msgid "" -"`bpo-33871 `__: Fixed integer overflow " -"in :func:`os.readv`, :func:`os.writev`, :func:`os.preadv` and :func:`os." -"pwritev` and in :func:`os.sendfile` with *headers* or *trailers* arguments " -"(on BSD-based OSes and macOS)." -msgstr "" - -#: ../build/NEWS:9067 -msgid "" -"`bpo-25007 `__: Add :func:`copy.copy` " -"and :func:`copy.deepcopy` support to zlib compressors and decompressors. " -"Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:9070 -msgid "" -"`bpo-33929 `__: multiprocessing: Fix a " -"race condition in Popen of multiprocessing.popen_spawn_win32. The child " -"process now duplicates the read end of pipe instead of \"stealing\" it. " -"Previously, the read end of pipe was \"stolen\" by the child process, but it " -"leaked a handle if the child process had been terminated before it could " -"steal the handle from the parent process." -msgstr "" - -#: ../build/NEWS:9077 -msgid "" -"`bpo-33899 `__: Tokenize module now " -"implicitly emits a NEWLINE when provided with input that does not have a " -"trailing new line. This behavior now matches what the C tokenizer does " -"internally. Contributed by Ammar Askar." -msgstr "" - -#: ../build/NEWS:9081 -msgid "" -"`bpo-33897 `__: Added a 'force' keyword " -"argument to logging.basicConfig()." -msgstr "" - -#: ../build/NEWS:9083 -msgid "" -"`bpo-33695 `__: :func:`shutil.copytree` " -"uses :func:`os.scandir` function and all copy functions depending from it " -"use cached :func:`os.stat` values. The speedup for copying a directory with " -"8000 files is around +9% on Linux, +20% on Windows and + 30% on a Windows " -"SMB share. Also the number of :func:`os.stat` syscalls is reduced by 38% " -"making :func:`shutil.copytree` especially faster on network filesystems. " -"(Contributed by Giampaolo Rodola' in :issue:`33695`.)" -msgstr "" - -#: ../build/NEWS:9091 -msgid "" -"`bpo-33916 `__: bz2 and lzma: When " -"Decompressor.__init__() is called twice, free the old lock to not leak " -"memory." -msgstr "" - -#: ../build/NEWS:9094 -msgid "" -"`bpo-32568 `__: Make select.epoll() and " -"its documentation consistent regarding *sizehint* and *flags*." -msgstr "" - -#: ../build/NEWS:9097 -msgid "" -"`bpo-33833 `__: Fixed bug in asyncio " -"where ProactorSocketTransport logs AssertionError if force closed during " -"write." -msgstr "" - -#: ../build/NEWS:9100 -msgid "" -"`bpo-33663 `__: Convert content length " -"to string before putting to header." -msgstr "" - -#: ../build/NEWS:9102 -msgid "" -"`bpo-33721 `__: :mod:`os.path` functions " -"that return a boolean result like :func:`~os.path.exists`, :func:`~os.path." -"lexists`, :func:`~os.path.isdir`, :func:`~os.path.isfile`, :func:`~os.path." -"islink`, and :func:`~os.path.ismount`, and :mod:`pathlib.Path` methods that " -"return a boolean result like :meth:`~pathlib.Path.exists()`, :meth:`~pathlib." -"Path.is_dir()`, :meth:`~pathlib.Path.is_file()`, :meth:`~pathlib.Path." -"is_mount()`, :meth:`~pathlib.Path.is_symlink()`, :meth:`~pathlib.Path." -"is_block_device()`, :meth:`~pathlib.Path.is_char_device()`, :meth:`~pathlib." -"Path.is_fifo()`, :meth:`~pathlib.Path.is_socket()` now return ``False`` " -"instead of raising :exc:`ValueError` or its subclasses :exc:" -"`UnicodeEncodeError` and :exc:`UnicodeDecodeError` for paths that contain " -"characters or bytes unrepresentable at the OS level." -msgstr "" - -#: ../build/NEWS:9116 -msgid "" -"`bpo-26544 `__: Fixed implementation of :" -"func:`platform.libc_ver`. It almost always returned version '2.9' for glibc." -msgstr "" - -#: ../build/NEWS:9119 -msgid "" -"`bpo-33843 `__: Remove deprecated ``cgi." -"escape``, ``cgi.parse_qs`` and ``cgi.parse_qsl``." -msgstr "" - -#: ../build/NEWS:9122 -msgid "" -"`bpo-33842 `__: Remove ``tarfile." -"filemode`` which is deprecated since Python 3.3." -msgstr "" - -#: ../build/NEWS:9125 ../build/NEWS:10723 ../build/NEWS:15317 -msgid "" -"`bpo-30167 `__: Prevent site.main() " -"exception if PYTHONSTARTUP is set. Patch by Steve Weber." -msgstr "" - -#: ../build/NEWS:9128 -msgid "" -"`bpo-33805 `__: Improve error message of " -"dataclasses.replace() when an InitVar is not specified" -msgstr "" - -#: ../build/NEWS:9131 -msgid "" -"`bpo-33687 `__: Fix the call to ``os." -"chmod()`` for ``uu.decode()`` if a mode is given or decoded. Patch by Timo " -"Furrer." -msgstr "" - -#: ../build/NEWS:9134 ../build/NEWS:10726 ../build/NEWS:15320 -msgid "" -"`bpo-33812 `__: Datetime instance d with " -"non-None tzinfo, but with d.tzinfo.utcoffset(d) returning None is now " -"treated as naive by the astimezone() method." -msgstr "" - -#: ../build/NEWS:9138 -msgid "" -"`bpo-32108 `__: In configparser, don't " -"clear section when it is assigned to itself." -msgstr "" - -#: ../build/NEWS:9141 -msgid "" -"`bpo-27397 `__: Make email module " -"properly handle invalid-length base64 strings." -msgstr "" - -#: ../build/NEWS:9144 -msgid "" -"`bpo-33578 `__: Implement multibyte " -"encoder/decoder state methods" -msgstr "" - -#: ../build/NEWS:9146 ../build/NEWS:10730 ../build/NEWS:15324 -msgid "" -"`bpo-30805 `__: Avoid race condition " -"with debug logging" -msgstr "" - -#: ../build/NEWS:9148 -msgid "" -"`bpo-33476 `__: Fix _header_value_parser." -"py when address group is missing final ';'. Contributed by Enrique Perez-" -"Terron" -msgstr "" - -#: ../build/NEWS:9151 ../build/NEWS:10732 -msgid "" -"`bpo-33694 `__: asyncio: Fix a race " -"condition causing data loss on pause_reading()/resume_reading() when using " -"the ProactorEventLoop." -msgstr "" - -#: ../build/NEWS:9154 ../build/NEWS:10735 -msgid "" -"`bpo-32493 `__: Correct test for " -"``uuid_enc_be`` availability in ``configure.ac``. Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:9157 ../build/NEWS:10738 -msgid "" -"`bpo-33792 `__: Add asyncio." -"WindowsSelectorEventLoopPolicy and asyncio.WindowsProactorEventLoopPolicy." -msgstr "" - -#: ../build/NEWS:9160 -msgid "" -"`bpo-33274 `__: W3C DOM Level 1 " -"specifies return value of Element.removeAttributeNode() as \"The Attr node " -"that was removed.\" xml.dom.minidom now complies with this requirement." -msgstr "" - -#: ../build/NEWS:9164 ../build/NEWS:10741 -msgid "" -"`bpo-33778 `__: Update ``unicodedata``'s " -"database to Unicode version 11.0.0." -msgstr "" - -#: ../build/NEWS:9166 -msgid "" -"`bpo-33165 `__: Added a stacklevel " -"parameter to logging calls to allow use of wrapper/helper functions for " -"logging APIs." -msgstr "" - -#: ../build/NEWS:9169 ../build/NEWS:10743 -msgid "" -"`bpo-33770 `__: improve base64 exception " -"message for encoded inputs of invalid length" -msgstr "" - -#: ../build/NEWS:9172 ../build/NEWS:10746 -msgid "" -"`bpo-33769 `__: asyncio/start_tls: Fix " -"error message; cancel callbacks in case of an unhandled error; mark " -"SSLTransport as closed if it is aborted." -msgstr "" - -#: ../build/NEWS:9175 ../build/NEWS:10749 ../build/NEWS:15326 -msgid "" -"`bpo-33767 `__: The concatenation (``" -"+``) and repetition (``*``) sequence operations now raise :exc:`TypeError` " -"instead of :exc:`SystemError` when performed on :class:`mmap.mmap` objects. " -"Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:9179 ../build/NEWS:10753 -msgid "" -"`bpo-33734 `__: asyncio/ssl: Fix " -"AttributeError, increase default handshake timeout" -msgstr "" - -#: ../build/NEWS:9182 -msgid "" -"`bpo-31014 `__: Fixed creating a " -"controller for :mod:`webbrowser` when a user specifies a path to an entry in " -"the BROWSER environment variable. Based on patch by John Still." -msgstr "" - -#: ../build/NEWS:9186 -msgid "" -"`bpo-2504 `__: Add gettext.pgettext() and " -"variants." -msgstr "" - -#: ../build/NEWS:9188 -msgid "" -"`bpo-33197 `__: Add description property " -"for _ParameterKind" -msgstr "" - -#: ../build/NEWS:9190 ../build/NEWS:10851 -msgid "" -"`bpo-32751 `__: When cancelling the task " -"due to a timeout, :meth:`asyncio.wait_for` will now wait until the " -"cancellation is complete." -msgstr "" - -#: ../build/NEWS:9193 ../build/NEWS:10854 ../build/NEWS:15330 -msgid "" -"`bpo-32684 `__: Fix gather to propagate " -"cancellation of itself even with return_exceptions." -msgstr "" - -#: ../build/NEWS:9196 ../build/NEWS:10857 -msgid "" -"`bpo-33654 `__: Support protocol type " -"switching in SSLTransport.set_protocol()." -msgstr "" - -#: ../build/NEWS:9198 ../build/NEWS:10859 -msgid "" -"`bpo-33674 `__: Pause the transport as " -"early as possible to further reduce the risk of data_received() being called " -"before connection_made()." -msgstr "" - -#: ../build/NEWS:9201 -msgid "" -"`bpo-33671 `__: :func:`shutil." -"copyfile`, :func:`shutil.copy`, :func:`shutil.copy2`, :func:`shutil." -"copytree` and :func:`shutil.move` use platform-specific fast-copy syscalls " -"on Linux and macOS in order to copy the file more efficiently. On Windows :" -"func:`shutil.copyfile` uses a bigger default buffer size (1 MiB instead of " -"16 KiB) and a :func:`memoryview`-based variant of :func:`shutil.copyfileobj` " -"is used. The speedup for copying a 512MiB file is about +26% on Linux, +50% " -"on macOS and +40% on Windows. Also, much less CPU cycles are consumed. " -"(Contributed by Giampaolo Rodola' in :issue:`25427`.)" -msgstr "" - -#: ../build/NEWS:9211 ../build/NEWS:10862 ../build/NEWS:15333 -msgid "" -"`bpo-33674 `__: Fix a race condition in " -"SSLProtocol.connection_made() of asyncio.sslproto: start immediately the " -"handshake instead of using call_soon(). Previously, data_received() could be " -"called before the handshake started, causing the handshake to hang or fail." -msgstr "" - -#: ../build/NEWS:9216 ../build/NEWS:10867 ../build/NEWS:15338 -msgid "" -"`bpo-31647 `__: Fixed bug where calling " -"write_eof() on a _SelectorSocketTransport after it's already closed raises " -"AttributeError." -msgstr "" - -#: ../build/NEWS:9219 ../build/NEWS:10870 -msgid "" -"`bpo-32610 `__: Make asyncio.all_tasks() " -"return only pending tasks." -msgstr "" - -#: ../build/NEWS:9221 ../build/NEWS:10872 -msgid "" -"`bpo-32410 `__: Avoid blocking on file " -"IO in sendfile fallback code" -msgstr "" - -#: ../build/NEWS:9223 ../build/NEWS:10874 ../build/NEWS:15343 -msgid "" -"`bpo-33469 `__: Fix RuntimeError after " -"closing loop that used run_in_executor" -msgstr "" - -#: ../build/NEWS:9225 ../build/NEWS:10876 ../build/NEWS:15341 -msgid "" -"`bpo-33672 `__: Fix Task.__repr__ crash " -"with Cython's bogus coroutines" -msgstr "" - -#: ../build/NEWS:9227 ../build/NEWS:10878 -msgid "" -"`bpo-33654 `__: Fix transport." -"set_protocol() to support switching between asyncio.Protocol and asyncio." -"BufferedProtocol. Fix loop.start_tls() to work with asyncio." -"BufferedProtocols." -msgstr "" - -#: ../build/NEWS:9231 ../build/NEWS:10882 -msgid "" -"`bpo-33652 `__: Pickles of type " -"variables and subscripted generics are now future-proof and compatible with " -"older Python versions." -msgstr "" - -#: ../build/NEWS:9234 ../build/NEWS:10885 -msgid "" -"`bpo-32493 `__: Fixed :func:`uuid.uuid1` " -"on FreeBSD." -msgstr "" - -#: ../build/NEWS:9236 -msgid "" -"`bpo-33238 `__: Add " -"``InvalidStateError`` to :mod:`concurrent.futures`. ``Future.set_result`` " -"and ``Future.set_exception`` now raise ``InvalidStateError`` if the futures " -"are not pending or running. Patch by Jason Haydaman." -msgstr "" - -#: ../build/NEWS:9241 ../build/NEWS:10887 -msgid "" -"`bpo-33618 `__: Finalize and document " -"preliminary and experimental TLS 1.3 support with OpenSSL 1.1.1" -msgstr "" - -#: ../build/NEWS:9244 -msgid "" -"`bpo-33625 `__: Release GIL on `grp." -"getgrnam`, `grp.getgrgid`, `pwd.getpwnam` and `pwd.getpwuid` if reentrant " -"variants of these functions are available. Patch by William Grzybowski." -msgstr "" - -#: ../build/NEWS:9248 ../build/NEWS:10890 -msgid "" -"`bpo-33623 `__: Fix possible SIGSGV when " -"asyncio.Future is created in __del__" -msgstr "" - -#: ../build/NEWS:9250 ../build/NEWS:10756 ../build/NEWS:15345 -msgid "" -"`bpo-11874 `__: Use a better regex when " -"breaking usage into wrappable parts. Avoids bogus assertion errors from " -"custom metavar strings." -msgstr "" - -#: ../build/NEWS:9253 ../build/NEWS:10892 ../build/NEWS:15348 -msgid "" -"`bpo-30877 `__: Fixed a bug in the " -"Python implementation of the JSON decoder that prevented the cache of parsed " -"strings from clearing after finishing the decoding. Based on patch by c-fos." -msgstr "" - -#: ../build/NEWS:9257 -msgid "" -"`bpo-33604 `__: Remove HMAC default to " -"md5 marked for removal in 3.8 (removal originally planned in 3.6, bump to " -"3.8 in gh-7062)." -msgstr "" - -#: ../build/NEWS:9260 ../build/NEWS:10759 -msgid "" -"`bpo-33582 `__: Emit a deprecation " -"warning for inspect.formatargspec" -msgstr "" - -#: ../build/NEWS:9262 -msgid "" -"`bpo-21145 `__: Add ``functools." -"cached_property`` decorator, for computed properties cached for the life of " -"the instance." -msgstr "" - -#: ../build/NEWS:9265 ../build/NEWS:10896 -msgid "" -"`bpo-33570 `__: Change TLS 1.3 cipher " -"suite settings for compatibility with OpenSSL 1.1.1-pre6 and newer. OpenSSL " -"1.1.1 will have TLS 1.3 ciphers enabled by default." -msgstr "" - -#: ../build/NEWS:9269 ../build/NEWS:10900 -msgid "" -"`bpo-28556 `__: Do not simplify " -"arguments to `typing.Union`. Now `Union[Manager, Employee]` is not " -"simplified to `Employee` at runtime. Such simplification previously caused " -"several bugs and limited possibilities for introspection." -msgstr "" - -#: ../build/NEWS:9274 -msgid "" -"`bpo-12486 `__: :func:`tokenize." -"generate_tokens` is now documented as a public API to tokenize unicode " -"strings. It was previously present but undocumented." -msgstr "" - -#: ../build/NEWS:9278 ../build/NEWS:10905 -msgid "" -"`bpo-33540 `__: Add a new " -"``block_on_close`` class attribute to ``ForkingMixIn`` and " -"``ThreadingMixIn`` classes of :mod:`socketserver`." -msgstr "" - -#: ../build/NEWS:9281 ../build/NEWS:10908 ../build/NEWS:15352 -msgid "" -"`bpo-33548 `__: tempfile." -"_candidate_tempdir_list should consider common TEMP locations" -msgstr "" - -#: ../build/NEWS:9284 ../build/NEWS:10911 -msgid "" -"`bpo-33109 `__: argparse subparsers are " -"once again not required by default, reverting the change in behavior " -"introduced by `bpo-26510 `__ in 3.7.0a2." -msgstr "" - -#: ../build/NEWS:9287 -msgid "" -"`bpo-33541 `__: Remove unused private " -"method ``_strptime.LocaleTime.__pad`` (a.k.a. ``_LocaleTime__pad``)." -msgstr "" - -#: ../build/NEWS:9290 ../build/NEWS:10914 -msgid "" -"`bpo-33536 `__: dataclasses." -"make_dataclass now checks for invalid field names and duplicate fields. " -"Also, added a check for invalid field specifications." -msgstr "" - -#: ../build/NEWS:9294 ../build/NEWS:10918 ../build/NEWS:15355 -msgid "" -"`bpo-33542 `__: Prevent ``uuid." -"get_node`` from using a DUID instead of a MAC on Windows. Patch by Zvi Effron" -msgstr "" - -#: ../build/NEWS:9297 ../build/NEWS:10921 ../build/NEWS:15358 -msgid "" -"`bpo-26819 `__: Fix race condition with " -"`ReadTransport.resume_reading` in Windows proactor event loop." -msgstr "" - -#: ../build/NEWS:9300 ../build/NEWS:10924 -msgid "" -"Fix failure in `typing.get_type_hints()` when ClassVar was provided as a " -"string forward reference." -msgstr "" - -#: ../build/NEWS:9303 -msgid "" -"`bpo-33516 `__: :class:`unittest.mock." -"MagicMock` now supports the ``__round__`` magic method." -msgstr "" - -#: ../build/NEWS:9306 -msgid "" -"`bpo-28612 `__: Added support for Site " -"Maps to urllib's ``RobotFileParser`` as :meth:`RobotFileParser.site_maps() " -"`. Patch by Lady Red, based on " -"patch by Peter Wirtz." -msgstr "" - -#: ../build/NEWS:9311 -msgid "" -"`bpo-28167 `__: Remove platform." -"linux_distribution, which was deprecated since 3.5." -msgstr "" - -#: ../build/NEWS:9314 -msgid "" -"`bpo-33504 `__: Switch the default " -"dictionary implementation for :mod:`configparser` from :class:`collections." -"OrderedDict` to the standard :class:`dict` type." -msgstr "" - -#: ../build/NEWS:9318 ../build/NEWS:10927 -msgid "" -"`bpo-33505 `__: Optimize asyncio." -"ensure_future() by reordering if checks: 1.17x faster." -msgstr "" - -#: ../build/NEWS:9321 ../build/NEWS:10930 -msgid "" -"`bpo-33497 `__: Add errors param to cgi." -"parse_multipart and make an encoding in FieldStorage use the given errors " -"(needed for Twisted). Patch by Amber Brown." -msgstr "" - -#: ../build/NEWS:9325 -msgid "" -"`bpo-29235 `__: The :class:`cProfile." -"Profile` class can now be used as a context manager. Patch by Scott " -"Sanderson." -msgstr "" - -#: ../build/NEWS:9328 ../build/NEWS:10934 -msgid "" -"`bpo-33495 `__: Change dataclasses." -"Fields repr to use the repr of each of its members, instead of str. This " -"makes it more clear what each field actually represents. This is especially " -"true for the 'type' member." -msgstr "" - -#: ../build/NEWS:9332 -msgid "" -"`bpo-26103 `__: Correct ``inspect." -"isdatadescriptor`` to look for ``__set__`` or ``__delete__``. Patch by " -"Aaron Hall." -msgstr "" - -#: ../build/NEWS:9335 -msgid "" -"`bpo-29209 `__: Removed the " -"``doctype()`` method and the *html* parameter of the constructor of :class:" -"`~xml.etree.ElementTree.XMLParser`. The ``doctype()`` method defined in a " -"subclass will no longer be called. Deprecated methods ``getchildren()`` and " -"``getiterator()`` in the :mod:`~xml.etree.ElementTree` module emit now a :" -"exc:`DeprecationWarning` instead of :exc:`PendingDeprecationWarning`." -msgstr "" - -#: ../build/NEWS:9342 ../build/NEWS:10938 -msgid "" -"`bpo-33453 `__: Fix dataclasses to work " -"if using literal string type annotations or if using PEP 563 \"Postponed " -"Evaluation of Annotations\". Only specific string prefixes are detected for " -"both ClassVar (\"ClassVar\" and \"typing.ClassVar\") and InitVar (\"InitVar" -"\" and \"dataclasses.InitVar\")." -msgstr "" - -#: ../build/NEWS:9347 ../build/NEWS:10943 ../build/NEWS:15361 -msgid "" -"`bpo-28556 `__: Minor fixes in typing " -"module: add annotations to ``NamedTuple.__new__``, pass ``*args`` and " -"``**kwds`` in ``Generic.__new__``. Original PRs by Paulius Šarka and Chad " -"Dombrova." -msgstr "" - -#: ../build/NEWS:9351 -msgid "" -"`bpo-33365 `__: Print the header values " -"besides the header keys instead just the header keys if *debuglevel* is set " -"to >0 in :mod:`http.client`. Patch by Marco Strigl." -msgstr "" - -#: ../build/NEWS:9355 ../build/NEWS:10947 ../build/NEWS:15365 -msgid "" -"`bpo-20087 `__: Updated alias mapping " -"with glibc 2.27 supported locales." -msgstr "" - -#: ../build/NEWS:9357 ../build/NEWS:10949 ../build/NEWS:15367 -msgid "" -"`bpo-33422 `__: Fix trailing quotation " -"marks getting deleted when looking up byte/string literals on pydoc. Patch " -"by Andrés Delfino." -msgstr "" - -#: ../build/NEWS:9360 ../build/NEWS:10952 -msgid "" -"`bpo-28167 `__: The function ``platform." -"linux_distribution`` and ``platform.dist`` now trigger a " -"``DeprecationWarning`` and have been marked for removal in Python 3.8" -msgstr "" - -#: ../build/NEWS:9364 ../build/NEWS:11059 -msgid "" -"`bpo-33281 `__: Fix ctypes.util." -"find_library regression on macOS." -msgstr "" - -#: ../build/NEWS:9366 -msgid "" -"`bpo-33311 `__: Text and html output " -"generated by cgitb does not display parentheses if the current call is done " -"directly in the module. Patch by Stéphane Blondon." -msgstr "" - -#: ../build/NEWS:9370 -msgid "" -"`bpo-27300 `__: The file classes in " -"*tempfile* now accept an *errors* parameter that complements the already " -"existing *encoding*. Patch by Stephan Hohe." -msgstr "" - -#: ../build/NEWS:9373 -msgid "" -"`bpo-32933 `__: :func:`unittest.mock." -"mock_open` now supports iteration over the file contents. Patch by Tony " -"Flury." -msgstr "" - -#: ../build/NEWS:9376 -msgid "" -"`bpo-33217 `__: Raise :exc:`TypeError` " -"when looking up non-Enum objects in Enum classes and Enum members." -msgstr "" - -#: ../build/NEWS:9379 ../build/NEWS:10956 ../build/NEWS:15370 -msgid "" -"`bpo-33197 `__: Update error message " -"when constructing invalid inspect.Parameters Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:9382 ../build/NEWS:11061 ../build/NEWS:15373 -msgid "" -"`bpo-33383 `__: Fixed crash in the get() " -"method of the :mod:`dbm.ndbm` database object when it is called with a " -"single argument." -msgstr "" - -#: ../build/NEWS:9385 -msgid "" -"`bpo-33375 `__: The warnings module now " -"finds the Python file associated with a warning from the code object, rather " -"than the frame's global namespace. This is consistent with how tracebacks " -"and pdb find filenames, and should work better for dynamically executed code." -msgstr "" - -#: ../build/NEWS:9390 -msgid "" -"`bpo-33336 `__: ``imaplib`` now allows " -"``MOVE`` command in ``IMAP4.uid()`` (RFC 6851: IMAP MOVE Extension) and " -"potentially as a name of supported method of ``IMAP4`` object." -msgstr "" - -#: ../build/NEWS:9394 -msgid "" -"`bpo-32455 `__: Added *jump* parameter " -"to :func:`dis.stack_effect`." -msgstr "" - -#: ../build/NEWS:9396 -msgid "" -"`bpo-27485 `__: Rename and deprecate " -"undocumented functions in :func:`urllib.parse`." -msgstr "" - -#: ../build/NEWS:9399 -msgid "" -"`bpo-33332 `__: Add ``signal." -"valid_signals()`` to expose the POSIX sigfillset() functionality." -msgstr "" - -#: ../build/NEWS:9402 -msgid "" -"`bpo-33251 `__: `ConfigParser.items()` " -"was fixed so that key-value pairs passed in via `vars` are not included in " -"the resulting output." -msgstr "" - -#: ../build/NEWS:9405 ../build/NEWS:11064 ../build/NEWS:15376 -msgid "" -"`bpo-33329 `__: Fix multiprocessing " -"regression on newer glibcs" -msgstr "" - -#: ../build/NEWS:9407 -msgid "" -"`bpo-33334 `__: :func:`dis.stack_effect` " -"now supports all defined opcodes including NOP and EXTENDED_ARG." -msgstr "" - -#: ../build/NEWS:9410 ../build/NEWS:11066 ../build/NEWS:15378 -msgid "" -"`bpo-991266 `__: Fix quoting of the " -"``Comment`` attribute of :class:`http.cookies.SimpleCookie`." -msgstr "" - -#: ../build/NEWS:9413 ../build/NEWS:11069 ../build/NEWS:15381 -msgid "" -"`bpo-33131 `__: Upgrade bundled version " -"of pip to 10.0.1." -msgstr "" - -#: ../build/NEWS:9415 ../build/NEWS:11071 ../build/NEWS:15383 -msgid "" -"`bpo-33308 `__: Fixed a crash in the :" -"mod:`parser` module when converting an ST object to a tree of tuples or " -"lists with ``line_info=False`` and ``col_info=True``." -msgstr "" - -#: ../build/NEWS:9419 -msgid "" -"`bpo-23403 `__: lib2to3 now uses pickle " -"protocol 4 for pre-computed grammars." -msgstr "" - -#: ../build/NEWS:9421 ../build/NEWS:11075 -msgid "" -"`bpo-33266 `__: lib2to3 now recognizes " -"``rf'...'`` strings." -msgstr "" - -#: ../build/NEWS:9423 ../build/NEWS:11077 -msgid "" -"`bpo-11594 `__: Ensure line-endings are " -"respected when using lib2to3." -msgstr "" - -#: ../build/NEWS:9425 ../build/NEWS:11079 -msgid "" -"`bpo-33254 `__: Have :func:`importlib." -"resources.contents` and :meth:`importlib.abc.ResourceReader.contents` return " -"an :term:`iterable` instead of an :term:`iterator`." -msgstr "" - -#: ../build/NEWS:9429 -msgid "" -"`bpo-33265 `__: ``contextlib.ExitStack`` " -"and ``contextlib.AsyncExitStack`` now use a method instead of a wrapper " -"function for exit callbacks." -msgstr "" - -#: ../build/NEWS:9432 ../build/NEWS:10959 ../build/NEWS:15387 -msgid "" -"`bpo-33263 `__: Fix FD leak in " -"`_SelectorSocketTransport` Patch by Vlad Starostin." -msgstr "" - -#: ../build/NEWS:9435 ../build/NEWS:11083 ../build/NEWS:15390 -msgid "" -"`bpo-33256 `__: Fix display of " -"```` call in the html produced by ``cgitb.html()``. Patch by " -"Stéphane Blondon." -msgstr "" - -#: ../build/NEWS:9438 -msgid "" -"`bpo-33144 `__: ``random.Random()`` and " -"its subclassing mechanism got optimized to check only once at class/subclass " -"instantiation time whether its ``getrandbits()`` method can be relied on by " -"other methods, including ``randrange()``, for the generation of arbitrarily " -"large random integers. Patch by Wolfgang Maier." -msgstr "" - -#: ../build/NEWS:9444 -msgid "" -"`bpo-33185 `__: Fixed regression when " -"running pydoc with the :option:`-m` switch. (The regression was introduced " -"in 3.7.0b3 by the resolution of :issue:`33053`)" -msgstr "" - -#: ../build/NEWS:9448 -msgid "" -"This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when " -"necessary, rather than adding ``\".\"``." -msgstr "" - -#: ../build/NEWS:9451 -msgid "" -"`bpo-29613 `__: Added support for the " -"``SameSite`` cookie flag to the ``http.cookies`` module." -msgstr "" - -#: ../build/NEWS:9454 ../build/NEWS:11091 -msgid "" -"`bpo-33169 `__: Delete entries of " -"``None`` in :data:`sys.path_importer_cache` when :meth:`importlib.machinery." -"invalidate_caches` is called." -msgstr "" - -#: ../build/NEWS:9457 ../build/NEWS:11097 ../build/NEWS:15393 -msgid "" -"`bpo-33203 `__: ``random.Random." -"choice()`` now raises ``IndexError`` for empty sequences consistently even " -"when called from subclasses without a ``getrandbits()`` implementation." -msgstr "" - -#: ../build/NEWS:9461 ../build/NEWS:11101 ../build/NEWS:15397 -msgid "" -"`bpo-33224 `__: Update difflib.mdiff() " -"for :pep:`479`. Convert an uncaught StopIteration in a generator into a " -"return-statement." -msgstr "" - -#: ../build/NEWS:9464 ../build/NEWS:11104 ../build/NEWS:15400 -msgid "" -"`bpo-33209 `__: End framing at the end " -"of C implementation of :func:`pickle.Pickler.dump`." -msgstr "" - -#: ../build/NEWS:9467 -msgid "" -"`bpo-32861 `__: The urllib.robotparser's " -"``__str__`` representation now includes wildcard entries and the \"Crawl-" -"delay\" and \"Request-rate\" fields. Also removes extra newlines that were " -"being appended to the end of the string. Patch by Michael Lazar." -msgstr "" - -#: ../build/NEWS:9472 -msgid "" -"`bpo-23403 `__: ``DEFAULT_PROTOCOL`` in :" -"mod:`pickle` was bumped to 4. Protocol 4 is described in :pep:`3154` and " -"available since Python 3.4. It offers better performance and smaller size " -"compared to protocol 3 introduced in Python 3.0." -msgstr "" - -#: ../build/NEWS:9477 ../build/NEWS:11107 -msgid "" -"`bpo-20104 `__: Improved error handling " -"and fixed a reference leak in :func:`os.posix_spawn()`." -msgstr "" - -#: ../build/NEWS:9480 -msgid "" -"`bpo-33106 `__: Deleting a key from a " -"read-only dbm database raises module specific error instead of KeyError." -msgstr "" - -#: ../build/NEWS:9483 ../build/NEWS:11110 -msgid "" -"`bpo-33175 `__: In dataclasses, Field." -"__set_name__ now looks up the __set_name__ special method on the class, not " -"the instance, of the default value." -msgstr "" - -#: ../build/NEWS:9487 -msgid "" -"`bpo-32380 `__: Create functools." -"singledispatchmethod to support generic single dispatch on descriptors and " -"methods." -msgstr "" - -#: ../build/NEWS:9490 ../build/NEWS:11250 -msgid "" -"`bpo-33141 `__: Have Field objects pass " -"through __set_name__ to their default values, if they have their own " -"__set_name__." -msgstr "" - -#: ../build/NEWS:9493 ../build/NEWS:11253 ../build/NEWS:15407 -msgid "" -"`bpo-33096 `__: Allow ttk.Treeview." -"insert to insert iid that has a false boolean value. Note iid=0 and " -"iid=False would be same. Patch by Garvit Khatri." -msgstr "" - -#: ../build/NEWS:9497 ../build/NEWS:11257 -msgid "" -"`bpo-32873 `__: Treat type variables and " -"special typing forms as immutable by copy and pickle. This fixes several " -"minor issues and inconsistencies, and improves backwards compatibility with " -"Python 3.6." -msgstr "" - -#: ../build/NEWS:9501 ../build/NEWS:11261 -msgid "" -"`bpo-33134 `__: When computing " -"dataclass's __hash__, use the lookup table to contain the function which " -"returns the __hash__ value. This is an improvement over looking up a " -"string, and then testing that string to see what to do." -msgstr "" - -#: ../build/NEWS:9506 ../build/NEWS:11266 ../build/NEWS:15411 -msgid "" -"`bpo-33127 `__: The ssl module now " -"compiles with LibreSSL 2.7.1." -msgstr "" - -#: ../build/NEWS:9508 ../build/NEWS:11268 -msgid "" -"`bpo-32505 `__: Raise TypeError if a " -"member variable of a dataclass is of type Field, but doesn't have a type " -"annotation." -msgstr "" - -#: ../build/NEWS:9511 ../build/NEWS:11271 -msgid "" -"`bpo-33078 `__: Fix the failure on OSX " -"caused by the tests relying on sem_getvalue" -msgstr "" - -#: ../build/NEWS:9514 ../build/NEWS:11274 -msgid "" -"`bpo-33116 `__: Add 'Field' to " -"dataclasses.__all__." -msgstr "" - -#: ../build/NEWS:9516 ../build/NEWS:11276 -msgid "" -"`bpo-32896 `__: Fix an error where " -"subclassing a dataclass with a field that uses a default_factory would " -"generate an incorrect class." -msgstr "" - -#: ../build/NEWS:9519 ../build/NEWS:11279 -msgid "" -"`bpo-33100 `__: Dataclasses: If a field " -"has a default value that's a MemberDescriptorType, then it's from that field " -"being in __slots__, not an actual default value." -msgstr "" - -#: ../build/NEWS:9523 ../build/NEWS:11283 -msgid "" -"`bpo-32953 `__: If a non-dataclass " -"inherits from a frozen dataclass, allow attributes to be added to the " -"derived class. Only attributes from the frozen dataclass cannot be assigned " -"to. Require all dataclasses in a hierarchy to be either all frozen or all " -"non-frozen." -msgstr "" - -#: ../build/NEWS:9528 ../build/NEWS:11114 -msgid "" -"`bpo-33097 `__: Raise RuntimeError when " -"``executor.submit`` is called during interpreter shutdown." -msgstr "" - -#: ../build/NEWS:9531 -msgid "" -"`bpo-32968 `__: Modulo and floor " -"division involving Fraction and float should return float." -msgstr "" - -#: ../build/NEWS:9534 ../build/NEWS:11288 -msgid "" -"`bpo-33061 `__: Add missing ``NoReturn`` " -"to ``__all__`` in typing.py" -msgstr "" - -#: ../build/NEWS:9536 ../build/NEWS:11290 -msgid "" -"`bpo-33078 `__: Fix the size handling in " -"multiprocessing.Queue when a pickling error occurs." -msgstr "" - -#: ../build/NEWS:9539 ../build/NEWS:11293 ../build/NEWS:15663 -msgid "" -"`bpo-33064 `__: lib2to3 now properly " -"supports trailing commas after ``*args`` and ``**kwargs`` in function " -"signatures." -msgstr "" - -#: ../build/NEWS:9542 ../build/NEWS:11296 -msgid "" -"`bpo-33056 `__: FIX properly close " -"leaking fds in concurrent.futures.ProcessPoolExecutor." -msgstr "" - -#: ../build/NEWS:9545 ../build/NEWS:11299 ../build/NEWS:15413 -msgid "" -"`bpo-33021 `__: Release the GIL during " -"fstat() calls, avoiding hang of all threads when calling mmap.mmap(), os." -"urandom(), and random.seed(). Patch by Nir Soffer." -msgstr "" - -#: ../build/NEWS:9549 ../build/NEWS:11303 ../build/NEWS:15666 -msgid "" -"`bpo-31804 `__: Avoid failing in " -"multiprocessing.Process if the standard streams are closed or None at exit." -msgstr "" - -#: ../build/NEWS:9552 -msgid "" -"`bpo-33034 `__: Providing an explicit " -"error message when casting the port property to anything that is not an " -"integer value using ``urlparse()`` and ``urlsplit()``. Patch by Matt Eaton." -msgstr "" - -#: ../build/NEWS:9556 -msgid "" -"`bpo-30249 `__: Improve struct." -"unpack_from() exception messages for problems with the buffer size and " -"offset." -msgstr "" - -#: ../build/NEWS:9559 ../build/NEWS:11306 ../build/NEWS:15669 -msgid "" -"`bpo-33037 `__: Skip sending/receiving " -"data after SSL transport closing." -msgstr "" - -#: ../build/NEWS:9561 ../build/NEWS:11308 ../build/NEWS:15417 -msgid "" -"`bpo-27683 `__: Fix a regression in :mod:" -"`ipaddress` that result of :meth:`hosts` is empty when the network is " -"constructed by a tuple containing an integer mask and only 1 bit left for " -"addresses." -msgstr "" - -#: ../build/NEWS:9565 -msgid "" -"`bpo-22674 `__: Add the strsignal() " -"function in the signal module that returns the system description of the " -"given signal, as returned by strsignal(3)." -msgstr "" - -#: ../build/NEWS:9568 ../build/NEWS:11312 -msgid "" -"`bpo-32999 `__: Fix C implementation of " -"``ABC.__subclasscheck__(cls, subclass)`` crashed when ``subclass`` is not a " -"type object." -msgstr "" - -#: ../build/NEWS:9571 ../build/NEWS:11315 ../build/NEWS:15673 -msgid "" -"`bpo-33009 `__: Fix inspect.signature() " -"for single-parameter partialmethods." -msgstr "" - -#: ../build/NEWS:9573 ../build/NEWS:11317 ../build/NEWS:15675 -msgid "" -"`bpo-32969 `__: Expose several missing " -"constants in zlib and fix corresponding documentation." -msgstr "" - -#: ../build/NEWS:9576 ../build/NEWS:11320 -msgid "" -"`bpo-32056 `__: Improved exceptions " -"raised for invalid number of channels and sample width when read an audio " -"file in modules :mod:`aifc`, :mod:`wave` and :mod:`sunau`." -msgstr "" - -#: ../build/NEWS:9580 -msgid "" -"`bpo-32970 `__: Improved disassembly of " -"the MAKE_FUNCTION instruction." -msgstr "" - -#: ../build/NEWS:9582 ../build/NEWS:11324 ../build/NEWS:15421 -msgid "" -"`bpo-32844 `__: Fix wrong redirection of " -"a low descriptor (0 or 1) to stderr in subprocess if another low descriptor " -"is closed." -msgstr "" - -#: ../build/NEWS:9585 ../build/NEWS:11455 -msgid "" -"`bpo-32960 `__: For dataclasses, " -"disallow inheriting frozen from non-frozen classes, and also disallow " -"inheriting non-frozen from frozen classes. This restriction will be relaxed " -"at a future date." -msgstr "" - -#: ../build/NEWS:9589 ../build/NEWS:11459 ../build/NEWS:15678 -msgid "" -"`bpo-32713 `__: Fixed tarfile.itn " -"handling of out-of-bounds float values. Patch by Joffrey Fuhrer." -msgstr "" - -#: ../build/NEWS:9592 ../build/NEWS:10966 -msgid "" -"`bpo-32257 `__: The ssl module now " -"contains OP_NO_RENEGOTIATION constant, available with OpenSSL 1.1.0h or " -"1.1.1." -msgstr "" - -#: ../build/NEWS:9595 ../build/NEWS:11462 -msgid "" -"`bpo-32951 `__: Direct instantiation of " -"SSLSocket and SSLObject objects is now prohibited. The constructors were " -"never documented, tested, or designed as public constructors. Users were " -"suppose to use ssl.wrap_socket() or SSLContext." -msgstr "" - -#: ../build/NEWS:9600 ../build/NEWS:11467 -msgid "" -"`bpo-32929 `__: Remove the tri-state " -"parameter \"hash\", and add the boolean \"unsafe_hash\". If unsafe_hash is " -"True, add a __hash__ function, but if a __hash__ exists, raise TypeError. " -"If unsafe_hash is False, add a __hash__ based on the values of eq= and " -"frozen=. The unsafe_hash=False behavior is the same as the old hash=None " -"behavior. unsafe_hash=False is the default, just as hash=None used to be." -msgstr "" - -#: ../build/NEWS:9607 ../build/NEWS:11474 -msgid "" -"`bpo-32947 `__: Add " -"OP_ENABLE_MIDDLEBOX_COMPAT and test workaround for TLSv1.3 for future " -"compatibility with OpenSSL 1.1.1." -msgstr "" - -#: ../build/NEWS:9610 -msgid "" -"`bpo-32146 `__: Document the interaction " -"between frozen executables and the spawn and forkserver start methods in " -"multiprocessing." -msgstr "" - -#: ../build/NEWS:9613 ../build/NEWS:11477 ../build/NEWS:15681 -msgid "" -"`bpo-30622 `__: The ssl module now " -"detects missing NPN support in LibreSSL." -msgstr "" - -#: ../build/NEWS:9615 ../build/NEWS:11479 ../build/NEWS:15683 -msgid "" -"`bpo-32922 `__: dbm.open() now encodes " -"filename with the filesystem encoding rather than default encoding." -msgstr "" - -#: ../build/NEWS:9618 -msgid "" -"`bpo-32759 `__: Free unused arenas in " -"multiprocessing.heap." -msgstr "" - -#: ../build/NEWS:9620 ../build/NEWS:11482 ../build/NEWS:15686 -msgid "" -"`bpo-32859 `__: In ``os.dup2``, don't " -"check every call whether the ``dup3`` syscall exists or not." -msgstr "" - -#: ../build/NEWS:9623 ../build/NEWS:11485 -msgid "" -"`bpo-32556 `__: nt._getfinalpathname, nt." -"_getvolumepathname and nt._getdiskusage now correctly convert from bytes." -msgstr "" - -#: ../build/NEWS:9626 ../build/NEWS:11491 ../build/NEWS:15689 -msgid "" -"`bpo-21060 `__: Rewrite confusing " -"message from setup.py upload from \"No dist file created in earlier command" -"\" to the more helpful \"Must create and upload files in one command\"." -msgstr "" - -#: ../build/NEWS:9630 ../build/NEWS:11327 ../build/NEWS:15693 -msgid "" -"`bpo-32857 `__: In :mod:`tkinter`, " -"``after_cancel(None)`` now raises a :exc:`ValueError` instead of canceling " -"the first scheduled function. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:9634 ../build/NEWS:11495 ../build/NEWS:15697 -msgid "" -"`bpo-32852 `__: Make sure sys.argv " -"remains as a list when running trace." -msgstr "" - -#: ../build/NEWS:9636 -msgid "" -"`bpo-31333 `__: ``_abc`` module is " -"added. It is a speedup module with C implementations for various functions " -"and methods in ``abc``. Creating an ABC subclass and calling ``isinstance`` " -"or ``issubclass`` with an ABC subclass are up to 1.5x faster. In addition, " -"this makes Python start-up up to 10% faster." -msgstr "" - -#: ../build/NEWS:9642 -msgid "" -"Note that the new implementation hides internal registry and caches, " -"previously accessible via private attributes ``_abc_registry``, " -"``_abc_cache``, and ``_abc_negative_cache``. There are three debugging " -"helper methods that can be used instead ``_dump_registry``, " -"``_abc_registry_clear``, and ``_abc_caches_clear``." -msgstr "" - -#: ../build/NEWS:9648 ../build/NEWS:11507 ../build/NEWS:15699 -msgid "" -"`bpo-32841 `__: Fixed `asyncio." -"Condition` issue which silently ignored cancellation after notifying and " -"cancelling a conditional lock. Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:9652 ../build/NEWS:11511 -msgid "" -"`bpo-32819 `__: ssl.match_hostname() has " -"been simplified and no longer depends on re and ipaddress module for " -"wildcard and IP addresses. Error reporting for invalid wildcards has been " -"improved." -msgstr "" - -#: ../build/NEWS:9656 -msgid "" -"`bpo-19675 `__: ``multiprocessing.Pool`` " -"no longer leaks processes if its initialization fails." -msgstr "" - -#: ../build/NEWS:9659 ../build/NEWS:11515 -msgid "" -"`bpo-32394 `__: socket: Remove " -"TCP_FASTOPEN,TCP_KEEPCNT,TCP_KEEPIDLE,TCP_KEEPINTVL flags on older version " -"Windows during run-time." -msgstr "" - -#: ../build/NEWS:9663 ../build/NEWS:11519 ../build/NEWS:15703 -msgid "" -"`bpo-31787 `__: Fixed refleaks of " -"``__init__()`` methods in various modules. (Contributed by Oren Milman)" -msgstr "" - -#: ../build/NEWS:9666 ../build/NEWS:11522 ../build/NEWS:15706 -msgid "" -"`bpo-30157 `__: Fixed guessing quote and " -"delimiter in csv.Sniffer.sniff() when only the last field is quoted. Patch " -"by Jake Davis." -msgstr "" - -#: ../build/NEWS:9669 -msgid "" -"`bpo-30688 `__: Added support of ``" -"\\N{name}`` escapes in regular expressions. Based on patch by Jonathan " -"Eunice." -msgstr "" - -#: ../build/NEWS:9672 ../build/NEWS:11525 -msgid "" -"`bpo-32792 `__: collections.ChainMap() " -"preserves the order of the underlying mappings." -msgstr "" - -#: ../build/NEWS:9675 ../build/NEWS:11528 -msgid "" -"`bpo-32775 `__: :func:`fnmatch." -"translate()` no longer produces patterns which contain set operations. Sets " -"starting with '[' or containing '--', '&&', '~~' or '||' will be interpreted " -"differently in regular expressions in future versions. Currently they emit " -"warnings. fnmatch.translate() now avoids producing patterns containing such " -"sets by accident." -msgstr "" - -#: ../build/NEWS:9681 ../build/NEWS:11534 -msgid "" -"`bpo-32622 `__: Implement native fast " -"sendfile for Windows proactor event loop." -msgstr "" - -#: ../build/NEWS:9683 ../build/NEWS:11536 ../build/NEWS:15712 -msgid "" -"`bpo-32777 `__: Fix a rare but potential " -"pre-exec child process deadlock in subprocess on POSIX systems when marking " -"file descriptors inheritable on exec in the child process. This bug appears " -"to have been introduced in 3.4." -msgstr "" - -#: ../build/NEWS:9688 ../build/NEWS:11541 ../build/NEWS:15717 -msgid "" -"`bpo-32647 `__: The ctypes module used " -"to depend on indirect linking for dlopen. The shared extension is now " -"explicitly linked against libdl on platforms with dl." -msgstr "" - -#: ../build/NEWS:9692 -msgid "" -"`bpo-32749 `__: A :mod:`dbm.dumb` " -"database opened with flags 'r' is now read-only. :func:`dbm.dumb.open` with " -"flags 'r' and 'w' no longer creates a database if it does not exist." -msgstr "" - -#: ../build/NEWS:9696 ../build/NEWS:11545 -msgid "" -"`bpo-32741 `__: Implement ``asyncio." -"TimerHandle.when()`` method." -msgstr "" - -#: ../build/NEWS:9698 ../build/NEWS:11547 -msgid "" -"`bpo-32691 `__: Use mod_spec.parent when " -"running modules with pdb" -msgstr "" - -#: ../build/NEWS:9700 ../build/NEWS:11549 ../build/NEWS:15721 -msgid "" -"`bpo-32734 `__: Fixed ``asyncio.Lock()`` " -"safety issue which allowed acquiring and locking the same lock multiple " -"times, without it being free. Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:9704 ../build/NEWS:11553 ../build/NEWS:15725 -msgid "" -"`bpo-32727 `__: Do not include name " -"field in SMTP envelope from address. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:9707 ../build/NEWS:11556 -msgid "" -"`bpo-31453 `__: Add TLSVersion constants " -"and SSLContext.maximum_version / minimum_version attributes. The new API " -"wraps OpenSSL 1.1 https://www.openssl.org/docs/man1.1.0/ssl/" -"SSL_CTX_set_min_proto_version.html feature." -msgstr "" - -#: ../build/NEWS:9712 ../build/NEWS:11561 -msgid "" -"`bpo-24334 `__: Internal implementation " -"details of ssl module were cleaned up. The SSLSocket has one less layer of " -"indirection. Owner and session information are now handled by the SSLSocket " -"and SSLObject constructor. Channel binding implementation has been " -"simplified." -msgstr "" - -#: ../build/NEWS:9717 ../build/NEWS:11566 ../build/NEWS:15738 -msgid "" -"`bpo-31848 `__: Fix the error handling " -"in Aifc_read.initfp() when the SSND chunk is not found. Patch by Zackery " -"Spytz." -msgstr "" - -#: ../build/NEWS:9720 ../build/NEWS:11569 -msgid "" -"`bpo-32585 `__: Add Ttk spinbox widget " -"to :mod:`tkinter.ttk`. Patch by Alan D Moore." -msgstr "" - -#: ../build/NEWS:9723 -msgid "" -"`bpo-32512 `__: :mod:`profile` CLI " -"accepts `-m module_name` as an alternative to script path." -msgstr "" - -#: ../build/NEWS:9726 -msgid "" -"`bpo-8525 `__: help() on a type now " -"displays builtin subclasses. This is intended primarily to help with " -"notification of more specific exception subclasses." -msgstr "" - -#: ../build/NEWS:9730 -msgid "Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:9732 -msgid "" -"`bpo-31639 `__: http.server now exposes " -"a ThreadingHTTPServer class and uses it when the module is run with ``-m`` " -"to cope with web browsers pre-opening sockets." -msgstr "" - -#: ../build/NEWS:9736 -msgid "" -"`bpo-29877 `__: compileall: import " -"ProcessPoolExecutor only when needed, preventing hangs on low resource " -"platforms" -msgstr "" - -#: ../build/NEWS:9739 ../build/NEWS:11572 -msgid "" -"`bpo-32221 `__: Various functions " -"returning tuple containing IPv6 addresses now omit ``%scope`` part since the " -"same information is already encoded in *scopeid* tuple item. Especially this " -"speeds up :func:`socket.recvfrom` when it receives multicast packet since " -"useless resolving of network interface name is omitted." -msgstr "" - -#: ../build/NEWS:9745 -msgid "" -"`bpo-32147 `__: :func:`binascii." -"unhexlify` is now up to 2 times faster. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:9748 ../build/NEWS:11578 -msgid "" -"`bpo-30693 `__: The TarFile class now " -"recurses directories in a reproducible way." -msgstr "" - -#: ../build/NEWS:9751 ../build/NEWS:11581 -msgid "" -"`bpo-30693 `__: The ZipFile class now " -"recurses directories in a reproducible way." -msgstr "" - -#: ../build/NEWS:9754 -msgid "" -"`bpo-31680 `__: Added :data:`curses." -"ncurses_version`." -msgstr "" - -#: ../build/NEWS:9756 ../build/NEWS:11117 ../build/NEWS:15424 -msgid "" -"`bpo-31908 `__: Fix output of cover " -"files for ``trace`` module command-line tool. Previously emitted cover files " -"only when ``--missing`` option was used. Patch by Michael Selik." -msgstr "" - -#: ../build/NEWS:9760 -msgid "" -"`bpo-31608 `__: Raise a ``TypeError`` " -"instead of crashing if a ``collections.deque`` subclass returns a non-deque " -"from ``__new__``. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:9764 -msgid "" -"`bpo-31425 `__: Add support for sockets " -"of the AF_QIPCRTR address family, supported by the Linux kernel. This is " -"used to communicate with services, such as GPS or radio, running on Qualcomm " -"devices. Patch by Bjorn Andersson." -msgstr "" - -#: ../build/NEWS:9769 -msgid "" -"`bpo-22005 `__: Implemented unpickling " -"instances of :class:`~datetime.datetime`, :class:`~datetime.date` and :class:" -"`~datetime.time` pickled by Python 2. ``encoding='latin1'`` should be used " -"for successful decoding." -msgstr "" - -#: ../build/NEWS:9774 ../build/NEWS:11335 -msgid "" -"`bpo-27645 `__: :class:`sqlite3." -"Connection` now exposes a :class:`~sqlite3.Connection.backup` method, if the " -"underlying SQLite library is at version 3.6.11 or higher. Patch by Lele " -"Gaifax." -msgstr "" - -#: ../build/NEWS:9778 ../build/NEWS:10969 ../build/NEWS:15431 -msgid "" -"`bpo-16865 `__: Support arrays >=2GiB " -"in :mod:`ctypes`. Patch by Segev Finer." -msgstr "" - -#: ../build/NEWS:9780 -msgid "" -"`bpo-31508 `__: Removed support of " -"arguments in `tkinter.ttk.Treeview.selection`. It was deprecated in 3.6. " -"Use specialized methods like `selection_set` for changing the selection." -msgstr "" - -#: ../build/NEWS:9784 -msgid "" -"`bpo-29456 `__: Fix bugs in hangul " -"normalization: u1176, u11a7 and u11c3" -msgstr "" - -#: ../build/NEWS:9789 -msgid "" -"`bpo-21257 `__: Document :func:`http." -"client.parse_headers`." -msgstr "" - -#: ../build/NEWS:9791 -msgid "" -"`bpo-34764 `__: Improve example of " -"iter() with 2nd sentinel argument." -msgstr "" - -#: ../build/NEWS:9793 -msgid "" -"`bpo-35564 `__: Explicitly set " -"master_doc variable in conf.py for compliance with Sphinx 2.0" -msgstr "" - -#: ../build/NEWS:9796 -msgid "" -"`bpo-35511 `__: Specified that profile." -"Profile class doesn't not support enable or disable methods. Also, " -"elaborated that Profile object as a context manager is only supported in " -"cProfile module." -msgstr "" - -#: ../build/NEWS:9800 -msgid "" -"`bpo-10536 `__: Enhance the gettext " -"docs. Patch by Éric Araujo" -msgstr "" - -#: ../build/NEWS:9802 -msgid "" -"`bpo-35089 `__: Remove mention of " -"``typing.io`` and ``typing.re``. Their types should be imported from " -"``typing`` directly." -msgstr "" - -#: ../build/NEWS:9805 -msgid "" -"`bpo-35038 `__: Fix the documentation " -"about an unexisting `f_restricted` attribute in the frame object. Patch by " -"Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:9808 -msgid "" -"`bpo-35042 `__: Replace PEP XYZ by the " -"pep role and allow to use the direct links to the PEPs." -msgstr "" - -#: ../build/NEWS:9811 -msgid "" -"`bpo-35044 `__: Fix the documentation " -"with the role ``exc`` for the appropriated exception. Patch by Stéphane " -"Wirtel" -msgstr "" - -#: ../build/NEWS:9814 -msgid "" -"`bpo-35035 `__: Rename documentation " -"for :mod:`email.utils` to ``email.utils.rst``." -msgstr "" - -#: ../build/NEWS:9817 -msgid "" -"`bpo-34967 `__: Use app." -"add_object_type() instead of the deprecated Sphinx function app." -"description_unit()" -msgstr "" - -#: ../build/NEWS:9820 -msgid "" -"`bpo-34913 `__: Add documentation about " -"the new command line interface of the gzip module." -msgstr "" - -#: ../build/NEWS:9823 -msgid "" -"`bpo-32174 `__: chm document displays " -"non-ASCII charaters properly on some MBCS Windows systems." -msgstr "" - -#: ../build/NEWS:9826 -msgid "" -"`bpo-11233 `__: Create availability " -"directive for documentation. Original patch by Georg Brandl." -msgstr "" - -#: ../build/NEWS:9829 -msgid "" -"`bpo-34790 `__: Document how passing " -"coroutines to asyncio.wait() can be confusing." -msgstr "" - -#: ../build/NEWS:9832 -msgid "" -"`bpo-34552 `__: Make clear that ``==`` " -"operator sometimes is equivalent to `is`. The ``<``, ``<=``, ``>`` and " -"``>=`` operators are only defined where they make sense." -msgstr "" - -#: ../build/NEWS:9836 -msgid "" -"`bpo-28617 `__: Fixed info in the " -"stdtypes docs concerning the types that support membership tests." -msgstr "" - -#: ../build/NEWS:9839 -msgid "" -"`bpo-20177 `__: Migrate datetime.date." -"fromtimestamp to Argument Clinic. Patch by Tim Hoffmann." -msgstr "" - -#: ../build/NEWS:9842 -msgid "" -"`bpo-34065 `__: Fix wrongly written " -"basicConfig documentation markup syntax" -msgstr "" - -#: ../build/NEWS:9844 -msgid "" -"`bpo-33460 `__: replaced ellipsis with " -"correct error codes in tutorial chapter 3." -msgstr "" - -#: ../build/NEWS:9847 -msgid "" -"`bpo-33847 `__: Add '@' operator entry " -"to index." -msgstr "" - -#: ../build/NEWS:9849 ../build/NEWS:10764 -msgid "" -"`bpo-33409 `__: Clarified the " -"relationship between :pep:`538`'s PYTHONCOERCECLOCALE and PEP 540's " -"PYTHONUTF8 mode." -msgstr "" - -#: ../build/NEWS:9852 -msgid "" -"`bpo-33197 `__: Add versionadded tag to " -"the documentation of ParameterKind.description" -msgstr "" - -#: ../build/NEWS:9855 -msgid "" -"`bpo-17045 `__: Improve the C-API doc " -"for PyTypeObject. This includes adding several quick-reference tables and a " -"lot of missing slot/typedef entries. The existing entries were also cleaned " -"up with a slightly more consistent format." -msgstr "" - -#: ../build/NEWS:9860 ../build/NEWS:10767 -msgid "" -"`bpo-33736 `__: Improve the " -"documentation of :func:`asyncio.open_connection`, :func:`asyncio." -"start_server` and their UNIX socket counterparts." -msgstr "" - -#: ../build/NEWS:9863 ../build/NEWS:10974 -msgid "" -"`bpo-23859 `__: Document that `asyncio." -"wait()` does not cancel its futures on timeout." -msgstr "" - -#: ../build/NEWS:9866 ../build/NEWS:10977 -msgid "" -"`bpo-32436 `__: Document :pep:`567` " -"changes to asyncio." -msgstr "" - -#: ../build/NEWS:9868 ../build/NEWS:10979 -msgid "" -"`bpo-33604 `__: Update HMAC md5 default " -"to a DeprecationWarning, bump removal to 3.8." -msgstr "" - -#: ../build/NEWS:9871 -msgid "" -"`bpo-33594 `__: Document ``getargspec``, " -"``from_function`` and ``from_builtin`` as deprecated in their respective " -"docstring, and include version since deprecation in DeprecationWarning " -"message." -msgstr "" - -#: ../build/NEWS:9875 ../build/NEWS:10982 ../build/NEWS:15440 -msgid "" -"`bpo-33503 `__: Fix broken pypi link" -msgstr "" - -#: ../build/NEWS:9877 ../build/NEWS:10984 ../build/NEWS:15442 -msgid "" -"`bpo-33421 `__: Add missing " -"documentation for ``typing.AsyncContextManager``." -msgstr "" - -#: ../build/NEWS:9879 -msgid "" -"`bpo-33487 `__: BZ2file now emit a " -"DeprecationWarning when buffering=None is passed, the deprecation message " -"and documentation also now explicitly state it is deprecated since 3.0." -msgstr "" - -#: ../build/NEWS:9883 ../build/NEWS:11124 ../build/NEWS:15444 -msgid "" -"`bpo-33378 `__: Add Korean language " -"switcher for https://docs.python.org/3/" -msgstr "" - -#: ../build/NEWS:9885 ../build/NEWS:11126 ../build/NEWS:15446 -msgid "" -"`bpo-33276 `__: Clarify that the " -"``__path__`` attribute on modules cannot be just any value." -msgstr "" - -#: ../build/NEWS:9888 ../build/NEWS:11129 ../build/NEWS:15449 -msgid "" -"`bpo-33201 `__: Modernize documentation " -"for writing C extension types." -msgstr "" - -#: ../build/NEWS:9890 ../build/NEWS:11131 ../build/NEWS:15451 -msgid "" -"`bpo-33195 `__: Deprecate ``Py_UNICODE`` " -"usage in ``c-api/arg`` document. ``Py_UNICODE`` related APIs are deprecated " -"since Python 3.3, but it is missed in the document." -msgstr "" - -#: ../build/NEWS:9894 ../build/NEWS:11342 ../build/NEWS:15455 -msgid "" -"`bpo-33126 `__: Document " -"PyBuffer_ToContiguous()." -msgstr "" - -#: ../build/NEWS:9896 ../build/NEWS:11344 ../build/NEWS:15457 -msgid "" -"`bpo-27212 `__: Modify documentation for " -"the :func:`islice` recipe to consume initial values up to the start index." -msgstr "" - -#: ../build/NEWS:9899 ../build/NEWS:11347 ../build/NEWS:15460 -msgid "" -"`bpo-28247 `__: Update :mod:`zipapp` " -"documentation to describe how to make standalone applications." -msgstr "" - -#: ../build/NEWS:9902 ../build/NEWS:11350 ../build/NEWS:15463 -msgid "" -"`bpo-18802 `__: Documentation changes " -"for ipaddress. Patch by Jon Foster and Berker Peksag." -msgstr "" - -#: ../build/NEWS:9905 ../build/NEWS:11353 ../build/NEWS:15466 -msgid "" -"`bpo-27428 `__: Update documentation to " -"clarify that ``WindowsRegistryFinder`` implements ``MetaPathFinder``. (Patch " -"by Himanshu Lakhara)" -msgstr "" - -#: ../build/NEWS:9908 ../build/NEWS:11587 -msgid "" -"`bpo-28124 `__: The ssl module function " -"ssl.wrap_socket() has been de-emphasized and deprecated in favor of the more " -"secure and efficient SSLContext.wrap_socket() method." -msgstr "" - -#: ../build/NEWS:9912 ../build/NEWS:11591 ../build/NEWS:15796 -msgid "" -"`bpo-17232 `__: Clarify docs for -O and -" -"OO. Patch by Terry Reedy." -msgstr "" - -#: ../build/NEWS:9914 ../build/NEWS:11593 -msgid "" -"`bpo-32436 `__: Add documentation for " -"the contextvars module (PEP 567)." -msgstr "" - -#: ../build/NEWS:9916 ../build/NEWS:11595 ../build/NEWS:15798 -msgid "" -"`bpo-32800 `__: Update link to w3c doc " -"for xml default namespaces." -msgstr "" - -#: ../build/NEWS:9918 ../build/NEWS:11597 -msgid "" -"`bpo-11015 `__: Update :mod:`test." -"support` documentation." -msgstr "" - -#: ../build/NEWS:9920 -msgid "" -"`bpo-32613 `__: Update the faq/windows." -"html to use the py command from PEP 397 instead of python." -msgstr "" - -#: ../build/NEWS:9923 ../build/NEWS:11599 ../build/NEWS:15800 -msgid "" -"`bpo-8722 `__: Document :meth:" -"`__getattr__` behavior when property :meth:`get` method raises :exc:" -"`AttributeError`." -msgstr "" - -#: ../build/NEWS:9926 ../build/NEWS:11602 ../build/NEWS:15803 -msgid "" -"`bpo-32614 `__: Modify RE examples in " -"documentation to use raw strings to prevent :exc:`DeprecationWarning` and " -"add text to REGEX HOWTO to highlight the deprecation." -msgstr "" - -#: ../build/NEWS:9930 -msgid "" -"`bpo-20709 `__: Remove the paragraph " -"where we explain that os.utime() does not support a directory as path under " -"Windows. Patch by Jan-Philip Gehrcke" -msgstr "" - -#: ../build/NEWS:9933 -msgid "" -"`bpo-32722 `__: Remove the bad example " -"in the tutorial of the Generator Expression. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:9936 ../build/NEWS:11606 ../build/NEWS:15807 -msgid "" -"`bpo-31972 `__: Improve docstrings for " -"`pathlib.PurePath` subclasses." -msgstr "" - -#: ../build/NEWS:9938 -msgid "" -"`bpo-30607 `__: Use the externalized " -"``python-docs-theme`` package when building the documentation." -msgstr "" - -#: ../build/NEWS:9941 ../build/NEWS:11135 ../build/NEWS:15469 -msgid "" -"`bpo-8243 `__: Add a note about curses." -"addch and curses.addstr exception behavior when writing outside a window, or " -"pad." -msgstr "" - -#: ../build/NEWS:9944 ../build/NEWS:11138 -msgid "" -"`bpo-32337 `__: Update documentation " -"related with ``dict`` order." -msgstr "" - -#: ../build/NEWS:9946 -msgid "" -"`bpo-25041 `__: Document ``AF_PACKET`` " -"in the :mod:`socket` module." -msgstr "" - -#: ../build/NEWS:9948 ../build/NEWS:10770 ../build/NEWS:15472 -msgid "" -"`bpo-31432 `__: Clarify meaning of " -"CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for ssl.SSLContext." -"verify_mode." -msgstr "" - -#: ../build/NEWS:9954 -msgid "" -"`bpo-35772 `__: Fix sparse file tests of " -"test_tarfile on ppc64 with the tmpfs filesystem. Fix the function testing if " -"the filesystem supports sparse files: create a file which contains data and " -"\"holes\", instead of creating a file which contains no data. tmpfs " -"effective block size is a page size (tmpfs lives in the page cache). RHEL " -"uses 64 KiB pages on aarch64, ppc64, ppc64le, only s390x and x86_64 use 4 " -"KiB pages, whereas the test punch holes of 4 KiB." -msgstr "" - -#: ../build/NEWS:9962 -msgid "" -"`bpo-35045 `__: Make ssl tests less " -"strict and also accept TLSv1 as system default. The changes unbreaks " -"test_min_max_version on Fedora 29." -msgstr "" - -#: ../build/NEWS:9965 -msgid "" -"`bpo-32710 `__: ``test_asyncio/" -"test_sendfile.py`` now resets the event loop policy using :func:" -"`tearDownModule` as done in other tests, to prevent a warning when running " -"tests on Windows." -msgstr "" - -#: ../build/NEWS:9969 -msgid "" -"`bpo-33717 `__: test.pythoninfo now logs " -"information of all clocks, not only time.time() and time.perf_counter()." -msgstr "" - -#: ../build/NEWS:9972 -msgid "" -"`bpo-35488 `__: Add a test to pathlib's " -"Path.match() to verify it does not support glob-style ** recursive pattern " -"matching." -msgstr "" - -#: ../build/NEWS:9975 -msgid "" -"`bpo-31731 `__: Fix a race condition in " -"``check_interrupted_write()`` of test_io: create directly the thread with " -"SIGALRM signal blocked, rather than blocking the signal later from the " -"thread. Previously, it was possible that the thread gets the signal before " -"the signal is blocked." -msgstr "" - -#: ../build/NEWS:9980 -msgid "" -"`bpo-35424 `__: Fix " -"test_multiprocessing_main_handling: use :class:`multiprocessing.Pool` with a " -"context manager and then explicitly join the pool." -msgstr "" - -#: ../build/NEWS:9984 -msgid "" -"`bpo-35519 `__: Rename :mod:`test." -"bisect` module to :mod:`test.bisect_cmd` to avoid conflict with :mod:" -"`bisect` module when running directly a test like ``./python Lib/test/" -"test_xmlrpc.py``." -msgstr "" - -#: ../build/NEWS:9988 -msgid "" -"`bpo-35513 `__: Replace :func:`time." -"time` with :func:`time.monotonic` in tests to measure time delta." -msgstr "" - -#: ../build/NEWS:9991 -msgid "" -"`bpo-34279 `__: :func:`test.support." -"run_unittest` no longer raise :exc:`TestDidNotRun` if the test result " -"contains skipped tests. The exception is now only raised if no test have " -"been run and no test have been skipped." -msgstr "" - -#: ../build/NEWS:9996 -msgid "" -"`bpo-35412 `__: Add testcase to " -"``test_future4``: check unicode literal." -msgstr "" - -#: ../build/NEWS:9998 -msgid "" -"`bpo-26704 `__: Added test demonstrating " -"double-patching of an instance method. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:10001 -msgid "" -"`bpo-33725 `__: " -"test_multiprocessing_fork may crash on recent versions of macOS. Until the " -"issue is resolved, skip the test on macOS." -msgstr "" - -#: ../build/NEWS:10004 -msgid "" -"`bpo-35352 `__: Modify test_asyncio to " -"use the certificate set from the test directory." -msgstr "" - -#: ../build/NEWS:10007 -msgid "" -"`bpo-35317 `__: Fix ``mktime()`` " -"overflow error in ``test_email``: run " -"``test_localtime_daylight_true_dst_true()`` and " -"``test_localtime_daylight_false_dst_true()`` with a specific timezone." -msgstr "" - -#: ../build/NEWS:10011 -msgid "" -"`bpo-21263 `__: After several reports " -"that test_gdb does not work properly on macOS and since gdb is not shipped " -"by default anymore, test_gdb is now skipped on macOS when LLVM Clang has " -"been used to compile Python. Patch by Lysandros Nikolaou" -msgstr "" - -#: ../build/NEWS:10016 -msgid "" -"`bpo-34279 `__: regrtest issue a warning " -"when no tests have been executed in a particular test file. Also, a new " -"final result state is issued if no test have been executed across all test " -"files. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10020 -msgid "" -"`bpo-34962 `__: make docstest in Doc now " -"passes., and is enforced in CI" -msgstr "" - -#: ../build/NEWS:10022 -msgid "" -"`bpo-23596 `__: Use argparse for the " -"command line of the gzip module. Patch by Antony Lee" -msgstr "" - -#: ../build/NEWS:10025 -msgid "" -"`bpo-34537 `__: Fix ``test_gdb." -"test_strings()`` when ``LC_ALL=C`` and GDB was compiled with Python 3.6 or " -"earlier." -msgstr "" - -#: ../build/NEWS:10028 -msgid "" -"`bpo-34587 `__: test_socket: Remove " -"RDSTest.testCongestion(). The test tries to fill the receiver's socket " -"buffer and expects an error. But the RDS protocol doesn't require that. " -"Moreover, the Linux implementation of RDS expects that the producer of the " -"messages reduces its rate, it's not the role of the receiver to trigger an " -"error. The test fails on Fedora 28 by design, so just remove it." -msgstr "" - -#: ../build/NEWS:10035 -msgid "" -"`bpo-34661 `__: Fix test_shutil if unzip " -"doesn't support -t." -msgstr "" - -#: ../build/NEWS:10037 -msgid "" -"`bpo-34200 `__: Fixed non-deterministic " -"flakiness of test_pkg by not using the scary test.support.module_cleanup() " -"logic to save and restore sys.modules contents between test cases." -msgstr "" - -#: ../build/NEWS:10041 -msgid "" -"`bpo-34569 `__: The experimental PEP 554 " -"data channels now correctly pass negative PyLong objects between " -"subinterpreters on 32-bit systems. Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:10045 -msgid "" -"`bpo-34594 `__: Fix usage of hardcoded " -"``errno`` values in the tests." -msgstr "" - -#: ../build/NEWS:10047 -msgid "" -"`bpo-34579 `__: Fix test_embed for AIX " -"Patch by Michael Felt" -msgstr "" - -#: ../build/NEWS:10049 -msgid "" -"`bpo-34542 `__: Use 3072 RSA keys and " -"SHA-256 signature for test certs and keys." -msgstr "" - -#: ../build/NEWS:10052 -msgid "" -"`bpo-11193 `__: Remove special condition " -"for AIX in `test_subprocess.test_undecodable_env`" -msgstr "" - -#: ../build/NEWS:10055 -msgid "" -"`bpo-34347 `__: Fix `test_utf8_mode." -"test_cmd_line` for AIX" -msgstr "" - -#: ../build/NEWS:10057 -msgid "" -"`bpo-34490 `__: On AIX with AF_UNIX " -"family sockets getsockname() does not provide 'sockname', so skip calls to " -"transport.get_extra_info('sockname')" -msgstr "" - -#: ../build/NEWS:10060 -msgid "" -"`bpo-34391 `__: Fix ftplib test for TLS " -"1.3 by reading from data socket." -msgstr "" - -#: ../build/NEWS:10062 -msgid "" -"`bpo-11192 `__: Fix `test_socket` on AIX " -"6.1 and later IPv6 zone id supports only supported by inet_pton6_zone() " -"Switch to runtime-based platform.system() to establish current platform " -"rather than build-time based sys.platform()" -msgstr "" - -#: ../build/NEWS:10067 -msgid "" -"`bpo-34399 `__: Update all RSA keys and " -"DH params to use at least 2048 bits." -msgstr "" - -#: ../build/NEWS:10069 -msgid "" -"`bpo-34373 `__: Fix ``test_mktime`` and " -"``test_pthread_getcpuclickid`` tests for AIX Add range checking for " -"``_PyTime_localtime`` for AIX Patch by Michael Felt" -msgstr "" - -#: ../build/NEWS:10073 -msgid "" -"`bpo-11191 `__: Skip the distutils test " -"'test_search_cpp' when using XLC as compiler patch by aixtools (Michael Felt)" -msgstr "" - -#: ../build/NEWS:10076 -msgid "Improved an error message when mock assert_has_calls fails." -msgstr "" - -#: ../build/NEWS:10078 -msgid "" -"`bpo-33746 `__: Fix test_unittest when " -"run in verbose mode." -msgstr "" - -#: ../build/NEWS:10080 -msgid "" -"`bpo-33901 `__: Fix test_dbm_gnu on " -"macOS with gdbm 1.15: add a larger value to make sure that the file size " -"changes." -msgstr "" - -#: ../build/NEWS:10083 -msgid "" -"`bpo-33873 `__: Fix a bug in " -"``regrtest`` that caused an extra test to run if --huntrleaks/-R was used. " -"Exit with error in case that invalid parameters are specified to --" -"huntrleaks/-R (at least one warmup run and one repetition must be used)." -msgstr "" - -#: ../build/NEWS:10088 -msgid "" -"`bpo-33562 `__: Check that a global " -"asyncio event loop policy is not left behind by any tests." -msgstr "" - -#: ../build/NEWS:10091 ../build/NEWS:10989 ../build/NEWS:15478 -msgid "" -"`bpo-33655 `__: Ignore " -"test_posix_fallocate failures on BSD platforms that might be due to running " -"on ZFS." -msgstr "" - -#: ../build/NEWS:10094 -msgid "" -"`bpo-32962 `__: Fixed test_gdb when " -"Python is compiled with flags -mcet -fcf-protection -O0." -msgstr "" - -#: ../build/NEWS:10097 ../build/NEWS:11143 -msgid "" -"`bpo-33358 `__: Fix ``test_embed." -"test_pre_initialization_sys_options()`` when the interpreter is built with " -"``--enable-shared``." -msgstr "" - -#: ../build/NEWS:10100 ../build/NEWS:11359 ../build/NEWS:15591 -msgid "" -"`bpo-32872 `__: Avoid regrtest " -"compatibility issue with namespace packages." -msgstr "" - -#: ../build/NEWS:10102 ../build/NEWS:11361 ../build/NEWS:15816 -msgid "" -"`bpo-32517 `__: Fix failing " -"``test_asyncio`` on macOS 10.12.2+ due to transport of ``KqueueSelector`` " -"loop was not being closed." -msgstr "" - -#: ../build/NEWS:10105 -msgid "" -"`bpo-32663 `__: Making sure the " -"`SMTPUTF8SimTests` class of tests gets run in test_smtplib.py." -msgstr "" - -#: ../build/NEWS:10108 -msgid "" -"`bpo-27643 `__: Test_C test case needs " -"\"signed short\" bitfields, but the IBM XLC compiler (on AIX) does not " -"support this Skip the code and test when AIX and XLC are used" -msgstr "" - -#: ../build/NEWS:10112 -msgid "Applicable to Python2-2.7 and later" -msgstr "" - -#: ../build/NEWS:10114 ../build/NEWS:11364 ../build/NEWS:15481 -msgid "`bpo-19417 `__: Add test_bdb.py." -msgstr "" - -#: ../build/NEWS:10116 ../build/NEWS:11611 -msgid "" -"`bpo-31809 `__: Add tests to verify " -"connection with secp ECDH curves." -msgstr "" - -#: ../build/NEWS:10121 -msgid "" -"`bpo-34691 `__: The _contextvars module " -"is now built into the core Python library on Windows." -msgstr "" - -#: ../build/NEWS:10124 -msgid "" -"`bpo-35683 `__: Improved Azure Pipelines " -"build steps and now verifying layouts correctly" -msgstr "" - -#: ../build/NEWS:10127 -msgid "" -"`bpo-35642 `__: Remove asynciomodule.c " -"from pythoncore.vcxproj" -msgstr "" - -#: ../build/NEWS:10129 -msgid "" -"`bpo-35550 `__: Fix incorrect Solaris " -"#ifdef checks to look for __sun && __SVR4 instead of sun when compiling." -msgstr "" - -#: ../build/NEWS:10132 -msgid "" -"`bpo-35499 `__: ``make profile-opt`` no " -"longer replaces ``CFLAGS_NODIST`` with ``CFLAGS``. It now adds profile-" -"guided optimization (PGO) flags to ``CFLAGS_NODIST``: existing " -"``CFLAGS_NODIST`` flags are kept." -msgstr "" - -#: ../build/NEWS:10136 -msgid "" -"`bpo-35257 `__: Avoid leaking the linker " -"flags from Link Time Optimizations (LTO) into distutils when compiling C " -"extensions." -msgstr "" - -#: ../build/NEWS:10139 -msgid "" -"`bpo-35351 `__: When building Python " -"with clang and LTO, LTO flags are no longer passed into CFLAGS to build " -"third-party C extensions through distutils." -msgstr "" - -#: ../build/NEWS:10143 -msgid "" -"`bpo-35139 `__: Fix a compiler error " -"when statically linking `pyexpat` in `Modules/Setup`." -msgstr "" - -#: ../build/NEWS:10146 -msgid "" -"`bpo-35059 `__: PCbuild: Set " -"InlineFunctionExpansion to OnlyExplicitInline (\"/Ob1\" option) in pyproject." -"props in Debug mode to expand functions marked as inline. This change should " -"make Python compiled in Debug mode a little bit faster on Windows." -msgstr "" - -#: ../build/NEWS:10151 -msgid "" -"`bpo-35011 `__: Restores the use of " -"pyexpatns.h to isolate our embedded copy of the expat C library so that its " -"symbols do not conflict at link or dynamic loading time with an embedding " -"application or other extension modules with their own version of libexpat." -msgstr "" - -#: ../build/NEWS:10156 -msgid "" -"`bpo-28015 `__: Have --with-lto works " -"correctly with clang." -msgstr "" - -#: ../build/NEWS:10158 -msgid "" -"`bpo-34765 `__: Update the outdated " -"install-sh file to the latest revision from automake v1.16.1" -msgstr "" - -#: ../build/NEWS:10161 -msgid "" -"`bpo-34585 `__: Check for floating-point " -"byte order in configure.ac using compilation tests instead of executing " -"code, so that these checks work in cross-compiled builds." -msgstr "" - -#: ../build/NEWS:10165 -msgid "" -"`bpo-34710 `__: Fixed SSL module build " -"with OpenSSL & pedantic CFLAGS." -msgstr "" - -#: ../build/NEWS:10167 -msgid "" -"`bpo-34582 `__: Add JUnit XML output for " -"regression tests and update Azure DevOps builds." -msgstr "" - -#: ../build/NEWS:10170 -msgid "" -"`bpo-34081 `__: Make Sphinx warnings as " -"errors in the Docs Makefile." -msgstr "" - -#: ../build/NEWS:10172 -msgid "" -"`bpo-34555 `__: Fix for case where it " -"was not possible to have both ``HAVE_LINUX_VM_SOCKETS_H`` and " -"``HAVE_SOCKADDR_ALG`` be undefined." -msgstr "" - -#: ../build/NEWS:10175 -msgid "" -"`bpo-33015 `__: Fix an undefined " -"behaviour in the pthread implementation of :c:func:" -"`PyThread_start_new_thread`: add a function wrapper to always return " -"``NULL``." -msgstr "" - -#: ../build/NEWS:10179 -msgid "" -"`bpo-34245 `__: The Python shared " -"library is now installed with write permission (mode 0755), which is the " -"standard way of installing such libraries." -msgstr "" - -#: ../build/NEWS:10183 -msgid "" -"`bpo-34121 `__: Fix detection of C11 " -"atomic support on clang." -msgstr "" - -#: ../build/NEWS:10185 -msgid "" -"`bpo-32430 `__: Rename Modules/Setup." -"dist to Modules/Setup, and remove the necessity to copy the former manually " -"to the latter when updating the local source tree." -msgstr "" - -#: ../build/NEWS:10189 -msgid "" -"`bpo-30345 `__: Add -g to LDFLAGS when " -"compiling with LTO to get debug symbols." -msgstr "" - -#: ../build/NEWS:10191 ../build/NEWS:10776 ../build/NEWS:15486 -msgid "" -"`bpo-5755 `__: Move ``-Wstrict-" -"prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This option emitted " -"annoying warnings when building extension modules written in C++." -msgstr "" - -#: ../build/NEWS:10195 ../build/NEWS:10998 ../build/NEWS:15490 -msgid "" -"`bpo-33614 `__: Ensures module " -"definition files for the stable ABI on Windows are correctly regenerated." -msgstr "" - -#: ../build/NEWS:10198 -msgid "" -"`bpo-33648 `__: The --with-c-locale-" -"warning configuration flag has been removed. It has had no effect for about " -"a year." -msgstr "" - -#: ../build/NEWS:10201 ../build/NEWS:11001 ../build/NEWS:15493 -msgid "" -"`bpo-33522 `__: Enable CI builds on " -"Visual Studio Team Services at https://python.visualstudio.com/cpython" -msgstr "" - -#: ../build/NEWS:10204 -msgid "" -"`bpo-33512 `__: configure's check for " -"\"long double\" has been simplified" -msgstr "" - -#: ../build/NEWS:10206 -msgid "" -"`bpo-33483 `__: C compiler is now " -"correctly detected from the standard environment variables. --without-gcc " -"and --with-icc options have been removed." -msgstr "" - -#: ../build/NEWS:10210 ../build/NEWS:11149 ../build/NEWS:15500 -msgid "" -"`bpo-33394 `__: Enable the verbose build " -"for extension modules, when GNU make is passed macros on the command line." -msgstr "" - -#: ../build/NEWS:10213 ../build/NEWS:11152 -msgid "" -"`bpo-33393 `__: Update config.guess and " -"config.sub files." -msgstr "" - -#: ../build/NEWS:10215 ../build/NEWS:11154 -msgid "" -"`bpo-33377 `__: Add new triplets for " -"mips r6 and riscv variants (used in extension suffixes)." -msgstr "" - -#: ../build/NEWS:10218 ../build/NEWS:11157 -msgid "" -"`bpo-32232 `__: By default, modules " -"configured in `Modules/Setup` are no longer built with `-DPy_BUILD_CORE`. " -"Instead, modules that specifically need that preprocessor definition include " -"it in their individual entries." -msgstr "" - -#: ../build/NEWS:10222 ../build/NEWS:11161 -msgid "" -"`bpo-33182 `__: The embedding tests can " -"once again be built with clang 6.0" -msgstr "" - -#: ../build/NEWS:10224 ../build/NEWS:11369 ../build/NEWS:15596 -msgid "" -"`bpo-33163 `__: Upgrade pip to 9.0.3 and " -"setuptools to v39.0.1." -msgstr "" - -#: ../build/NEWS:10226 -msgid "" -"`bpo-33012 `__: gcc 8 has added a new " -"warning heuristic to detect invalid function casts and a stock python build " -"seems to hit that warning quite often. The most common is the cast of a " -"METH_NOARGS function (that uses just one argument) to a PyCFunction. Fix " -"this by adding a dummy argument to all functions that implement METH_NOARGS." -msgstr "" - -#: ../build/NEWS:10232 ../build/NEWS:11616 -msgid "" -"`bpo-32898 `__: Fix the python debug " -"build when using COUNT_ALLOCS." -msgstr "" - -#: ../build/NEWS:10234 -msgid "" -"`bpo-29442 `__: Replace optparse with " -"argparse in setup.py" -msgstr "" - -#: ../build/NEWS:10239 -msgid "" -"`bpo-35890 `__: Fix API calling " -"consistency of GetVersionEx and wcstok." -msgstr "" - -#: ../build/NEWS:10241 -msgid "" -"`bpo-32560 `__: The ``py`` launcher now " -"forwards its ``STARTUPINFO`` structure to child processes." -msgstr "" - -#: ../build/NEWS:10244 -msgid "" -"`bpo-35854 `__: Fix EnvBuilder and --" -"symlinks in venv on Windows" -msgstr "" - -#: ../build/NEWS:10246 -msgid "" -"`bpo-35811 `__: Avoid propagating venv " -"settings when launching via py.exe" -msgstr "" - -#: ../build/NEWS:10248 -msgid "" -"`bpo-35797 `__: Fix default executable " -"used by the multiprocessing module" -msgstr "" - -#: ../build/NEWS:10250 -msgid "" -"`bpo-35758 `__: Allow building on ARM " -"with MSVC." -msgstr "" - -#: ../build/NEWS:10252 -msgid "" -"`bpo-29734 `__: Fix handle leaks in os." -"stat on Windows." -msgstr "" - -#: ../build/NEWS:10254 -msgid "" -"`bpo-35596 `__: Use unchecked PYCs for " -"the embeddable distro to avoid zipimport restrictions." -msgstr "" - -#: ../build/NEWS:10257 -msgid "" -"`bpo-35596 `__: Fix vcruntime140.dll " -"being added to embeddable distro multiple times." -msgstr "" - -#: ../build/NEWS:10260 -msgid "" -"`bpo-35402 `__: Update Windows build to " -"use Tcl and Tk 8.6.9" -msgstr "" - -#: ../build/NEWS:10262 -msgid "" -"`bpo-35401 `__: Updates Windows build to " -"OpenSSL 1.1.0j" -msgstr "" - -#: ../build/NEWS:10264 -msgid "" -"`bpo-34977 `__: venv on Windows will now " -"use a python.exe redirector rather than copying the actual binaries from the " -"base environment." -msgstr "" - -#: ../build/NEWS:10267 -msgid "" -"`bpo-34977 `__: Adds support for " -"building a Windows App Store package" -msgstr "" - -#: ../build/NEWS:10269 -msgid "" -"`bpo-35067 `__: Remove _distutils_findvs " -"module and use vswhere.exe instead." -msgstr "" - -#: ../build/NEWS:10271 -msgid "" -"`bpo-32557 `__: Allow shutil.disk_usage " -"to take a file path on Windows" -msgstr "" - -#: ../build/NEWS:10273 -msgid "" -"`bpo-34770 `__: Fix a possible null " -"pointer dereference in pyshellext.cpp." -msgstr "" - -#: ../build/NEWS:10275 -msgid "" -"`bpo-34603 `__: Fix returning structs " -"from functions produced by MSVC" -msgstr "" - -#: ../build/NEWS:10277 -msgid "" -"`bpo-34581 `__: Guard MSVC-specific code " -"in socketmodule.c with ``#ifdef _MSC_VER``." -msgstr "" - -#: ../build/NEWS:10280 -msgid "" -"`bpo-34532 `__: Fixes exit code of list " -"version arguments for py.exe." -msgstr "" - -#: ../build/NEWS:10282 -msgid "" -"`bpo-34062 `__: Fixed the '--list' and " -"'--list-paths' arguments for the py.exe launcher" -msgstr "" - -#: ../build/NEWS:10285 -msgid "" -"`bpo-34225 `__: Ensure INCLUDE and LIB " -"directories do not end with a backslash." -msgstr "" - -#: ../build/NEWS:10287 -msgid "" -"`bpo-34011 `__: A suite of code has been " -"changed which copied across DLLs and init.tcl from the running Python " -"location into a venv being created. These copies are needed only when " -"running from a Python source build, and the copying code is now only run " -"when that is the case, rather than whenever a venv is created." -msgstr "" - -#: ../build/NEWS:10293 -msgid "" -"`bpo-34006 `__: Revert line length limit " -"for Windows help docs. The line-length limit is not needed because the pages " -"appear in a separate app rather than on a browser tab. It can also interact " -"badly with the DPI setting." -msgstr "" - -#: ../build/NEWS:10297 -msgid "" -"`bpo-31546 `__: Restore running " -"PyOS_InputHook while waiting for user input at the prompt. The restores " -"integration of interactive GUI windows (such as Matplotlib figures) with the " -"prompt on Windows." -msgstr "" - -#: ../build/NEWS:10301 -msgid "" -"`bpo-30237 `__: Output error when " -"ReadConsole is canceled by CancelSynchronousIo instead of crashing." -msgstr "" - -#: ../build/NEWS:10304 -msgid "" -"`bpo-33895 `__: GIL is released while " -"calling functions that acquire Windows loader lock." -msgstr "" - -#: ../build/NEWS:10307 ../build/NEWS:10783 -msgid "" -"`bpo-33720 `__: Reduces maximum marshal " -"recursion depth on release builds." -msgstr "" - -#: ../build/NEWS:10309 -msgid "" -"`bpo-29097 `__: Fix bug where :meth:" -"`datetime.fromtimestamp` erroneously throws an :exc:`OSError` on Windows for " -"values between 0 and 86400. Patch by Ammar Askar." -msgstr "" - -#: ../build/NEWS:10313 -msgid "" -"`bpo-33316 `__: PyThread_release_lock " -"always fails" -msgstr "" - -#: ../build/NEWS:10315 ../build/NEWS:11166 -msgid "" -"`bpo-33184 `__: Update Windows installer " -"to use OpenSSL 1.1.0h." -msgstr "" - -#: ../build/NEWS:10317 -msgid "" -"`bpo-32890 `__: Fix usage of " -"GetLastError() instead of errno in os.execve() and os.truncate()." -msgstr "" - -#: ../build/NEWS:10320 ../build/NEWS:11374 ../build/NEWS:15837 -msgid "" -"`bpo-33016 `__: Fix potential use of " -"uninitialized memory in nt._getfinalpathname" -msgstr "" - -#: ../build/NEWS:10323 ../build/NEWS:11377 ../build/NEWS:15840 -msgid "" -"`bpo-32903 `__: Fix a memory leak in os." -"chdir() on Windows if the current directory is set to a UNC path." -msgstr "" - -#: ../build/NEWS:10326 ../build/NEWS:11621 -msgid "" -"`bpo-32901 `__: Update Tcl and Tk " -"versions to 8.6.8" -msgstr "" - -#: ../build/NEWS:10328 ../build/NEWS:11623 ../build/NEWS:15843 -msgid "" -"`bpo-31966 `__: Fixed WindowsConsoleIO." -"write() for writing empty data." -msgstr "" - -#: ../build/NEWS:10330 ../build/NEWS:11625 ../build/NEWS:15845 -msgid "" -"`bpo-32409 `__: Ensures activate.bat can " -"handle Unicode contents." -msgstr "" - -#: ../build/NEWS:10332 ../build/NEWS:11627 ../build/NEWS:15847 -msgid "" -"`bpo-32457 `__: Improves handling of " -"denormalized executable path when launching Python." -msgstr "" - -#: ../build/NEWS:10335 ../build/NEWS:11630 ../build/NEWS:15850 -msgid "" -"`bpo-32370 `__: Use the correct encoding " -"for ipconfig output in the uuid module. Patch by Segev Finer." -msgstr "" - -#: ../build/NEWS:10338 ../build/NEWS:11633 ../build/NEWS:15853 -msgid "" -"`bpo-29248 `__: Fix :func:`os.readlink` " -"on Windows, which was mistakenly treating the ``PrintNameOffset`` field of " -"the reparse data buffer as a number of characters instead of bytes. Patch by " -"Craig Holmquist and SSE4." -msgstr "" - -#: ../build/NEWS:10342 -msgid "" -"`bpo-1104 `__: Correctly handle string " -"length in ``msilib.SummaryInfo.GetProperty()`` to prevent it from truncating " -"the last character." -msgstr "" - -#: ../build/NEWS:10349 -msgid "" -"`bpo-35401 `__: Update macOS installer " -"to use OpenSSL 1.1.0j." -msgstr "" - -#: ../build/NEWS:10351 -msgid "" -"`bpo-35025 `__: Properly guard the use " -"of the ``CLOCK_GETTIME`` et al. macros in ``timemodule`` on macOS." -msgstr "" - -#: ../build/NEWS:10354 -msgid "" -"`bpo-24658 `__: On macOS, fix reading " -"from and writing into a file with a size larger than 2 GiB." -msgstr "" - -#: ../build/NEWS:10357 -msgid "" -"`bpo-34405 `__: Update to OpenSSL 1.1.0i " -"for macOS installer builds." -msgstr "" - -#: ../build/NEWS:10359 -msgid "" -"`bpo-33635 `__: In macOS stat on some " -"file descriptors (/dev/fd/3 f.e) will result in bad file descriptor OSError. " -"Guard against this exception was added in is_dir, is_file and similar " -"methods. DirEntry.is_dir can also throw this exception so " -"_RecursiveWildcardSelector._iterate_directories was also extended with the " -"same error ignoring pattern." -msgstr "" - -#: ../build/NEWS:10365 ../build/NEWS:11011 -msgid "" -"`bpo-13631 `__: The .editrc file in " -"user's home directory is now processed correctly during the readline " -"initialization through editline emulation on macOS." -msgstr "" - -#: ../build/NEWS:10369 ../build/NEWS:11171 -msgid "" -"`bpo-33184 `__: Update macOS installer " -"build to use OpenSSL 1.1.0h." -msgstr "" - -#: ../build/NEWS:10371 ../build/NEWS:11383 -msgid "" -"`bpo-32726 `__: Build and link with " -"private copy of Tcl/Tk 8.6 for the macOS 10.6+ installer. The 10.9+ " -"installer variant already does this. This means that the Python 3.7 " -"provided by the python.org macOS installers no longer need or use any " -"external versions of Tcl/Tk, either system-provided or user-installed, such " -"as ActiveTcl." -msgstr "" - -#: ../build/NEWS:10377 ../build/NEWS:11640 -msgid "" -"`bpo-32901 `__: Update macOS 10.9+ " -"installer to Tcl/Tk 8.6.8." -msgstr "" - -#: ../build/NEWS:10379 -msgid "" -"`bpo-31903 `__: In :mod:`_scproxy`, drop " -"the GIL when calling into ``SystemConfiguration`` to avoid deadlocks." -msgstr "" - -#: ../build/NEWS:10385 -msgid "" -"`bpo-35770 `__: IDLE macosx deletes " -"Options => Configure IDLE. It previously deleted Window => Zoom Height by " -"mistake. (Zoom Height is now on the Options menu). On Mac, the settings " -"dialog is accessed via Preferences on the IDLE menu." -msgstr "" - -#: ../build/NEWS:10390 -msgid "" -"`bpo-35769 `__: Change IDLE's new file " -"name from 'Untitled' to 'untitled'" -msgstr "" - -#: ../build/NEWS:10392 -msgid "" -"`bpo-35660 `__: Fix imports in idlelib." -"window." -msgstr "" - -#: ../build/NEWS:10394 -msgid "" -"`bpo-35641 `__: Proper format `calltip` " -"when the function has no docstring." -msgstr "" - -#: ../build/NEWS:10396 -msgid "" -"`bpo-33987 `__: Use ttk Frame for ttk " -"widgets." -msgstr "" - -#: ../build/NEWS:10398 -msgid "" -"`bpo-34055 `__: Fix erroneous 'smart' " -"indents and newlines in IDLE Shell." -msgstr "" - -#: ../build/NEWS:10400 -msgid "" -"`bpo-35591 `__: Find Selection now works " -"when selection not found." -msgstr "" - -#: ../build/NEWS:10402 -msgid "" -"`bpo-35196 `__: Speed up squeezer line " -"counting." -msgstr "" - -#: ../build/NEWS:10404 -msgid "" -"`bpo-35598 `__: Update config_key: use " -"PEP 8 names and ttk widgets, make some objects global, and add tests." -msgstr "" - -#: ../build/NEWS:10407 -msgid "" -"`bpo-28097 `__: Add Previous/Next " -"History entries to Shell menu." -msgstr "" - -#: ../build/NEWS:10409 -msgid "" -"`bpo-35208 `__: Squeezer now properly " -"counts wrapped lines before newlines." -msgstr "" - -#: ../build/NEWS:10411 -msgid "" -"`bpo-35555 `__: Gray out Code Context " -"menu entry when it's not applicable." -msgstr "" - -#: ../build/NEWS:10413 -msgid "" -"`bpo-35521 `__: Document the IDLE editor " -"code context feature. Add some internal references within the IDLE doc." -msgstr "" - -#: ../build/NEWS:10416 -msgid "" -"`bpo-22703 `__: The Code Context menu " -"label now toggles between Show/Hide Code Context. The Zoom Height menu now " -"toggles between Zoom/Restore Height. Zoom Height has moved from the Window " -"menu to the Options menu." -msgstr "" - -#: ../build/NEWS:10420 -msgid "" -"`bpo-35213 `__: Where appropriate, use " -"'macOS' in idlelib." -msgstr "" - -#: ../build/NEWS:10422 -msgid "" -"`bpo-34864 `__: On macOS, warn if the " -"system preference \"Prefer tabs when opening documents\" is set to \"Always" -"\"." -msgstr "" - -#: ../build/NEWS:10425 -msgid "" -"`bpo-34864 `__: Document two IDLE on " -"MacOS issues. The System Preferences Dock \"prefer tabs always\" setting " -"disables some IDLE features. Menus are a bit different than as described " -"for Windows and Linux." -msgstr "" - -#: ../build/NEWS:10429 -msgid "" -"`bpo-35202 `__: Remove unused imports " -"from lib/idlelib" -msgstr "" - -#: ../build/NEWS:10431 -msgid "" -"`bpo-33000 `__: Document that IDLE's " -"shell has no line limit. A program that runs indefinitely can overfill " -"memory." -msgstr "" - -#: ../build/NEWS:10434 -msgid "" -"`bpo-23220 `__: Explain how IDLE's Shell " -"displays output." -msgstr "" - -#: ../build/NEWS:10436 -msgid "" -"`bpo-35099 `__: Improve the doc about " -"IDLE running user code. The section is renamed from \"IDLE -- console " -"differences\" is renamed \"Running user code\". It mostly covers the " -"implications of using custom sys.stdxxx objects." -msgstr "" - -#: ../build/NEWS:10440 -msgid "" -"`bpo-35097 `__: Add IDLE doc subsection " -"explaining editor windows. Topics include opening, title and status bar, ." -"py* extension, and running." -msgstr "" - -#: ../build/NEWS:10443 -msgid "" -"`bpo-35093 `__: Document the IDLE " -"document viewer in the IDLE doc. Add a paragraph in \"Help and preferences" -"\", \"Help sources\" subsection." -msgstr "" - -#: ../build/NEWS:10446 -msgid "" -"`bpo-35088 `__: Update idlelib.help." -"copy_string docstring. We now use git and backporting instead of hg and " -"forward merging." -msgstr "" - -#: ../build/NEWS:10449 -msgid "" -"`bpo-35087 `__: Update idlelib help " -"files for the current doc build. The main change is the elimination of " -"chapter-section numbers." -msgstr "" - -#: ../build/NEWS:10452 -msgid "" -"`bpo-34548 `__: Use configured color " -"theme for read-only text views." -msgstr "" - -#: ../build/NEWS:10454 -msgid "" -"`bpo-1529353 `__: Enable \"squeezing\" " -"of long outputs in the shell, to avoid performance degradation and to clean " -"up the history without losing it. Squeezed outputs may be copied, viewed in " -"a separate window, and \"unsqueezed\"." -msgstr "" - -#: ../build/NEWS:10459 -msgid "" -"`bpo-34047 `__: Fixed mousewheel " -"scrolling direction on macOS." -msgstr "" - -#: ../build/NEWS:10461 -msgid "" -"`bpo-34275 `__: Make IDLE calltips " -"always visible on Mac. Some MacOS-tk combinations need .update_idletasks(). " -"Patch by Kevin Walzer." -msgstr "" - -#: ../build/NEWS:10464 -msgid "" -"`bpo-34120 `__: Fix unresponsiveness " -"after closing certain windows and dialogs." -msgstr "" - -#: ../build/NEWS:10466 -msgid "" -"`bpo-33975 `__: Avoid small type when " -"running htests. Since part of the purpose of human-viewed tests is to " -"determine that widgets look right, it is important that they look the same " -"for testing as when running IDLE." -msgstr "" - -#: ../build/NEWS:10470 -msgid "" -"`bpo-33905 `__: Add test for idlelib." -"stackview.StackBrowser." -msgstr "" - -#: ../build/NEWS:10472 -msgid "" -"`bpo-33924 `__: Change mainmenu.menudefs " -"key 'windows' to 'window'. Every other menudef key is lowercase version of " -"main menu entry." -msgstr "" - -#: ../build/NEWS:10475 -msgid "" -"`bpo-33906 `__: Rename idlelib.windows " -"as window Match Window on the main menu and remove last plural module name." -msgstr "" - -#: ../build/NEWS:10478 -msgid "" -"`bpo-33917 `__: Fix and document idlelib/" -"idle_test/template.py. The revised file compiles, runs, and tests OK. " -"idle_test/README.txt explains how to use it to create new IDLE test files." -msgstr "" - -#: ../build/NEWS:10482 -msgid "" -"`bpo-33904 `__: IDLE: In rstrip, rename " -"class RstripExtension as Rstrip" -msgstr "" - -#: ../build/NEWS:10484 -msgid "" -"`bpo-33907 `__: For consistency and " -"clarity, rename an IDLE module and classes. Module calltips and its class " -"CallTips are now calltip and Calltip. In module calltip_w, class CallTip is " -"now CalltipWindow." -msgstr "" - -#: ../build/NEWS:10488 -msgid "" -"`bpo-33856 `__: Add \"help\" in the " -"welcome message of IDLE" -msgstr "" - -#: ../build/NEWS:10490 -msgid "" -"`bpo-33839 `__: IDLE: refactor ToolTip " -"and CallTip and add documentation and tests" -msgstr "" - -#: ../build/NEWS:10493 -msgid "" -"`bpo-33855 `__: Minimally test all IDLE " -"modules. Add missing files, import module, instantiate classes, and check " -"coverage. Check existing files." -msgstr "" - -#: ../build/NEWS:10496 ../build/NEWS:10788 ../build/NEWS:15516 -msgid "" -"`bpo-33656 `__: On Windows, add API call " -"saying that tk scales for DPI. On Windows 8.1+ or 10, with DPI compatibility " -"properties of the Python binary unchanged, and a monitor resolution greater " -"than 96 DPI, this should make text and lines sharper. It should otherwise " -"have no effect." -msgstr "" - -#: ../build/NEWS:10501 ../build/NEWS:10793 ../build/NEWS:15521 -msgid "" -"`bpo-33768 `__: Clicking on a context " -"line moves that line to the top of the editor window." -msgstr "" - -#: ../build/NEWS:10504 ../build/NEWS:10796 ../build/NEWS:15524 -msgid "" -"`bpo-33763 `__: IDLE: Use read-only text " -"widget for code context instead of label widget." -msgstr "" - -#: ../build/NEWS:10507 ../build/NEWS:10799 ../build/NEWS:15527 -msgid "" -"`bpo-33664 `__: Scroll IDLE editor text " -"by lines. Previously, the mouse wheel and scrollbar slider moved text by a " -"fixed number of pixels, resulting in partial lines at the top of the editor " -"box. The change also applies to the shell and grep output windows, but not " -"to read-only text views." -msgstr "" - -#: ../build/NEWS:10512 ../build/NEWS:10804 ../build/NEWS:15532 -msgid "" -"`bpo-33679 `__: Enable theme-specific " -"color configuration for Code Context. Use the Highlights tab to see the " -"setting for built-in themes or add settings to custom themes." -msgstr "" - -#: ../build/NEWS:10516 ../build/NEWS:10808 ../build/NEWS:15536 -msgid "" -"`bpo-33642 `__: Display up to maxlines " -"non-blank lines for Code Context. If there is no current context, show a " -"single blank line." -msgstr "" - -#: ../build/NEWS:10519 ../build/NEWS:11018 ../build/NEWS:15539 -msgid "" -"`bpo-33628 `__: IDLE: Cleanup " -"codecontext.py and its test." -msgstr "" - -#: ../build/NEWS:10521 ../build/NEWS:11020 ../build/NEWS:15541 -msgid "" -"`bpo-33564 `__: IDLE's code context now " -"recognizes async as a block opener." -msgstr "" - -#: ../build/NEWS:10523 ../build/NEWS:11176 ../build/NEWS:15546 -msgid "" -"`bpo-21474 `__: Update word/identifier " -"definition from ascii to unicode. In text and entry boxes, this affects " -"selection by double-click, movement left/right by control-left/right, and " -"deletion left/right by control-BACKSPACE/DEL." -msgstr "" - -#: ../build/NEWS:10528 ../build/NEWS:11181 ../build/NEWS:15551 -msgid "" -"`bpo-33204 `__: IDLE: consistently color " -"invalid string prefixes. A 'u' string prefix cannot be paired with either " -"'r' or 'f'. Consistently color as much of the prefix, starting at the right, " -"as is valid. Revise and extend colorizer test." -msgstr "" - -#: ../build/NEWS:10533 ../build/NEWS:11392 ../build/NEWS:15870 -msgid "" -"`bpo-32984 `__: Set ``__file__`` while " -"running a startup file. Like Python, IDLE optionally runs one startup file " -"in the Shell window before presenting the first interactive input prompt. " -"For IDLE, ``-s`` runs a file named in environmental variable :envvar:" -"`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`; ``-r file`` runs ``file``. Python " -"sets ``__file__`` to the startup file name before running the file and " -"unsets it before the first prompt. IDLE now does the same when run " -"normally, without the ``-n`` option." -msgstr "" - -#: ../build/NEWS:10542 ../build/NEWS:11401 ../build/NEWS:15879 -msgid "" -"`bpo-32940 `__: Simplify and rename " -"StringTranslatePseudoMapping in pyparse." -msgstr "" - -#: ../build/NEWS:10544 ../build/NEWS:11645 ../build/NEWS:15881 -msgid "" -"`bpo-32916 `__: Change ``str`` to " -"``code`` in pyparse." -msgstr "" - -#: ../build/NEWS:10546 ../build/NEWS:11647 ../build/NEWS:15883 -msgid "" -"`bpo-32905 `__: Remove unused code in " -"pyparse module." -msgstr "" - -#: ../build/NEWS:10548 ../build/NEWS:11649 ../build/NEWS:15885 -msgid "" -"`bpo-32874 `__: Add tests for pyparse." -msgstr "" - -#: ../build/NEWS:10550 ../build/NEWS:11651 ../build/NEWS:15887 -msgid "" -"`bpo-32837 `__: Using the system and " -"place-dependent default encoding for open() is a bad idea for IDLE's system " -"and location-independent files." -msgstr "" - -#: ../build/NEWS:10553 ../build/NEWS:11654 ../build/NEWS:15890 -msgid "" -"`bpo-32826 `__: Add \"encoding=utf-8\" " -"to open() in IDLE's test_help_about. GUI test test_file_buttons() only looks " -"at initial ascii-only lines, but failed on systems where open() defaults to " -"'ascii' because readline() internally reads and decodes far enough ahead to " -"encounter a non-ascii character in CREDITS.txt." -msgstr "" - -#: ../build/NEWS:10559 ../build/NEWS:11022 ../build/NEWS:15556 -msgid "" -"`bpo-32831 `__: Add docstrings and tests " -"for codecontext." -msgstr "" - -#: ../build/NEWS:10561 ../build/NEWS:11660 ../build/NEWS:15896 -msgid "" -"`bpo-32765 `__: Update configdialog " -"General tab docstring to add new widgets to the widget list." -msgstr "" - -#: ../build/NEWS:10567 -msgid "" -"`bpo-35884 `__: Add a benchmark script " -"for timing various ways to access variables: ``Tools/scripts/" -"var_access_benchmark.py``." -msgstr "" - -#: ../build/NEWS:10570 -msgid "" -"`bpo-34989 `__: python-gdb.py now " -"handles errors on computing the line number of a Python frame." -msgstr "" - -#: ../build/NEWS:10573 -msgid "" -"`bpo-20260 `__: Argument Clinic now has " -"non-bitwise unsigned int converters." -msgstr "" - -#: ../build/NEWS:10575 -msgid "" -"`bpo-32962 `__: python-gdb now catches " -"``UnicodeDecodeError`` exceptions when calling ``string()``." -msgstr "" - -#: ../build/NEWS:10578 -msgid "" -"`bpo-32962 `__: python-gdb now catches " -"ValueError on read_var(): when Python has no debug symbols for example." -msgstr "" - -#: ../build/NEWS:10581 ../build/NEWS:11189 ../build/NEWS:15561 -msgid "" -"`bpo-33189 `__: :program:`pygettext.py` " -"now recognizes only literal strings as docstrings and translatable strings, " -"and rejects bytes literals and f-string expressions." -msgstr "" - -#: ../build/NEWS:10585 ../build/NEWS:11193 ../build/NEWS:15565 -msgid "" -"`bpo-31920 `__: Fixed handling " -"directories as arguments in the ``pygettext`` script. Based on patch by Oleg " -"Krasnikov." -msgstr "" - -#: ../build/NEWS:10588 ../build/NEWS:11196 ../build/NEWS:15568 -msgid "" -"`bpo-29673 `__: Fix pystackv and pystack " -"gdbinit macros." -msgstr "" - -#: ../build/NEWS:10590 -msgid "" -"`bpo-25427 `__: Remove the pyvenv script " -"in favor of ``python3 -m venv`` in order to lower confusion as to what " -"Python interpreter a virtual environment will be created for." -msgstr "" - -#: ../build/NEWS:10594 ../build/NEWS:11406 ../build/NEWS:15570 -msgid "" -"`bpo-32885 `__: Add an ``-n`` flag for " -"``Tools/scripts/pathfix.py`` to disable automatic backup creation (files " -"with ``~`` suffix)." -msgstr "" - -#: ../build/NEWS:10597 ../build/NEWS:11666 ../build/NEWS:15906 -msgid "" -"`bpo-32222 `__: Fix pygettext not " -"extracting docstrings for functions with type annotated arguments. Patch by " -"Toby Harradine." -msgstr "" - -#: ../build/NEWS:10600 ../build/NEWS:11198 ../build/NEWS:15573 -msgid "" -"`bpo-31583 `__: Fix 2to3 for using with " -"--add-suffix option but without --output-dir option for relative path to " -"files in current directory." -msgstr "" - -#: ../build/NEWS:10606 -msgid "" -"`bpo-35713 `__: The :c:func:" -"`PyByteArray_Init` and :c:func:`PyByteArray_Fini` functions have been " -"removed. They did nothing since Python 2.7.4 and Python 3.2.0, were excluded " -"from the limited API (stable ABI), and were not documented." -msgstr "" - -#: ../build/NEWS:10611 -msgid "" -"`bpo-33817 `__: Fixed :c:func:" -"`_PyBytes_Resize` for empty bytes objects." -msgstr "" - -#: ../build/NEWS:10613 -msgid "" -"`bpo-35322 `__: Fix memory leak in :c:" -"func:`PyUnicode_EncodeLocale` and :c:func:`PyUnicode_EncodeFSDefault` on " -"error handling." -msgstr "" - -#: ../build/NEWS:10616 -msgid "" -"`bpo-35059 `__: The following C macros " -"have been converted to static inline functions: :c:func:`Py_INCREF`, :c:func:" -"`Py_DECREF`, :c:func:`Py_XINCREF`, :c:func:`Py_XDECREF`, :c:func:" -"`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`." -msgstr "" - -#: ../build/NEWS:10621 -msgid "" -"`bpo-35296 `__: ``make install`` now " -"also installs the internal API: ``Include/internal/*.h`` header files." -msgstr "" - -#: ../build/NEWS:10624 -msgid "" -"`bpo-35081 `__: Internal APIs surrounded " -"by ``#ifdef Py_BUILD_CORE`` have been moved from ``Include/*.h`` headers to " -"new header files ``Include/internal/pycore_*.h``." -msgstr "" - -#: ../build/NEWS:10628 -msgid "" -"`bpo-35259 `__: Conditionally declare :c:" -"func:`Py_FinalizeEx()` (new in 3.6) based on Py_LIMITED_API. Patch by Arthur " -"Neufeld." -msgstr "" - -#: ../build/NEWS:10631 -msgid "" -"`bpo-35081 `__: The :c:func:" -"`_PyObject_GC_TRACK` and :c:func:`_PyObject_GC_UNTRACK` macros have been " -"removed from the public C API." -msgstr "" - -#: ../build/NEWS:10635 -msgid "" -"`bpo-35134 `__: Creation of a new " -"``Include/cpython/`` subdirectory." -msgstr "" - -#: ../build/NEWS:10637 -msgid "" -"`bpo-34725 `__: Adds " -"_Py_SetProgramFullPath so embedders may override sys.executable" -msgstr "" - -#: ../build/NEWS:10640 -msgid "" -"`bpo-34910 `__: Ensure that :c:func:" -"`PyObject_Print` always returns ``-1`` on error. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:10643 -msgid "" -"`bpo-34523 `__: Py_DecodeLocale() and " -"Py_EncodeLocale() now use the UTF-8 encoding on Windows if " -"Py_LegacyWindowsFSEncodingFlag is zero." -msgstr "" - -#: ../build/NEWS:10646 -msgid "" -"`bpo-34193 `__: Fix pluralization in " -"TypeError messages in getargs.c and typeobject.c: '1 argument' instead of '1 " -"arguments' and '1 element' instead of '1 elements'." -msgstr "" - -#: ../build/NEWS:10650 -msgid "" -"`bpo-34127 `__: Return grammatically " -"correct error message based on argument count. Patch by Karthikeyan " -"Singaravelan." -msgstr "" - -#: ../build/NEWS:10653 -msgid "" -"`bpo-23927 `__: Fixed :exc:`SystemError` " -"in :c:func:`PyArg_ParseTupleAndKeywords` when the ``w*`` format unit is used " -"for optional parameter." -msgstr "" - -#: ../build/NEWS:10657 -msgid "" -"`bpo-32455 `__: Added :c:func:" -"`PyCompile_OpcodeStackEffectWithJump`." -msgstr "" - -#: ../build/NEWS:10659 -msgid "" -"`bpo-34008 `__: Py_Main() can again be " -"called after Py_Initialize(), as in Python 3.6." -msgstr "" - -#: ../build/NEWS:10662 -msgid "" -"`bpo-32500 `__: Fixed error messages " -"for :c:func:`PySequence_Size`, :c:func:`PySequence_GetItem`, :c:func:" -"`PySequence_SetItem` and :c:func:`PySequence_DelItem` called with a mapping " -"and :c:func:`PyMapping_Size` called with a sequence." -msgstr "" - -#: ../build/NEWS:10667 -msgid "" -"`bpo-33818 `__: :c:func:" -"`PyExceptionClass_Name` will now return ``const char *`` instead of ``char " -"*``." -msgstr "" - -#: ../build/NEWS:10670 ../build/NEWS:11412 -msgid "" -"`bpo-33042 `__: Embedding applications " -"may once again call PySys_ResetWarnOptions, PySys_AddWarnOption, and " -"PySys_AddXOption prior to calling Py_Initialize." -msgstr "" - -#: ../build/NEWS:10674 ../build/NEWS:11416 ../build/NEWS:15579 -msgid "" -"`bpo-32374 `__: Document that m_traverse " -"for multi-phase initialized modules can be called with m_state=NULL, and add " -"a sanity check" -msgstr "" - -#: ../build/NEWS:10677 -msgid "" -"`bpo-30863 `__: :c:func:" -"`PyUnicode_AsWideChar` and :c:func:`PyUnicode_AsWideCharString` no longer " -"cache the ``wchar_t*`` representation of string objects." -msgstr "" - -#: ../build/NEWS:10683 -msgid "Python 3.7.0 final" -msgstr "" - -#: ../build/NEWS:10685 ../build/NEWS:15266 -msgid "*Release date: 2018-06-27*" -msgstr "" - -#: ../build/NEWS:10690 -msgid "" -"`bpo-33851 `__: Fix :func:`ast." -"get_docstring` for a node that lacks a docstring." -msgstr "" - -#: ../build/NEWS:10696 -msgid "" -"`bpo-33932 `__: Calling Py_Initialize() " -"twice does nothing, instead of failing with a fatal error: restore the " -"Python 3.6 behaviour." -msgstr "" - -#: ../build/NEWS:10701 -msgid "Python 3.7.0 release candidate 1" -msgstr "" - -#: ../build/NEWS:10703 -msgid "*Release date: 2018-06-12*" -msgstr "" - -#: ../build/NEWS:10813 -msgid "Python 3.7.0 beta 5" -msgstr "" - -#: ../build/NEWS:10815 -msgid "*Release date: 2018-05-30*" -msgstr "" - -#: ../build/NEWS:10828 -msgid "" -"`bpo-20104 `__: The new `os.posix_spawn` " -"added in 3.7.0b1 was removed as we are still working on what the API should " -"look like. Expect this in 3.8 instead." -msgstr "" - -#: ../build/NEWS:10962 ../build/NEWS:15403 -msgid "" -"`bpo-32861 `__: The urllib.robotparser's " -"``__str__`` representation now includes wildcard entries and the \"Crawl-" -"delay\" and \"Request-rate\" fields. Patch by Michael Lazar." -msgstr "" - -#: ../build/NEWS:10992 -msgid "" -"`bpo-32604 `__: Remove the " -"_xxsubinterpreters module (meant for testing) and associated helpers. This " -"module was originally added recently in 3.7b1." -msgstr "" - -#: ../build/NEWS:11004 ../build/NEWS:15496 -msgid "" -"`bpo-33012 `__: Add ``-Wno-cast-function-" -"type`` for gcc 8 for silencing warnings about function casts like casting to " -"PyCFunction in method definition lists." -msgstr "" - -#: ../build/NEWS:11026 -msgid "Python 3.7.0 beta 4" -msgstr "" - -#: ../build/NEWS:11028 -msgid "*Release date: 2018-05-02*" -msgstr "" - -#: ../build/NEWS:11086 -msgid "" -"`bpo-33185 `__: Fixed regression when " -"running pydoc with the :option:`-m` switch. (The regression was introduced " -"in 3.7.0b3 by the resolution of :issue:`33053`) This fix also changed pydoc " -"to add ``os.getcwd()`` to :data:`sys.path` when necessary, rather than " -"adding ``\".\"``." -msgstr "" - -#: ../build/NEWS:11094 -msgid "" -"`bpo-33217 `__: Deprecate looking up non-" -"Enum objects in Enum classes and Enum members (will raise :exc:`TypeError` " -"in 3.8+)." -msgstr "" - -#: ../build/NEWS:11203 -msgid "Python 3.7.0 beta 3" -msgstr "" - -#: ../build/NEWS:11205 -msgid "*Release date: 2018-03-29*" -msgstr "" - -#: ../build/NEWS:11233 ../build/NEWS:15306 -msgid "" -"`bpo-33041 `__: Fixed jumping when the " -"function contains an ``async for`` loop." -msgstr "" - -#: ../build/NEWS:11331 -msgid "" -"`bpo-31639 `__: http.server now exposes " -"a ThreadedHTTPServer class and uses it when the module is run with ``-m`` to " -"cope with web browsers pre-opening sockets." -msgstr "" - -#: ../build/NEWS:11421 -msgid "Python 3.7.0 beta 2" -msgstr "" - -#: ../build/NEWS:11423 -msgid "*Release date: 2018-02-27*" -msgstr "" - -#: ../build/NEWS:11488 -msgid "" -"`bpo-25988 `__: Emit a :exc:" -"`DeprecationWarning` when using or importing an ABC directly from :mod:" -"`collections` rather than from :mod:`collections.abc`." -msgstr "" - -#: ../build/NEWS:11497 -msgid "" -"`bpo-31333 `__: ``_abc`` module is " -"added. It is a speedup module with C implementations for various functions " -"and methods in ``abc``. Creating an ABC subclass and calling ``isinstance`` " -"or ``issubclass`` with an ABC subclass are up to 1.5x faster. In addition, " -"this makes Python start-up up to 10% faster. Note that the new " -"implementation hides internal registry and caches, previously accessible via " -"private attributes ``_abc_registry``, ``_abc_cache``, and " -"``_abc_negative_cache``. There are three debugging helper methods that can " -"be used instead ``_dump_registry``, ``_abc_registry_clear``, and " -"``_abc_caches_clear``." -msgstr "" - -#: ../build/NEWS:11671 -msgid "Python 3.7.0 beta 1" -msgstr "" - -#: ../build/NEWS:11673 -msgid "*Release date: 2018-01-30*" -msgstr "" - -#: ../build/NEWS:11678 -msgid "" -"`bpo-32703 `__: Fix coroutine's " -"ResourceWarning when there's an active error set when it's being finalized." -msgstr "" - -#: ../build/NEWS:11681 ../build/NEWS:15624 -msgid "" -"`bpo-32650 `__: Pdb and other debuggers " -"dependent on bdb.py will correctly step over (next command) native " -"coroutines. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:11684 -msgid "" -"`bpo-28685 `__: Optimize list.sort() and " -"sorted() by using type specialized comparisons when possible." -msgstr "" - -#: ../build/NEWS:11687 ../build/NEWS:15627 -msgid "" -"`bpo-32685 `__: Improve suggestion when " -"the Python 2 form of print statement is either present on the same line as " -"the header of a compound statement or else terminated by a semi-colon " -"instead of a newline. Patch by Nitish Chandra." -msgstr "" - -#: ../build/NEWS:11692 -msgid "" -"`bpo-32697 `__: Python now explicitly " -"preserves the definition order of keyword-only parameters. It's always " -"preserved their order, but this behavior was never guaranteed before; this " -"behavior is now guaranteed and tested." -msgstr "" - -#: ../build/NEWS:11697 -msgid "" -"`bpo-32690 `__: The locals() dictionary " -"now displays in the lexical order that variables were defined. Previously, " -"the order was reversed." -msgstr "" - -#: ../build/NEWS:11700 -msgid "" -"`bpo-32677 `__: Add ``.isascii()`` " -"method to ``str``, ``bytes`` and ``bytearray``. It can be used to test that " -"string contains only ASCII characters." -msgstr "" - -#: ../build/NEWS:11704 -msgid "" -"`bpo-32670 `__: Enforce :pep:`479` for " -"all code. This means that manually raising a StopIteration exception from a " -"generator is prohibited for all code, regardless of whether 'from __future__ " -"import generator_stop' was used or not." -msgstr "" - -#: ../build/NEWS:11709 -msgid "" -"`bpo-32591 `__: Added built-in support " -"for tracking the origin of coroutine objects; see sys." -"set_coroutine_origin_tracking_depth and CoroutineType.cr_origin. This " -"replaces the asyncio debug mode's use of coroutine wrapping for native " -"coroutine objects." -msgstr "" - -#: ../build/NEWS:11714 -msgid "" -"`bpo-31368 `__: Expose preadv and " -"pwritev system calls in the os module. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:11717 -msgid "" -"`bpo-32544 `__: ``hasattr(obj, name)`` " -"and ``getattr(obj, name, default)`` are about 4 times faster than before " -"when ``name`` is not found and ``obj`` doesn't override ``__getattr__`` or " -"``__getattribute__``." -msgstr "" - -#: ../build/NEWS:11721 ../build/NEWS:15635 -msgid "" -"`bpo-26163 `__: Improved frozenset() " -"hash to create more distinct hash values when faced with datasets containing " -"many similar values." -msgstr "" - -#: ../build/NEWS:11724 -msgid "" -"`bpo-32550 `__: Remove the " -"STORE_ANNOTATION bytecode." -msgstr "" - -#: ../build/NEWS:11726 -msgid "" -"`bpo-20104 `__: Expose posix_spawn as a " -"low level API in the os module. (removed before 3.7.0rc1)" -msgstr "" - -#: ../build/NEWS:11729 -msgid "" -"`bpo-24340 `__: Fixed estimation of the " -"code stack size." -msgstr "" - -#: ../build/NEWS:11731 -msgid "" -"`bpo-32436 `__: Implement :pep:`567` " -"Context Variables." -msgstr "" - -#: ../build/NEWS:11733 ../build/NEWS:15648 -msgid "" -"`bpo-18533 `__: ``repr()`` on a dict " -"containing its own ``values()`` or ``items()`` no longer raises " -"``RecursionError``; OrderedDict similarly. Instead, use ``...``, as for " -"other recursive structures. Patch by Ben North." -msgstr "" - -#: ../build/NEWS:11738 -msgid "" -"`bpo-20891 `__: Py_Initialize() now " -"creates the GIL. The GIL is no longer created \"on demand\" to fix a race " -"condition when PyGILState_Ensure() is called in a non-Python thread." -msgstr "" - -#: ../build/NEWS:11742 ../build/NEWS:15653 -msgid "" -"`bpo-32028 `__: Leading whitespace is " -"now correctly ignored when generating suggestions for converting Py2 print " -"statements to Py3 builtin print function calls. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:11746 -msgid "" -"`bpo-31179 `__: Make dict.copy() up to " -"5.5 times faster." -msgstr "" - -#: ../build/NEWS:11748 -msgid "" -"`bpo-31113 `__: Get rid of recursion in " -"the compiler for normal control flow." -msgstr "" - -#: ../build/NEWS:11753 -msgid "" -"`bpo-25988 `__: Deprecate exposing the " -"contents of collections.abc in the regular collections module." -msgstr "" - -#: ../build/NEWS:11756 -msgid "" -"`bpo-31429 `__: The default cipher suite " -"selection of the ssl module now uses a blacklist approach rather than a hard-" -"coded whitelist. Python no longer re-enables ciphers that have been blocked " -"by OpenSSL security update. Default cipher suite selection can be configured " -"on compile time." -msgstr "" - -#: ../build/NEWS:11761 -msgid "" -"`bpo-30306 `__: contextlib." -"contextmanager now releases the arguments passed to the underlying generator " -"as soon as the context manager is entered. Previously it would keep them " -"alive for as long as the context manager was alive, even when not being used " -"as a function decorator. Patch by Martin Teichmann." -msgstr "" - -#: ../build/NEWS:11767 -msgid "" -"`bpo-21417 `__: Added support for " -"setting the compression level for zipfile.ZipFile." -msgstr "" - -#: ../build/NEWS:11770 -msgid "" -"`bpo-32251 `__: Implement asyncio." -"BufferedProtocol (provisional API)." -msgstr "" - -#: ../build/NEWS:11772 -msgid "" -"`bpo-32513 `__: In dataclasses, allow " -"easier overriding of dunder methods without specifying decorator parameters." -msgstr "" - -#: ../build/NEWS:11775 -msgid "" -"`bpo-32660 `__: :mod:`termios` makes " -"available ``FIONREAD``, ``FIONCLEX``, ``FIOCLEX``, ``FIOASYNC`` and " -"``FIONBIO`` also under Solaris/derivatives." -msgstr "" - -#: ../build/NEWS:11778 ../build/NEWS:15728 -msgid "" -"`bpo-27931 `__: Fix email address header " -"parsing error when the username is an empty quoted string. Patch by Xiang " -"Zhang." -msgstr "" - -#: ../build/NEWS:11781 -msgid "" -"`bpo-32659 `__: Under Solaris and " -"derivatives, :class:`os.stat_result` provides a st_fstype attribute." -msgstr "" - -#: ../build/NEWS:11784 -msgid "" -"`bpo-32662 `__: Implement Server." -"start_serving(), Server.serve_forever(), and Server.is_serving() methods. " -"Add 'start_serving' keyword parameter to loop.create_server() and loop." -"create_unix_server()." -msgstr "" - -#: ../build/NEWS:11788 -msgid "" -"`bpo-32391 `__: Implement :meth:`asyncio." -"StreamWriter.wait_closed` and :meth:`asyncio.StreamWriter.is_closing` methods" -msgstr "" - -#: ../build/NEWS:11791 -msgid "" -"`bpo-32643 `__: Make Task._step, Task." -"_wakeup and Future._schedule_callbacks methods private." -msgstr "" - -#: ../build/NEWS:11794 -msgid "" -"`bpo-32630 `__: Refactor decimal module " -"to use contextvars to store decimal context." -msgstr "" - -#: ../build/NEWS:11797 -msgid "" -"`bpo-32622 `__: Add :meth:`asyncio." -"AbstractEventLoop.sendfile` method." -msgstr "" - -#: ../build/NEWS:11799 ../build/NEWS:15731 -msgid "" -"`bpo-32304 `__: distutils' upload " -"command no longer corrupts tar files ending with a CR byte, and no longer " -"tries to convert CR to CRLF in any of the upload text fields." -msgstr "" - -#: ../build/NEWS:11803 ../build/NEWS:15735 -msgid "" -"`bpo-32502 `__: uuid.uuid1 no longer " -"raises an exception if a 64-bit hardware address is encountered." -msgstr "" - -#: ../build/NEWS:11806 -msgid "" -"`bpo-32596 `__: ``concurrent.futures`` " -"imports ``ThreadPoolExecutor`` and ``ProcessPoolExecutor`` lazily (using :" -"pep:`562`). It makes ``import asyncio`` about 15% faster because asyncio " -"uses only ``ThreadPoolExecutor`` by default." -msgstr "" - -#: ../build/NEWS:11811 -msgid "" -"`bpo-31801 `__: Add ``_ignore_`` to " -"``Enum`` so temporary variables can be used during class construction " -"without being turned into members." -msgstr "" - -#: ../build/NEWS:11814 -msgid "" -"`bpo-32576 `__: Use queue.SimpleQueue() " -"in places where it can be invoked from a weakref callback." -msgstr "" - -#: ../build/NEWS:11817 -msgid "" -"`bpo-32574 `__: Fix memory leak in " -"asyncio.Queue, when the queue has limited size and it is full, the " -"cancelation of queue.put() can cause a memory leak. Patch by: José Melero." -msgstr "" - -#: ../build/NEWS:11821 ../build/NEWS:15745 -msgid "" -"`bpo-32521 `__: The nis module is now " -"compatible with new libnsl and headers location." -msgstr "" - -#: ../build/NEWS:11824 -msgid "" -"`bpo-32467 `__: collections.abc." -"ValuesView now inherits from collections.abc.Collection." -msgstr "" - -#: ../build/NEWS:11827 ../build/NEWS:15748 -msgid "" -"`bpo-32473 `__: Improve ABCMeta." -"_dump_registry() output readability" -msgstr "" - -#: ../build/NEWS:11829 -msgid "" -"`bpo-32102 `__: New argument " -"``capture_output`` for subprocess.run" -msgstr "" - -#: ../build/NEWS:11831 ../build/NEWS:15750 -msgid "" -"`bpo-32521 `__: glibc has removed Sun " -"RPC. Use replacement libtirpc headers and library in nis module." -msgstr "" - -#: ../build/NEWS:11834 -msgid "" -"`bpo-32493 `__: UUID module fixes build " -"for FreeBSD/OpenBSD" -msgstr "" - -#: ../build/NEWS:11836 -msgid "" -"`bpo-32503 `__: Pickling with protocol 4 " -"no longer creates too small frames." -msgstr "" - -#: ../build/NEWS:11838 -msgid "" -"`bpo-29237 `__: Create enum for pstats " -"sorting options" -msgstr "" - -#: ../build/NEWS:11840 -msgid "" -"`bpo-32454 `__: Add close(fd) function " -"to the socket module." -msgstr "" - -#: ../build/NEWS:11842 -msgid "" -"`bpo-25942 `__: The subprocess module is " -"now more graceful when handling a Ctrl-C KeyboardInterrupt during subprocess." -"call, subprocess.run, or a Popen context manager. It now waits a short " -"amount of time for the child (presumed to have also gotten the SIGINT) to " -"exit, before continuing the KeyboardInterrupt exception handling. This " -"still includes a SIGKILL in the call() and run() APIs, but at least the " -"child had a chance first." -msgstr "" - -#: ../build/NEWS:11849 -msgid "" -"`bpo-32433 `__: The hmac module now has " -"hmac.digest(), which provides an optimized HMAC digest." -msgstr "" - -#: ../build/NEWS:11852 -msgid "" -"`bpo-28134 `__: Sockets now auto-detect " -"family, type and protocol from file descriptor by default." -msgstr "" - -#: ../build/NEWS:11855 -msgid "" -"`bpo-32404 `__: Fix bug where :meth:" -"`datetime.datetime.fromtimestamp` did not call __new__ in :class:`datetime." -"datetime` subclasses." -msgstr "" - -#: ../build/NEWS:11858 -msgid "" -"`bpo-32403 `__: Improved speed of :class:" -"`datetime.date` and :class:`datetime.datetime` alternate constructors." -msgstr "" - -#: ../build/NEWS:11861 ../build/NEWS:15753 -msgid "" -"`bpo-32228 `__: Ensure that " -"``truncate()`` preserves the file position (as reported by ``tell()``) after " -"writes longer than the buffer size." -msgstr "" - -#: ../build/NEWS:11864 -msgid "" -"`bpo-32410 `__: Implement ``loop." -"sock_sendfile`` for asyncio event loop." -msgstr "" - -#: ../build/NEWS:11866 -msgid "" -"`bpo-22908 `__: Added seek and tell to " -"the ZipExtFile class. This only works if the file object used to open the " -"zipfile is seekable." -msgstr "" - -#: ../build/NEWS:11869 -msgid "" -"`bpo-32373 `__: Add socket.getblocking() " -"method." -msgstr "" - -#: ../build/NEWS:11871 -msgid "" -"`bpo-32248 `__: Add :mod:`importlib." -"resources` and :class:`importlib.abc.ResourceReader` as the unified API for " -"reading resources contained within packages. Loaders wishing to support " -"resource reading must implement the :meth:`get_resource_reader()` method. " -"File-based and zipimport-based loaders both implement these APIs. :class:" -"`importlib.abc.ResourceLoader` is deprecated in favor of these new APIs." -msgstr "" - -#: ../build/NEWS:11879 -msgid "" -"`bpo-32320 `__: collections.namedtuple() " -"now supports default values." -msgstr "" - -#: ../build/NEWS:11881 -msgid "" -"`bpo-29302 `__: Add contextlib." -"AsyncExitStack. Patch by Alexander Mohr and Ilya Kulakov." -msgstr "" - -#: ../build/NEWS:11884 -msgid "" -"`bpo-31961 `__: *Removed in Python " -"3.7.0b2.* The *args* argument of subprocess.Popen can now be a :term:`path-" -"like object`. If *args* is given as a sequence, it's first element can now " -"be a :term:`path-like object` as well." -msgstr "" - -#: ../build/NEWS:11889 ../build/NEWS:15781 -msgid "" -"`bpo-31900 `__: The :func:`locale." -"localeconv` function now sets temporarily the ``LC_CTYPE`` locale to the " -"``LC_NUMERIC`` locale to decode ``decimal_point`` and ``thousands_sep`` byte " -"strings if they are non-ASCII or longer than 1 byte, and the ``LC_NUMERIC`` " -"locale is different than the ``LC_CTYPE`` locale. This temporary change " -"affects other threads. Same change for the :meth:`str.format` method when " -"formatting a number (:class:`int`, :class:`float`, :class:`float` and " -"subclasses) with the ``n`` type (ex: ``'{:n}'.format(1234)``)." -msgstr "" - -#: ../build/NEWS:11898 -msgid "" -"`bpo-31853 `__: Use super().method " -"instead of socket.method in SSLSocket. They were there most likely for " -"legacy reasons." -msgstr "" - -#: ../build/NEWS:11901 -msgid "" -"`bpo-31399 `__: The ssl module now uses " -"OpenSSL's X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API " -"to verify hostname and IP addresses. Subject common name fallback can be " -"disabled with SSLContext.hostname_checks_common_name." -msgstr "" - -#: ../build/NEWS:11906 -msgid "" -"`bpo-14976 `__: Add a queue.SimpleQueue " -"class, an unbounded FIFO queue with a reentrant C implementation of put()." -msgstr "" - -#: ../build/NEWS:11912 -msgid "" -"`bpo-32724 `__: Add references to some " -"commands in the documentation of Pdb. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:11915 -msgid "" -"`bpo-32649 `__: Complete the C API " -"documentation, profiling and tracing part with the newly added per-opcode " -"events." -msgstr "" - -#: ../build/NEWS:11918 ../build/NEWS:15809 -msgid "" -"`bpo-17799 `__: Explain real behaviour " -"of sys.settrace and sys.setprofile and their C-API counterparts regarding " -"which type of events are received in each function. Patch by Pablo Galindo " -"Salgado." -msgstr "" - -#: ../build/NEWS:11925 ../build/NEWS:15819 -msgid "" -"`bpo-32721 `__: Fix test_hashlib to not " -"fail if the _md5 module is not built." -msgstr "" - -#: ../build/NEWS:11927 -msgid "" -"`bpo-28414 `__: Add test cases for IDNA " -"2003 and 2008 host names. IDNA 2003 internationalized host names are working " -"since `bpo-31399 `__ has landed. IDNA " -"2008 are still broken." -msgstr "" - -#: ../build/NEWS:11931 -msgid "" -"`bpo-32604 `__: Add a new " -"\"_xxsubinterpreters\" extension module that exposes the existing " -"subinterpreter C-API and a new cross-interpreter data sharing mechanism. The " -"module is primarily intended for more thorough testing of the existing " -"subinterpreter support. Note that the _xxsubinterpreters module has been " -"removed in 3.7.0rc1." -msgstr "" - -#: ../build/NEWS:11937 -msgid "" -"`bpo-32602 `__: Add test certs and test " -"for ECDSA cert and EC/RSA dual mode." -msgstr "" - -#: ../build/NEWS:11939 -msgid "" -"`bpo-32549 `__: On Travis CI, Python now " -"Compiles and uses a local copy of OpenSSL 1.1.0g for testing." -msgstr "" - -#: ../build/NEWS:11945 ../build/NEWS:15831 -msgid "" -"`bpo-32635 `__: Fix segfault of the " -"crypt module when libxcrypt is provided instead of libcrypt at the system." -msgstr "" - -#: ../build/NEWS:11948 -msgid "" -"`bpo-32598 `__: Use autoconf to detect " -"OpenSSL libs, headers and supported features. The ax_check_openssl M4 macro " -"uses pkg-config to locate OpenSSL and falls back to manual search." -msgstr "" - -#: ../build/NEWS:11952 -msgid "" -"`bpo-32593 `__: Drop support of FreeBSD " -"9 and older." -msgstr "" - -#: ../build/NEWS:11954 -msgid "" -"`bpo-29708 `__: If the :envvar:" -"`SOURCE_DATE_EPOCH` environment variable is set, :mod:`py_compile` will " -"always create hash-based ``.pyc`` files." -msgstr "" - -#: ../build/NEWS:11960 -msgid "" -"`bpo-32588 `__: Create standalone " -"_distutils_findvs module and add missing _queue module to installer." -msgstr "" - -#: ../build/NEWS:11963 -msgid "" -"`bpo-29911 `__: Ensure separate Modify " -"and Uninstall buttons are displayed." -msgstr "" - -#: ../build/NEWS:11965 -msgid "" -"`bpo-32507 `__: Use app-local UCRT " -"install rather than the proper update for old versions of Windows." -msgstr "" - -#: ../build/NEWS:11971 -msgid "" -"`bpo-32726 `__: Provide an additional, " -"more modern macOS installer variant that supports macOS 10.9+ systems in 64-" -"bit mode only. Upgrade the supplied third-party libraries to OpenSSL 1.1.0g " -"and to SQLite 3.22.0. The 10.9+ installer now links with and supplies its " -"own copy of Tcl/Tk 8.6." -msgstr "" - -#: ../build/NEWS:11976 -msgid "" -"`bpo-28440 `__: No longer add /Library/" -"Python/3.x/site-packages to sys.path for macOS framework builds to avoid " -"future conflicts." -msgstr "" - -#: ../build/NEWS:11982 -msgid "" -"`bpo-32681 `__: Fix uninitialized " -"variable 'res' in the C implementation of os.dup2. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:11985 -msgid "" -"`bpo-10381 `__: Add C API access to the " -"``datetime.timezone`` constructor and ``datetime.timzone.UTC`` singleton." -msgstr "" - -#: ../build/NEWS:11990 -msgid "Python 3.7.0 alpha 4" -msgstr "" - -#: ../build/NEWS:11992 -msgid "*Release date: 2018-01-08*" -msgstr "" - -#: ../build/NEWS:11997 -msgid "" -"`bpo-31975 `__: The default warning " -"filter list now starts with a \"default::DeprecationWarning:__main__\" " -"entry, so deprecation warnings are once again shown by default in single-" -"file scripts and at the interactive prompt." -msgstr "" - -#: ../build/NEWS:12002 -msgid "" -"`bpo-32226 `__: ``__class_getitem__`` is " -"now an automatic class method." -msgstr "" - -#: ../build/NEWS:12004 -msgid "" -"`bpo-32399 `__: Add AIX uuid library " -"support for RFC4122 using uuid_create() in libc.a" -msgstr "" - -#: ../build/NEWS:12007 -msgid "" -"`bpo-32390 `__: Fix the compilation " -"failure on AIX after the f_fsid field has been added to the object returned " -"by os.statvfs() (`bpo-32143 `__). " -"Original patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:12011 -msgid "" -"`bpo-32379 `__: Make MRO computation " -"faster when a class inherits from a single base." -msgstr "" - -#: ../build/NEWS:12014 -msgid "" -"`bpo-32259 `__: The error message of a " -"TypeError raised when unpack non-iterable is now more specific." -msgstr "" - -#: ../build/NEWS:12017 ../build/NEWS:15638 -msgid "" -"`bpo-27169 `__: The ``__debug__`` " -"constant is now optimized out at compile time. This fixes also `bpo-22091 " -"`__." -msgstr "" - -#: ../build/NEWS:12020 -msgid "" -"`bpo-32329 `__: The :option:`-R` option " -"now turns on hash randomization when the :envvar:`PYTHONHASHSEED` " -"environment variable is set to ``0``. Previously, the option was ignored. " -"Moreover, ``sys.flags.hash_randomization`` is now properly set to 0 when " -"hash randomization is turned off by ``PYTHONHASHSEED=0``." -msgstr "" - -#: ../build/NEWS:12026 -msgid "" -"`bpo-30416 `__: The optimizer is now " -"protected from spending much time doing complex calculations and consuming " -"much memory for creating large constants in constant folding. Increased " -"limits for constants that can be produced in constant folding." -msgstr "" - -#: ../build/NEWS:12031 ../build/NEWS:15308 -msgid "" -"`bpo-32282 `__: Fix an unnecessary ifdef " -"in the include of VersionHelpers.h in socketmodule on Windows." -msgstr "" - -#: ../build/NEWS:12034 -msgid "" -"`bpo-30579 `__: Implement TracebackType." -"__new__ to allow Python-level creation of traceback objects, and make " -"TracebackType.tb_next mutable." -msgstr "" - -#: ../build/NEWS:12037 -msgid "" -"`bpo-32260 `__: Don't byte swap the " -"input keys to the SipHash algorithm on big-endian platforms. This should " -"ensure siphash gives consistent results across platforms." -msgstr "" - -#: ../build/NEWS:12041 -msgid "" -"`bpo-31506 `__: Improve the error " -"message logic for object.__new__ and object.__init__. Patch by Sanyam " -"Khurana." -msgstr "" - -#: ../build/NEWS:12044 -msgid "" -"`bpo-20361 `__: ``-b`` and ``-bb`` now " -"inject ``'default::BytesWarning'`` and ``error::BytesWarning`` entries into " -"``sys.warnoptions``, ensuring that they take precedence over any other " -"warning filters configured via the ``-W`` option or the ``PYTHONWARNINGS`` " -"environment variable." -msgstr "" - -#: ../build/NEWS:12049 -msgid "" -"`bpo-32230 `__: `-X dev` now injects a " -"``'default'`` entry into sys.warnoptions, ensuring that it behaves " -"identically to actually passing ``-Wdefault`` at the command line." -msgstr "" - -#: ../build/NEWS:12053 -msgid "" -"`bpo-29240 `__: Add a new UTF-8 mode: " -"implementation of the :pep:`540`." -msgstr "" - -#: ../build/NEWS:12055 -msgid "" -"`bpo-32226 `__: :pep:`560`: Add support " -"for ``__mro_entries__`` and ``__class_getitem__``. Implemented by Ivan " -"Levkivskyi." -msgstr "" - -#: ../build/NEWS:12058 -msgid "" -"`bpo-32225 `__: :pep:`562`: Add support " -"for module ``__getattr__`` and ``__dir__``. Implemented by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:12061 -msgid "" -"`bpo-31901 `__: The `atexit` module now " -"has its callback stored per interpreter." -msgstr "" - -#: ../build/NEWS:12064 -msgid "" -"`bpo-31650 `__: Implement :pep:`552` " -"(Deterministic pycs). Python now supports invalidating bytecode cache files " -"bashed on a source content hash rather than source last-modified time." -msgstr "" - -#: ../build/NEWS:12068 -msgid "" -"`bpo-29469 `__: Move constant folding " -"from bytecode layer to AST layer. Original patch by Eugene Toder." -msgstr "" - -#: ../build/NEWS:12074 -msgid "" -"`bpo-32506 `__: Now that dict is defined " -"as keeping insertion order, drop OrderedDict and just use plain dict." -msgstr "" - -#: ../build/NEWS:12077 -msgid "" -"`bpo-32279 `__: Add params to " -"dataclasses.make_dataclasses(): init, repr, eq, order, hash, and frozen. " -"Pass them through to dataclass()." -msgstr "" - -#: ../build/NEWS:12080 -msgid "" -"`bpo-32278 `__: Make type information " -"optional on dataclasses.make_dataclass(). If omitted, the string 'typing." -"Any' is used." -msgstr "" - -#: ../build/NEWS:12083 -msgid "" -"`bpo-32499 `__: Add dataclasses." -"is_dataclass(obj), which returns True if obj is a dataclass or an instance " -"of one." -msgstr "" - -#: ../build/NEWS:12086 -msgid "" -"`bpo-32468 `__: Improve frame repr() to " -"mention filename, code name and current line number." -msgstr "" - -#: ../build/NEWS:12089 -msgid "" -"`bpo-23749 `__: asyncio: Implement loop." -"start_tls()" -msgstr "" - -#: ../build/NEWS:12091 -msgid "" -"`bpo-32441 `__: Return the new file " -"descriptor (i.e., the second argument) from ``os.dup2``. Previously, " -"``None`` was always returned." -msgstr "" - -#: ../build/NEWS:12094 -msgid "" -"`bpo-32422 `__: ``functools.lru_cache`` " -"uses less memory (3 words for each cached key) and takes about 1/3 time for " -"cyclic GC." -msgstr "" - -#: ../build/NEWS:12097 -msgid "" -"`bpo-31721 `__: Prevent Python crash " -"from happening when Future._log_traceback is set to True manually. Now it " -"can only be set to False, or a ValueError is raised." -msgstr "" - -#: ../build/NEWS:12101 -msgid "" -"`bpo-32415 `__: asyncio: Add Task." -"get_loop() and Future.get_loop()" -msgstr "" - -#: ../build/NEWS:12103 ../build/NEWS:15756 -msgid "" -"`bpo-26133 `__: Don't unsubscribe " -"signals in asyncio UNIX event loop on interpreter shutdown." -msgstr "" - -#: ../build/NEWS:12106 -msgid "" -"`bpo-32363 `__: Make asyncio.Task." -"set_exception() and set_result() raise NotImplementedError. Task._step() and " -"Future.__await__() raise proper exceptions when they are in an invalid " -"state, instead of raising an AssertionError." -msgstr "" - -#: ../build/NEWS:12111 -msgid "" -"`bpo-32357 `__: Optimize asyncio." -"iscoroutine() and loop.create_task() for non-native coroutines (e.g. async/" -"await compiled with Cython). 'loop.create_task(python_coroutine)' used to be " -"20% faster than 'loop.create_task(cython_coroutine)'. Now, the latter is as " -"fast." -msgstr "" - -#: ../build/NEWS:12116 -msgid "" -"`bpo-32356 `__: asyncio.transport." -"resume_reading() and pause_reading() are now idempotent. New transport." -"is_reading() method is added." -msgstr "" - -#: ../build/NEWS:12119 -msgid "" -"`bpo-32355 `__: Optimize asyncio." -"gather(); now up to 15% faster." -msgstr "" - -#: ../build/NEWS:12121 -msgid "" -"`bpo-32351 `__: Use fastpath in asyncio." -"sleep if delay<0 (2x boost)" -msgstr "" - -#: ../build/NEWS:12123 -msgid "" -"`bpo-32348 `__: Optimize asyncio.Future " -"schedule/add/remove callback. The optimization shows 3-6% performance " -"improvements of async/await code." -msgstr "" - -#: ../build/NEWS:12126 -msgid "" -"`bpo-32331 `__: Fix socket.settimeout() " -"and socket.setblocking() to keep socket.type as is. Fix socket.socket() " -"constructor to reset any bit flags applied to socket's type. This change " -"only affects OSes that have SOCK_NONBLOCK and/or SOCK_CLOEXEC." -msgstr "" - -#: ../build/NEWS:12131 -msgid "" -"`bpo-32248 `__: Add :class:`importlib." -"abc.ResourceReader` as an ABC for loaders to provide a unified API for " -"reading resources contained within packages. Also add :mod:`importlib." -"resources` as the port of ``importlib_resources``." -msgstr "" - -#: ../build/NEWS:12136 -msgid "" -"`bpo-32311 `__: Implement asyncio." -"create_task(coro) shortcut" -msgstr "" - -#: ../build/NEWS:12138 -msgid "" -"`bpo-32327 `__: Convert asyncio " -"functions that were documented as coroutines to coroutines. Affected " -"functions: loop.sock_sendall, loop.sock_recv, loop.sock_accept, loop." -"getaddrinfo, loop.getnameinfo." -msgstr "" - -#: ../build/NEWS:12142 ../build/NEWS:15762 -msgid "" -"`bpo-32323 `__: :func:`urllib.parse." -"urlsplit()` does not convert zone-id (scope) to lower case for scoped IPv6 " -"addresses in hostnames now." -msgstr "" - -#: ../build/NEWS:12145 ../build/NEWS:15765 -msgid "" -"`bpo-32302 `__: Fix bdist_wininst of " -"distutils for CRT v142: it binary compatible with CRT v140." -msgstr "" - -#: ../build/NEWS:12148 -msgid "" -"`bpo-29711 `__: Fix ``stop_serving`` in " -"asyncio proactor loop kill all listening servers" -msgstr "" - -#: ../build/NEWS:12151 -msgid "" -"`bpo-32308 `__: :func:`re.sub()` now " -"replaces empty matches adjacent to a previous non-empty match." -msgstr "" - -#: ../build/NEWS:12154 -msgid "" -"`bpo-29970 `__: Abort asyncio " -"SSLProtocol connection if handshake not complete within 10s" -msgstr "" - -#: ../build/NEWS:12157 -msgid "" -"`bpo-32314 `__: Implement asyncio.run()." -msgstr "" - -#: ../build/NEWS:12159 -msgid "" -"`bpo-17852 `__: Revert incorrect fix " -"based on misunderstanding of _Py_PyAtExit() semantics." -msgstr "" - -#: ../build/NEWS:12162 -msgid "" -"`bpo-32296 `__: Implement asyncio." -"_get_running_loop() and get_event_loop() in C. This makes them 4x faster." -msgstr "" - -#: ../build/NEWS:12165 -msgid "" -"`bpo-32250 `__: Implement ``asyncio." -"current_task()`` and ``asyncio.all_tasks()``. Add helpers intended to be " -"used by alternative task implementations: ``asyncio._register_task``, " -"``asyncio._enter_task``, ``asyncio._leave_task`` and ``asyncio." -"_unregister_task``. Deprecate ``asyncio.Task.current_task()`` and ``asyncio." -"Task.all_tasks()``." -msgstr "" - -#: ../build/NEWS:12171 ../build/NEWS:15768 -msgid "" -"`bpo-32255 `__: A single empty field is " -"now always quoted when written into a CSV file. This allows to distinguish " -"an empty row from a row consisting of a single empty field. Patch by Licht " -"Takeuchi." -msgstr "" - -#: ../build/NEWS:12175 ../build/NEWS:15772 -msgid "" -"`bpo-32277 `__: Raise " -"``NotImplementedError`` instead of ``SystemError`` on platforms where " -"``chmod(..., follow_symlinks=False)`` is not supported. Patch by Anthony " -"Sottile." -msgstr "" - -#: ../build/NEWS:12179 -msgid "" -"`bpo-30050 `__: New argument " -"warn_on_full_buffer to signal.set_wakeup_fd lets you control whether Python " -"prints a warning on stderr when the wakeup fd buffer overflows." -msgstr "" - -#: ../build/NEWS:12183 -msgid "" -"`bpo-29137 `__: The ``fpectl`` library " -"has been removed. It was never enabled by default, never worked correctly on " -"x86-64, and it changed the Python ABI in ways that caused unexpected " -"breakage of C extensions." -msgstr "" - -#: ../build/NEWS:12187 -msgid "" -"`bpo-32273 `__: Move asyncio.test_utils " -"to test.test_asyncio." -msgstr "" - -#: ../build/NEWS:12189 -msgid "" -"`bpo-32272 `__: Remove asyncio.async() " -"function." -msgstr "" - -#: ../build/NEWS:12191 -msgid "" -"`bpo-32269 `__: Add asyncio." -"get_running_loop() function." -msgstr "" - -#: ../build/NEWS:12193 -msgid "" -"`bpo-32265 `__: All class and static " -"methods of builtin types now are correctly classified by inspect." -"classify_class_attrs() and grouped in pydoc ouput. Added types." -"ClassMethodDescriptorType for unbound class methods of builtin types." -msgstr "" - -#: ../build/NEWS:12198 -msgid "" -"`bpo-32253 `__: Deprecate ``yield from " -"lock``, ``await lock``, ``with (yield from lock)`` and ``with await lock`` " -"for asyncio synchronization primitives." -msgstr "" - -#: ../build/NEWS:12202 -msgid "" -"`bpo-22589 `__: Changed MIME type of ." -"bmp from 'image/x-ms-bmp' to 'image/bmp'" -msgstr "" - -#: ../build/NEWS:12204 -msgid "" -"`bpo-32193 `__: Convert asyncio to use " -"*async/await* syntax. Old styled ``yield from`` is still supported too." -msgstr "" - -#: ../build/NEWS:12207 -msgid "" -"`bpo-32206 `__: Add support to run " -"modules with pdb" -msgstr "" - -#: ../build/NEWS:12209 -msgid "" -"`bpo-32227 `__: ``functools." -"singledispatch`` now supports registering implementations using type " -"annotations." -msgstr "" - -#: ../build/NEWS:12212 -msgid "" -"`bpo-15873 `__: Added new alternate " -"constructors :meth:`datetime.datetime.fromisoformat`, :meth:`datetime.time." -"fromisoformat` and :meth:`datetime.date.fromisoformat` as the inverse " -"operation of each classes's respective ``isoformat`` methods." -msgstr "" - -#: ../build/NEWS:12218 ../build/NEWS:15776 -msgid "" -"`bpo-32199 `__: The getnode() ip getter " -"now uses 'ip link' instead of 'ip link list'." -msgstr "" - -#: ../build/NEWS:12221 -msgid "" -"`bpo-32143 `__: os.statvfs() includes " -"the f_fsid field from statvfs(2)" -msgstr "" - -#: ../build/NEWS:12223 -msgid "" -"`bpo-26439 `__: Fix ctypes.util." -"find_library() for AIX by implementing ctypes._aix.find_library() Patch by: " -"Michael Felt" -msgstr "" - -#: ../build/NEWS:12226 -msgid "" -"`bpo-31993 `__: The pickler now uses " -"less memory when serializing large bytes and str objects into a file. " -"Pickles created with protocol 4 will require less memory for unpickling " -"large bytes and str objects." -msgstr "" - -#: ../build/NEWS:12230 ../build/NEWS:15779 -msgid "" -"`bpo-27456 `__: Ensure TCP_NODELAY is " -"set on Linux. Tests by Victor Stinner." -msgstr "" - -#: ../build/NEWS:12232 -msgid "" -"`bpo-31778 `__: ast.literal_eval() is " -"now more strict. Addition and subtraction of arbitrary numbers no longer " -"allowed." -msgstr "" - -#: ../build/NEWS:12235 ../build/NEWS:15790 -msgid "" -"`bpo-31802 `__: Importing native path " -"module (``posixpath``, ``ntpath``) now works even if the ``os`` module still " -"is not imported." -msgstr "" - -#: ../build/NEWS:12238 -msgid "" -"`bpo-30241 `__: Add contextlib." -"AbstractAsyncContextManager. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:12241 -msgid "" -"`bpo-31699 `__: Fix deadlocks in :class:" -"`concurrent.futures.ProcessPoolExecutor` when task arguments or results " -"cause pickling or unpickling errors. This should make sure that calls to " -"the :class:`ProcessPoolExecutor` API always eventually return." -msgstr "" - -#: ../build/NEWS:12246 -msgid "" -"`bpo-15216 `__: ``TextIOWrapper." -"reconfigure()`` supports changing *encoding*, *errors*, and *newline*." -msgstr "" - -#: ../build/NEWS:12252 -msgid "" -"`bpo-32418 `__: Add get_loop() method to " -"Server and AbstractServer classes." -msgstr "" - -#: ../build/NEWS:12257 ../build/NEWS:15821 -msgid "" -"`bpo-32252 `__: Fix " -"faulthandler_suppress_crash_report() used to prevent core dump files when " -"testing crashes. getrlimit() returns zero on success." -msgstr "" - -#: ../build/NEWS:12260 -msgid "" -"`bpo-32002 `__: Adjust C locale coercion " -"testing for the empty locale and POSIX locale cases to more readily adjust " -"to platform dependent behaviour." -msgstr "" - -#: ../build/NEWS:12266 -msgid "" -"`bpo-19764 `__: Implement support for " -"`subprocess.Popen(close_fds=True)` on Windows. Patch by Segev Finer." -msgstr "" - -#: ../build/NEWS:12272 ../build/NEWS:15902 -msgid "" -"`bpo-24960 `__: 2to3 and lib2to3 can now " -"read pickled grammar files using pkgutil.get_data() rather than probing the " -"filesystem. This lets 2to3 and lib2to3 work when run from a zipfile." -msgstr "" - -#: ../build/NEWS:12279 -msgid "" -"`bpo-32030 `__: Py_Initialize() doesn't " -"reset the memory allocators to default if the ``PYTHONMALLOC`` environment " -"variable is not set." -msgstr "" - -#: ../build/NEWS:12282 ../build/NEWS:15912 -msgid "" -"`bpo-29084 `__: Undocumented C API for " -"OrderedDict has been excluded from the limited C API. It was added by " -"mistake and actually never worked in the limited C API." -msgstr "" - -#: ../build/NEWS:12286 -msgid "" -"`bpo-32264 `__: Moved the pygetopt.h " -"header into internal/, since it has no public APIs." -msgstr "" - -#: ../build/NEWS:12289 -msgid "" -"`bpo-32241 `__: :c:func:" -"`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the ``const " -"wchar *`` arguments instead of ``wchar *``." -msgstr "" - -#: ../build/NEWS:12294 -msgid "Python 3.7.0 alpha 3" -msgstr "" - -#: ../build/NEWS:12296 ../build/NEWS:15929 -msgid "*Release date: 2017-12-05*" -msgstr "" - -#: ../build/NEWS:12301 ../build/NEWS:15934 -msgid "" -"`bpo-32176 `__: co_flags.CO_NOFREE is " -"now always set correctly by the code object constructor based on freevars " -"and cellvars, rather than needing to be set correctly by the caller. This " -"ensures it will be cleared automatically when additional cell references are " -"injected into a modified code object and function." -msgstr "" - -#: ../build/NEWS:12307 -msgid "" -"`bpo-10544 `__: Yield expressions are " -"now deprecated in comprehensions and generator expressions. They are still " -"permitted in the definition of the outermost iterable, as that is evaluated " -"directly in the enclosing scope." -msgstr "" - -#: ../build/NEWS:12311 ../build/NEWS:15657 -msgid "" -"`bpo-32137 `__: The repr of deeply " -"nested dict now raises a RecursionError instead of crashing due to a stack " -"overflow." -msgstr "" - -#: ../build/NEWS:12314 -msgid "" -"`bpo-32096 `__: Revert memory allocator " -"changes in the C API: move structures back from _PyRuntime to Objects/" -"obmalloc.c. The memory allocators are once again initialized statically, and " -"so PyMem_RawMalloc() and Py_DecodeLocale() can be called before " -"_PyRuntime_Initialize()." -msgstr "" - -#: ../build/NEWS:12319 -msgid "" -"`bpo-32043 `__: Add a new \"developer " -"mode\": new \"-X dev\" command line option to enable debug checks at runtime." -msgstr "" - -#: ../build/NEWS:12322 -msgid "" -"`bpo-32023 `__: SyntaxError is now " -"correctly raised when a generator expression without parenthesis is used " -"instead of an inheritance list in a class definition. The duplication of the " -"parentheses can be omitted only on calls." -msgstr "" - -#: ../build/NEWS:12327 -msgid "" -"`bpo-32012 `__: SyntaxError is now " -"correctly raised when a generator expression without parenthesis is passed " -"as an argument, but followed by a trailing comma. A generator expression " -"always needs to be directly inside a set of parentheses and cannot have a " -"comma on either side." -msgstr "" - -#: ../build/NEWS:12332 -msgid "" -"`bpo-28180 `__: A new internal " -"``_Py_SetLocaleFromEnv(category)`` helper function has been added in order " -"to improve the consistency of behaviour across different ``libc`` " -"implementations (e.g. Android doesn't support setting the locale from the " -"environment by default)." -msgstr "" - -#: ../build/NEWS:12337 ../build/NEWS:15940 -msgid "" -"`bpo-31949 `__: Fixed several issues in " -"printing tracebacks (PyTraceBack_Print()). Setting sys.tracebacklimit to 0 " -"or less now suppresses printing tracebacks. Setting sys.tracebacklimit to " -"None now causes using the default limit. Setting sys.tracebacklimit to an " -"integer larger than LONG_MAX now means using the limit LONG_MAX rather than " -"the default limit. Fixed integer overflows in the case of more than 2**31 " -"traceback items on Windows. Fixed output errors handling." -msgstr "" - -#: ../build/NEWS:12345 ../build/NEWS:15948 -msgid "" -"`bpo-30696 `__: Fix the interactive " -"interpreter looping endlessly when no memory." -msgstr "" - -#: ../build/NEWS:12348 ../build/NEWS:15951 -msgid "" -"`bpo-20047 `__: Bytearray methods " -"partition() and rpartition() now accept only bytes-like objects as " -"separator, as documented. In particular they now raise TypeError rather of " -"returning a bogus result when an integer is passed as a separator." -msgstr "" - -#: ../build/NEWS:12353 ../build/NEWS:15959 -msgid "" -"`bpo-21720 `__: BytesWarning no longer " -"emitted when the *fromlist* argument of ``__import__()`` or the ``__all__`` " -"attribute of the module contain bytes instances." -msgstr "" - -#: ../build/NEWS:12357 -msgid "" -"`bpo-31845 `__: Environment variables " -"are once more read correctly at interpreter startup." -msgstr "" - -#: ../build/NEWS:12360 -msgid "" -"`bpo-28936 `__: Ensure that lexically " -"first syntax error involving a parameter and ``global`` or ``nonlocal`` is " -"detected first at a given scope. Patch by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:12364 ../build/NEWS:15963 -msgid "" -"`bpo-31825 `__: Fixed OverflowError in " -"the 'unicode-escape' codec and in codecs.escape_decode() when decode an " -"escaped non-ascii byte." -msgstr "" - -#: ../build/NEWS:12367 -msgid "" -"`bpo-31618 `__: The per-frame tracing " -"logic added in 3.7a1 has been altered so that ``frame->f_lineno`` is updated " -"before either ``\"line\"`` or ``\"opcode\"`` events are emitted. Previously, " -"opcode events were emitted first, and therefore would occasionally see stale " -"line numbers on the frame. The behavior of this feature has changed slightly " -"as a result: when both ``f_trace_lines`` and ``f_trace_opcodes`` are " -"enabled, line events now occur first." -msgstr "" - -#: ../build/NEWS:12375 ../build/NEWS:15966 -msgid "" -"`bpo-28603 `__: Print the full context/" -"cause chain of exceptions on interpreter exit, even if an exception in the " -"chain is unhashable or compares equal to later ones. Patch by Zane Bitter." -msgstr "" - -#: ../build/NEWS:12379 ../build/NEWS:15970 -msgid "" -"`bpo-31786 `__: Fix timeout rounding in " -"the select module to round correctly negative timeouts between -1.0 and 0.0. " -"The functions now block waiting for events as expected. Previously, the call " -"was incorrectly non-blocking. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12384 -msgid "" -"`bpo-31781 `__: Prevent crashes when " -"calling methods of an uninitialized ``zipimport.zipimporter`` object. Patch " -"by Oren Milman." -msgstr "" - -#: ../build/NEWS:12387 -msgid "" -"`bpo-30399 `__: Standard repr() of " -"BaseException with a single argument no longer contains redundant trailing " -"comma." -msgstr "" - -#: ../build/NEWS:12390 ../build/NEWS:15978 -msgid "" -"`bpo-31626 `__: Fixed a bug in debug " -"memory allocator. There was a write to freed memory after shrinking a " -"memory block." -msgstr "" - -#: ../build/NEWS:12393 ../build/NEWS:16023 -msgid "" -"`bpo-30817 `__: `PyErr_PrintEx()` clears " -"now the ignored exception that may be raised by `_PySys_SetObjectId()`, for " -"example when no memory." -msgstr "" - -#: ../build/NEWS:12399 ../build/NEWS:16029 -msgid "" -"`bpo-28556 `__: Two minor fixes for " -"``typing`` module: allow shallow copying instances of generic classes, " -"improve interaction of ``__init_subclass__`` with generics. Original PRs by " -"Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:12403 -msgid "" -"`bpo-32214 `__: PEP 557, Data Classes. " -"Provides a decorator which adds boilerplate methods to classes which use " -"type annotations so specify fields." -msgstr "" - -#: ../build/NEWS:12407 ../build/NEWS:16033 -msgid "" -"`bpo-27240 `__: The header folding " -"algorithm for the new email policies has been rewritten, which also fixes " -"`bpo-30788 `__, `bpo-31831 `__, and `bpo-32182 `__. In particular, RFC2231 folding is now done correctly." -msgstr "" - -#: ../build/NEWS:12411 ../build/NEWS:16037 -msgid "" -"`bpo-32186 `__: io.FileIO.readall() and " -"io.FileIO.read() now release the GIL when getting the file size. Fixed hang " -"of all threads with inaccessible NFS server. Patch by Nir Soffer." -msgstr "" - -#: ../build/NEWS:12415 -msgid "" -"`bpo-321010 `__: Add :attr:`sys.flags." -"dev_mode` flag" -msgstr "" - -#: ../build/NEWS:12417 -msgid "" -"`bpo-32154 `__: The ``asyncio." -"windows_utils.socketpair()`` function has been removed: use directly :func:" -"`socket.socketpair` which is available on all platforms since Python 3.5 " -"(before, it wasn't available on Windows). ``asyncio.windows_utils." -"socketpair()`` was just an alias to ``socket.socketpair`` on Python 3.5 and " -"newer." -msgstr "" - -#: ../build/NEWS:12423 -msgid "" -"`bpo-32089 `__: warnings: In development " -"(-X dev) and debug mode (pydebug build), use the \"default\" action for " -"ResourceWarning, rather than the \"always\" action, in the default warnings " -"filters." -msgstr "" - -#: ../build/NEWS:12427 -msgid "" -"`bpo-32107 `__: ``uuid.getnode()`` now " -"preferentially returns universally administered MAC addresses if available, " -"over locally administered MAC addresses. This makes a better guarantee for " -"global uniqueness of UUIDs returned from ``uuid.uuid1()``. If only locally " -"administered MAC addresses are available, the first such one found is " -"returned." -msgstr "" - -#: ../build/NEWS:12433 -msgid "" -"`bpo-23033 `__: Wildcard is now " -"supported in hostname when it is one and only character in the left most " -"segment of hostname in second argument of :meth:`ssl.match_hostname`. Patch " -"by Mandeep Singh." -msgstr "" - -#: ../build/NEWS:12437 ../build/NEWS:16041 -msgid "" -"`bpo-12239 `__: Make :meth:`msilib." -"SummaryInformation.GetProperty` return ``None`` when the value of property " -"is ``VT_EMPTY``. Initial patch by Mark Mc Mahon." -msgstr "" - -#: ../build/NEWS:12441 -msgid "" -"`bpo-28334 `__: Use :func:`os.path." -"expanduser` to find the ``~/.netrc`` file in :class:`netrc.netrc`. If it " -"does not exist, :exc:`FileNotFoundError` is raised. Patch by Dimitri " -"Merejkowsky." -msgstr "" - -#: ../build/NEWS:12445 -msgid "" -"`bpo-32121 `__: Made ``tracemalloc." -"Traceback`` behave more like the traceback module, sorting the frames from " -"oldest to most recent. ``Traceback.format()`` now accepts negative *limit*, " -"truncating the result to the ``abs(limit)`` oldest frames. To get the old " -"behaviour, one can use the new *most_recent_first* argument to ``Traceback." -"format()``. (Patch by Jesse Bakker.)" -msgstr "" - -#: ../build/NEWS:12452 ../build/NEWS:16045 -msgid "" -"`bpo-31325 `__: Fix wrong usage of :func:" -"`collections.namedtuple` in the :meth:`RobotFileParser.parse() ` method. Initial patch by Robin Wellner." -msgstr "" - -#: ../build/NEWS:12456 ../build/NEWS:16049 -msgid "" -"`bpo-12382 `__: :func:`msilib." -"OpenDatabase` now raises a better exception message when it couldn't open or " -"create an MSI file. Initial patch by William Tisäter." -msgstr "" - -#: ../build/NEWS:12460 -msgid "" -"`bpo-19610 `__: ``setup()`` now warns " -"about invalid types for some fields. The ``distutils.dist.Distribution`` " -"class now warns when ``classifiers``, ``keywords`` and ``platforms`` fields " -"are not specified as a list or a string." -msgstr "" - -#: ../build/NEWS:12465 -msgid "" -"`bpo-32071 `__: Added the ``-k`` command-" -"line option to ``python -m unittest`` to run only tests that match the given " -"pattern(s)." -msgstr "" - -#: ../build/NEWS:12468 -msgid "" -"`bpo-10049 `__: Added *nullcontext* no-" -"op context manager to contextlib. This provides a simpler and faster " -"alternative to ExitStack() when handling optional context managers." -msgstr "" - -#: ../build/NEWS:12472 -msgid "" -"`bpo-28684 `__: The new test.support." -"skip_unless_bind_unix_socket() decorator is used here to skip asyncio tests " -"that fail because the platform lacks a functional bind() function for unix " -"domain sockets (as it is the case for non root users on the recent Android " -"versions that run now SELinux in enforcing mode)." -msgstr "" - -#: ../build/NEWS:12478 ../build/NEWS:16053 -msgid "" -"`bpo-32110 `__: ``codecs.StreamReader." -"read(n)`` now returns not more than *n* characters/bytes for non-negative " -"*n*. This makes it compatible with ``read()`` methods of other file-like " -"objects." -msgstr "" - -#: ../build/NEWS:12482 -msgid "" -"`bpo-27535 `__: The warnings module " -"doesn't leak memory anymore in the hidden warnings registry for the \"ignore" -"\" action of warnings filters. warn_explicit() function doesn't add the " -"warning key to the registry anymore for the \"ignore\" action." -msgstr "" - -#: ../build/NEWS:12487 -msgid "" -"`bpo-32088 `__: warnings: When Python " -"is build is debug mode (``Py_DEBUG``), :exc:`DeprecationWarning`, :exc:" -"`PendingDeprecationWarning` and :exc:`ImportWarning` warnings are now " -"displayed by default." -msgstr "" - -#: ../build/NEWS:12491 -msgid "" -"`bpo-1647489 `__: Fixed searching " -"regular expression patterns that could match an empty string. Non-empty " -"string can now be correctly found after matching an empty string." -msgstr "" - -#: ../build/NEWS:12495 -msgid "" -"`bpo-25054 `__: Added support of " -"splitting on a pattern that could match an empty string." -msgstr "" - -#: ../build/NEWS:12498 ../build/NEWS:16057 ../build/NEWS:20774 -msgid "" -"`bpo-32072 `__: Fixed issues with binary " -"plists: Fixed saving bytearrays. Identical objects will be saved only once. " -"Equal references will be load as identical objects. Added support for saving " -"and loading recursive data structures." -msgstr "" - -#: ../build/NEWS:12503 -msgid "" -"`bpo-32069 `__: Drop legacy SSL " -"transport from asyncio, ssl.MemoryBIO is always used anyway." -msgstr "" - -#: ../build/NEWS:12506 -msgid "" -"`bpo-32066 `__: asyncio: Support pathlib." -"Path in create_unix_connection; sock arg should be optional" -msgstr "" - -#: ../build/NEWS:12509 -msgid "" -"`bpo-32046 `__: Updates 2to3 to convert " -"from operator.isCallable(obj) to callable(obj). Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12512 -msgid "" -"`bpo-32018 `__: inspect.signature should " -"follow :pep:`8`, if the parameter has an annotation and a default value. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12515 -msgid "" -"`bpo-32025 `__: Add time.thread_time() " -"and time.thread_time_ns()" -msgstr "" - -#: ../build/NEWS:12517 -msgid "" -"`bpo-32037 `__: Integers that fit in a " -"signed 32-bit integer will be now pickled with protocol 0 using the INT " -"opcode. This will decrease the size of a pickle, speed up pickling and " -"unpickling, and make these integers be unpickled as int instances in Python " -"2." -msgstr "" - -#: ../build/NEWS:12522 ../build/NEWS:16062 -msgid "" -"`bpo-32034 `__: Make asyncio." -"IncompleteReadError and LimitOverrunError pickleable." -msgstr "" - -#: ../build/NEWS:12525 ../build/NEWS:16065 -msgid "" -"`bpo-32015 `__: Fixed the looping of " -"asyncio in the case of reconnection the socket during waiting async read/" -"write from/to the socket." -msgstr "" - -#: ../build/NEWS:12528 ../build/NEWS:16068 -msgid "" -"`bpo-32011 `__: Restored support of " -"loading marshal files with the TYPE_INT64 code. These files can be produced " -"in Python 2.7." -msgstr "" - -#: ../build/NEWS:12531 -msgid "" -"`bpo-28369 `__: Enhance add_reader/" -"writer check that socket is not used by some transport. Before, only cases " -"when add_reader/writer were called with an int FD were supported. Now the " -"check is implemented correctly for all file-like objects." -msgstr "" - -#: ../build/NEWS:12536 -msgid "" -"`bpo-31976 `__: Fix race condition when " -"flushing a file is slow, which can cause a segfault if closing the file from " -"another thread." -msgstr "" - -#: ../build/NEWS:12539 -msgid "" -"`bpo-31985 `__: Formally deprecated aifc." -"openfp, sunau.openfp, and wave.openfp. Since change " -"7bc817d5ba917528e8bd07ec461c635291e7b06a in 1993, openfp in each of the " -"three modules had been pointing to that module's open function as a matter " -"of backwards compatibility, though it had been both untested and " -"undocumented." -msgstr "" - -#: ../build/NEWS:12545 -msgid "" -"`bpo-21862 `__: cProfile command line " -"now accepts `-m module_name` as an alternative to script path. Patch by " -"Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:12548 ../build/NEWS:16071 -msgid "" -"`bpo-31970 `__: Reduce performance " -"overhead of asyncio debug mode." -msgstr "" - -#: ../build/NEWS:12550 -msgid "" -"`bpo-31843 `__: *database* argument of " -"sqlite3.connect() now accepts a :term:`path-like object`, instead of just a " -"string." -msgstr "" - -#: ../build/NEWS:12553 -msgid "" -"`bpo-31945 `__: Add Configurable " -"*blocksize* to ``HTTPConnection`` and ``HTTPSConnection`` for improved " -"upload throughput. Patch by Nir Soffer." -msgstr "" - -#: ../build/NEWS:12556 -msgid "" -"`bpo-31943 `__: Add a ``cancelled()`` " -"method to :class:`asyncio.Handle`. Patch by Marat Sharafutdinov." -msgstr "" - -#: ../build/NEWS:12559 ../build/NEWS:16073 -msgid "" -"`bpo-9678 `__: Fixed determining the MAC " -"address in the uuid module: Using ifconfig on NetBSD and OpenBSD. Using arp " -"on Linux, FreeBSD, NetBSD and OpenBSD. Based on patch by Takayuki " -"Shimizukawa." -msgstr "" - -#: ../build/NEWS:12563 ../build/NEWS:16077 -msgid "" -"`bpo-30057 `__: Fix potential missed " -"signal in signal.signal()." -msgstr "" - -#: ../build/NEWS:12565 ../build/NEWS:16079 -msgid "" -"`bpo-31933 `__: Fix Blake2 params " -"leaf_size and node_offset on big endian platforms. Patch by Jack O'Connor." -msgstr "" - -#: ../build/NEWS:12568 -msgid "" -"`bpo-21423 `__: Add an initializer " -"argument to {Process,Thread}PoolExecutor" -msgstr "" - -#: ../build/NEWS:12570 ../build/NEWS:16082 -msgid "" -"`bpo-31927 `__: Fixed compilation of the " -"socket module on NetBSD 8. Fixed assertion failure or reading arbitrary " -"data when parse a AF_BLUETOOTH address on NetBSD and DragonFly BSD." -msgstr "" - -#: ../build/NEWS:12574 ../build/NEWS:16086 -msgid "" -"`bpo-27666 `__: Fixed stack corruption " -"in curses.box() and curses.ungetmouse() when the size of types chtype or " -"mmask_t is less than the size of C long. curses.box() now accepts characters " -"as arguments. Based on patch by Steve Fink." -msgstr "" - -#: ../build/NEWS:12579 -msgid "" -"`bpo-31917 `__: Add 3 new clock " -"identifiers: :data:`time.CLOCK_BOOTTIME`, :data:`time.CLOCK_PROF` and :data:" -"`time.CLOCK_UPTIME`." -msgstr "" - -#: ../build/NEWS:12582 ../build/NEWS:16091 -msgid "" -"`bpo-31897 `__: plistlib now catches " -"more errors when read binary plists and raises InvalidFileException instead " -"of unexpected exceptions." -msgstr "" - -#: ../build/NEWS:12585 ../build/NEWS:16094 -msgid "" -"`bpo-25720 `__: Fix the method for " -"checking pad state of curses WINDOW. Patch by Masayuki Yamamoto." -msgstr "" - -#: ../build/NEWS:12588 ../build/NEWS:16097 -msgid "" -"`bpo-31893 `__: Fixed the layout of the " -"kqueue_event structure on OpenBSD and NetBSD. Fixed the comparison of the " -"kqueue_event objects." -msgstr "" - -#: ../build/NEWS:12591 ../build/NEWS:16100 -msgid "" -"`bpo-31891 `__: Fixed building the " -"curses module on NetBSD." -msgstr "" - -#: ../build/NEWS:12593 -msgid "" -"`bpo-31884 `__: added required constants " -"to subprocess module for setting priority on windows" -msgstr "" - -#: ../build/NEWS:12596 -msgid "" -"`bpo-28281 `__: Remove year (1-9999) " -"limits on the Calendar.weekday() function. Patch by Mark Gollahon." -msgstr "" - -#: ../build/NEWS:12599 -msgid "" -"`bpo-31702 `__: crypt.mksalt() now " -"allows to specify the number of rounds for SHA-256 and SHA-512 hashing." -msgstr "" - -#: ../build/NEWS:12602 -msgid "" -"`bpo-30639 `__: :func:`inspect.getfile` " -"no longer computes the repr of unknown objects to display in an error " -"message, to protect against badly behaved custom reprs." -msgstr "" - -#: ../build/NEWS:12606 -msgid "" -"`bpo-30768 `__: Fix the pthread" -"+semaphore implementation of PyThread_acquire_lock_timed() when called with " -"timeout > 0 and intr_flag=0: recompute the timeout if sem_timedwait() is " -"interrupted by a signal (EINTR). See also the :pep:`475`." -msgstr "" - -#: ../build/NEWS:12611 -msgid "" -"`bpo-31854 `__: Add ``mmap." -"ACCESS_DEFAULT`` constant." -msgstr "" - -#: ../build/NEWS:12613 -msgid "" -"`bpo-31834 `__: Use optimized code for " -"BLAKE2 only with SSSE3+. The pure SSE2 implementation is slower than the " -"pure C reference implementation." -msgstr "" - -#: ../build/NEWS:12616 -msgid "" -"`bpo-28292 `__: Calendar." -"itermonthdates() will now consistently raise an exception when a date falls " -"outside of the 0001-01-01 through 9999-12-31 range. To support applications " -"that cannot tolerate such exceptions, the new methods itermonthdays3() and " -"itermonthdays4() are added. The new methods return tuples and are not " -"restricted by the range supported by datetime.date." -msgstr "" - -#: ../build/NEWS:12623 -msgid "" -"`bpo-28564 `__: The shutil.rmtree() " -"function has been sped up to 20--40%. This was done using the os.scandir() " -"function." -msgstr "" - -#: ../build/NEWS:12626 ../build/NEWS:16102 -msgid "" -"`bpo-28416 `__: Instances of pickle." -"Pickler subclass with the persistent_id() method and pickle.Unpickler " -"subclass with the persistent_load() method no longer create reference cycles." -msgstr "" - -#: ../build/NEWS:12630 -msgid "" -"`bpo-31653 `__: Don't release the GIL if " -"we can acquire a multiprocessing semaphore immediately." -msgstr "" - -#: ../build/NEWS:12633 ../build/NEWS:16106 -msgid "" -"`bpo-28326 `__: Fix multiprocessing." -"Process when stdout and/or stderr is closed or None." -msgstr "" - -#: ../build/NEWS:12636 -msgid "" -"`bpo-20825 `__: Add `subnet_of` and " -"`superset_of` containment tests to :class:`ipaddress.IPv6Network` and :class:" -"`ipaddress.IPv4Network`. Patch by Michel Albert and Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:12640 -msgid "" -"`bpo-31827 `__: Remove the os." -"stat_float_times() function. It was introduced in Python 2.3 for backward " -"compatibility with Python 2.2, and was deprecated since Python 3.1." -msgstr "" - -#: ../build/NEWS:12644 -msgid "" -"`bpo-31756 `__: Add a ``subprocess." -"Popen(text=False)`` keyword argument to `subprocess` functions to be more " -"explicit about when the library should attempt to decode outputs into text. " -"Patch by Andrew Clegg." -msgstr "" - -#: ../build/NEWS:12648 -msgid "" -"`bpo-31819 `__: Add AbstractEventLoop." -"sock_recv_into()." -msgstr "" - -#: ../build/NEWS:12650 ../build/NEWS:15428 ../build/NEWS:16109 -msgid "" -"`bpo-31457 `__: If nested log adapters " -"are used, the inner ``process()`` methods are no longer omitted." -msgstr "" - -#: ../build/NEWS:12653 ../build/NEWS:16112 -msgid "" -"`bpo-31457 `__: The ``manager`` property " -"on LoggerAdapter objects is now properly settable." -msgstr "" - -#: ../build/NEWS:12656 ../build/NEWS:16115 -msgid "" -"`bpo-31806 `__: Fix timeout rounding in " -"time.sleep(), threading.Lock.acquire() and socket.socket.settimeout() to " -"round correctly negative timeouts between -1.0 and 0.0. The functions now " -"block waiting for events as expected. Previously, the call was incorrectly " -"non-blocking. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12662 -msgid "" -"`bpo-31803 `__: time.clock() and time." -"get_clock_info('clock') now emit a DeprecationWarning warning." -msgstr "" - -#: ../build/NEWS:12665 -msgid "" -"`bpo-31800 `__: Extended support for " -"parsing UTC offsets. strptime '%z' can now parse the output generated by " -"datetime.isoformat, including seconds and microseconds." -msgstr "" - -#: ../build/NEWS:12669 ../build/NEWS:16121 -msgid "" -"`bpo-28603 `__: traceback: Fix a " -"TypeError that occurred during printing of exception tracebacks when either " -"the current exception or an exception in its context/cause chain is " -"unhashable. Patch by Zane Bitter." -msgstr "" - -#: ../build/NEWS:12673 -msgid "" -"`bpo-30541 `__: Add new function to seal " -"a mock and prevent the automatically creation of child mocks. Patch by Mario " -"Corchero." -msgstr "" - -#: ../build/NEWS:12676 -msgid "" -"`bpo-31784 `__: Implement the :pep:" -"`564`, add new 6 new functions with nanosecond resolution to the :mod:`time` " -"module: :func:`~time.clock_gettime_ns`, :func:`~time.clock_settime_ns`, :" -"func:`~time.monotonic_ns`, :func:`~time.perf_counter_ns`, :func:`~time." -"process_time_ns`, :func:`~time.time_ns`." -msgstr "" - -#: ../build/NEWS:12682 -msgid "" -"`bpo-30143 `__: 2to3 now generates a " -"code that uses abstract collection classes from collections.abc rather than " -"collections." -msgstr "" - -#: ../build/NEWS:12685 ../build/NEWS:16127 -msgid "" -"`bpo-31770 `__: Prevent a crash when " -"calling the ``__init__()`` method of a ``sqlite3.Cursor`` object more than " -"once. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12688 ../build/NEWS:16134 -msgid "" -"`bpo-31764 `__: Prevent a crash in " -"``sqlite3.Cursor.close()`` in case the ``Cursor`` object is uninitialized. " -"Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12691 ../build/NEWS:16137 -msgid "" -"`bpo-31752 `__: Fix possible crash in " -"timedelta constructor called with custom integers." -msgstr "" - -#: ../build/NEWS:12694 ../build/NEWS:16146 -msgid "" -"`bpo-31620 `__: an empty asyncio.Queue " -"now doesn't leak memory when queue.get pollers timeout" -msgstr "" - -#: ../build/NEWS:12697 -msgid "" -"`bpo-31690 `__: Allow the flags re." -"ASCII, re.LOCALE, and re.UNICODE to be used as group flags for regular " -"expressions." -msgstr "" - -#: ../build/NEWS:12700 -msgid "" -"`bpo-30349 `__: FutureWarning is now " -"emitted if a regular expression contains character set constructs that will " -"change semantically in the future (nested sets and set operations)." -msgstr "" - -#: ../build/NEWS:12704 -msgid "" -"`bpo-31664 `__: Added support for the " -"Blowfish hashing in the crypt module." -msgstr "" - -#: ../build/NEWS:12706 ../build/NEWS:16149 -msgid "" -"`bpo-31632 `__: Fix method " -"set_protocol() of class _SSLProtocolTransport in asyncio module. This method " -"was previously modifying a wrong reference to the protocol." -msgstr "" - -#: ../build/NEWS:12710 ../build/NEWS:16160 -msgid "" -"`bpo-15037 `__: Added a workaround for " -"getkey() in curses for ncurses 5.7 and earlier." -msgstr "" - -#: ../build/NEWS:12713 -msgid "" -"`bpo-31307 `__: Allow use of bytes " -"objects for arguments to :meth:`configparser.ConfigParser.read`. Patch by " -"Vincent Michel." -msgstr "" - -#: ../build/NEWS:12716 ../build/NEWS:16180 -msgid "" -"`bpo-31334 `__: Fix ``poll." -"poll([timeout])`` in the ``select`` module for arbitrary negative timeouts " -"on all OSes where it can only be a non-negative integer or -1. Patch by " -"Riccardo Coccioli." -msgstr "" - -#: ../build/NEWS:12720 ../build/NEWS:16184 -msgid "" -"`bpo-31310 `__: multiprocessing's " -"semaphore tracker should be launched again if crashed." -msgstr "" - -#: ../build/NEWS:12723 ../build/NEWS:16187 -msgid "" -"`bpo-31308 `__: Make multiprocessing's " -"forkserver process immune to Ctrl-C and other user interruptions. If it " -"crashes, restart it when necessary." -msgstr "" - -#: ../build/NEWS:12726 -msgid "" -"`bpo-31245 `__: Added support for " -"AF_UNIX socket in asyncio `create_datagram_endpoint`." -msgstr "" - -#: ../build/NEWS:12729 -msgid "" -"`bpo-30553 `__: Add HTTP/2 status code " -"421 (Misdirected Request) to :class:`http.HTTPStatus`. Patch by Vitor " -"Pereira." -msgstr "" - -#: ../build/NEWS:12735 ../build/NEWS:16193 -msgid "" -"`bpo-32105 `__: Added asyncio." -"BaseEventLoop.connect_accepted_socket versionadded marker." -msgstr "" - -#: ../build/NEWS:12741 ../build/NEWS:16206 -msgid "" -"`bpo-31380 `__: Skip test_httpservers " -"test_undecodable_file on macOS: fails on APFS." -msgstr "" - -#: ../build/NEWS:12744 ../build/NEWS:16209 -msgid "" -"`bpo-31705 `__: Skip test_socket." -"test_sha256() on Linux kernel older than 4.5. The test fails with ENOKEY on " -"kernel 3.10 (on ppc64le). A fix was merged into the kernel 4.5." -msgstr "" - -#: ../build/NEWS:12748 -msgid "" -"`bpo-32138 `__: Skip on Android " -"test_faulthandler tests that raise SIGSEGV and remove the test.support." -"requires_android_level decorator." -msgstr "" - -#: ../build/NEWS:12751 -msgid "" -"`bpo-32136 `__: The runtime embedding " -"tests have been split out from ``Lib/test/test_capi.py`` into a new ``Lib/" -"test/test_embed.py`` file." -msgstr "" - -#: ../build/NEWS:12754 -msgid "" -"`bpo-28668 `__: test.support." -"requires_multiprocessing_queue is removed. Skip tests with test.support." -"import_module('multiprocessing.synchronize') instead when the semaphore " -"implementation is broken or missing." -msgstr "" - -#: ../build/NEWS:12758 -msgid "" -"`bpo-32126 `__: Skip " -"test_get_event_loop_new_process in test.test_asyncio.test_events when " -"sem_open() is not functional." -msgstr "" - -#: ../build/NEWS:12761 ../build/NEWS:16213 -msgid "" -"`bpo-31174 `__: Fix test_tools." -"test_unparse: DirectoryTestCase now stores the names sample to always test " -"the same files. It prevents false alarms when hunting reference leaks." -msgstr "" - -#: ../build/NEWS:12768 -msgid "" -"`bpo-28538 `__: Revert the previous " -"changes, the if_nameindex structure is defined by Unified Headers." -msgstr "" - -#: ../build/NEWS:12771 -msgid "" -"`bpo-28762 `__: Revert the last commit, " -"the F_LOCK macro is defined by Android Unified Headers." -msgstr "" - -#: ../build/NEWS:12774 -msgid "" -"`bpo-29040 `__: Support building Android " -"with Unified Headers. The first NDK release to support Unified Headers is " -"android-ndk-r14." -msgstr "" - -#: ../build/NEWS:12777 ../build/NEWS:16223 -msgid "" -"`bpo-32059 `__: ``detect_modules()`` in " -"``setup.py`` now also searches the sysroot paths when cross-compiling." -msgstr "" - -#: ../build/NEWS:12780 ../build/NEWS:16226 -msgid "" -"`bpo-31957 `__: Fixes Windows SDK " -"version detection when building for Windows." -msgstr "" - -#: ../build/NEWS:12782 ../build/NEWS:16228 -msgid "" -"`bpo-31609 `__: Fixes quotes in PCbuild/" -"clean.bat" -msgstr "" - -#: ../build/NEWS:12784 ../build/NEWS:16230 -msgid "" -"`bpo-31934 `__: Abort the build when " -"building out of a not clean source tree." -msgstr "" - -#: ../build/NEWS:12786 ../build/NEWS:16232 -msgid "" -"`bpo-31926 `__: Fixed Argument Clinic " -"sometimes causing compilation errors when there was more than one function " -"and/or method in a .c file with the same name." -msgstr "" - -#: ../build/NEWS:12790 ../build/NEWS:16236 -msgid "" -"`bpo-28791 `__: Update Windows builds to " -"use SQLite 3.21.0." -msgstr "" - -#: ../build/NEWS:12792 ../build/NEWS:16238 -msgid "" -"`bpo-28791 `__: Update OS X installer to " -"use SQLite 3.21.0." -msgstr "" - -#: ../build/NEWS:12794 -msgid "" -"`bpo-28643 `__: Record profile-opt build " -"progress with stamp files." -msgstr "" - -#: ../build/NEWS:12796 -msgid "" -"`bpo-31866 `__: Finish removing support " -"for AtheOS." -msgstr "" - -#: ../build/NEWS:12801 ../build/NEWS:16248 -msgid "" -"`bpo-1102 `__: Return ``None`` when " -"``View.Fetch()`` returns ``ERROR_NO_MORE_ITEMS`` instead of raising " -"``MSIError``. Initial patch by Anthony Tuininga." -msgstr "" - -#: ../build/NEWS:12805 ../build/NEWS:16252 -msgid "" -"`bpo-31944 `__: Fixes Modify button in " -"Apps and Features dialog." -msgstr "" - -#: ../build/NEWS:12807 -msgid "" -"`bpo-20486 `__: Implement the ``Database." -"Close()`` method to help closing MSI database objects." -msgstr "" - -#: ../build/NEWS:12810 -msgid "" -"`bpo-31857 `__: Make the behavior of " -"USE_STACKCHECK deterministic in a multi-threaded environment." -msgstr "" - -#: ../build/NEWS:12816 ../build/NEWS:16257 -msgid "" -"`bpo-31392 `__: Update macOS installer " -"to use OpenSSL 1.0.2m" -msgstr "" - -#: ../build/NEWS:12821 ../build/NEWS:16262 -msgid "" -"`bpo-32207 `__: Improve tk event " -"exception tracebacks in IDLE. When tk event handling is driven by IDLE's run " -"loop, a confusing and distracting queue.EMPTY traceback context is no longer " -"added to tk event exception tracebacks. The traceback is now the same as " -"when event handling is driven by user code. Patch based on a suggestion by " -"Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:12827 ../build/NEWS:16268 -msgid "" -"`bpo-32164 `__: Delete unused file " -"idlelib/tabbedpages.py. Use of TabbedPageSet in configdialog was replaced by " -"ttk.Notebook." -msgstr "" - -#: ../build/NEWS:12830 ../build/NEWS:16271 -msgid "" -"`bpo-32100 `__: IDLE: Fix old and new " -"bugs in pathbrowser; improve tests. Patch mostly by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:12833 ../build/NEWS:16274 -msgid "" -"`bpo-31858 `__: IDLE -- Restrict shell " -"prompt manipulation to the shell. Editor and output windows only see an " -"empty last prompt line. This simplifies the code and fixes a minor bug when " -"newline is inserted. Sys.ps1, if present, is read on Shell start-up, but is " -"not set or changed." -msgstr "" - -#: ../build/NEWS:12838 ../build/NEWS:16279 -msgid "" -"`bpo-31860 `__: The font sample in the " -"IDLE configuration dialog is now editable. Changes persist while IDLE " -"remains open" -msgstr "" - -#: ../build/NEWS:12841 ../build/NEWS:16282 -msgid "" -"`bpo-31836 `__: Test_code_module now " -"passes if run after test_idle, which sets ps1. The code module uses sys.ps1 " -"if present or sets it to '>>> ' if not. Test_code_module now properly tests " -"both behaviors. Ditto for ps2." -msgstr "" - -#: ../build/NEWS:12845 ../build/NEWS:16286 -msgid "" -"`bpo-28603 `__: Fix a TypeError that " -"caused a shell restart when printing a traceback that includes an exception " -"that is unhashable. Patch by Zane Bitter." -msgstr "" - -#: ../build/NEWS:12849 -msgid "" -"`bpo-13802 `__: Use non-Latin characters " -"in the IDLE's Font settings sample. Even if one selects a font that defines " -"a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use " -"other fonts that define a character. The expanded example give users of non-" -"Latin characters a better idea of what they might see in IDLE's shell and " -"editors. To make room for the expanded sample, frames on the Font tab are re-" -"arranged. The Font/Tabs help explains a bit about the additions." -msgstr "" - -#: ../build/NEWS:12860 -msgid "" -"`bpo-32159 `__: Remove CVS and " -"Subversion tools: remove svneol.py and treesync.py scripts. CPython migrated " -"from CVS to Subversion, to Mercurial, and then to Git. CVS and Subversion " -"are no longer used to develop CPython." -msgstr "" - -#: ../build/NEWS:12865 ../build/NEWS:16325 -msgid "" -"`bpo-30722 `__: Make redemo work with " -"Python 3.6 and newer versions. Also, remove the ``LOCALE`` option since it " -"doesn't work with string patterns in Python 3. Patch by Christoph Sarnowski." -msgstr "" - -#: ../build/NEWS:12872 ../build/NEWS:16332 -msgid "" -"`bpo-20891 `__: Fix PyGILState_Ensure(). " -"When PyGILState_Ensure() is called in a non-Python thread before " -"PyEval_InitThreads(), only call PyEval_InitThreads() after calling " -"PyThreadState_New() to fix a crash." -msgstr "" - -#: ../build/NEWS:12876 -msgid "" -"`bpo-32125 `__: The " -"``Py_UseClassExceptionsFlag`` flag has been removed. It was deprecated and " -"wasn't used anymore since Python 2.0." -msgstr "" - -#: ../build/NEWS:12879 -msgid "" -"`bpo-25612 `__: Move the current " -"exception state from the frame object to the co-routine. This simplifies the " -"interpreter and fixes a couple of obscure bugs caused by having swap " -"exception state when entering or exiting a generator." -msgstr "" - -#: ../build/NEWS:12884 -msgid "" -"`bpo-23699 `__: Add " -"Py_RETURN_RICHCOMPARE macro to reduce boilerplate code in rich comparison " -"functions." -msgstr "" - -#: ../build/NEWS:12887 ../build/NEWS:16339 -msgid "" -"`bpo-30697 `__: The " -"`PyExc_RecursionErrorInst` singleton is removed and " -"`PyErr_NormalizeException()` does not use it anymore. This singleton is " -"persistent and its members being never cleared may cause a segfault during " -"finalization of the interpreter. See also `bpo-22898 `__." -msgstr "" - -#: ../build/NEWS:12894 -msgid "Python 3.7.0 alpha 2" -msgstr "" - -#: ../build/NEWS:12896 -msgid "*Release date: 2017-10-16*" -msgstr "" - -#: ../build/NEWS:12901 -msgid "" -"`bpo-31558 `__: ``gc.freeze()`` is a new " -"API that allows for moving all objects currently tracked by the garbage " -"collector to a permanent generation, effectively removing them from future " -"collection events. This can be used to protect those objects from having " -"their PyGC_Head mutated. In effect, this enables great copy-on-write " -"stability at fork()." -msgstr "" - -#: ../build/NEWS:12907 ../build/NEWS:15975 -msgid "" -"`bpo-31642 `__: Restored blocking \"from " -"package import module\" by setting sys.modules[\"package.module\"] to None." -msgstr "" - -#: ../build/NEWS:12910 -msgid "" -"`bpo-31708 `__: Allow use of " -"asynchronous generator expressions in synchronous functions." -msgstr "" - -#: ../build/NEWS:12913 -msgid "" -"`bpo-31709 `__: Drop support of " -"asynchronous __aiter__." -msgstr "" - -#: ../build/NEWS:12915 -msgid "" -"`bpo-30404 `__: The -u option now makes " -"the stdout and stderr streams unbuffered rather than line-buffered." -msgstr "" - -#: ../build/NEWS:12918 ../build/NEWS:15981 -msgid "" -"`bpo-31619 `__: Fixed a ValueError when " -"convert a string with large number of underscores to integer with binary " -"base." -msgstr "" - -#: ../build/NEWS:12921 -msgid "" -"`bpo-31602 `__: Fix an assertion failure " -"in `zipimporter.get_source()` in case of a bad `zlib.decompress()`. Patch by " -"Oren Milman." -msgstr "" - -#: ../build/NEWS:12924 ../build/NEWS:15984 -msgid "" -"`bpo-31592 `__: Fixed an assertion " -"failure in Python parser in case of a bad `unicodedata.normalize()`. Patch " -"by Oren Milman." -msgstr "" - -#: ../build/NEWS:12927 ../build/NEWS:15987 -msgid "" -"`bpo-31588 `__: Raise a `TypeError` with " -"a helpful error message when class creation fails due to a metaclass with a " -"bad ``__prepare__()`` method. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12931 -msgid "" -"`bpo-31574 `__: Importlib was " -"instrumented with two dtrace probes to profile import timing." -msgstr "" - -#: ../build/NEWS:12934 ../build/NEWS:15991 -msgid "" -"`bpo-31566 `__: Fix an assertion failure " -"in `_warnings.warn()` in case of a bad ``__name__`` global. Patch by Oren " -"Milman." -msgstr "" - -#: ../build/NEWS:12937 -msgid "" -"`bpo-31506 `__: Improved the error " -"message logic for object.__new__ and object.__init__." -msgstr "" - -#: ../build/NEWS:12940 ../build/NEWS:15994 -msgid "" -"`bpo-31505 `__: Fix an assertion failure " -"in `json`, in case `_json.make_encoder()` received a bad `encoder()` " -"argument. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12944 ../build/NEWS:15998 -msgid "" -"`bpo-31492 `__: Fix assertion failures " -"in case of failing to import from a module with a bad ``__name__`` " -"attribute, and in case of failing to access an attribute of such a module. " -"Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12948 ../build/NEWS:16006 -msgid "" -"`bpo-31478 `__: Fix an assertion failure " -"in `_random.Random.seed()` in case the argument has a bad ``__abs__()`` " -"method. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12951 -msgid "" -"`bpo-31336 `__: Speed up class creation " -"by 10-20% by reducing the overhead in the necessary special method lookups. " -"Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:12954 -msgid "" -"`bpo-31415 `__: Add ``-X importtime`` " -"option to show how long each import takes. It can be used to optimize " -"application's startup time. Support the :envvar:`PYTHONPROFILEIMPORTTIME` " -"as an equivalent way to enable this." -msgstr "" - -#: ../build/NEWS:12958 -msgid "" -"`bpo-31410 `__: Optimized calling " -"wrapper and classmethod descriptors." -msgstr "" - -#: ../build/NEWS:12960 -msgid "" -"`bpo-31353 `__: :pep:`553` - Add a new " -"built-in called ``breakpoint()`` which calls ``sys.breakpointhook()``. By " -"default this imports ``pdb`` and calls ``pdb.set_trace()``, but users may " -"override ``sys.breakpointhook()`` to call whatever debugger they want. The " -"original value of the hook is saved in ``sys.__breakpointhook__``." -msgstr "" - -#: ../build/NEWS:12966 -msgid "" -"`bpo-17852 `__: Maintain a list of open " -"buffered files, flush them before exiting the interpreter. Based on a patch " -"from Armin Rigo." -msgstr "" - -#: ../build/NEWS:12969 ../build/NEWS:16009 -msgid "" -"`bpo-31315 `__: Fix an assertion failure " -"in imp.create_dynamic(), when spec.name is not a string. Patch by Oren " -"Milman." -msgstr "" - -#: ../build/NEWS:12972 ../build/NEWS:16012 -msgid "" -"`bpo-31311 `__: Fix a crash in the " -"``__setstate__()`` method of `ctypes._CData`, in case of a bad ``__dict__``. " -"Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12975 ../build/NEWS:16015 -msgid "" -"`bpo-31293 `__: Fix crashes in true " -"division and multiplication of a timedelta object by a float with a bad " -"as_integer_ratio() method. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12979 ../build/NEWS:16019 -msgid "" -"`bpo-31285 `__: Fix an assertion failure " -"in `warnings.warn_explicit`, when the return value of the received loader's " -"get_source() has a bad splitlines() method. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12983 -msgid "" -"`bpo-30406 `__: Make ``async`` and " -"``await`` proper keywords, as specified in :pep:`492`." -msgstr "" - -#: ../build/NEWS:12989 ../build/NEWS:16125 -msgid "" -"`bpo-30058 `__: Fixed buffer overflow in " -"select.kqueue.control()." -msgstr "" - -#: ../build/NEWS:12991 ../build/NEWS:16130 -msgid "" -"`bpo-31672 `__: ``idpattern`` in " -"``string.Template`` matched some non-ASCII characters. Now it uses ``-i`` " -"regular expression local flag to avoid non-ASCII characters." -msgstr "" - -#: ../build/NEWS:12995 ../build/NEWS:16140 -msgid "" -"`bpo-31701 `__: On Windows, faulthandler." -"enable() now ignores MSC and COM exceptions." -msgstr "" - -#: ../build/NEWS:12998 ../build/NEWS:16143 -msgid "" -"`bpo-31728 `__: Prevent crashes in " -"`_elementtree` due to unsafe cleanup of `Element.text` and `Element.tail`. " -"Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13001 -msgid "" -"`bpo-31671 `__: Now ``re.compile()`` " -"converts passed RegexFlag to normal int object before compiling. " -"bm_regex_compile benchmark shows 14% performance improvements." -msgstr "" - -#: ../build/NEWS:13005 -msgid "" -"`bpo-30397 `__: The types of compiled " -"regular objects and match objects are now exposed as `re.Pattern` and `re." -"Match`. This adds information in pydoc output for the re module." -msgstr "" - -#: ../build/NEWS:13009 ../build/NEWS:16153 -msgid "" -"`bpo-31675 `__: Fixed memory leaks in " -"Tkinter's methods splitlist() and split() when pass a string larger than 2 " -"GiB." -msgstr "" - -#: ../build/NEWS:13012 ../build/NEWS:16156 -msgid "" -"`bpo-31673 `__: Fixed typo in the name " -"of Tkinter's method adderrorinfo()." -msgstr "" - -#: ../build/NEWS:13014 -msgid "" -"`bpo-31648 `__: Improvements to path " -"predicates in ElementTree: Allow whitespace around predicate parts, i.e. " -"\"[a = 'text']\" instead of requiring the less readable \"[a='text']\". Add " -"support for text comparison of the current node, like \"[.='text']\". Patch " -"by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:13019 ../build/NEWS:16158 -msgid "" -"`bpo-30806 `__: Fix the string " -"representation of a netrc object." -msgstr "" - -#: ../build/NEWS:13021 -msgid "" -"`bpo-31638 `__: Add optional argument " -"``compressed`` to ``zipapp.create_archive``, and add option ``--compress`` " -"to the command line interface of ``zipapp``." -msgstr "" - -#: ../build/NEWS:13025 ../build/NEWS:16163 -msgid "" -"`bpo-25351 `__: Avoid venv activate " -"failures with undefined variables" -msgstr "" - -#: ../build/NEWS:13027 -msgid "" -"`bpo-20519 `__: Avoid ctypes use (if " -"possible) and improve import time for uuid." -msgstr "" - -#: ../build/NEWS:13030 -msgid "" -"`bpo-28293 `__: The regular expression " -"cache is no longer completely dumped when it is full." -msgstr "" - -#: ../build/NEWS:13033 -msgid "" -"`bpo-31596 `__: Added " -"pthread_getcpuclockid() to the time module" -msgstr "" - -#: ../build/NEWS:13035 -msgid "" -"`bpo-27494 `__: Make 2to3 accept a " -"trailing comma in generator expressions. For example, ``set(x for x in " -"[],)`` is now allowed." -msgstr "" - -#: ../build/NEWS:13038 ../build/NEWS:16169 -msgid "" -"`bpo-30347 `__: Stop crashes when " -"concurrently iterate over itertools.groupby() iterators." -msgstr "" - -#: ../build/NEWS:13041 -msgid "" -"`bpo-30346 `__: An iterator produced by " -"itertools.groupby() iterator now becomes exhausted after advancing the " -"groupby iterator." -msgstr "" - -#: ../build/NEWS:13044 -msgid "" -"`bpo-31556 `__: Cancel asyncio.wait_for " -"future faster if timeout <= 0" -msgstr "" - -#: ../build/NEWS:13046 -msgid "" -"`bpo-31540 `__: Allow passing a context " -"object in :class:`concurrent.futures.ProcessPoolExecutor` constructor. Also, " -"free job resources in :class:`concurrent.futures.ProcessPoolExecutor` " -"earlier to improve memory usage when a worker waits for new jobs." -msgstr "" - -#: ../build/NEWS:13051 ../build/NEWS:16172 -msgid "" -"`bpo-31516 `__: ``threading." -"current_thread()`` should not return a dummy thread at shutdown." -msgstr "" - -#: ../build/NEWS:13054 -msgid "" -"`bpo-31525 `__: In the sqlite module, " -"require the sqlite3_prepare_v2 API. Thus, the sqlite module now requires " -"sqlite version at least 3.3.9." -msgstr "" - -#: ../build/NEWS:13057 -msgid "" -"`bpo-26510 `__: argparse subparsers are " -"now required by default. This matches behaviour in Python 2. For optional " -"subparsers, use the new parameter ``add_subparsers(required=False)``. Patch " -"by Anthony Sottile. (As of 3.7.0rc1, the default was changed to not required " -"as had been the case since Python 3.3.)" -msgstr "" - -#: ../build/NEWS:13063 -msgid "" -"`bpo-27541 `__: Reprs of subclasses of " -"some collection and iterator classes (`bytearray`, `array.array`, " -"`collections.deque`, `collections.defaultdict`, `itertools.count`, " -"`itertools.repeat`) now contain actual type name insteads of hardcoded name " -"of the base class." -msgstr "" - -#: ../build/NEWS:13068 ../build/NEWS:16175 -msgid "" -"`bpo-31351 `__: python -m ensurepip now " -"exits with non-zero exit code if pip bootstrapping has failed." -msgstr "" - -#: ../build/NEWS:13071 -msgid "" -"`bpo-31389 `__: ``pdb.set_trace()`` now " -"takes an optional keyword-only argument ``header``. If given, this is " -"printed to the console just before debugging begins." -msgstr "" - -#: ../build/NEWS:13078 ../build/NEWS:16196 -msgid "" -"`bpo-31537 `__: Fix incorrect usage of " -"``get_history_length`` in readline documentation example code. Patch by Brad " -"Smith." -msgstr "" - -#: ../build/NEWS:13081 ../build/NEWS:16199 -msgid "" -"`bpo-30085 `__: The operator functions " -"without double underscores are preferred for clarity. The one with " -"underscores are only kept for back-compatibility." -msgstr "" - -#: ../build/NEWS:13088 -msgid "" -"`bpo-31696 `__: Improve compiler version " -"information in :data:`sys.version` when Python is built with Clang." -msgstr "" - -#: ../build/NEWS:13091 -msgid "" -"`bpo-31625 `__: Stop using ranlib on " -"static libraries. Instead, we assume ar supports the 's' flag." -msgstr "" - -#: ../build/NEWS:13094 -msgid "" -"`bpo-31624 `__: Remove support for BSD/" -"OS." -msgstr "" - -#: ../build/NEWS:13096 ../build/NEWS:16240 -msgid "" -"`bpo-22140 `__: Prevent double " -"substitution of prefix in python-config.sh." -msgstr "" - -#: ../build/NEWS:13098 -msgid "" -"`bpo-31569 `__: Correct PCBuild/ case to " -"PCbuild/ in build scripts and documentation." -msgstr "" - -#: ../build/NEWS:13101 ../build/NEWS:16242 -msgid "" -"`bpo-31536 `__: Avoid wholesale rebuild " -"after `make regen-all` if nothing changed." -msgstr "" - -#: ../build/NEWS:13107 ../build/NEWS:16298 -msgid "" -"`bpo-31460 `__: Simplify the API of " -"IDLE's Module Browser. Passing a widget instead of an flist with a root " -"widget opens the option of creating a browser frame that is only part of a " -"window. Passing a full file name instead of pieces assumed to come from a ." -"py file opens the possibility of browsing python files that do not end in ." -"py." -msgstr "" - -#: ../build/NEWS:13113 ../build/NEWS:16304 -msgid "" -"`bpo-31649 `__: IDLE - Make _htest, " -"_utest parameters keyword only." -msgstr "" - -#: ../build/NEWS:13115 ../build/NEWS:16306 -msgid "" -"`bpo-31559 `__: Remove test order " -"dependence in idle_test.test_browser." -msgstr "" - -#: ../build/NEWS:13117 ../build/NEWS:16308 -msgid "" -"`bpo-31459 `__: Rename IDLE's module " -"browser from Class Browser to Module Browser. The original module-level " -"class and method browser became a module browser, with the addition of " -"module-level functions, years ago. Nested classes and functions were added " -"yesterday. For back-compatibility, the virtual event <>, which appears on the Keys tab of the Settings dialog, is not " -"changed. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:13125 ../build/NEWS:16316 -msgid "" -"`bpo-31500 `__: Default fonts now are " -"scaled on HiDPI displays." -msgstr "" - -#: ../build/NEWS:13127 ../build/NEWS:16318 -msgid "" -"`bpo-1612262 `__: IDLE module browser " -"now shows nested classes and functions. Original patches for code and tests " -"by Guilherme Polo and Cheryl Sabella, respectively." -msgstr "" - -#: ../build/NEWS:13134 -msgid "" -"`bpo-28280 `__: Make `PyMapping_Keys()`, " -"`PyMapping_Values()` and `PyMapping_Items()` always return a `list` (rather " -"than a `list` or a `tuple`). Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13138 ../build/NEWS:16336 -msgid "" -"`bpo-31532 `__: Fix memory corruption " -"due to allocator mix in getpath.c between Py_GetPath() and Py_SetPath()" -msgstr "" - -#: ../build/NEWS:13141 -msgid "" -"`bpo-25658 `__: Implement :pep:`539` for " -"Thread Specific Storage (TSS) API: it is a new Thread Local Storage (TLS) " -"API to CPython which would supersede use of the existing TLS API within the " -"CPython interpreter, while deprecating the existing API. PEP written by Erik " -"M. Bray, patch by Masayuki Yamamoto." -msgstr "" - -#: ../build/NEWS:13149 -msgid "Python 3.7.0 alpha 1" -msgstr "" - -#: ../build/NEWS:13151 -msgid "*Release date: 2017-09-19*" -msgstr "" - -#: ../build/NEWS:13156 ../build/NEWS:16374 -msgid "" -"`bpo-29781 `__: SSLObject.version() now " -"correctly returns None when handshake over BIO has not been performed yet." -msgstr "" - -#: ../build/NEWS:13159 -msgid "" -"`bpo-29505 `__: Add fuzz tests for " -"float(str), int(str), unicode(str); for oss-fuzz." -msgstr "" - -#: ../build/NEWS:13162 ../build/NEWS:16377 ../build/NEWS:20762 -msgid "" -"`bpo-30947 `__: Upgrade libexpat " -"embedded copy from version 2.2.1 to 2.2.3 to get security fixes." -msgstr "" - -#: ../build/NEWS:13165 ../build/NEWS:16837 ../build/NEWS:20804 -msgid "" -"`bpo-30730 `__: Prevent environment " -"variables injection in subprocess on Windows. Prevent passing other " -"environment variables and command arguments." -msgstr "" - -#: ../build/NEWS:13169 ../build/NEWS:16841 ../build/NEWS:20808 -msgid "" -"`bpo-30694 `__: Upgrade expat copy from " -"2.2.0 to 2.2.1 to get fixes of multiple security vulnerabilities including: " -"CVE-2017-9233 (External entity infinite loop DoS), CVE-2016-9063 (Integer " -"overflow, re-fix), CVE-2016-0718 (Fix regression bugs from 2.2.0's fix to " -"CVE-2016-0718) and CVE-2012-0876 (Counter hash flooding with SipHash). Note: " -"the CVE-2016-5300 (Use os-specific entropy sources like getrandom) doesn't " -"impact Python, since Python already gets entropy from the OS to set the " -"expat secret using ``XML_SetHashSalt()``." -msgstr "" - -#: ../build/NEWS:13178 ../build/NEWS:16850 ../build/NEWS:20817 -msgid "" -"`bpo-30500 `__: Fix urllib.parse." -"splithost() to correctly parse fragments. For example, " -"``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the " -"``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an " -"authentication (``login@host``)." -msgstr "" - -#: ../build/NEWS:13183 ../build/NEWS:16939 ../build/NEWS:20822 -msgid "" -"`bpo-29591 `__: Update expat copy from " -"2.1.1 to 2.2.0 to get fixes of CVE-2016-0718 and CVE-2016-4472. See https://" -"sourceforge.net/p/expat/bugs/537/ for more information." -msgstr "" - -#: ../build/NEWS:13190 ../build/NEWS:16002 -msgid "" -"`bpo-31490 `__: Fix an assertion failure " -"in `ctypes` class definition, in case the class has an attribute whose name " -"is specified in ``_anonymous_`` but not in ``_fields_``. Patch by Oren " -"Milman." -msgstr "" - -#: ../build/NEWS:13194 ../build/NEWS:16383 -msgid "" -"`bpo-31471 `__: Fix an assertion failure " -"in `subprocess.Popen()` on Windows, in case the env argument has a bad " -"keys() method. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13197 ../build/NEWS:16386 -msgid "" -"`bpo-31418 `__: Fix an assertion failure " -"in `PyErr_WriteUnraisable()` in case of an exception with a bad " -"``__module__`` attribute. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13200 ../build/NEWS:16389 -msgid "" -"`bpo-31416 `__: Fix assertion failures " -"in case of a bad warnings.filters or warnings.defaultaction. Patch by Oren " -"Milman." -msgstr "" - -#: ../build/NEWS:13203 -msgid "" -"`bpo-28411 `__: Change direct usage of " -"PyInterpreterState.modules to PyImport_GetModuleDict(). Also introduce more " -"uniformity in other code that deals with sys.modules. This helps reduce " -"complications when working on sys.modules." -msgstr "" - -#: ../build/NEWS:13208 -msgid "" -"`bpo-28411 `__: Switch to the abstract " -"API when dealing with ``PyInterpreterState.modules``. This allows later " -"support for all dict subclasses and other Mapping implementations. Also add " -"a ``PyImport_GetModule()`` function to reduce a bunch of duplicated code." -msgstr "" - -#: ../build/NEWS:13213 ../build/NEWS:16392 -msgid "" -"`bpo-31411 `__: Raise a TypeError " -"instead of SystemError in case warnings.onceregistry is not a dictionary. " -"Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13216 -msgid "" -"`bpo-31344 `__: For finer control of " -"tracing behaviour when testing the interpreter, two new frame attributes " -"have been added to control the emission of particular trace events: " -"``f_trace_lines`` (``True`` by default) to turn off per-line trace events; " -"and ``f_trace_opcodes`` (``False`` by default) to turn on per-opcode trace " -"events." -msgstr "" - -#: ../build/NEWS:13222 ../build/NEWS:16395 -msgid "" -"`bpo-31373 `__: Fix several possible " -"instances of undefined behavior due to floating-point demotions." -msgstr "" - -#: ../build/NEWS:13225 ../build/NEWS:16398 -msgid "" -"`bpo-30465 `__: Location information " -"(``lineno`` and ``col_offset``) in f-strings is now (mostly) correct. This " -"fixes tools like flake8 from showing warnings on the wrong line (typically " -"the first line of the file)." -msgstr "" - -#: ../build/NEWS:13229 -msgid "" -"`bpo-30860 `__: Consolidate CPython's " -"global runtime state under a single struct. This improves discoverability " -"of the runtime state." -msgstr "" - -#: ../build/NEWS:13232 -msgid "" -"`bpo-31347 `__: Fix possible undefined " -"behavior in _PyObject_FastCall_Prepend." -msgstr "" - -#: ../build/NEWS:13234 ../build/NEWS:16402 -msgid "" -"`bpo-31343 `__: Include sys/sysmacros.h " -"for major(), minor(), and makedev(). GNU C libray plans to remove the " -"functions from sys/types.h." -msgstr "" - -#: ../build/NEWS:13237 ../build/NEWS:16405 -msgid "" -"`bpo-31291 `__: Fix an assertion failure " -"in `zipimport.zipimporter.get_data` on Windows, when the return value of " -"``pathname.replace('/','\\\\')`` isn't a string. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13241 ../build/NEWS:16409 -msgid "" -"`bpo-31271 `__: Fix an assertion failure " -"in the write() method of `io.TextIOWrapper`, when the encoder doesn't return " -"a bytes object. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13245 ../build/NEWS:16413 -msgid "" -"`bpo-31243 `__: Fix a crash in some " -"methods of `io.TextIOWrapper`, when the decoder's state is invalid. Patch by " -"Oren Milman." -msgstr "" - -#: ../build/NEWS:13248 ../build/NEWS:16416 -msgid "" -"`bpo-30721 `__: ``print`` now shows " -"correct usage hint for using Python 2 redirection syntax. Patch by Sanyam " -"Khurana." -msgstr "" - -#: ../build/NEWS:13251 ../build/NEWS:16419 -msgid "" -"`bpo-31070 `__: Fix a race condition in " -"importlib _get_module_lock()." -msgstr "" - -#: ../build/NEWS:13253 -msgid "" -"`bpo-30747 `__: Add a non-dummy " -"implementation of _Py_atomic_store and _Py_atomic_load on MSVC." -msgstr "" - -#: ../build/NEWS:13256 ../build/NEWS:16421 ../build/NEWS:20768 -msgid "" -"`bpo-31095 `__: Fix potential crash " -"during GC caused by ``tp_dealloc`` which doesn't call " -"``PyObject_GC_UnTrack()``." -msgstr "" - -#: ../build/NEWS:13259 ../build/NEWS:16424 -msgid "" -"`bpo-31071 `__: Avoid masking original " -"TypeError in call with * unpacking when other arguments are passed." -msgstr "" - -#: ../build/NEWS:13262 ../build/NEWS:16427 -msgid "" -"`bpo-30978 `__: str.format_map() now " -"passes key lookup exceptions through. Previously any exception was replaced " -"with a KeyError exception." -msgstr "" - -#: ../build/NEWS:13265 ../build/NEWS:16430 -msgid "" -"`bpo-30808 `__: Use _Py_atomic API for " -"concurrency-sensitive signal state." -msgstr "" - -#: ../build/NEWS:13267 ../build/NEWS:16432 ../build/NEWS:20829 -msgid "" -"`bpo-30876 `__: Relative import from " -"unloaded package now reimports the package instead of failing with " -"SystemError. Relative import from non-package now fails with ImportError " -"rather than SystemError." -msgstr "" - -#: ../build/NEWS:13271 ../build/NEWS:16436 -msgid "" -"`bpo-30703 `__: Improve signal delivery. " -"Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-" -"unsafe functions. The tests I'm adding here fail without the rest of the " -"patch, on Linux and OS X. This means our signal delivery logic had defects " -"(some signals could be lost)." -msgstr "" - -#: ../build/NEWS:13276 ../build/NEWS:16441 ../build/NEWS:20833 -msgid "" -"`bpo-30765 `__: Avoid blocking in " -"pthread_mutex_lock() when PyThread_acquire_lock() is asked not to block." -msgstr "" - -#: ../build/NEWS:13279 ../build/NEWS:16444 -msgid "" -"`bpo-31161 `__: Make sure the 'Missing " -"parentheses' syntax error message is only applied to SyntaxError, not to " -"subclasses. Patch by Martijn Pieters." -msgstr "" - -#: ../build/NEWS:13282 ../build/NEWS:16447 -msgid "" -"`bpo-30814 `__: Fixed a race condition " -"when import a submodule from a package." -msgstr "" - -#: ../build/NEWS:13284 -msgid "" -"`bpo-30736 `__: The internal unicodedata " -"database has been upgraded to Unicode 10.0." -msgstr "" - -#: ../build/NEWS:13287 -msgid "" -"`bpo-30604 `__: Move co_extra_freefuncs " -"from per-thread to per-interpreter to avoid crashes." -msgstr "" - -#: ../build/NEWS:13290 ../build/NEWS:16449 -msgid "" -"`bpo-30597 `__: ``print`` now shows " -"expected input in custom error message when used as a Python 2 statement. " -"Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:13293 ../build/NEWS:16864 -msgid "" -"`bpo-30682 `__: Removed a too-strict " -"assertion that failed for certain f-strings, such as eval(\"f'\\\\\\n'\") " -"and eval(\"f'\\\\\\r'\")." -msgstr "" - -#: ../build/NEWS:13296 -msgid "" -"`bpo-30501 `__: The compiler now " -"produces more optimal code for complex condition expressions in the \"if\", " -"\"while\" and \"assert\" statement, the \"if\" expression, and generator " -"expressions and comprehensions." -msgstr "" - -#: ../build/NEWS:13300 -msgid "" -"`bpo-28180 `__: Implement :pep:`538` " -"(legacy C locale coercion). This means that when a suitable coercion target " -"locale is available, both the core interpreter and locale-aware C extensions " -"will assume the use of UTF-8 as the default text encoding, rather than ASCII." -msgstr "" - -#: ../build/NEWS:13305 -msgid "" -"`bpo-30486 `__: Allows setting cell " -"values for __closure__. Patch by Lisa Roach." -msgstr "" - -#: ../build/NEWS:13308 -msgid "" -"`bpo-30537 `__: itertools.islice now " -"accepts integer-like objects (having an __index__ method) as start, stop, " -"and slice arguments" -msgstr "" - -#: ../build/NEWS:13311 -msgid "" -"`bpo-25324 `__: Tokens needed for " -"parsing in Python moved to C. ``COMMENT``, ``NL`` and ``ENCODING``. This way " -"the tokens and tok_names in the token module don't get changed when you " -"import the tokenize module." -msgstr "" - -#: ../build/NEWS:13315 ../build/NEWS:16869 -msgid "" -"`bpo-29104 `__: Fixed parsing " -"backslashes in f-strings." -msgstr "" - -#: ../build/NEWS:13317 ../build/NEWS:16871 ../build/NEWS:20836 -msgid "" -"`bpo-27945 `__: Fixed various segfaults " -"with dict when input collections are mutated during searching, inserting or " -"comparing. Based on patches by Duane Griffin and Tim Mitchell." -msgstr "" - -#: ../build/NEWS:13321 ../build/NEWS:16875 ../build/NEWS:20840 -msgid "" -"`bpo-25794 `__: Fixed type.__setattr__() " -"and type.__delattr__() for non-interned attribute names. Based on patch by " -"Eryk Sun." -msgstr "" - -#: ../build/NEWS:13324 ../build/NEWS:16878 -msgid "" -"`bpo-30039 `__: If a KeyboardInterrupt " -"happens when the interpreter is in the middle of resuming a chain of nested " -"'yield from' or 'await' calls, it's now correctly delivered to the innermost " -"frame." -msgstr "" - -#: ../build/NEWS:13328 -msgid "" -"`bpo-28974 `__: ``object.__format__(x, " -"'')`` is now equivalent to ``str(x)`` rather than ``format(str(self), '')``." -msgstr "" - -#: ../build/NEWS:13331 -msgid "" -"`bpo-30024 `__: Circular imports " -"involving absolute imports with binding a submodule to a name are now " -"supported." -msgstr "" - -#: ../build/NEWS:13334 ../build/NEWS:16882 -msgid "" -"`bpo-12414 `__: sys.getsizeof() on a " -"code object now returns the sizes which includes the code struct and sizes " -"of objects which it references. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13338 -msgid "" -"`bpo-29839 `__: len() now raises " -"ValueError rather than OverflowError if __len__() returned a large negative " -"integer." -msgstr "" - -#: ../build/NEWS:13341 -msgid "" -"`bpo-11913 `__: README.rst is now " -"included in the list of distutils standard READMEs and therefore included in " -"source distributions." -msgstr "" - -#: ../build/NEWS:13344 -msgid "" -"`bpo-29914 `__: Fixed default " -"implementations of __reduce__ and __reduce_ex__(). object.__reduce__() no " -"longer takes arguments, object.__reduce_ex__() now requires one argument." -msgstr "" - -#: ../build/NEWS:13348 ../build/NEWS:16886 -msgid "" -"`bpo-29949 `__: Fix memory usage " -"regression of set and frozenset object." -msgstr "" - -#: ../build/NEWS:13350 ../build/NEWS:16888 ../build/NEWS:20843 -msgid "" -"`bpo-29935 `__: Fixed error messages in " -"the index() method of tuple, list and deque when pass indices of wrong type." -msgstr "" - -#: ../build/NEWS:13353 -msgid "" -"`bpo-29816 `__: Shift operation now has " -"less opportunity to raise OverflowError. ValueError always is raised rather " -"than OverflowError for negative counts. Shifting zero with non-negative " -"count always returns zero." -msgstr "" - -#: ../build/NEWS:13358 -msgid "" -"`bpo-24821 `__: Fixed the slowing down " -"to 25 times in the searching of some unlucky Unicode characters." -msgstr "" - -#: ../build/NEWS:13361 -msgid "" -"`bpo-29102 `__: Add a unique ID to " -"PyInterpreterState. This makes it easier to identify each subinterpreter." -msgstr "" - -#: ../build/NEWS:13364 -msgid "" -"`bpo-29894 `__: The deprecation warning " -"is emitted if __complex__ returns an instance of a strict subclass of " -"complex. In a future versions of Python this can be an error." -msgstr "" - -#: ../build/NEWS:13368 ../build/NEWS:16891 -msgid "" -"`bpo-29859 `__: Show correct error " -"messages when any of the pthread_* calls in thread_pthread.h fails." -msgstr "" - -#: ../build/NEWS:13371 -msgid "" -"`bpo-29849 `__: Fix a memory leak when " -"an ImportError is raised during from import." -msgstr "" - -#: ../build/NEWS:13374 ../build/NEWS:16899 -msgid "" -"`bpo-28856 `__: Fix an oversight that %b " -"format for bytes should support objects follow the buffer protocol." -msgstr "" - -#: ../build/NEWS:13377 ../build/NEWS:17216 -msgid "" -"`bpo-29723 `__: The ``sys.path[0]`` " -"initialization change for `bpo-29139 `__ " -"caused a regression by revealing an inconsistency in how sys.path is " -"initialized when executing ``__main__`` from a zipfile, directory, or other " -"import location. The interpreter now consistently avoids ever adding the " -"import location's parent directory to ``sys.path``, and ensures no other " -"``sys.path`` entries are inadvertently modified when inserting the import " -"location named on the command line." -msgstr "" - -#: ../build/NEWS:13385 -msgid "" -"`bpo-29568 `__: Escaped percent \"%%\" " -"in the format string for classic string formatting no longer allows any " -"characters between two percents." -msgstr "" - -#: ../build/NEWS:13388 ../build/NEWS:16902 -msgid "" -"`bpo-29714 `__: Fix a regression that " -"bytes format may fail when containing zero bytes inside." -msgstr "" - -#: ../build/NEWS:13391 -msgid "" -"`bpo-29695 `__: bool(), float(), list() " -"and tuple() no longer take keyword arguments. The first argument of int() " -"can now be passes only as positional argument." -msgstr "" - -#: ../build/NEWS:13395 ../build/NEWS:17240 -msgid "" -"`bpo-28893 `__: Set correct __cause__ " -"for errors about invalid awaitables returned from __aiter__ and __anext__." -msgstr "" - -#: ../build/NEWS:13398 ../build/NEWS:16894 ../build/NEWS:20846 -msgid "" -"`bpo-28876 `__: ``bool(range)`` works " -"even if ``len(range)`` raises :exc:`OverflowError`." -msgstr "" - -#: ../build/NEWS:13401 ../build/NEWS:17243 -msgid "" -"`bpo-29683 `__: Fixes to memory " -"allocation in _PyCode_SetExtra. Patch by Brian Coleman." -msgstr "" - -#: ../build/NEWS:13404 ../build/NEWS:17246 -msgid "" -"`bpo-29684 `__: Fix minor regression of " -"PyEval_CallObjectWithKeywords. It should raise TypeError when kwargs is not " -"a dict. But it might cause segv when args=NULL and kwargs is not a dict." -msgstr "" - -#: ../build/NEWS:13408 ../build/NEWS:17250 ../build/NEWS:20857 -msgid "" -"`bpo-28598 `__: Support __rmod__ for " -"subclasses of str being called before str.__mod__. Patch by Martijn Pieters." -msgstr "" - -#: ../build/NEWS:13411 ../build/NEWS:17253 -msgid "" -"`bpo-29607 `__: Fix stack_effect " -"computation for CALL_FUNCTION_EX. Patch by Matthieu Dartiailh." -msgstr "" - -#: ../build/NEWS:13414 ../build/NEWS:17256 ../build/NEWS:20860 -msgid "" -"`bpo-29602 `__: Fix incorrect handling " -"of signed zeros in complex constructor for complex subclasses and for inputs " -"having a __complex__ method. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:13418 ../build/NEWS:17260 ../build/NEWS:20864 -msgid "" -"`bpo-29347 `__: Fixed possibly " -"dereferencing undefined pointers when creating weakref objects." -msgstr "" - -#: ../build/NEWS:13421 -msgid "" -"`bpo-29463 `__: Add ``docstring`` field " -"to Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes. docstring " -"is not first stmt in their body anymore. It affects ``co_firstlineno`` and " -"``co_lnotab`` of code object for module and class. (Reverted in :issue:" -"`32911`.)" -msgstr "" - -#: ../build/NEWS:13426 ../build/NEWS:17263 ../build/NEWS:20867 -msgid "" -"`bpo-29438 `__: Fixed use-after-free " -"problem in key sharing dict." -msgstr "" - -#: ../build/NEWS:13428 -msgid "" -"`bpo-29546 `__: Set the 'path' and " -"'name' attribute on ImportError for ``from ... import ...``." -msgstr "" - -#: ../build/NEWS:13431 -msgid "" -"`bpo-29546 `__: Improve from-import " -"error message with location" -msgstr "" - -#: ../build/NEWS:13433 ../build/NEWS:16905 ../build/NEWS:20874 -msgid "" -"`bpo-29478 `__: If max_line_length=None " -"is specified while using the Compat32 policy, it is no longer ignored. " -"Patch by Mircea Cosbuc." -msgstr "" - -#: ../build/NEWS:13436 ../build/NEWS:17265 ../build/NEWS:20869 -msgid "" -"`bpo-29319 `__: Prevent " -"RunMainFromImporter overwriting sys.path[0]." -msgstr "" - -#: ../build/NEWS:13438 ../build/NEWS:17267 ../build/NEWS:20871 -msgid "" -"`bpo-29337 `__: Fixed possible " -"BytesWarning when compare the code objects. Warnings could be emitted at " -"compile time." -msgstr "" - -#: ../build/NEWS:13441 ../build/NEWS:17270 -msgid "" -"`bpo-29327 `__: Fixed a crash when pass " -"the iterable keyword argument to sorted()." -msgstr "" - -#: ../build/NEWS:13444 ../build/NEWS:17273 -msgid "" -"`bpo-29034 `__: Fix memory leak and use-" -"after-free in os module (path_converter)." -msgstr "" - -#: ../build/NEWS:13447 ../build/NEWS:17276 -msgid "" -"`bpo-29159 `__: Fix regression in " -"bytes(x) when x.__index__() raises Exception." -msgstr "" - -#: ../build/NEWS:13449 -msgid "" -"`bpo-29049 `__: Call " -"_PyObject_GC_TRACK() lazily when calling Python function. Calling function " -"is up to 5% faster." -msgstr "" - -#: ../build/NEWS:13452 -msgid "" -"`bpo-28927 `__: bytes.fromhex() and " -"bytearray.fromhex() now ignore all ASCII whitespace, not only spaces. Patch " -"by Robert Xiao." -msgstr "" - -#: ../build/NEWS:13455 ../build/NEWS:17278 ../build/NEWS:21223 -msgid "" -"`bpo-28932 `__: Do not include if it does not exist." -msgstr "" - -#: ../build/NEWS:13457 ../build/NEWS:17280 ../build/NEWS:21228 -msgid "" -"`bpo-25677 `__: Correct the positioning " -"of the syntax error caret for indented blocks. Based on patch by Michael " -"Layzell." -msgstr "" - -#: ../build/NEWS:13460 ../build/NEWS:17283 ../build/NEWS:21231 -msgid "" -"`bpo-29000 `__: Fixed bytes formatting " -"of octals with zero padding in alternate form." -msgstr "" - -#: ../build/NEWS:13463 -msgid "" -"`bpo-18896 `__: Python function can now " -"have more than 255 parameters. collections.namedtuple() now supports tuples " -"with more than 255 elements." -msgstr "" - -#: ../build/NEWS:13466 -msgid "" -"`bpo-28596 `__: The preferred encoding " -"is UTF-8 on Android. Patch written by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:13469 -msgid "" -"`bpo-22257 `__: Clean up interpreter " -"startup (see :pep:`432`)." -msgstr "" - -#: ../build/NEWS:13471 ../build/NEWS:17286 -msgid "" -"`bpo-26919 `__: On Android, operating " -"system data is now always encoded/decoded to/from UTF-8, instead of the " -"locale encoding to avoid inconsistencies with os.fsencode() and os." -"fsdecode() which are already using UTF-8." -msgstr "" - -#: ../build/NEWS:13475 ../build/NEWS:17290 -msgid "" -"`bpo-28991 `__: functools.lru_cache() " -"was susceptible to an obscure reentrancy bug triggerable by a monkey-patched " -"len() function." -msgstr "" - -#: ../build/NEWS:13478 ../build/NEWS:17564 -msgid "" -"`bpo-28147 `__: Fix a memory leak in " -"split-table dictionaries: setattr() must not convert combined table into " -"split table. Patch written by INADA Naoki." -msgstr "" - -#: ../build/NEWS:13481 ../build/NEWS:17293 -msgid "" -"`bpo-28739 `__: f-string expressions are " -"no longer accepted as docstrings and by ast.literal_eval() even if they do " -"not include expressions." -msgstr "" - -#: ../build/NEWS:13484 ../build/NEWS:17296 ../build/NEWS:21234 -msgid "" -"`bpo-28512 `__: Fixed setting the offset " -"attribute of SyntaxError by PyErr_SyntaxLocationEx() and " -"PyErr_SyntaxLocationObject()." -msgstr "" - -#: ../build/NEWS:13487 ../build/NEWS:17299 -msgid "" -"`bpo-28918 `__: Fix the cross " -"compilation of xxlimited when Python has been built with Py_DEBUG defined." -msgstr "" - -#: ../build/NEWS:13490 ../build/NEWS:17594 -msgid "" -"`bpo-23722 `__: Rather than silently " -"producing a class that doesn't support zero-argument ``super()`` in methods, " -"failing to pass the new ``__classcell__`` namespace entry up to ``type." -"__new__`` now results in a ``DeprecationWarning`` and a class that supports " -"zero-argument ``super()``." -msgstr "" - -#: ../build/NEWS:13496 ../build/NEWS:17600 -msgid "" -"`bpo-28797 `__: Modifying the class " -"__dict__ inside the __set_name__ method of a descriptor that is used inside " -"that class no longer prevents calling the __set_name__ method of other " -"descriptors." -msgstr "" - -#: ../build/NEWS:13500 -msgid "" -"`bpo-28799 `__: Remove the " -"``PyEval_GetCallStats()`` function and deprecate the untested and " -"undocumented ``sys.callstats()`` function. Remove the ``CALL_PROFILE`` " -"special build: use the :func:`sys.setprofile` function, :mod:`cProfile` or :" -"mod:`profile` to profile function calls." -msgstr "" - -#: ../build/NEWS:13505 -msgid "" -"`bpo-12844 `__: More than 255 arguments " -"can now be passed to a function." -msgstr "" - -#: ../build/NEWS:13507 ../build/NEWS:17604 -msgid "" -"`bpo-28782 `__: Fix a bug in the " -"implementation ``yield from`` when checking if the next instruction is " -"YIELD_FROM. Regression introduced by WORDCODE (`bpo-26647 `__)." -msgstr "" - -#: ../build/NEWS:13511 -msgid "" -"`bpo-28774 `__: Fix error position of " -"the unicode error in ASCII and Latin1 encoders when a string returned by the " -"error handler contains multiple non-encodable characters (non-ASCII for the " -"ASCII codec, characters out of the U+0000-U+00FF range for Latin1)." -msgstr "" - -#: ../build/NEWS:13516 ../build/NEWS:17302 -msgid "" -"`bpo-28731 `__: Optimize " -"_PyDict_NewPresized() to create correct size dict. Improve speed of dict " -"literal with constant keys up to 30%." -msgstr "" - -#: ../build/NEWS:13519 ../build/NEWS:17658 -msgid "" -"`bpo-28532 `__: Show sys.version when -V " -"option is supplied twice." -msgstr "" - -#: ../build/NEWS:13521 ../build/NEWS:17660 -msgid "" -"`bpo-27100 `__: The with-statement now " -"checks for __enter__ before it checks for __exit__. This gives less " -"confusing error messages when both methods are missing. Patch by Jonathan " -"Ellington." -msgstr "" - -#: ../build/NEWS:13525 ../build/NEWS:17664 -msgid "" -"`bpo-28746 `__: Fix the " -"set_inheritable() file descriptor method on platforms that do not have the " -"ioctl FIOCLEX and FIONCLEX commands." -msgstr "" - -#: ../build/NEWS:13528 ../build/NEWS:17667 -msgid "" -"`bpo-26920 `__: Fix not getting the " -"locale's charset upon initializing the interpreter, on platforms that do not " -"have langinfo." -msgstr "" - -#: ../build/NEWS:13531 ../build/NEWS:17670 ../build/NEWS:21240 -msgid "" -"`bpo-28648 `__: Fixed crash in " -"Py_DecodeLocale() in debug build on Mac OS X when decode astral characters. " -"Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:13534 ../build/NEWS:17676 -msgid "" -"`bpo-28665 `__: Improve speed of the " -"STORE_DEREF opcode by 40%." -msgstr "" - -#: ../build/NEWS:13536 ../build/NEWS:17673 ../build/NEWS:21243 -msgid "" -"`bpo-19398 `__: Extra slash no longer " -"added to sys.path components in case of empty compile-time PYTHONPATH " -"components." -msgstr "" - -#: ../build/NEWS:13539 -msgid "" -"`bpo-28621 `__: Sped up converting int " -"to float by reusing faster bits counting implementation. Patch by Adrian " -"Wielgosik." -msgstr "" - -#: ../build/NEWS:13542 -msgid "" -"`bpo-28580 `__: Optimize iterating split " -"table values. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:13544 ../build/NEWS:17678 -msgid "" -"`bpo-28583 `__: PyDict_SetDefault didn't " -"combine split table when needed. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:13547 ../build/NEWS:17772 -msgid "" -"`bpo-28128 `__: Deprecation warning for " -"invalid str and byte escape sequences now prints better information about " -"where the error occurs. Patch by Serhiy Storchaka and Eric Smith." -msgstr "" - -#: ../build/NEWS:13551 ../build/NEWS:17776 -msgid "" -"`bpo-28509 `__: dict.update() no longer " -"allocate unnecessary large memory." -msgstr "" - -#: ../build/NEWS:13553 ../build/NEWS:17778 ../build/NEWS:21246 -msgid "" -"`bpo-28426 `__: Fixed potential crash in " -"PyUnicode_AsDecodedObject() in debug build." -msgstr "" - -#: ../build/NEWS:13556 ../build/NEWS:17781 -msgid "" -"`bpo-28517 `__: Fixed of-by-one error in " -"the peephole optimizer that caused keeping unreachable code." -msgstr "" - -#: ../build/NEWS:13559 ../build/NEWS:17784 -msgid "" -"`bpo-28214 `__: Improved exception " -"reporting for problematic __set_name__ attributes." -msgstr "" - -#: ../build/NEWS:13562 ../build/NEWS:17787 ../build/NEWS:21249 -msgid "" -"`bpo-23782 `__: Fixed possible memory " -"leak in _PyTraceback_Add() and exception loss in PyTraceBack_Here()." -msgstr "" - -#: ../build/NEWS:13565 ../build/NEWS:17896 -msgid "" -"`bpo-28183 `__: Optimize and cleanup " -"dict iteration." -msgstr "" - -#: ../build/NEWS:13567 ../build/NEWS:17898 -msgid "" -"`bpo-26081 `__: Added C implementation " -"of asyncio.Future. Original patch by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:13570 ../build/NEWS:17901 ../build/NEWS:21252 -msgid "" -"`bpo-28379 `__: Added sanity checks and " -"tests for PyUnicode_CopyCharacters(). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:13573 ../build/NEWS:17904 ../build/NEWS:21255 -msgid "" -"`bpo-28376 `__: The type of long range " -"iterator is now registered as Iterator. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13576 -msgid "" -"`bpo-28376 `__: Creating instances of " -"range_iterator by calling range_iterator type now is disallowed. Calling " -"iter() on range instance is the only way. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13580 ../build/NEWS:17913 ../build/NEWS:21261 -msgid "" -"`bpo-26906 `__: Resolving special " -"methods of uninitialized type now causes implicit initialization of the type " -"instead of a fail." -msgstr "" - -#: ../build/NEWS:13583 ../build/NEWS:17916 ../build/NEWS:21264 -msgid "" -"`bpo-18287 `__: PyType_Ready() now " -"checks that tp_name is not NULL. Original patch by Niklas Koep." -msgstr "" - -#: ../build/NEWS:13586 ../build/NEWS:17919 ../build/NEWS:21267 -msgid "" -"`bpo-24098 `__: Fixed possible crash " -"when AST is changed in process of compiling it." -msgstr "" - -#: ../build/NEWS:13589 ../build/NEWS:17922 -msgid "" -"`bpo-28201 `__: Dict reduces possibility " -"of 2nd conflict in hash table when hashes have same lower bits." -msgstr "" - -#: ../build/NEWS:13592 ../build/NEWS:17925 ../build/NEWS:21270 -msgid "" -"`bpo-28350 `__: String constants with " -"null character no longer interned." -msgstr "" - -#: ../build/NEWS:13594 ../build/NEWS:17927 ../build/NEWS:21272 -msgid "" -"`bpo-26617 `__: Fix crash when GC runs " -"during weakref callbacks." -msgstr "" - -#: ../build/NEWS:13596 ../build/NEWS:17929 ../build/NEWS:21274 -msgid "" -"`bpo-27942 `__: String constants now " -"interned recursively in tuples and frozensets." -msgstr "" - -#: ../build/NEWS:13599 -msgid "" -"`bpo-28289 `__: ImportError.__init__ now " -"resets not specified attributes." -msgstr "" - -#: ../build/NEWS:13601 ../build/NEWS:17932 ../build/NEWS:21277 -msgid "" -"`bpo-21578 `__: Fixed misleading error " -"message when ImportError called with invalid keyword args." -msgstr "" - -#: ../build/NEWS:13604 ../build/NEWS:17935 -msgid "" -"`bpo-28203 `__: Fix incorrect type in " -"complex(1.0, {2:3}) error message. Patch by Soumya Sharma." -msgstr "" - -#: ../build/NEWS:13607 ../build/NEWS:17938 -msgid "" -"`bpo-28086 `__: Single var-positional " -"argument of tuple subtype was passed unscathed to the C-defined function. " -"Now it is converted to exact tuple." -msgstr "" - -#: ../build/NEWS:13610 ../build/NEWS:17941 -msgid "" -"`bpo-28214 `__: Now __set_name__ is " -"looked up on the class instead of the instance." -msgstr "" - -#: ../build/NEWS:13613 ../build/NEWS:17944 ../build/NEWS:21283 -msgid "" -"`bpo-27955 `__: Fallback on reading /dev/" -"urandom device when the getrandom() syscall fails with EPERM, for example " -"when blocked by SECCOMP." -msgstr "" - -#: ../build/NEWS:13616 ../build/NEWS:17947 -msgid "" -"`bpo-28192 `__: Don't import readline in " -"isolated mode." -msgstr "" - -#: ../build/NEWS:13618 -msgid "" -"`bpo-27441 `__: Remove some redundant " -"assignments to ob_size in longobject.c. Thanks Oren Milman." -msgstr "" - -#: ../build/NEWS:13621 -msgid "" -"`bpo-27222 `__: Clean up redundant code " -"in long_rshift function. Thanks Oren Milman." -msgstr "" - -#: ../build/NEWS:13624 ../build/NEWS:17949 -msgid "Upgrade internal unicode databases to Unicode version 9.0.0." -msgstr "" - -#: ../build/NEWS:13626 ../build/NEWS:17951 ../build/NEWS:21286 -msgid "" -"`bpo-28131 `__: Fix a regression in " -"zipimport's compile_source(). zipimport should use the same optimization " -"level as the interpreter." -msgstr "" - -#: ../build/NEWS:13629 ../build/NEWS:17954 -msgid "" -"`bpo-28126 `__: Replace Py_MEMCPY with " -"memcpy(). Visual Studio can properly optimize memcpy()." -msgstr "" - -#: ../build/NEWS:13632 ../build/NEWS:17957 -msgid "" -"`bpo-28120 `__: Fix dict.pop() for " -"splitted dictionary when trying to remove a \"pending key\" (Not yet " -"inserted in split-table). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:13635 ../build/NEWS:17960 -msgid "" -"`bpo-26182 `__: Raise DeprecationWarning " -"when async and await keywords are used as variable/attribute/class/function " -"name." -msgstr "" - -#: ../build/NEWS:13638 ../build/NEWS:17685 -msgid "" -"`bpo-26182 `__: Fix a refleak in code " -"that raises DeprecationWarning." -msgstr "" - -#: ../build/NEWS:13640 ../build/NEWS:17687 -msgid "" -"`bpo-28721 `__: Fix asynchronous " -"generators aclose() and athrow() to handle StopAsyncIteration propagation " -"properly." -msgstr "" - -#: ../build/NEWS:13643 -msgid "" -"`bpo-26110 `__: Speed-up method calls: " -"add LOAD_METHOD and CALL_METHOD opcodes." -msgstr "" - -#: ../build/NEWS:13648 ../build/NEWS:16455 -msgid "" -"`bpo-31499 `__: xml.etree: Fix a crash " -"when a parser is part of a reference cycle." -msgstr "" - -#: ../build/NEWS:13651 ../build/NEWS:16178 -msgid "" -"`bpo-31482 `__: ``random.seed()`` now " -"works with bytes in version=1" -msgstr "" - -#: ../build/NEWS:13653 ../build/NEWS:16458 -msgid "" -"`bpo-28556 `__: typing.get_type_hints " -"now finds the right globalns for classes and modules by default (when no " -"``globalns`` was specified by the caller)." -msgstr "" - -#: ../build/NEWS:13656 ../build/NEWS:16461 -msgid "" -"`bpo-28556 `__: Speed improvements to " -"the ``typing`` module. Original PRs by Ivan Levkivskyi and Mitar." -msgstr "" - -#: ../build/NEWS:13659 ../build/NEWS:16464 -msgid "" -"`bpo-31544 `__: The C accelerator module " -"of ElementTree ignored exceptions raised when looking up TreeBuilder target " -"methods in XMLParser()." -msgstr "" - -#: ../build/NEWS:13662 ../build/NEWS:16467 -msgid "" -"`bpo-31234 `__: socket." -"create_connection() now fixes manually a reference cycle: clear the variable " -"storing the last exception on success." -msgstr "" - -#: ../build/NEWS:13665 ../build/NEWS:16470 -msgid "" -"`bpo-31457 `__: LoggerAdapter objects " -"can now be nested." -msgstr "" - -#: ../build/NEWS:13667 -msgid "" -"`bpo-31431 `__: SSLContext." -"check_hostname now automatically sets SSLContext.verify_mode to ssl." -"CERT_REQUIRED instead of failing with a ValueError." -msgstr "" - -#: ../build/NEWS:13671 -msgid "" -"`bpo-31233 `__: socketserver." -"ThreadingMixIn now keeps a list of non-daemonic threads to wait until all " -"these threads complete in server_close()." -msgstr "" - -#: ../build/NEWS:13674 -msgid "" -"`bpo-28638 `__: Changed the " -"implementation strategy for collections.namedtuple() to substantially reduce " -"the use of exec() in favor of precomputed methods. As a result, the " -"*verbose* parameter and *_source* attribute are no longer supported. The " -"benefits include 1) having a smaller memory footprint for applications using " -"multiple named tuples, 2) faster creation of the named tuple class (approx " -"4x to 6x depending on how it is measured), and 3) minor speed-ups for " -"instance creation using __new__, _make, and _replace. (The primary patch " -"contributor is Jelle Zijlstra with further improvements by INADA Naoki, " -"Serhiy Storchaka, and Raymond Hettinger.)" -msgstr "" - -#: ../build/NEWS:13685 ../build/NEWS:16472 -msgid "" -"`bpo-31400 `__: Improves SSL error " -"handling to avoid losing error numbers." -msgstr "" - -#: ../build/NEWS:13687 -msgid "" -"`bpo-27629 `__: Make return types of " -"SSLContext.wrap_bio() and SSLContext.wrap_socket() customizable." -msgstr "" - -#: ../build/NEWS:13690 ../build/NEWS:16474 -msgid "" -"`bpo-28958 `__: ssl.SSLContext() now " -"uses OpenSSL error information when a context cannot be instantiated." -msgstr "" - -#: ../build/NEWS:13693 -msgid "" -"`bpo-28182 `__: The SSL module now " -"raises SSLCertVerificationError when OpenSSL fails to verify the peer's " -"certificate. The exception contains more information about the error." -msgstr "" - -#: ../build/NEWS:13697 ../build/NEWS:16477 -msgid "" -"`bpo-27340 `__: SSLSocket.sendall() now " -"uses memoryview to create slices of data. This fixes support for all bytes-" -"like object. It is also more efficient and avoids costly copies." -msgstr "" - -#: ../build/NEWS:13701 -msgid "" -"`bpo-14191 `__: A new function " -"``argparse.ArgumentParser.parse_intermixed_args`` provides the ability to " -"parse command lines where there user intermixes options and positional " -"arguments." -msgstr "" - -#: ../build/NEWS:13706 ../build/NEWS:16481 -msgid "" -"`bpo-31178 `__: Fix string concatenation " -"bug in rare error path in the subprocess module" -msgstr "" - -#: ../build/NEWS:13709 ../build/NEWS:16484 -msgid "" -"`bpo-31350 `__: Micro-optimize :func:" -"`asyncio._get_running_loop` to become up to 10% faster." -msgstr "" - -#: ../build/NEWS:13712 ../build/NEWS:16487 ../build/NEWS:20779 -msgid "" -"`bpo-31170 `__: expat: Update libexpat " -"from 2.2.3 to 2.2.4. Fix copying of partial characters for UTF-8 input " -"(libexpat bug 115): https://github.com/libexpat/libexpat/issues/115" -msgstr "" - -#: ../build/NEWS:13716 ../build/NEWS:16491 -msgid "" -"`bpo-29136 `__: Add TLS 1.3 cipher " -"suites and OP_NO_TLSv1_3." -msgstr "" - -#: ../build/NEWS:13718 -msgid "" -"`bpo-1198569 `__: ``string.Template`` " -"subclasses can optionally define ``braceidpattern`` if they want to specify " -"different placeholder patterns inside and outside the braces. If None (the " -"default) it falls back to ``idpattern``." -msgstr "" - -#: ../build/NEWS:13723 -msgid "" -"`bpo-31326 `__: concurrent.futures." -"ProcessPoolExecutor.shutdown() now explicitly closes the call queue. " -"Moreover, shutdown(wait=True) now also join the call queue thread, to " -"prevent leaking a dangling thread." -msgstr "" - -#: ../build/NEWS:13727 ../build/NEWS:16502 -msgid "" -"`bpo-27144 `__: The ``map()`` and " -"``as_completed()`` iterators in ``concurrent.futures`` now avoid keeping a " -"reference to yielded objects." -msgstr "" - -#: ../build/NEWS:13730 -msgid "" -"`bpo-31281 `__: Fix ``fileinput." -"FileInput(files, inplace=True)`` when ``files`` contain ``pathlib.Path`` " -"objects." -msgstr "" - -#: ../build/NEWS:13733 ../build/NEWS:16505 -msgid "" -"`bpo-10746 `__: Fix ctypes producing " -"wrong :pep:`3118` type codes for integer types." -msgstr "" - -#: ../build/NEWS:13736 -msgid "" -"`bpo-27584 `__: ``AF_VSOCK`` has been " -"added to the socket interface which allows communication between virtual " -"machines and their host." -msgstr "" - -#: ../build/NEWS:13739 ../build/NEWS:16508 -msgid "" -"`bpo-22536 `__: The subprocess module " -"now sets the filename when FileNotFoundError is raised on POSIX systems due " -"to the executable or cwd not being found." -msgstr "" - -#: ../build/NEWS:13743 -msgid "" -"`bpo-29741 `__: Update some methods in " -"the _pyio module to also accept integer types. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:13746 ../build/NEWS:16512 -msgid "" -"`bpo-31249 `__: concurrent.futures: " -"WorkItem.run() used by ThreadPoolExecutor now breaks a reference cycle " -"between an exception object and the WorkItem object." -msgstr "" - -#: ../build/NEWS:13750 ../build/NEWS:16516 -msgid "" -"`bpo-31247 `__: xmlrpc.server now " -"explicitly breaks reference cycles when using sys.exc_info() in code " -"handling exceptions." -msgstr "" - -#: ../build/NEWS:13753 -msgid "" -"`bpo-23835 `__: configparser: reading " -"defaults in the ``ConfigParser()`` constructor is now using ``read_dict()``, " -"making its behavior consistent with the rest of the parser. Non-string keys " -"and values in the defaults dictionary are now being implicitly converted to " -"strings. Patch by James Tocknell." -msgstr "" - -#: ../build/NEWS:13759 ../build/NEWS:15433 -msgid "" -"`bpo-31238 `__: pydoc: the stop() method " -"of the private ServerThread class now waits until DocServer." -"serve_until_quit() completes and then explicitly sets its docserver " -"attribute to None to break a reference cycle." -msgstr "" - -#: ../build/NEWS:13763 -msgid "" -"`bpo-5001 `__: Many asserts in " -"`multiprocessing` are now more informative, and some error types have been " -"changed to more specific ones." -msgstr "" - -#: ../build/NEWS:13766 -msgid "" -"`bpo-31109 `__: Convert zipimport to use " -"Argument Clinic." -msgstr "" - -#: ../build/NEWS:13768 ../build/NEWS:16519 -msgid "" -"`bpo-30102 `__: The ssl and hashlib " -"modules now call OPENSSL_add_all_algorithms_noconf() on OpenSSL < 1.1.0. The " -"function detects CPU features and enables optimizations on some CPU " -"architectures such as POWER8. Patch is based on research from Gustavo Serra " -"Scalet." -msgstr "" - -#: ../build/NEWS:13773 -msgid "" -"`bpo-18966 `__: Non-daemonic threads " -"created by a multiprocessing.Process are now joined on child exit." -msgstr "" - -#: ../build/NEWS:13776 -msgid "" -"`bpo-31183 `__: `dis` now works with " -"asynchronous generator and coroutine objects. Patch by George Collins based " -"on diagnosis by Luciano Ramalho." -msgstr "" - -#: ../build/NEWS:13779 -msgid "" -"`bpo-5001 `__: There are a number of " -"uninformative asserts in the `multiprocessing` module, as noted in issue " -"5001. This change fixes two of the most potentially problematic ones, since " -"they are in error-reporting code, in the `multiprocessing.managers." -"convert_to_error` function. (It also makes more informative a ValueError " -"message.) The only potentially problematic change is that the AssertionError " -"is now a TypeError; however, this should also help distinguish it from an " -"AssertionError being *reported* by the function/its caller (such as in issue " -"31169). - Patch by Allen W. Smith (drallensmith on github)." -msgstr "" - -#: ../build/NEWS:13789 ../build/NEWS:16524 -msgid "" -"`bpo-31185 `__: Fixed miscellaneous " -"errors in asyncio speedup module." -msgstr "" - -#: ../build/NEWS:13791 -msgid "" -"`bpo-31151 `__: socketserver." -"ForkingMixIn.server_close() now waits until all child processes completed to " -"prevent leaking zombie processes." -msgstr "" - -#: ../build/NEWS:13794 -msgid "" -"`bpo-31072 `__: Add an ``include_file`` " -"parameter to ``zipapp.create_archive()``" -msgstr "" - -#: ../build/NEWS:13797 -msgid "" -"`bpo-24700 `__: Optimize array.array " -"comparison. It is now from 10x up to 70x faster when comparing arrays " -"holding values of the same integer type." -msgstr "" - -#: ../build/NEWS:13800 ../build/NEWS:16526 -msgid "" -"`bpo-31135 `__: ttk: fix the destroy() " -"method of LabeledScale and OptionMenu classes. Call the parent destroy() " -"method even if the used attribute doesn't exist. The LabeledScale.destroy() " -"method now also explicitly clears label and scale attributes to help the " -"garbage collector to destroy all widgets." -msgstr "" - -#: ../build/NEWS:13806 ../build/NEWS:16532 -msgid "" -"`bpo-31107 `__: Fix `copyreg." -"_slotnames()` mangled attribute calculation for classes whose name begins " -"with an underscore. Patch by Shane Harvey." -msgstr "" - -#: ../build/NEWS:13809 -msgid "" -"`bpo-31080 `__: Allow `logging.config." -"fileConfig` to accept kwargs and/or args." -msgstr "" - -#: ../build/NEWS:13811 -msgid "" -"`bpo-30897 `__: ``pathlib.Path`` objects " -"now include an ``is_mount()`` method (only implemented on POSIX). This is " -"similar to ``os.path.ismount(p)``. Patch by Cooper Ry Lees." -msgstr "" - -#: ../build/NEWS:13815 ../build/NEWS:16535 -msgid "" -"`bpo-31061 `__: Fixed a crash when using " -"asyncio and threads." -msgstr "" - -#: ../build/NEWS:13817 -msgid "" -"`bpo-30987 `__: Added support for CAN " -"ISO-TP protocol in the socket module." -msgstr "" - -#: ../build/NEWS:13819 -msgid "" -"`bpo-30522 `__: Added a ``setStream`` " -"method to ``logging.StreamHandler`` to allow the stream to be set after " -"creation." -msgstr "" - -#: ../build/NEWS:13822 ../build/NEWS:16537 -msgid "" -"`bpo-30502 `__: Fix handling of long " -"oids in ssl. Based on patch by Christian Heimes." -msgstr "" - -#: ../build/NEWS:13825 -msgid "" -"`bpo-5288 `__: Support tzinfo objects " -"with sub-minute offsets." -msgstr "" - -#: ../build/NEWS:13827 -msgid "" -"`bpo-30919 `__: Fix shared memory " -"performance regression in multiprocessing in 3.x. Shared memory used " -"anonymous memory mappings in 2.x, while 3.x mmaps actual files. Try to be " -"careful to do as little disk I/O as possible." -msgstr "" - -#: ../build/NEWS:13831 -msgid "" -"`bpo-26732 `__: Fix too many fds in " -"processes started with the \"forkserver\" method. A child process would " -"inherit as many fds as the number of still-running children." -msgstr "" - -#: ../build/NEWS:13835 ../build/NEWS:16547 ../build/NEWS:20880 -msgid "" -"`bpo-29403 `__: Fix ``unittest.mock``'s " -"autospec to not fail on method-bound builtin functions. Patch by Aaron " -"Gallagher." -msgstr "" - -#: ../build/NEWS:13838 ../build/NEWS:16550 ../build/NEWS:20883 -msgid "" -"`bpo-30961 `__: Fix decrementing a " -"borrowed reference in tracemalloc." -msgstr "" - -#: ../build/NEWS:13840 -msgid "" -"`bpo-19896 `__: Fix multiprocessing." -"sharedctypes to recognize typecodes ``'q'`` and ``'Q'``." -msgstr "" - -#: ../build/NEWS:13843 -msgid "" -"`bpo-30946 `__: Remove obsolete code in " -"readline module for platforms where GNU readline is older than 2.1 or where " -"select() is not available." -msgstr "" - -#: ../build/NEWS:13846 ../build/NEWS:16552 -msgid "" -"`bpo-25684 `__: Change ``ttk." -"OptionMenu`` radiobuttons to be unique across instances of ``OptionMenu``." -msgstr "" - -#: ../build/NEWS:13849 ../build/NEWS:16555 ../build/NEWS:20885 -msgid "" -"`bpo-30886 `__: Fix multiprocessing." -"Queue.join_thread(): it now waits until the thread completes, even if the " -"thread was started by the same process which created the queue." -msgstr "" - -#: ../build/NEWS:13853 ../build/NEWS:16559 ../build/NEWS:20889 -msgid "" -"`bpo-29854 `__: Fix segfault in readline " -"when using readline's history-size option. Patch by Nir Soffer." -msgstr "" - -#: ../build/NEWS:13856 -msgid "" -"`bpo-30794 `__: Added multiprocessing." -"Process.kill method to terminate using the SIGKILL signal on Unix." -msgstr "" - -#: ../build/NEWS:13859 ../build/NEWS:16562 -msgid "" -"`bpo-30319 `__: socket.close() now " -"ignores ECONNRESET error." -msgstr "" - -#: ../build/NEWS:13861 ../build/NEWS:16564 -msgid "" -"`bpo-30828 `__: Fix out of bounds write " -"in `asyncio.CFuture.remove_done_callback()`." -msgstr "" - -#: ../build/NEWS:13864 -msgid "" -"`bpo-30302 `__: Use keywords in the " -"``repr`` of ``datetime.timedelta``." -msgstr "" - -#: ../build/NEWS:13866 ../build/NEWS:16567 ../build/NEWS:20892 -msgid "" -"`bpo-30807 `__: signal.setitimer() may " -"disable the timer when passed a tiny value. Tiny values (such as 1e-6) are " -"valid non-zero values for setitimer(), which is specified as taking " -"microsecond-resolution intervals. However, on some platform, our conversion " -"routine could convert 1e-6 into a zero interval, therefore disabling the " -"timer instead of (re-)scheduling it." -msgstr "" - -#: ../build/NEWS:13873 ../build/NEWS:16574 ../build/NEWS:20899 -msgid "" -"`bpo-30441 `__: Fix bug when modifying " -"os.environ while iterating over it" -msgstr "" - -#: ../build/NEWS:13875 -msgid "" -"`bpo-29585 `__: Avoid importing " -"``sysconfig`` from ``site`` to improve startup speed. Python startup is " -"about 5% faster on Linux and 30% faster on macOS." -msgstr "" - -#: ../build/NEWS:13878 -msgid "" -"`bpo-29293 `__: Add missing parameter \"n" -"\" on multiprocessing.Condition.notify(). The doc claims multiprocessing." -"Condition behaves like threading.Condition, but its notify() method lacked " -"the optional \"n\" argument (to specify the number of sleepers to wake up) " -"that threading.Condition.notify() accepts." -msgstr "" - -#: ../build/NEWS:13884 ../build/NEWS:16576 ../build/NEWS:20901 -msgid "" -"`bpo-30532 `__: Fix email header value " -"parser dropping folding white space in certain cases." -msgstr "" - -#: ../build/NEWS:13887 -msgid "" -"`bpo-30596 `__: Add a ``close()`` method " -"to ``multiprocessing.Process``." -msgstr "" - -#: ../build/NEWS:13889 ../build/NEWS:16498 -msgid "" -"`bpo-9146 `__: Fix a segmentation fault " -"in _hashopenssl when standard hash functions such as md5 are not available " -"in the linked OpenSSL library. As in some special FIPS-140 build " -"environments." -msgstr "" - -#: ../build/NEWS:13893 ../build/NEWS:17308 ../build/NEWS:20904 -msgid "" -"`bpo-29169 `__: Update zlib to 1.2.11." -msgstr "" - -#: ../build/NEWS:13895 ../build/NEWS:16540 ../build/NEWS:20792 -msgid "" -"`bpo-30119 `__: ftplib.FTP.putline() now " -"throws ValueError on commands that contains CR or LF. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13898 ../build/NEWS:16579 ../build/NEWS:20906 -msgid "" -"`bpo-30879 `__: os.listdir() and os." -"scandir() now emit bytes names when called with bytes-like argument." -msgstr "" - -#: ../build/NEWS:13901 ../build/NEWS:16582 ../build/NEWS:20909 -msgid "" -"`bpo-30746 `__: Prohibited the '=' " -"character in environment variable names in ``os.putenv()`` and ``os." -"spawn*()``." -msgstr "" - -#: ../build/NEWS:13904 -msgid "" -"`bpo-30664 `__: The description of a " -"unittest subtest now preserves the order of keyword arguments of TestCase." -"subTest()." -msgstr "" - -#: ../build/NEWS:13907 -msgid "" -"`bpo-21071 `__: struct.Struct.format " -"type is now :class:`str` instead of :class:`bytes`." -msgstr "" - -#: ../build/NEWS:13910 ../build/NEWS:16493 -msgid "" -"`bpo-29212 `__: Fix concurrent.futures." -"thread.ThreadPoolExecutor threads to have a non repr() based thread name by " -"default when no thread_name_prefix is supplied. They will now identify " -"themselves as \"ThreadPoolExecutor-y_n\"." -msgstr "" - -#: ../build/NEWS:13915 ../build/NEWS:16585 ../build/NEWS:20912 -msgid "" -"`bpo-29755 `__: Fixed the lgettext() " -"family of functions in the gettext module. They now always return bytes." -msgstr "" - -#: ../build/NEWS:13918 ../build/NEWS:16911 -msgid "" -"`bpo-30616 `__: Functional API of enum " -"allows to create empty enums. Patched by Dong-hee Na" -msgstr "" - -#: ../build/NEWS:13921 ../build/NEWS:16914 -msgid "" -"`bpo-30038 `__: Fix race condition " -"between signal delivery and wakeup file descriptor. Patch by Nathaniel Smith." -msgstr "" - -#: ../build/NEWS:13924 ../build/NEWS:16917 -msgid "" -"`bpo-23894 `__: lib2to3 now recognizes " -"``rb'...'`` and ``f'...'`` strings." -msgstr "" - -#: ../build/NEWS:13926 -msgid "" -"`bpo-24744 `__: pkgutil.walk_packages " -"function now raises ValueError if *path* is a string. Patch by Sanyam " -"Khurana." -msgstr "" - -#: ../build/NEWS:13929 ../build/NEWS:20929 -msgid "" -"`bpo-24484 `__: Avoid race condition in " -"multiprocessing cleanup." -msgstr "" - -#: ../build/NEWS:13931 -msgid "" -"`bpo-30589 `__: Fix multiprocessing." -"Process.exitcode to return the opposite of the signal number when the " -"process is killed by a signal (instead of 255) when using the \"forkserver\" " -"method." -msgstr "" - -#: ../build/NEWS:13935 ../build/NEWS:16948 ../build/NEWS:20931 -msgid "" -"`bpo-28994 `__: The traceback no longer " -"displayed for SystemExit raised in a callback registered by atexit." -msgstr "" - -#: ../build/NEWS:13938 ../build/NEWS:16951 ../build/NEWS:20934 -msgid "" -"`bpo-30508 `__: Don't log exceptions if " -"Task/Future \"cancel()\" method was called." -msgstr "" - -#: ../build/NEWS:13941 -msgid "" -"`bpo-30645 `__: Fix path calculation in " -"`imp.load_package()`, fixing it for cases when a package is only shipped " -"with bytecodes. Patch by Alexandru Ardelean." -msgstr "" - -#: ../build/NEWS:13945 -msgid "" -"`bpo-11822 `__: The dis.dis() function " -"now is able to disassemble nested code objects." -msgstr "" - -#: ../build/NEWS:13948 -msgid "" -"`bpo-30624 `__: selectors does not take " -"KeyboardInterrupt and SystemExit into account, leaving a fd in a bad state " -"in case of error. Patch by Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:13952 ../build/NEWS:16543 -msgid "" -"`bpo-30595 `__: multiprocessing.Queue." -"get() with a timeout now polls its reader in non-blocking mode if it " -"succeeded to acquire the lock but the acquire took longer than the timeout." -msgstr "" - -#: ../build/NEWS:13956 ../build/NEWS:16954 ../build/NEWS:20937 -msgid "" -"`bpo-28556 `__: Updates to typing " -"module: Add generic AsyncContextManager, add support for ContextManager on " -"all versions. Original PRs by Jelle Zijlstra and Ivan Levkivskyi" -msgstr "" - -#: ../build/NEWS:13960 ../build/NEWS:16933 -msgid "" -"`bpo-30605 `__: re.compile() no longer " -"raises a BytesWarning when compiling a bytes instance with misplaced inline " -"modifier. Patch by Roy Williams." -msgstr "" - -#: ../build/NEWS:13963 ../build/NEWS:16958 ../build/NEWS:20941 -msgid "" -"`bpo-29870 `__: Fix ssl sockets leaks " -"when connection is aborted in asyncio/ssl implementation. Patch by Michaël " -"Sghaïer." -msgstr "" - -#: ../build/NEWS:13966 ../build/NEWS:16961 ../build/NEWS:20944 -msgid "" -"`bpo-29743 `__: Closing transport during " -"handshake process leaks open socket. Patch by Nikolay Kim" -msgstr "" - -#: ../build/NEWS:13969 ../build/NEWS:16964 ../build/NEWS:20947 -msgid "" -"`bpo-27585 `__: Fix waiter cancellation " -"in asyncio.Lock. Patch by Mathieu Sornay." -msgstr "" - -#: ../build/NEWS:13972 -msgid "" -"`bpo-30014 `__: modify() method of " -"poll(), epoll() and devpoll() based classes of selectors module is around " -"10% faster. Patch by Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:13975 ../build/NEWS:16967 ../build/NEWS:20950 -msgid "" -"`bpo-30418 `__: On Windows, subprocess." -"Popen.communicate() now also ignore EINVAL on stdin.write() if the child " -"process is still running but closed the pipe." -msgstr "" - -#: ../build/NEWS:13979 -msgid "" -"`bpo-30463 `__: Addded empty __slots__ " -"to abc.ABC. This allows subclassers to deny __dict__ and __weakref__ " -"creation. Patch by Aaron Hall." -msgstr "" - -#: ../build/NEWS:13982 -msgid "" -"`bpo-30520 `__: Loggers are now " -"pickleable." -msgstr "" - -#: ../build/NEWS:13984 ../build/NEWS:16978 -msgid "" -"`bpo-30557 `__: faulthandler now " -"correctly filters and displays exception codes on Windows" -msgstr "" - -#: ../build/NEWS:13987 -msgid "" -"`bpo-30526 `__: Add TextIOWrapper." -"reconfigure() and a TextIOWrapper.write_through attribute." -msgstr "" - -#: ../build/NEWS:13990 -msgid "" -"`bpo-30245 `__: Fix possible overflow " -"when organize struct.pack_into error message. Patch by Yuan Liu." -msgstr "" - -#: ../build/NEWS:13993 ../build/NEWS:16981 ../build/NEWS:20954 -msgid "" -"`bpo-30378 `__: Fix the problem that " -"logging.handlers.SysLogHandler cannot handle IPv6 addresses." -msgstr "" - -#: ../build/NEWS:13996 -msgid "" -"`bpo-16500 `__: Allow registering at-" -"fork handlers." -msgstr "" - -#: ../build/NEWS:13998 -msgid "" -"`bpo-30470 `__: Deprecate invalid ctypes " -"call protection on Windows. Patch by Mariatta Wijaya." -msgstr "" - -#: ../build/NEWS:14001 ../build/NEWS:16987 ../build/NEWS:20960 -msgid "" -"`bpo-30414 `__: multiprocessing.Queue." -"_feed background running thread do not break from main loop on exception." -msgstr "" - -#: ../build/NEWS:14004 ../build/NEWS:16990 ../build/NEWS:20963 -msgid "" -"`bpo-30003 `__: Fix handling escape " -"characters in HZ codec. Based on patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:14007 ../build/NEWS:16922 ../build/NEWS:20922 -msgid "" -"`bpo-30149 `__: inspect.signature() now " -"supports callables with variable-argument parameters wrapped with " -"partialmethod. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:14011 -msgid "" -"`bpo-30436 `__: importlib.find_spec() " -"raises ModuleNotFoundError instead of AttributeError if the specified parent " -"module is not a package (i.e. lacks a __path__ attribute)." -msgstr "" - -#: ../build/NEWS:14015 ../build/NEWS:16993 ../build/NEWS:20966 -msgid "" -"`bpo-30301 `__: Fix AttributeError when " -"using SimpleQueue.empty() under *spawn* and *forkserver* start methods." -msgstr "" - -#: ../build/NEWS:14018 ../build/NEWS:17000 ../build/NEWS:20973 -msgid "" -"`bpo-30375 `__: Warnings emitted when " -"compile a regular expression now always point to the line in the user code. " -"Previously they could point into inners of the re module if emitted from " -"inside of groups or conditionals." -msgstr "" - -#: ../build/NEWS:14022 ../build/NEWS:16996 ../build/NEWS:20969 -msgid "" -"`bpo-30329 `__: imaplib and poplib now " -"catch the Windows socket WSAEINVAL error (code 10022) on " -"shutdown(SHUT_RDWR): An invalid operation was attempted. This error occurs " -"sometimes on SSL connections." -msgstr "" - -#: ../build/NEWS:14026 -msgid "" -"`bpo-29196 `__: Removed previously " -"deprecated in Python 2.4 classes Plist, Dict and _InternalDict in the " -"plistlib module. Dict values in the result of functions readPlist() and " -"readPlistFromBytes() are now normal dicts. You no longer can use attribute " -"access to access items of these dictionaries." -msgstr "" - -#: ../build/NEWS:14031 -msgid "" -"`bpo-9850 `__: The :mod:`macpath` is now " -"deprecated and will be removed in Python 3.8." -msgstr "" - -#: ../build/NEWS:14034 -msgid "" -"`bpo-30299 `__: Compiling regular " -"expression in debug mode on CPython now displays the compiled bytecode in " -"human readable form." -msgstr "" - -#: ../build/NEWS:14037 ../build/NEWS:17004 ../build/NEWS:20977 -msgid "" -"`bpo-30048 `__: Fixed ``Task.cancel()`` " -"can be ignored when the task is running coroutine and the coroutine returned " -"without any more ``await``." -msgstr "" - -#: ../build/NEWS:14040 ../build/NEWS:17007 -msgid "" -"`bpo-30266 `__: contextlib." -"AbstractContextManager now supports anti-registration by setting __enter__ = " -"None or __exit__ = None, following the pattern introduced in `bpo-25958 " -"`__. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:14044 -msgid "" -"`bpo-30340 `__: Enhanced regular " -"expressions optimization. This increased the performance of matching some " -"patterns up to 25 times." -msgstr "" - -#: ../build/NEWS:14047 ../build/NEWS:17011 -msgid "" -"`bpo-30298 `__: Weaken the condition of " -"deprecation warnings for inline modifiers. Now allowed several subsequential " -"inline modifiers at the start of the pattern (e.g. ``'(?i)(?s)...'``). In " -"verbose mode whitespaces and comments now are allowed before and between " -"inline modifiers (e.g. ``'(?x) (?i) (?s)...'``)." -msgstr "" - -#: ../build/NEWS:14053 -msgid "" -"`bpo-30285 `__: Optimized case-" -"insensitive matching and searching of regular expressions." -msgstr "" - -#: ../build/NEWS:14056 ../build/NEWS:17017 ../build/NEWS:20980 -msgid "" -"`bpo-29990 `__: Fix range checking in " -"GB18030 decoder. Original patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:14059 -msgid "" -"`bpo-29979 `__: rewrite cgi." -"parse_multipart, reusing the FieldStorage class and making its results " -"consistent with those of FieldStorage for multipart/form-data requests. " -"Patch by Pierre Quentel." -msgstr "" - -#: ../build/NEWS:14063 ../build/NEWS:17023 ../build/NEWS:20986 -msgid "" -"`bpo-30243 `__: Removed the __init__ " -"methods of _json's scanner and encoder. Misusing them could cause memory " -"leaks or crashes. Now scanner and encoder objects are completely " -"initialized in the __new__ methods." -msgstr "" - -#: ../build/NEWS:14067 -msgid "" -"`bpo-30215 `__: Compiled regular " -"expression objects with the re.LOCALE flag no longer depend on the locale at " -"compile time. Only the locale at matching time affects the result of " -"matching." -msgstr "" - -#: ../build/NEWS:14071 ../build/NEWS:17027 ../build/NEWS:20990 -msgid "" -"`bpo-30185 `__: Avoid KeyboardInterrupt " -"tracebacks in forkserver helper process when Ctrl-C is received." -msgstr "" - -#: ../build/NEWS:14074 -msgid "" -"`bpo-30103 `__: binascii.b2a_uu() and uu." -"encode() now support using ``'`'`` as zero instead of space." -msgstr "" - -#: ../build/NEWS:14077 ../build/NEWS:17030 ../build/NEWS:20993 -msgid "" -"`bpo-28556 `__: Various updates to " -"typing module: add typing.NoReturn type, use WrapperDescriptorType, minor " -"bug-fixes. Original PRs by Jim Fasarakis-Hilliard and Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:14081 ../build/NEWS:17034 ../build/NEWS:20997 -msgid "" -"`bpo-30205 `__: Fix getsockname() for " -"unbound AF_UNIX sockets on Linux." -msgstr "" - -#: ../build/NEWS:14083 -msgid "" -"`bpo-30228 `__: The seek() and tell() " -"methods of io.FileIO now set the internal seekable attribute to avoid one " -"syscall on open() (in buffered or text mode)." -msgstr "" - -#: ../build/NEWS:14087 -msgid "" -"`bpo-30190 `__: unittest's " -"assertAlmostEqual and assertNotAlmostEqual provide a better message in case " -"of failure which includes the difference between left and right arguments. " -"(patch by Giampaolo Rodola')" -msgstr "" - -#: ../build/NEWS:14091 -msgid "" -"`bpo-30101 `__: Add support for curses." -"A_ITALIC." -msgstr "" - -#: ../build/NEWS:14093 ../build/NEWS:16971 -msgid "" -"`bpo-29822 `__: inspect.isabstract() now " -"works during __init_subclass__. Patch by Nate Soares." -msgstr "" - -#: ../build/NEWS:14096 ../build/NEWS:16984 ../build/NEWS:20957 -msgid "" -"`bpo-29960 `__: Preserve generator state " -"when _random.Random.setstate() raises an exception. Patch by Bryan Olson." -msgstr "" - -#: ../build/NEWS:14099 ../build/NEWS:17036 ../build/NEWS:20999 -msgid "" -"`bpo-30070 `__: Fixed leaks and crashes " -"in errors handling in the parser module." -msgstr "" - -#: ../build/NEWS:14102 -msgid "" -"`bpo-22352 `__: Column widths in the " -"output of dis.dis() are now adjusted for large line numbers and instruction " -"offsets." -msgstr "" - -#: ../build/NEWS:14105 ../build/NEWS:17039 ../build/NEWS:21002 -msgid "" -"`bpo-30061 `__: Fixed crashes in IOBase " -"methods __next__() and readlines() when readline() or __next__() " -"respectively return non-sizeable object. Fixed possible other errors caused " -"by not checking results of PyObject_Size(), PySequence_Size(), or " -"PyMapping_Size()." -msgstr "" - -#: ../build/NEWS:14110 -msgid "" -"`bpo-30218 `__: Fix PathLike support for " -"shutil.unpack_archive. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:14113 -msgid "" -"`bpo-10076 `__: Compiled regular " -"expression and match objects in the re module now support copy.copy() and " -"copy.deepcopy() (they are considered atomic)." -msgstr "" - -#: ../build/NEWS:14116 ../build/NEWS:17048 ../build/NEWS:21007 -msgid "" -"`bpo-30068 `__: _io._IOBase.readlines " -"will check if it's closed first when hint is present." -msgstr "" - -#: ../build/NEWS:14119 ../build/NEWS:17051 ../build/NEWS:21010 -msgid "" -"`bpo-29694 `__: Fixed race condition in " -"pathlib mkdir with flags parents=True. Patch by Armin Rigo." -msgstr "" - -#: ../build/NEWS:14122 ../build/NEWS:17054 ../build/NEWS:21013 -msgid "" -"`bpo-29692 `__: Fixed arbitrary " -"unchaining of RuntimeError exceptions in contextlib.contextmanager. Patch " -"by Siddharth Velankar." -msgstr "" - -#: ../build/NEWS:14125 -msgid "" -"`bpo-26187 `__: Test that sqlite3 trace " -"callback is not called multiple times when schema is changing. Indirectly " -"fixed by switching to use sqlite3_prepare_v2() in `bpo-9303 `__. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:14129 ../build/NEWS:17044 -msgid "" -"`bpo-30017 `__: Allowed calling the " -"close() method of the zip entry writer object multiple times. Writing to a " -"closed writer now always produces a ValueError." -msgstr "" - -#: ../build/NEWS:14133 ../build/NEWS:17057 ../build/NEWS:21016 -msgid "" -"`bpo-29998 `__: Pickling and copying " -"ImportError now preserves name and path attributes." -msgstr "" - -#: ../build/NEWS:14136 -msgid "" -"`bpo-29995 `__: re.escape() now escapes " -"only regex special characters." -msgstr "" - -#: ../build/NEWS:14138 -msgid "" -"`bpo-29962 `__: Add math.remainder " -"operation, implementing remainder as specified in IEEE 754." -msgstr "" - -#: ../build/NEWS:14141 -msgid "" -"`bpo-29649 `__: Improve struct." -"pack_into() exception messages for problems with the buffer size and " -"offset. Patch by Andrew Nester." -msgstr "" - -#: ../build/NEWS:14144 -msgid "" -"`bpo-29654 `__: Support If-Modified-" -"Since HTTP header (browser cache). Patch by Pierre Quentel." -msgstr "" - -#: ../build/NEWS:14147 ../build/NEWS:16930 ../build/NEWS:20926 -msgid "" -"`bpo-29931 `__: Fixed comparison check " -"for ipaddress.ip_interface objects. Patch by Sanjay Sundaresan." -msgstr "" - -#: ../build/NEWS:14150 ../build/NEWS:17060 -msgid "" -"`bpo-29953 `__: Fixed memory leaks in " -"the replace() method of datetime and time objects when pass out of bound " -"fold argument." -msgstr "" - -#: ../build/NEWS:14153 ../build/NEWS:17063 ../build/NEWS:21019 -msgid "" -"`bpo-29942 `__: Fix a crash in itertools." -"chain.from_iterable when encountering long runs of empty iterables." -msgstr "" - -#: ../build/NEWS:14156 -msgid "" -"`bpo-10030 `__: Sped up reading " -"encrypted ZIP files by 2 times." -msgstr "" - -#: ../build/NEWS:14158 -msgid "" -"`bpo-29204 `__: Element.getiterator() " -"and the html parameter of XMLParser() were deprecated only in the " -"documentation (since Python 3.2 and 3.4 correspondingly). Now using them " -"emits a deprecation warning." -msgstr "" - -#: ../build/NEWS:14162 ../build/NEWS:17066 ../build/NEWS:21022 -msgid "" -"`bpo-27863 `__: Fixed multiple crashes " -"in ElementTree caused by race conditions and wrong types." -msgstr "" - -#: ../build/NEWS:14165 -msgid "" -"`bpo-25996 `__: Added support of file " -"descriptors in os.scandir() on Unix. os.fwalk() is sped up by 2 times by " -"using os.scandir()." -msgstr "" - -#: ../build/NEWS:14168 ../build/NEWS:17069 ../build/NEWS:21025 -msgid "" -"`bpo-28699 `__: Fixed a bug in pools in " -"multiprocessing.pool that raising an exception at the very first of an " -"iterable may swallow the exception or make the program hang. Patch by Davin " -"Potts and Xiang Zhang." -msgstr "" - -#: ../build/NEWS:14172 ../build/NEWS:16919 ../build/NEWS:20919 -msgid "" -"`bpo-23890 `__: unittest.TestCase." -"assertRaises() now manually breaks a reference cycle to not keep objects " -"alive longer than expected." -msgstr "" - -#: ../build/NEWS:14175 -msgid "" -"`bpo-29901 `__: The zipapp module now " -"supports general path-like objects, not just pathlib.Path." -msgstr "" - -#: ../build/NEWS:14178 ../build/NEWS:17073 ../build/NEWS:21029 -msgid "" -"`bpo-25803 `__: Avoid incorrect errors " -"raised by Path.mkdir(exist_ok=True) when the OS gives priority to errors " -"such as EACCES over EEXIST." -msgstr "" - -#: ../build/NEWS:14181 ../build/NEWS:17076 ../build/NEWS:21032 -msgid "" -"`bpo-29861 `__: Release references to " -"tasks, their arguments and their results as soon as they are finished in " -"multiprocessing.Pool." -msgstr "" - -#: ../build/NEWS:14184 -msgid "" -"`bpo-19930 `__: The mode argument of os." -"makedirs() no longer affects the file permission bits of newly-created " -"intermediate-level directories." -msgstr "" - -#: ../build/NEWS:14187 ../build/NEWS:17079 ../build/NEWS:21035 -msgid "" -"`bpo-29884 `__: faulthandler: Restore " -"the old sigaltstack during teardown. Patch by Christophe Zeitouny." -msgstr "" - -#: ../build/NEWS:14190 ../build/NEWS:17082 ../build/NEWS:21038 -msgid "" -"`bpo-25455 `__: Fixed crashes in repr of " -"recursive buffered file-like objects." -msgstr "" - -#: ../build/NEWS:14192 ../build/NEWS:17084 ../build/NEWS:21040 -msgid "" -"`bpo-29800 `__: Fix crashes in partial." -"__repr__ if the keys of partial.keywords are not strings. Patch by Michael " -"Seifert." -msgstr "" - -#: ../build/NEWS:14195 ../build/NEWS:17090 ../build/NEWS:21046 -msgid "" -"`bpo-8256 `__: Fixed possible failing or " -"crashing input() if attributes \"encoding\" or \"errors\" of sys.stdin or " -"sys.stdout are not set or are not strings." -msgstr "" - -#: ../build/NEWS:14199 -msgid "" -"`bpo-28692 `__: Using non-integer value " -"for selecting a plural form in gettext is now deprecated." -msgstr "" - -#: ../build/NEWS:14202 -msgid "" -"`bpo-26121 `__: Use C library " -"implementation for math functions erf() and erfc()." -msgstr "" - -#: ../build/NEWS:14205 -msgid "" -"`bpo-29619 `__: os.stat() and os." -"DirEntry.inode() now convert inode (st_ino) using unsigned integers." -msgstr "" - -#: ../build/NEWS:14208 -msgid "" -"`bpo-28298 `__: Fix a bug that prevented " -"array 'Q', 'L' and 'I' from accepting big intables (objects that have " -"__int__) as elements." -msgstr "" - -#: ../build/NEWS:14211 -msgid "" -"`bpo-29645 `__: Speed up importing the " -"webbrowser module. webbrowser.register() is now thread-safe." -msgstr "" - -#: ../build/NEWS:14214 ../build/NEWS:17098 -msgid "" -"`bpo-28231 `__: The zipfile module now " -"accepts path-like objects for external paths." -msgstr "" - -#: ../build/NEWS:14217 ../build/NEWS:17101 -msgid "" -"`bpo-26915 `__: index() and count() " -"methods of collections.abc.Sequence now check identity before checking " -"equality when do comparisons." -msgstr "" - -#: ../build/NEWS:14220 -msgid "" -"`bpo-28682 `__: Added support for bytes " -"paths in os.fwalk()." -msgstr "" - -#: ../build/NEWS:14222 -msgid "" -"`bpo-29728 `__: Add new :data:`socket." -"TCP_NOTSENT_LOWAT` (Linux 3.12) constant. Patch by Nathaniel J. Smith." -msgstr "" - -#: ../build/NEWS:14225 ../build/NEWS:17310 -msgid "" -"`bpo-29623 `__: Allow use of path-like " -"object as a single argument in ConfigParser.read(). Patch by David Ellis." -msgstr "" - -#: ../build/NEWS:14228 -msgid "" -"`bpo-9303 `__: Migrate sqlite3 module to " -"_v2 API. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:14230 ../build/NEWS:17313 -msgid "" -"`bpo-28963 `__: Fix out of bound " -"iteration in asyncio.Future.remove_done_callback implemented in C." -msgstr "" - -#: ../build/NEWS:14233 ../build/NEWS:17316 ../build/NEWS:21058 -msgid "" -"`bpo-29704 `__: asyncio.subprocess." -"SubprocessStreamProtocol no longer closes before all pipes are closed." -msgstr "" - -#: ../build/NEWS:14236 ../build/NEWS:17319 -msgid "" -"`bpo-29271 `__: Fix Task.current_task " -"and Task.all_tasks implemented in C to accept None argument as their pure " -"Python implementation." -msgstr "" - -#: ../build/NEWS:14239 ../build/NEWS:17322 ../build/NEWS:21061 -msgid "" -"`bpo-29703 `__: Fix asyncio to support " -"instantiation of new event loops in child processes." -msgstr "" - -#: ../build/NEWS:14242 ../build/NEWS:17104 ../build/NEWS:21054 -msgid "" -"`bpo-29615 `__: SimpleXMLRPCDispatcher " -"no longer chains KeyError (or any other exception) to exception(s) raised in " -"the dispatched methods. Patch by Petr Motejlek." -msgstr "" - -#: ../build/NEWS:14246 -msgid "" -"`bpo-7769 `__: Method register_function() " -"of xmlrpc.server.SimpleXMLRPCDispatcher and its subclasses can now be used " -"as a decorator." -msgstr "" - -#: ../build/NEWS:14250 ../build/NEWS:17325 ../build/NEWS:21064 -msgid "" -"`bpo-29376 `__: Fix assertion error in " -"threading._DummyThread.is_alive()." -msgstr "" - -#: ../build/NEWS:14252 ../build/NEWS:17327 -msgid "" -"`bpo-28624 `__: Add a test that checks " -"that cwd parameter of Popen() accepts PathLike objects. Patch by Sayan " -"Chowdhury." -msgstr "" - -#: ../build/NEWS:14255 ../build/NEWS:17330 -msgid "" -"`bpo-28518 `__: Start a transaction " -"implicitly before a DML statement. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:14258 ../build/NEWS:17087 ../build/NEWS:21043 -msgid "" -"`bpo-29742 `__: get_extra_info() raises " -"exception if get called on closed ssl transport. Patch by Nikolay Kim." -msgstr "" - -#: ../build/NEWS:14261 -msgid "" -"`bpo-16285 `__: urllib.parse.quote is " -"now based on RFC 3986 and hence includes '~' in the set of characters that " -"is not quoted by default. Patch by Christian Theune and Ratnadeep Debnath." -msgstr "" - -#: ../build/NEWS:14265 ../build/NEWS:17333 ../build/NEWS:21072 -msgid "" -"`bpo-29532 `__: Altering a kwarg " -"dictionary passed to functools.partial() no longer affects a partial object " -"after creation." -msgstr "" - -#: ../build/NEWS:14268 ../build/NEWS:17336 ../build/NEWS:21066 -msgid "" -"`bpo-29110 `__: Fix file object leak in " -"aifc.open() when file is given as a filesystem path and is not in valid AIFF " -"format. Patch by Anthony Zhang." -msgstr "" - -#: ../build/NEWS:14271 -msgid "" -"`bpo-22807 `__: Add uuid.SafeUUID and " -"uuid.UUID.is_safe to relay information from the platform about whether " -"generated UUIDs are generated with a multiprocessing safe method." -msgstr "" - -#: ../build/NEWS:14275 -msgid "" -"`bpo-29576 `__: Improve some " -"deprecations in importlib. Some deprecated methods now emit " -"DeprecationWarnings and have better descriptive messages." -msgstr "" - -#: ../build/NEWS:14278 -msgid "" -"`bpo-29534 `__: Fixed different " -"behaviour of Decimal.from_float() for _decimal and _pydecimal. Thanks Andrew " -"Nester." -msgstr "" - -#: ../build/NEWS:14281 -msgid "" -"`bpo-10379 `__: locale.format_string now " -"supports the 'monetary' keyword argument, and locale.format is deprecated." -msgstr "" - -#: ../build/NEWS:14284 -msgid "" -"`bpo-29851 `__: importlib.reload() now " -"raises ModuleNotFoundError if the module lacks a spec." -msgstr "" - -#: ../build/NEWS:14287 ../build/NEWS:17339 ../build/NEWS:21075 -msgid "" -"`bpo-28556 `__: Various updates to " -"typing module: typing.Counter, typing.ChainMap, improved ABC caching, etc. " -"Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel Krebber, and Łukasz " -"Langa." -msgstr "" - -#: ../build/NEWS:14291 ../build/NEWS:17343 ../build/NEWS:21079 -msgid "" -"`bpo-29100 `__: Fix datetime." -"fromtimestamp() regression introduced in Python 3.6.0: check minimum and " -"maximum years." -msgstr "" - -#: ../build/NEWS:14294 ../build/NEWS:17349 ../build/NEWS:21085 -msgid "" -"`bpo-29416 `__: Prevent infinite loop in " -"pathlib.Path.mkdir" -msgstr "" - -#: ../build/NEWS:14296 ../build/NEWS:17351 ../build/NEWS:21087 -msgid "" -"`bpo-29444 `__: Fixed out-of-bounds " -"buffer access in the group() method of the match object. Based on patch by " -"WGH." -msgstr "" - -#: ../build/NEWS:14299 -msgid "" -"`bpo-29377 `__: Add " -"WrapperDescriptorType, MethodWrapperType, and MethodDescriptorType built-in " -"types to types module. Original patch by Manuel Krebber." -msgstr "" - -#: ../build/NEWS:14303 -msgid "" -"`bpo-29218 `__: Unused install_misc " -"command is now removed. It has been documented as unused since 2000. Patch " -"by Eric N. Vander Weele." -msgstr "" - -#: ../build/NEWS:14306 -msgid "" -"`bpo-29368 `__: The extend() method is " -"now called instead of the append() method when unpickle collections.deque " -"and other list-like objects. This can speed up unpickling to 2 times." -msgstr "" - -#: ../build/NEWS:14310 -msgid "" -"`bpo-29338 `__: The help of a builtin or " -"extension class now includes the constructor signature if __text_signature__ " -"is provided for the class." -msgstr "" - -#: ../build/NEWS:14313 ../build/NEWS:17354 ../build/NEWS:21090 -msgid "" -"`bpo-29335 `__: Fix subprocess.Popen." -"wait() when the child process has exited to a stopped instead of terminated " -"state (ex: when under ptrace)." -msgstr "" - -#: ../build/NEWS:14316 ../build/NEWS:17357 ../build/NEWS:21093 -msgid "" -"`bpo-29290 `__: Fix a regression in " -"argparse that help messages would wrap at non-breaking spaces." -msgstr "" - -#: ../build/NEWS:14319 ../build/NEWS:17360 ../build/NEWS:21096 -msgid "" -"`bpo-28735 `__: Fixed the comparison of " -"mock.MagickMock with mock.ANY." -msgstr "" - -#: ../build/NEWS:14321 -msgid "" -"`bpo-29197 `__: Removed deprecated " -"function ntpath.splitunc()." -msgstr "" - -#: ../build/NEWS:14323 -msgid "" -"`bpo-29210 `__: Removed support of " -"deprecated argument \"exclude\" in tarfile.TarFile.add()." -msgstr "" - -#: ../build/NEWS:14326 ../build/NEWS:17365 ../build/NEWS:21100 -msgid "" -"`bpo-29219 `__: Fixed infinite recursion " -"in the repr of uninitialized ctypes.CDLL instances." -msgstr "" - -#: ../build/NEWS:14329 -msgid "" -"`bpo-29192 `__: Removed deprecated " -"features in the http.cookies module." -msgstr "" - -#: ../build/NEWS:14331 -msgid "" -"`bpo-29193 `__: A format string argument " -"for string.Formatter.format() is now positional-only." -msgstr "" - -#: ../build/NEWS:14334 -msgid "" -"`bpo-29195 `__: Removed support of " -"deprecated undocumented keyword arguments in methods of regular expression " -"objects." -msgstr "" - -#: ../build/NEWS:14337 ../build/NEWS:17370 ../build/NEWS:21103 -msgid "" -"`bpo-28969 `__: Fixed race condition in " -"C implementation of functools.lru_cache. KeyError could be raised when " -"cached function with full cache was simultaneously called from different " -"threads with the same uncached arguments." -msgstr "" - -#: ../build/NEWS:14342 -msgid "" -"`bpo-20804 `__: The unittest.mock." -"sentinel attributes now preserve their identity when they are copied or " -"pickled." -msgstr "" - -#: ../build/NEWS:14345 ../build/NEWS:17375 ../build/NEWS:21108 -msgid "" -"`bpo-29142 `__: In urllib.request, " -"suffixes in no_proxy environment variable with leading dots could match " -"related hostnames again (e.g. .b.c matches a.b.c). Patch by Milan Oberkirch." -msgstr "" - -#: ../build/NEWS:14349 ../build/NEWS:17379 ../build/NEWS:21069 -msgid "" -"`bpo-28961 `__: Fix unittest.mock._Call " -"helper: don't ignore the name parameter anymore. Patch written by Jiajun " -"Huang." -msgstr "" - -#: ../build/NEWS:14352 ../build/NEWS:17386 ../build/NEWS:21352 -msgid "" -"`bpo-15812 `__: inspect.getframeinfo() " -"now correctly shows the first line of a context. Patch by Sam Breese." -msgstr "" - -#: ../build/NEWS:14355 -msgid "" -"`bpo-28985 `__: Update authorizer " -"constants in sqlite3 module. Patch by Dingyuan Wang." -msgstr "" - -#: ../build/NEWS:14358 ../build/NEWS:17398 -msgid "" -"`bpo-29079 `__: Prevent infinite loop in " -"pathlib.resolve() on Windows" -msgstr "" - -#: ../build/NEWS:14360 ../build/NEWS:17400 ../build/NEWS:21358 -msgid "" -"`bpo-13051 `__: Fixed recursion errors " -"in large or resized curses.textpad.Textbox. Based on patch by Tycho " -"Andersen." -msgstr "" - -#: ../build/NEWS:14363 ../build/NEWS:17407 ../build/NEWS:21365 -msgid "" -"`bpo-9770 `__: curses.ascii predicates " -"now work correctly with negative integers." -msgstr "" - -#: ../build/NEWS:14366 ../build/NEWS:17410 ../build/NEWS:21368 -msgid "" -"`bpo-28427 `__: old keys should not " -"remove new values from WeakValueDictionary when collecting from another " -"thread." -msgstr "" - -#: ../build/NEWS:14369 ../build/NEWS:17413 ../build/NEWS:21371 -msgid "" -"`bpo-28923 `__: Remove editor artifacts " -"from Tix.py." -msgstr "" - -#: ../build/NEWS:14371 ../build/NEWS:17418 ../build/NEWS:21373 -msgid "" -"`bpo-28871 `__: Fixed a crash when " -"deallocate deep ElementTree." -msgstr "" - -#: ../build/NEWS:14373 ../build/NEWS:17420 ../build/NEWS:21375 -msgid "" -"`bpo-19542 `__: Fix bugs in " -"WeakValueDictionary.setdefault() and WeakValueDictionary.pop() when a GC " -"collection happens in another thread." -msgstr "" - -#: ../build/NEWS:14376 ../build/NEWS:17423 -msgid "" -"`bpo-20191 `__: Fixed a crash in " -"resource.prlimit() when passing a sequence that doesn't own its elements as " -"limits." -msgstr "" - -#: ../build/NEWS:14379 -msgid "" -"`bpo-16255 `__: subprocess.Popen uses /" -"system/bin/sh on Android as the shell, instead of /bin/sh." -msgstr "" - -#: ../build/NEWS:14382 ../build/NEWS:17426 ../build/NEWS:21381 -msgid "" -"`bpo-28779 `__: multiprocessing." -"set_forkserver_preload() would crash the forkserver process if a preloaded " -"module instantiated some multiprocessing objects such as locks." -msgstr "" - -#: ../build/NEWS:14386 ../build/NEWS:17433 -msgid "" -"`bpo-26937 `__: The chown() method of " -"the tarfile.TarFile class does not fail now when the grp module cannot be " -"imported, as for example on Android platforms." -msgstr "" - -#: ../build/NEWS:14390 -msgid "" -"`bpo-28847 `__: dbm.dumb now supports " -"reading read-only files and no longer writes the index file when it is not " -"changed. A deprecation warning is now emitted if the index file is missed " -"and recreated in the 'r' and 'w' modes (will be an error in future Python " -"releases)." -msgstr "" - -#: ../build/NEWS:14395 -msgid "" -"`bpo-27030 `__: Unknown escapes " -"consisting of ``'\\'`` and an ASCII letter in re.sub() replacement templates " -"regular expressions now are errors." -msgstr "" - -#: ../build/NEWS:14398 ../build/NEWS:17614 -msgid "" -"`bpo-28835 `__: Fix a regression " -"introduced in warnings.catch_warnings(): call warnings.showwarning() if it " -"was overridden inside the context manager." -msgstr "" - -#: ../build/NEWS:14401 ../build/NEWS:17617 -msgid "" -"`bpo-27172 `__: To assist with upgrades " -"from 2.7, the previously documented deprecation of ``inspect." -"getfullargspec()`` has been reversed. This decision may be revisited again " -"after the Python 2.7 branch is no longer officially supported." -msgstr "" - -#: ../build/NEWS:14406 -msgid "" -"`bpo-28740 `__: Add sys." -"getandroidapilevel(): return the build time API version of Android as an " -"integer. Function only available on Android." -msgstr "" - -#: ../build/NEWS:14409 ../build/NEWS:17622 -msgid "" -"`bpo-26273 `__: Add new :data:`socket." -"TCP_CONGESTION` (Linux 2.6.13) and :data:`socket.TCP_USER_TIMEOUT` (Linux " -"2.6.37) constants. Patch written by Omar Sandoval." -msgstr "" - -#: ../build/NEWS:14413 ../build/NEWS:17693 -msgid "" -"`bpo-28752 `__: Restored the " -"__reduce__() methods of datetime objects." -msgstr "" - -#: ../build/NEWS:14415 ../build/NEWS:17695 -msgid "" -"`bpo-28727 `__: Regular expression " -"patterns, _sre.SRE_Pattern objects created by re.compile(), become " -"comparable (only x==y and x!=y operators). This change should fix the " -"`bpo-18383 `__: don't duplicate warning " -"filters when the warnings module is reloaded (thing usually only done in " -"unit tests)." -msgstr "" - -#: ../build/NEWS:14420 -msgid "" -"`bpo-20572 `__: Remove the subprocess." -"Popen.wait endtime parameter. It was deprecated in 3.4 and undocumented " -"prior to that." -msgstr "" - -#: ../build/NEWS:14423 ../build/NEWS:17703 ../build/NEWS:21388 -msgid "" -"`bpo-25659 `__: In ctypes, prevent a " -"crash calling the from_buffer() and from_buffer_copy() methods on abstract " -"classes like Array." -msgstr "" - -#: ../build/NEWS:14426 -msgid "" -"`bpo-28548 `__: In the \"http.server\" " -"module, parse the protocol version if possible, to avoid using HTTP 0.9 in " -"some error responses." -msgstr "" - -#: ../build/NEWS:14429 ../build/NEWS:17706 -msgid "" -"`bpo-19717 `__: Makes Path.resolve() " -"succeed on paths that do not exist. Patch by Vajrasky Kok" -msgstr "" - -#: ../build/NEWS:14432 ../build/NEWS:17709 -msgid "" -"`bpo-28563 `__: Fixed possible DoS and " -"arbitrary code execution when handle plural form selections in the gettext " -"module. The expression parser now supports exact syntax supported by GNU " -"gettext." -msgstr "" - -#: ../build/NEWS:14436 ../build/NEWS:17713 ../build/NEWS:21397 -msgid "" -"`bpo-28387 `__: Fixed possible crash in " -"_io.TextIOWrapper deallocator when the garbage collector is invoked in other " -"thread. Based on patch by Sebastian Cufre." -msgstr "" - -#: ../build/NEWS:14440 ../build/NEWS:17796 ../build/NEWS:21401 -msgid "" -"`bpo-27517 `__: LZMA compressor and " -"decompressor no longer raise exceptions if given empty data twice. Patch by " -"Benjamin Fogle." -msgstr "" - -#: ../build/NEWS:14443 ../build/NEWS:17799 ../build/NEWS:21404 -msgid "" -"`bpo-28549 `__: Fixed segfault in " -"curses's addch() with ncurses6." -msgstr "" - -#: ../build/NEWS:14445 ../build/NEWS:17801 ../build/NEWS:21406 -msgid "" -"`bpo-28449 `__: tarfile.open() with mode " -"\"r\" or \"r:\" now tries to open a tar file with compression before trying " -"to open it without compression. Otherwise it had 50% chance failed with " -"ignore_zeros=True." -msgstr "" - -#: ../build/NEWS:14449 ../build/NEWS:17805 ../build/NEWS:21410 -msgid "" -"`bpo-23262 `__: The webbrowser module " -"now supports Firefox 36+ and derived browsers. Based on patch by Oleg " -"Broytman." -msgstr "" - -#: ../build/NEWS:14452 -msgid "" -"`bpo-24241 `__: The webbrowser in an X " -"environment now prefers using the default browser directly. Also, the " -"webbrowser register() function now has a documented 'preferred' argument, to " -"specify browsers to be returned by get() with no arguments. Patch by David " -"Steele" -msgstr "" - -#: ../build/NEWS:14457 ../build/NEWS:17808 ../build/NEWS:21413 -msgid "" -"`bpo-27939 `__: Fixed bugs in tkinter." -"ttk.LabeledScale and tkinter.Scale caused by representing the scale as float " -"value internally in Tk. tkinter.IntVar now works if float value is set to " -"underlying Tk variable." -msgstr "" - -#: ../build/NEWS:14461 -msgid "" -"`bpo-28255 `__: calendar.TextCalendar." -"prweek() no longer prints a space after a weeks's calendar. calendar." -"TextCalendar.pryear() no longer prints redundant newline after a year's " -"calendar. Based on patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:14465 -msgid "" -"`bpo-28255 `__: calendar.TextCalendar." -"prmonth() no longer prints a space at the start of new line after printing a " -"month's calendar. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:14469 ../build/NEWS:17819 ../build/NEWS:21421 -msgid "" -"`bpo-20491 `__: The textwrap.TextWrapper " -"class now honors non-breaking spaces. Based on patch by Kaarle Ritvanen." -msgstr "" - -#: ../build/NEWS:14472 ../build/NEWS:17822 ../build/NEWS:21424 -msgid "" -"`bpo-28353 `__: os.fwalk() no longer " -"fails on broken links." -msgstr "" - -#: ../build/NEWS:14474 ../build/NEWS:17824 -msgid "" -"`bpo-28430 `__: Fix iterator of C " -"implemented asyncio.Future doesn't accept non-None value is passed to it." -"send(val)." -msgstr "" - -#: ../build/NEWS:14477 ../build/NEWS:17827 -msgid "" -"`bpo-27025 `__: Generated names for " -"Tkinter widgets now start by the \"!\" prefix for readability." -msgstr "" - -#: ../build/NEWS:14480 ../build/NEWS:17830 ../build/NEWS:21426 -msgid "" -"`bpo-25464 `__: Fixed HList." -"header_exists() in tkinter.tix module by addin a workaround to Tix library " -"bug." -msgstr "" - -#: ../build/NEWS:14483 ../build/NEWS:17833 -msgid "" -"`bpo-28488 `__: shutil.make_archive() no " -"longer adds entry \"./\" to ZIP archive." -msgstr "" - -#: ../build/NEWS:14485 ../build/NEWS:17835 -msgid "" -"`bpo-25953 `__: re.sub() now raises an " -"error for invalid numerical group reference in replacement template even if " -"the pattern is not found in the string. Error message for invalid group " -"reference now includes the group index and the position of the reference. " -"Based on patch by SilentGhost." -msgstr "" - -#: ../build/NEWS:14490 -msgid "" -"`bpo-28469 `__: timeit now uses the " -"sequence 1, 2, 5, 10, 20, 50,... instead of 1, 10, 100,... for autoranging." -msgstr "" - -#: ../build/NEWS:14493 -msgid "" -"`bpo-28115 `__: Command-line interface " -"of the zipfile module now uses argparse. Added support of long options." -msgstr "" - -#: ../build/NEWS:14496 ../build/NEWS:17840 -msgid "" -"`bpo-18219 `__: Optimize csv.DictWriter " -"for large number of columns. Patch by Mariatta Wijaya." -msgstr "" - -#: ../build/NEWS:14499 ../build/NEWS:17843 -msgid "" -"`bpo-28448 `__: Fix C implemented " -"asyncio.Future didn't work on Windows." -msgstr "" - -#: ../build/NEWS:14501 -msgid "" -"`bpo-23214 `__: In the \"io\" module, " -"the argument to BufferedReader and BytesIO's read1() methods is now optional " -"and can be -1, matching the BufferedIOBase specification." -msgstr "" - -#: ../build/NEWS:14505 ../build/NEWS:17845 -msgid "" -"`bpo-28480 `__: Fix error building " -"socket module when multithreading is disabled." -msgstr "" - -#: ../build/NEWS:14508 -msgid "" -"`bpo-28240 `__: timeit: remove ``-c/--" -"clock`` and ``-t/--time`` command line options which were deprecated since " -"Python 3.3." -msgstr "" - -#: ../build/NEWS:14511 -msgid "" -"`bpo-28240 `__: timeit now repeats the " -"benchmarks 5 times instead of only 3 to make benchmarks more reliable." -msgstr "" - -#: ../build/NEWS:14514 -msgid "" -"`bpo-28240 `__: timeit autorange now " -"uses a single loop iteration if the benchmark takes less than 10 seconds, " -"instead of 10 iterations. \"python3 -m timeit -s 'import time' 'time." -"sleep(1)'\" now takes 4 seconds instead of 40 seconds." -msgstr "" - -#: ../build/NEWS:14519 -msgid "" -"Distutils.sdist now looks for README and setup.py files with case " -"sensitivity. This behavior matches that found in Setuptools 6.0 and later. " -"See `setuptools 100 `_ for " -"rationale." -msgstr "" - -#: ../build/NEWS:14524 -msgid "" -"`bpo-24452 `__: Make webbrowser support " -"Chrome on Mac OS X. Patch by Ned Batchelder." -msgstr "" - -#: ../build/NEWS:14527 ../build/NEWS:17850 ../build/NEWS:21433 -msgid "" -"`bpo-20766 `__: Fix references leaked by " -"pdb in the handling of SIGINT handlers." -msgstr "" - -#: ../build/NEWS:14530 ../build/NEWS:17966 -msgid "" -"`bpo-27998 `__: Fixed bytes path support " -"in os.scandir() on Windows. Patch by Eryk Sun." -msgstr "" - -#: ../build/NEWS:14533 ../build/NEWS:17969 -msgid "" -"`bpo-28317 `__: The disassembler now " -"decodes FORMAT_VALUE argument." -msgstr "" - -#: ../build/NEWS:14535 ../build/NEWS:17975 -msgid "" -"`bpo-28380 `__: unittest.mock Mock " -"autospec functions now properly support assert_called, assert_not_called, " -"and assert_called_once." -msgstr "" - -#: ../build/NEWS:14538 ../build/NEWS:17980 -msgid "" -"`bpo-28229 `__: lzma module now supports " -"pathlib." -msgstr "" - -#: ../build/NEWS:14540 ../build/NEWS:17982 ../build/NEWS:21440 -msgid "" -"`bpo-28321 `__: Fixed writing non-BMP " -"characters with binary format in plistlib." -msgstr "" - -#: ../build/NEWS:14543 ../build/NEWS:17985 -msgid "" -"`bpo-28225 `__: bz2 module now supports " -"pathlib. Initial patch by Ethan Furman." -msgstr "" - -#: ../build/NEWS:14546 ../build/NEWS:17988 -msgid "" -"`bpo-28227 `__: gzip now supports " -"pathlib. Patch by Ethan Furman." -msgstr "" - -#: ../build/NEWS:14548 -msgid "" -"`bpo-28332 `__: Deprecated silent " -"truncations in socket.htons and socket.ntohs. Original patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:14551 ../build/NEWS:17990 -msgid "" -"`bpo-27358 `__: Optimized merging var-" -"keyword arguments and improved error message when passing a non-mapping as a " -"var-keyword argument." -msgstr "" - -#: ../build/NEWS:14554 ../build/NEWS:17993 -msgid "" -"`bpo-28257 `__: Improved error message " -"when passing a non-iterable as a var-positional argument. Added opcode " -"BUILD_TUPLE_UNPACK_WITH_CALL." -msgstr "" - -#: ../build/NEWS:14557 ../build/NEWS:17996 ../build/NEWS:21443 -msgid "" -"`bpo-28322 `__: Fixed possible crashes " -"when unpickle itertools objects from incorrect pickle data. Based on patch " -"by John Leitch." -msgstr "" - -#: ../build/NEWS:14560 ../build/NEWS:17999 -msgid "" -"`bpo-28228 `__: imghdr now supports " -"pathlib." -msgstr "" - -#: ../build/NEWS:14562 ../build/NEWS:18001 -msgid "" -"`bpo-28226 `__: compileall now supports " -"pathlib." -msgstr "" - -#: ../build/NEWS:14564 ../build/NEWS:18003 -msgid "" -"`bpo-28314 `__: Fix function declaration " -"(C flags) for the getiterator() method of xml.etree.ElementTree.Element." -msgstr "" - -#: ../build/NEWS:14567 ../build/NEWS:18006 -msgid "" -"`bpo-28148 `__: Stop using localtime() " -"and gmtime() in the time module. Introduced platform independent " -"_PyTime_localtime API that is similar to POSIX localtime_r, but available on " -"all platforms. Patch by Ed Schouten." -msgstr "" - -#: ../build/NEWS:14571 ../build/NEWS:18010 ../build/NEWS:21452 -msgid "" -"`bpo-28253 `__: Fixed calendar functions " -"for extreme months: 0001-01 and 9999-12. Methods itermonthdays() and " -"itermonthdays2() are reimplemented so that they don't call itermonthdates() " -"which can cause datetime.date under/overflow." -msgstr "" - -#: ../build/NEWS:14576 ../build/NEWS:18015 ../build/NEWS:21457 -msgid "" -"`bpo-28275 `__: Fixed possible use after " -"free in the decompress() methods of the LZMADecompressor and BZ2Decompressor " -"classes. Original patch by John Leitch." -msgstr "" - -#: ../build/NEWS:14580 ../build/NEWS:18019 ../build/NEWS:21461 -msgid "" -"`bpo-27897 `__: Fixed possible crash in " -"sqlite3.Connection.create_collation() if pass invalid string-like object as " -"a name. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:14583 ../build/NEWS:18022 -msgid "" -"`bpo-18844 `__: random.choices() now has " -"k as a keyword-only argument to improve the readability of common cases and " -"come into line with the signature used in other languages." -msgstr "" - -#: ../build/NEWS:14587 ../build/NEWS:18026 ../build/NEWS:21464 -msgid "" -"`bpo-18893 `__: Fix invalid exception " -"handling in Lib/ctypes/macholib/dyld.py. Patch by Madison May." -msgstr "" - -#: ../build/NEWS:14590 ../build/NEWS:18029 -msgid "" -"`bpo-27611 `__: Fixed support of default " -"root window in the tkinter.tix module. Added the master parameter in the " -"DisplayStyle constructor." -msgstr "" - -#: ../build/NEWS:14593 ../build/NEWS:18032 ../build/NEWS:21469 -msgid "" -"`bpo-27348 `__: In the traceback module, " -"restore the formatting of exception messages like \"Exception: None\". This " -"fixes a regression introduced in 3.5a2." -msgstr "" - -#: ../build/NEWS:14597 ../build/NEWS:18036 ../build/NEWS:21473 -msgid "" -"`bpo-25651 `__: Allow falsy values to be " -"used for msg parameter of subTest()." -msgstr "" - -#: ../build/NEWS:14599 ../build/NEWS:18038 -msgid "" -"`bpo-27778 `__: Fix a memory leak in os." -"getrandom() when the getrandom() is interrupted by a signal and a signal " -"handler raises a Python exception." -msgstr "" - -#: ../build/NEWS:14602 ../build/NEWS:18041 -msgid "" -"`bpo-28200 `__: Fix memory leak on " -"Windows in the os module (fix path_converter() function)." -msgstr "" - -#: ../build/NEWS:14605 ../build/NEWS:18044 -msgid "" -"`bpo-25400 `__: RobotFileParser now " -"correctly returns default values for crawl_delay and request_rate. Initial " -"patch by Peter Wirtz." -msgstr "" - -#: ../build/NEWS:14608 ../build/NEWS:18047 ../build/NEWS:21475 -msgid "" -"`bpo-27932 `__: Prevent memory leak in " -"win32_ver()." -msgstr "" - -#: ../build/NEWS:14610 ../build/NEWS:18049 ../build/NEWS:21477 -msgid "Fix UnboundLocalError in socket._sendfile_use_sendfile." -msgstr "" - -#: ../build/NEWS:14612 ../build/NEWS:18051 ../build/NEWS:21479 -msgid "" -"`bpo-28075 `__: Check for " -"ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch by Eryk " -"Sun." -msgstr "" - -#: ../build/NEWS:14615 ../build/NEWS:18054 -msgid "" -"`bpo-22493 `__: Warning message emitted " -"by using inline flags in the middle of regular expression now contains a " -"(truncated) regex pattern. Patch by Tim Graham." -msgstr "" - -#: ../build/NEWS:14619 ../build/NEWS:18058 ../build/NEWS:21482 -msgid "" -"`bpo-25270 `__: Prevent codecs." -"escape_encode() from raising SystemError when an empty bytestring is passed." -msgstr "" - -#: ../build/NEWS:14622 ../build/NEWS:18061 ../build/NEWS:21485 -msgid "" -"`bpo-28181 `__: Get antigravity over " -"HTTPS. Patch by Kaartic Sivaraam." -msgstr "" - -#: ../build/NEWS:14624 ../build/NEWS:18063 ../build/NEWS:21487 -msgid "" -"`bpo-25895 `__: Enable WebSocket URL " -"schemes in urllib.parse.urljoin. Patch by Gergely Imreh and Markus " -"Holtermann." -msgstr "" - -#: ../build/NEWS:14627 ../build/NEWS:18066 -msgid "" -"`bpo-28114 `__: Fix a crash in " -"parse_envlist() when env contains byte strings. Patch by Eryk Sun." -msgstr "" - -#: ../build/NEWS:14630 ../build/NEWS:18069 ../build/NEWS:21490 -msgid "" -"`bpo-27599 `__: Fixed buffer overrun in " -"binascii.b2a_qp() and binascii.a2b_qp()." -msgstr "" - -#: ../build/NEWS:14633 ../build/NEWS:18072 ../build/NEWS:21691 -msgid "" -"`bpo-27906 `__: Fix socket accept " -"exhaustion during high TCP traffic. Patch by Kevin Conway." -msgstr "" - -#: ../build/NEWS:14636 ../build/NEWS:18075 ../build/NEWS:21694 -msgid "" -"`bpo-28174 `__: Handle when SO_REUSEPORT " -"isn't properly supported. Patch by Seth Michael Larson." -msgstr "" - -#: ../build/NEWS:14639 ../build/NEWS:18078 ../build/NEWS:21697 -msgid "" -"`bpo-26654 `__: Inspect functools." -"partial in asyncio.Handle.__repr__. Patch by iceboy." -msgstr "" - -#: ../build/NEWS:14642 ../build/NEWS:18081 ../build/NEWS:21700 -msgid "" -"`bpo-26909 `__: Fix slow pipes IO in " -"asyncio. Patch by INADA Naoki." -msgstr "" - -#: ../build/NEWS:14644 ../build/NEWS:18083 ../build/NEWS:21702 -msgid "" -"`bpo-28176 `__: Fix callbacks race in " -"asyncio.SelectorLoop.sock_connect." -msgstr "" - -#: ../build/NEWS:14646 ../build/NEWS:18085 ../build/NEWS:21704 -msgid "" -"`bpo-27759 `__: Fix selectors " -"incorrectly retain invalid file descriptors. Patch by Mark Williams." -msgstr "" - -#: ../build/NEWS:14649 -msgid "" -"`bpo-28325 `__: Remove vestigial MacOS 9 " -"macurl2path module and its tests." -msgstr "" - -#: ../build/NEWS:14651 ../build/NEWS:18088 ../build/NEWS:21707 -msgid "" -"`bpo-28368 `__: Refuse monitoring " -"processes if the child watcher has no loop attached. Patch by Vincent Michel." -msgstr "" - -#: ../build/NEWS:14654 ../build/NEWS:18091 ../build/NEWS:21710 -msgid "" -"`bpo-28369 `__: Raise RuntimeError when " -"transport's FD is used with add_reader, add_writer, etc." -msgstr "" - -#: ../build/NEWS:14657 ../build/NEWS:18094 ../build/NEWS:21713 -msgid "" -"`bpo-28370 `__: Speedup asyncio." -"StreamReader.readexactly. Patch by Коренберг Марк." -msgstr "" - -#: ../build/NEWS:14660 ../build/NEWS:18097 ../build/NEWS:21716 -msgid "" -"`bpo-28371 `__: Deprecate passing " -"asyncio.Handles to run_in_executor." -msgstr "" - -#: ../build/NEWS:14662 ../build/NEWS:18099 ../build/NEWS:21718 -msgid "" -"`bpo-28372 `__: Fix asyncio to support " -"formatting of non-python coroutines." -msgstr "" - -#: ../build/NEWS:14664 ../build/NEWS:18101 ../build/NEWS:21720 -msgid "" -"`bpo-28399 `__: Remove UNIX socket from " -"FS before binding. Patch by Коренберг Марк." -msgstr "" - -#: ../build/NEWS:14667 ../build/NEWS:18104 ../build/NEWS:21723 -msgid "" -"`bpo-27972 `__: Prohibit Tasks to await " -"on themselves." -msgstr "" - -#: ../build/NEWS:14669 ../build/NEWS:17626 -msgid "" -"`bpo-24142 `__: Reading a corrupt config " -"file left configparser in an invalid state. Original patch by Florian Höch." -msgstr "" - -#: ../build/NEWS:14672 ../build/NEWS:16974 -msgid "" -"`bpo-29581 `__: ABCMeta.__new__ now " -"accepts ``**kwargs``, allowing abstract base classes to use keyword " -"parameters in __init_subclass__. Patch by Nate Soares." -msgstr "" - -#: ../build/NEWS:14676 ../build/NEWS:16165 -msgid "" -"`bpo-25532 `__: inspect.unwrap() will " -"now only try to unwrap an object sys.getrecursionlimit() times, to protect " -"against objects which create a new object on every attribute access." -msgstr "" - -#: ../build/NEWS:14680 ../build/NEWS:17108 -msgid "" -"`bpo-30177 `__: path." -"resolve(strict=False) no longer cuts the path after the first element not " -"present in the filesystem. Patch by Antoine Pietri." -msgstr "" - -#: ../build/NEWS:14686 ../build/NEWS:16591 -msgid "" -"`bpo-31294 `__: Fix incomplete code " -"snippet in the ZeroMQSocketListener and ZeroMQSocketHandler examples and " -"adapt them to Python 3." -msgstr "" - -#: ../build/NEWS:14689 ../build/NEWS:16594 -msgid "" -"`bpo-21649 `__: Add RFC 7525 and Mozilla " -"server side TLS links to SSL documentation." -msgstr "" - -#: ../build/NEWS:14692 -msgid "" -"`bpo-31128 `__: Allow the pydoc server " -"to bind to arbitrary hostnames." -msgstr "" - -#: ../build/NEWS:14694 ../build/NEWS:16597 -msgid "" -"`bpo-30803 `__: Clarify doc on truth " -"value testing. Original patch by Peter Thomassen." -msgstr "" - -#: ../build/NEWS:14697 ../build/NEWS:17163 ../build/NEWS:21115 -msgid "" -"`bpo-30176 `__: Add missing attribute " -"related constants in curses documentation." -msgstr "" - -#: ../build/NEWS:14700 ../build/NEWS:17166 -msgid "" -"`bpo-30052 `__: the link targets for :" -"func:`bytes` and :func:`bytearray` are now their respective type " -"definitions, rather than the corresponding builtin function entries. Use :" -"ref:`bytes ` and :ref:`bytearray ` to reference " -"the latter. In order to ensure this and future cross-reference updates are " -"applied automatically, the daily documentation builds now disable the " -"default output caching features in Sphinx." -msgstr "" - -#: ../build/NEWS:14708 ../build/NEWS:17174 ../build/NEWS:21118 -msgid "" -"`bpo-26985 `__: Add missing info of code " -"object in inspect documentation." -msgstr "" - -#: ../build/NEWS:14710 -msgid "" -"`bpo-19824 `__: Improve the " -"documentation for, and links to, template strings by emphasizing their " -"utility for internationalization, and by clarifying some usage constraints. " -"(See also: `bpo-20314 `__, `bpo-12518 " -"`__)" -msgstr "" - -#: ../build/NEWS:14714 ../build/NEWS:17483 ../build/NEWS:21120 -msgid "" -"`bpo-28929 `__: Link the documentation " -"to its source file on GitHub." -msgstr "" - -#: ../build/NEWS:14716 ../build/NEWS:17485 ../build/NEWS:21122 -msgid "" -"`bpo-25008 `__: Document smtpd.py as " -"effectively deprecated and add a pointer to aiosmtpd, a third-party asyncio-" -"based replacement." -msgstr "" - -#: ../build/NEWS:14719 ../build/NEWS:17488 ../build/NEWS:21125 -msgid "" -"`bpo-26355 `__: Add canonical header " -"link on each page to corresponding major version of the documentation. Patch " -"by Matthias Bussonnier." -msgstr "" - -#: ../build/NEWS:14722 ../build/NEWS:17491 ../build/NEWS:21128 -msgid "" -"`bpo-29349 `__: Fix Python 2 syntax in " -"code for building the documentation." -msgstr "" - -#: ../build/NEWS:14724 -msgid "" -"`bpo-23722 `__: The data model reference " -"and the porting section in the 3.6 What's New guide now cover the additional " -"``__classcell__`` handling needed for custom metaclasses to fully support :" -"pep:`487` and zero-argument ``super()``." -msgstr "" - -#: ../build/NEWS:14729 ../build/NEWS:17742 ../build/NEWS:21791 -msgid "" -"`bpo-28513 `__: Documented command-line " -"interface of zipfile." -msgstr "" - -#: ../build/NEWS:14734 -msgid "" -"`bpo-29639 `__: test.support.HOST is now " -"\"localhost\", a new HOSTv4 constant has been added for your ``127.0.0.1`` " -"needs, similar to the existing HOSTv6 constant." -msgstr "" - -#: ../build/NEWS:14738 ../build/NEWS:16603 -msgid "" -"`bpo-31320 `__: Silence traceback in " -"test_ssl" -msgstr "" - -#: ../build/NEWS:14740 -msgid "" -"`bpo-31346 `__: Prefer " -"PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols for SSLContext." -msgstr "" - -#: ../build/NEWS:14743 ../build/NEWS:16605 -msgid "" -"`bpo-25674 `__: Remove sha256.tbs-" -"internet.com ssl test" -msgstr "" - -#: ../build/NEWS:14745 ../build/NEWS:16607 -msgid "" -"`bpo-30715 `__: Address ALPN callback " -"changes for OpenSSL 1.1.0f. The latest version behaves like OpenSSL 1.0.2 " -"and no longer aborts handshake." -msgstr "" - -#: ../build/NEWS:14748 ../build/NEWS:16610 -msgid "" -"`bpo-30822 `__: regrtest: Exclude tzdata " -"from regrtest --all. When running the test suite using --use=all / -u all, " -"exclude tzdata since it makes test_datetime too slow (15-20 min on some " -"buildbots) which then times out on some buildbots. Fix also regrtest command " -"line parser to allow passing -u extralargefile to run test_zipfile64." -msgstr "" - -#: ../build/NEWS:14754 ../build/NEWS:16217 -msgid "" -"`bpo-30695 `__: Add the " -"`set_nomemory(start, stop)` and `remove_mem_hooks()` functions to the " -"_testcapi module." -msgstr "" - -#: ../build/NEWS:14757 ../build/NEWS:17185 ../build/NEWS:21147 -msgid "" -"`bpo-30357 `__: test_thread: setUp() now " -"uses support.threading_setup() and support.threading_cleanup() to wait until " -"threads complete to avoid random side effects on following tests. Initial " -"patch written by Grzegorz Grzywacz." -msgstr "" - -#: ../build/NEWS:14762 ../build/NEWS:17190 ../build/NEWS:21156 -msgid "" -"`bpo-30197 `__: Enhanced functions " -"swap_attr() and swap_item() in the test.support module. They now work when " -"delete replaced attribute or item inside the with statement. The old value " -"of the attribute or item (or None if it doesn't exist) now will be assigned " -"to the target of the \"as\" clause, if there is one." -msgstr "" - -#: ../build/NEWS:14768 -msgid "" -"`bpo-24932 `__: Use proper command line " -"parsing in _testembed" -msgstr "" - -#: ../build/NEWS:14770 ../build/NEWS:17506 -msgid "" -"`bpo-28950 `__: Disallow -j0 to be " -"combined with -T/-l in regrtest command line arguments." -msgstr "" - -#: ../build/NEWS:14773 ../build/NEWS:17509 -msgid "" -"`bpo-28683 `__: Fix the tests that " -"bind() a unix socket and raise PermissionError on Android for a non-root " -"user." -msgstr "" - -#: ../build/NEWS:14776 -msgid "" -"`bpo-26936 `__: Fix the test_socket " -"failures on Android - getservbyname(), getservbyport() and getaddrinfo() are " -"broken on some Android API levels." -msgstr "" - -#: ../build/NEWS:14779 ../build/NEWS:17747 ../build/NEWS:21799 -msgid "" -"`bpo-28666 `__: Now test.support.rmtree " -"is able to remove unwritable or unreadable directories." -msgstr "" - -#: ../build/NEWS:14782 ../build/NEWS:17750 ../build/NEWS:21802 -msgid "" -"`bpo-23839 `__: Various caches now are " -"cleared before running every test file." -msgstr "" - -#: ../build/NEWS:14784 ../build/NEWS:17882 -msgid "" -"`bpo-26944 `__: Fix test_posix for " -"Android where 'id -G' is entirely wrong or missing the effective gid." -msgstr "" - -#: ../build/NEWS:14787 ../build/NEWS:17885 ../build/NEWS:21804 -msgid "" -"`bpo-28409 `__: regrtest: fix the parser " -"of command line arguments." -msgstr "" - -#: ../build/NEWS:14789 ../build/NEWS:18153 -msgid "" -"`bpo-28217 `__: Adds _testconsole module " -"to test console input." -msgstr "" - -#: ../build/NEWS:14791 ../build/NEWS:17512 -msgid "" -"`bpo-26939 `__: Add the support." -"setswitchinterval() function to fix test_functools hanging on the Android " -"armv7 qemu emulator." -msgstr "" - -#: ../build/NEWS:14797 -msgid "" -"`bpo-31354 `__: Allow --with-lto to be " -"used on all builds, not just `make profile-opt`." -msgstr "" - -#: ../build/NEWS:14800 -msgid "" -"`bpo-31370 `__: Remove support for " -"building --without-threads. This option is not really useful anymore in the " -"21st century. Removing lots of conditional paths allows us to simplify the " -"code base, including in difficult to maintain low-level internal code." -msgstr "" - -#: ../build/NEWS:14805 -msgid "" -"`bpo-31341 `__: Per :pep:`11`, support " -"for the IRIX operating system was removed." -msgstr "" - -#: ../build/NEWS:14808 ../build/NEWS:16619 -msgid "" -"`bpo-30854 `__: Fix compile error when " -"compiling --without-threads. Patch by Masayuki Yamamoto." -msgstr "" - -#: ../build/NEWS:14811 ../build/NEWS:17199 ../build/NEWS:21184 -msgid "" -"`bpo-30687 `__: Locate msbuild.exe on " -"Windows when building rather than vcvarsall.bat" -msgstr "" - -#: ../build/NEWS:14814 -msgid "" -"`bpo-20210 `__: Support the *disabled* " -"marker in Setup files. Extension modules listed after this marker are not " -"built at all, neither by the Makefile nor by setup.py." -msgstr "" - -#: ../build/NEWS:14818 ../build/NEWS:17143 -msgid "" -"`bpo-29941 `__: Add ``--with-" -"assertions`` configure flag to explicitly enable C ``assert()`` checks. " -"Defaults to off. ``--with-pydebug`` implies ``--with-assertions``." -msgstr "" - -#: ../build/NEWS:14822 ../build/NEWS:17147 -msgid "" -"`bpo-28787 `__: Fix out-of-tree builds " -"of Python when configured with ``--with--dtrace``." -msgstr "" - -#: ../build/NEWS:14825 ../build/NEWS:17150 ../build/NEWS:21171 -msgid "" -"`bpo-29243 `__: Prevent unnecessary " -"rebuilding of Python during ``make test``, ``make install`` and some other " -"make targets when configured with ``--enable-optimizations``." -msgstr "" - -#: ../build/NEWS:14829 ../build/NEWS:17154 ../build/NEWS:21175 -msgid "" -"`bpo-23404 `__: Don't regenerate " -"generated files based on file modification time anymore: the action is now " -"explicit. Replace ``make touch`` with ``make regen-all``." -msgstr "" - -#: ../build/NEWS:14833 ../build/NEWS:17158 ../build/NEWS:21179 -msgid "" -"`bpo-29643 `__: Fix ``--enable-" -"optimization`` didn't work." -msgstr "" - -#: ../build/NEWS:14835 ../build/NEWS:17518 -msgid "" -"`bpo-27593 `__: sys.version and the " -"platform module python_build(), python_branch(), and python_revision() " -"functions now use git information rather than hg when building from a repo." -msgstr "" - -#: ../build/NEWS:14839 ../build/NEWS:17522 -msgid "" -"`bpo-29572 `__: Update Windows build and " -"OS X installers to use OpenSSL 1.0.2k." -msgstr "" - -#: ../build/NEWS:14841 -msgid "" -"`bpo-27659 `__: Prohibit implicit C " -"function declarations: use ``-Werror=implicit-function-declaration`` when " -"possible (GCC and Clang, but it depends on the compiler version). Patch " -"written by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:14845 -msgid "" -"`bpo-29384 `__: Remove old Be OS helper " -"scripts." -msgstr "" - -#: ../build/NEWS:14847 ../build/NEWS:17524 -msgid "" -"`bpo-26851 `__: Set Android compilation " -"and link flags." -msgstr "" - -#: ../build/NEWS:14849 ../build/NEWS:17526 -msgid "" -"`bpo-28768 `__: Fix implicit declaration " -"of function _setmode. Patch by Masayuki Yamamoto" -msgstr "" - -#: ../build/NEWS:14852 ../build/NEWS:17529 ../build/NEWS:21842 -msgid "" -"`bpo-29080 `__: Removes hard dependency " -"on hg.exe from PCBuild/build.bat" -msgstr "" - -#: ../build/NEWS:14854 ../build/NEWS:17531 ../build/NEWS:21844 -msgid "" -"`bpo-23903 `__: Added missed names to PC/" -"python3.def." -msgstr "" - -#: ../build/NEWS:14856 ../build/NEWS:17533 -msgid "" -"`bpo-28762 `__: lockf() is available on " -"Android API level 24, but the F_LOCK macro is not defined in android-ndk-r13." -msgstr "" - -#: ../build/NEWS:14859 ../build/NEWS:17536 -msgid "" -"`bpo-28538 `__: Fix the compilation " -"error that occurs because if_nameindex() is available on Android API level " -"24, but the if_nameindex structure is not defined." -msgstr "" - -#: ../build/NEWS:14863 ../build/NEWS:17540 -msgid "" -"`bpo-20211 `__: Do not add the directory " -"for installing C header files and the directory for installing object code " -"libraries to the cross compilation search paths. Original patch by Thomas " -"Petazzoni." -msgstr "" - -#: ../build/NEWS:14867 ../build/NEWS:17544 -msgid "" -"`bpo-28849 `__: Do not define sys." -"implementation._multiarch on Android." -msgstr "" - -#: ../build/NEWS:14869 ../build/NEWS:17755 ../build/NEWS:21846 -msgid "" -"`bpo-10656 `__: Fix out-of-tree building " -"on AIX. Patch by Tristan Carel and Michael Haubenwallner." -msgstr "" - -#: ../build/NEWS:14872 ../build/NEWS:17758 ../build/NEWS:21849 -msgid "" -"`bpo-26359 `__: Rename --with-" -"optimiations to --enable-optimizations." -msgstr "" - -#: ../build/NEWS:14874 ../build/NEWS:17873 ../build/NEWS:21851 -msgid "" -"`bpo-28444 `__: Fix missing extensions " -"modules when cross compiling." -msgstr "" - -#: ../build/NEWS:14876 ../build/NEWS:17875 -msgid "" -"`bpo-28208 `__: Update Windows build and " -"OS X installers to use SQLite 3.14.2." -msgstr "" - -#: ../build/NEWS:14878 ../build/NEWS:17877 ../build/NEWS:21853 -msgid "" -"`bpo-28248 `__: Update Windows build and " -"OS X installers to use OpenSSL 1.0.2j." -msgstr "" - -#: ../build/NEWS:14880 -msgid "" -"`bpo-21124 `__: Fix building the _struct " -"module on Cygwin by passing ``NULL`` instead of ``&PyType_Type`` to " -"PyVarObject_HEAD_INIT. Patch by Masayuki Yamamoto." -msgstr "" - -#: ../build/NEWS:14884 -msgid "" -"`bpo-13756 `__: Fix building extensions " -"modules on Cygwin. Patch by Roumen Petrov, based on original patch by Jason " -"Tishler." -msgstr "" - -#: ../build/NEWS:14887 -msgid "" -"`bpo-21085 `__: Add configure check for " -"siginfo_t.si_band, which Cygwin does not provide. Patch by Masayuki Yamamoto " -"with review and rebase by Erik Bray." -msgstr "" - -#: ../build/NEWS:14891 ../build/NEWS:18142 ../build/NEWS:21855 -msgid "" -"`bpo-28258 `__: Fixed build with " -"Estonian locale (python-config and distclean targets in Makefile). Patch by " -"Arfrever Frehtes Taifersar Arahesis." -msgstr "" - -#: ../build/NEWS:14894 ../build/NEWS:18145 ../build/NEWS:21858 -msgid "" -"`bpo-26661 `__: setup.py now detects " -"system libffi with multiarch wrapper." -msgstr "" - -#: ../build/NEWS:14896 -msgid "" -"`bpo-27979 `__: A full copy of libffi is " -"no longer bundled for use when building _ctypes on non-OSX UNIX platforms. " -"An installed copy of libffi is now required when building _ctypes on such " -"platforms." -msgstr "" - -#: ../build/NEWS:14900 ../build/NEWS:18147 ../build/NEWS:21863 -msgid "" -"`bpo-15819 `__: Remove redundant include " -"search directory option for building outside the source tree." -msgstr "" - -#: ../build/NEWS:14903 ../build/NEWS:17760 ../build/NEWS:21900 -msgid "" -"`bpo-28676 `__: Prevent missing " -"'getentropy' declaration warning on macOS. Patch by Gareth Rees." -msgstr "" - -#: ../build/NEWS:14909 -msgid "" -"`bpo-31392 `__: Update Windows build to " -"use OpenSSL 1.1.0f" -msgstr "" - -#: ../build/NEWS:14911 ../build/NEWS:16625 -msgid "" -"`bpo-30389 `__: Adds detection of Visual " -"Studio 2017 to distutils on Windows." -msgstr "" - -#: ../build/NEWS:14913 -msgid "" -"`bpo-31358 `__: zlib is no longer " -"bundled in the CPython source, instead it is downloaded on demand just like " -"bz2, lzma, OpenSSL, Tcl/Tk, and SQLite." -msgstr "" - -#: ../build/NEWS:14916 ../build/NEWS:16627 -msgid "" -"`bpo-31340 `__: Change to building with " -"MSVC v141 (included with Visual Studio 2017)" -msgstr "" - -#: ../build/NEWS:14919 ../build/NEWS:16630 -msgid "" -"`bpo-30581 `__: os.cpu_count() now " -"returns the correct number of processors on Windows when the number of " -"logical processors is greater than 64." -msgstr "" - -#: ../build/NEWS:14922 -msgid "" -"`bpo-30916 `__: Pre-build OpenSSL, Tcl " -"and Tk and include the binaries in the build." -msgstr "" - -#: ../build/NEWS:14925 ../build/NEWS:16633 -msgid "" -"`bpo-30731 `__: Add a missing xmlns to " -"python.manifest so that it matches the schema." -msgstr "" - -#: ../build/NEWS:14928 -msgid "" -"`bpo-30291 `__: Allow requiring 64-bit " -"interpreters from py.exe using -64 suffix. Contributed by Steve (Gadget) " -"Barnes." -msgstr "" - -#: ../build/NEWS:14931 -msgid "" -"`bpo-30362 `__: Adds list options (-0, " -"-0p) to py.exe launcher. Contributed by Steve Barnes." -msgstr "" - -#: ../build/NEWS:14934 -msgid "" -"`bpo-23451 `__: Fix socket deprecation " -"warnings in socketmodule.c. Patch by Segev Finer." -msgstr "" - -#: ../build/NEWS:14937 ../build/NEWS:17202 -msgid "" -"`bpo-30450 `__: The build process on " -"Windows no longer depends on Subversion, instead pulling external code from " -"GitHub via a Python script. If Python 3.6 is not found on the system (via " -"``py -3.6``), NuGet is used to download a copy of 32-bit Python." -msgstr "" - -#: ../build/NEWS:14942 -msgid "" -"`bpo-29579 `__: Removes readme.txt from " -"the installer." -msgstr "" - -#: ../build/NEWS:14944 ../build/NEWS:17459 -msgid "" -"`bpo-25778 `__: winreg does not truncate " -"string correctly (Patch by Eryk Sun)" -msgstr "" - -#: ../build/NEWS:14946 -msgid "" -"`bpo-28896 `__: Deprecate " -"WindowsRegistryFinder and disable it by default" -msgstr "" - -#: ../build/NEWS:14948 ../build/NEWS:17868 -msgid "" -"`bpo-28522 `__: Fixes mishandled buffer " -"reallocation in getpathp.c" -msgstr "" - -#: ../build/NEWS:14950 ../build/NEWS:18109 -msgid "" -"`bpo-28402 `__: Adds signed catalog " -"files for stdlib on Windows." -msgstr "" - -#: ../build/NEWS:14952 ../build/NEWS:18111 -msgid "" -"`bpo-28333 `__: Enables Unicode for ps1/" -"ps2 and input() prompts. (Patch by Eryk Sun)" -msgstr "" - -#: ../build/NEWS:14955 ../build/NEWS:18114 ../build/NEWS:21827 -msgid "" -"`bpo-28251 `__: Improvements to help " -"manuals on Windows." -msgstr "" - -#: ../build/NEWS:14957 ../build/NEWS:18116 ../build/NEWS:21829 -msgid "" -"`bpo-28110 `__: launcher.msi has " -"different product codes between 32-bit and 64-bit" -msgstr "" - -#: ../build/NEWS:14960 ../build/NEWS:18119 -msgid "" -"`bpo-28161 `__: Opening CON for write " -"access fails" -msgstr "" - -#: ../build/NEWS:14962 ../build/NEWS:18121 -msgid "" -"`bpo-28162 `__: WindowsConsoleIO " -"readall() fails if first line starts with Ctrl+Z" -msgstr "" - -#: ../build/NEWS:14965 ../build/NEWS:18124 -msgid "" -"`bpo-28163 `__: WindowsConsoleIO " -"fileno() passes wrong flags to _open_osfhandle" -msgstr "" - -#: ../build/NEWS:14967 ../build/NEWS:18126 -msgid "" -"`bpo-28164 `__: _PyIO_get_console_type " -"fails for various paths" -msgstr "" - -#: ../build/NEWS:14969 ../build/NEWS:18128 -msgid "" -"`bpo-28137 `__: Renames Windows path " -"file to ._pth" -msgstr "" - -#: ../build/NEWS:14971 ../build/NEWS:18130 -msgid "" -"`bpo-28138 `__: Windows ._pth file " -"should allow import site" -msgstr "" - -#: ../build/NEWS:14976 ../build/NEWS:16639 -msgid "" -"`bpo-31493 `__: IDLE code context -- fix " -"code update and font update timers. Canceling timers prevents a warning " -"message when test_idle completes." -msgstr "" - -#: ../build/NEWS:14979 ../build/NEWS:16642 -msgid "" -"`bpo-31488 `__: IDLE - Update non-key " -"options in former extension classes. When applying configdialog changes, " -"call .reload for each feature class. Change ParenMatch so updated options " -"affect existing instances attached to existing editor windows." -msgstr "" - -#: ../build/NEWS:14984 ../build/NEWS:16647 -msgid "" -"`bpo-31477 `__: IDLE - Improve rstrip " -"entry in doc. Strip trailing whitespace strips more than blank spaces. " -"Multiline string literals are not skipped." -msgstr "" - -#: ../build/NEWS:14987 ../build/NEWS:16650 -msgid "" -"`bpo-31480 `__: IDLE - make tests pass " -"with zzdummy extension disabled by default." -msgstr "" - -#: ../build/NEWS:14990 ../build/NEWS:16653 -msgid "" -"`bpo-31421 `__: Document how IDLE runs " -"tkinter programs. IDLE calls tcl/tk update in the background in order to " -"make live interaction and experimentation with tkinter applications much " -"easier." -msgstr "" - -#: ../build/NEWS:14994 ../build/NEWS:16657 -msgid "" -"`bpo-31414 `__: IDLE -- fix tk entry box " -"tests by deleting first. Adding to an int entry is not the same as deleting " -"and inserting because int('') will fail." -msgstr "" - -#: ../build/NEWS:14998 ../build/NEWS:16661 -msgid "" -"`bpo-31051 `__: Rearrange IDLE " -"configdialog GenPage into Window, Editor, and Help sections." -msgstr "" - -#: ../build/NEWS:15001 ../build/NEWS:16664 -msgid "" -"`bpo-30617 `__: IDLE - Add docstrings " -"and tests for outwin subclass of editor. Move some data and functions from " -"the class to module level. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15005 ../build/NEWS:16668 -msgid "" -"`bpo-31287 `__: IDLE - Do not modify " -"tkinter.message in test_configdialog." -msgstr "" - -#: ../build/NEWS:15007 ../build/NEWS:16670 -msgid "" -"`bpo-27099 `__: Convert IDLE's built-in " -"'extensions' to regular features. About 10 IDLE features were implemented as " -"supposedly optional extensions. Their different behavior could be confusing " -"or worse for users and not good for maintenance. Hence the conversion. The " -"main difference for users is that user configurable key bindings for builtin " -"features are now handled uniformly. Now, editing a binding in a keyset only " -"affects its value in the keyset. All bindings are defined together in the " -"system-specific default keysets in config-extensions.def. All custom keysets " -"are saved as a whole in config-extension.cfg. All take effect as soon as " -"one clicks Apply or Ok. The affected events are '<>', '<>', '<>', '<>', '<>', '<>', '<>', and " -"'<>'. Any (global) customizations made before 3.6.3 will not " -"affect their keyset-specific customization after 3.6.3. and vice versa. " -"Initial patch by Charles Wohlganger." -msgstr "" - -#: ../build/NEWS:15023 ../build/NEWS:16686 -msgid "" -"`bpo-31206 `__: IDLE: Factor " -"HighPage(Frame) class from ConfigDialog. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15026 ../build/NEWS:16689 -msgid "" -"`bpo-31001 `__: Add tests for " -"configdialog highlight tab. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15029 ../build/NEWS:16692 -msgid "" -"`bpo-31205 `__: IDLE: Factor " -"KeysPage(Frame) class from ConfigDialog. The slightly modified tests " -"continue to pass. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15032 ../build/NEWS:16695 -msgid "" -"`bpo-31130 `__: IDLE -- stop leaks in " -"test_configdialog. Initial patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:15035 ../build/NEWS:16698 -msgid "" -"`bpo-31002 `__: Add tests for " -"configdialog keys tab. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15037 ../build/NEWS:16700 -msgid "" -"`bpo-19903 `__: IDLE: Calltips use " -"`inspect.signature` instead of `inspect.getfullargspec`. This improves " -"calltips for builtins converted to use Argument Clinic. Patch by Louie Lu." -msgstr "" - -#: ../build/NEWS:15041 ../build/NEWS:16704 -msgid "" -"`bpo-31083 `__: IDLE - Add an outline of " -"a TabPage class in configdialog. Update existing classes to match outline. " -"Initial patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15044 ../build/NEWS:16707 -msgid "" -"`bpo-31050 `__: Factor GenPage(Frame) " -"class from ConfigDialog. The slightly modified tests continue to pass. Patch " -"by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15047 ../build/NEWS:16710 -msgid "" -"`bpo-31004 `__: IDLE - Factor " -"FontPage(Frame) class from ConfigDialog. Slightly modified tests continue to " -"pass. Fix General tests. Patch mostly by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15051 ../build/NEWS:16714 -msgid "" -"`bpo-30781 `__: IDLE - Use ttk widgets " -"in ConfigDialog. Patches by Terry Jan Reedy and Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15054 ../build/NEWS:16717 -msgid "" -"`bpo-31060 `__: IDLE - Finish " -"rearranging methods of ConfigDialog Grouping methods pertaining to each tab " -"and the buttons will aid writing tests and improving the tabs and will " -"enable splitting the groups into classes." -msgstr "" - -#: ../build/NEWS:15058 ../build/NEWS:16721 -msgid "" -"`bpo-30853 `__: IDLE -- Factor a " -"VarTrace class out of ConfigDialog. Instance tracers manages pairs " -"consisting of a tk variable and a callback function. When tracing is turned " -"on, setting the variable calls the function. Test coverage for the new " -"class is 100%." -msgstr "" - -#: ../build/NEWS:15063 ../build/NEWS:16726 -msgid "" -"`bpo-31003 `__: IDLE: Add more tests for " -"General tab." -msgstr "" - -#: ../build/NEWS:15065 ../build/NEWS:16728 -msgid "" -"`bpo-30993 `__: IDLE - Improve " -"configdialog font page and tests. In configdialog: Document causal pathways " -"in create_font_tab docstring. Simplify some attribute names. Move " -"set_samples calls to var_changed_font (idea from Cheryl Sabella). Move " -"related functions to positions after the create widgets function. In " -"test_configdialog: Fix test_font_set so not order dependent. Fix renamed " -"test_indent_scale so it tests the widget. Adjust tests for movement of " -"set_samples call. Add tests for load functions. Put all font tests in one " -"class and tab indent tests in another. Except for two lines, these tests " -"completely cover the related functions." -msgstr "" - -#: ../build/NEWS:15076 ../build/NEWS:16739 -msgid "" -"`bpo-30981 `__: IDLE -- Add more " -"configdialog font page tests." -msgstr "" - -#: ../build/NEWS:15078 ../build/NEWS:16741 -msgid "" -"`bpo-28523 `__: IDLE: replace 'colour' " -"with 'color' in configdialog." -msgstr "" - -#: ../build/NEWS:15080 ../build/NEWS:16743 -msgid "" -"`bpo-30917 `__: Add tests for idlelib." -"config.IdleConf. Increase coverage from 46% to 96%. Patch by Louie Lu." -msgstr "" - -#: ../build/NEWS:15083 ../build/NEWS:16746 -msgid "" -"`bpo-30934 `__: Document coverage " -"details for idlelib tests. Add section to idlelib/idle-test/README.txt. " -"Include check that branches are taken both ways. Exclude IDLE-specific code " -"that does not run during unit tests." -msgstr "" - -#: ../build/NEWS:15087 ../build/NEWS:16750 -msgid "" -"`bpo-30913 `__: IDLE: Document " -"ConfigDialog tk Vars, methods, and widgets in docstrings This will " -"facilitate improving the dialog and splitting up the class. Original patch " -"by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15091 ../build/NEWS:16754 -msgid "" -"`bpo-30899 `__: IDLE: Add tests for " -"ConfigParser subclasses in config. Patch by Louie Lu." -msgstr "" - -#: ../build/NEWS:15094 ../build/NEWS:16757 -msgid "" -"`bpo-30881 `__: IDLE: Add docstrings to " -"browser.py. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15096 ../build/NEWS:16759 -msgid "" -"`bpo-30851 `__: IDLE: Remove unused " -"variables in configdialog. One is a duplicate, one is set but cannot be " -"altered by users. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15100 ../build/NEWS:16763 -msgid "" -"`bpo-30870 `__: IDLE: In Settings " -"dialog, select font with Up, Down keys as well as mouse. Initial patch by " -"Louie Lu." -msgstr "" - -#: ../build/NEWS:15103 ../build/NEWS:16766 -msgid "" -"`bpo-8231 `__: IDLE: call config.IdleConf." -"GetUserCfgDir only once." -msgstr "" - -#: ../build/NEWS:15105 ../build/NEWS:16768 -msgid "" -"`bpo-30779 `__: IDLE: Factor " -"ConfigChanges class from configdialog, put in config; test. * In config, put " -"dump test code in a function; run it and unittest in 'if __name__ == " -"'__main__'. * Add class config.ConfigChanges based on changes_class_v4.py on " -"bpo issue. * Add class test_config.ChangesTest, partly using " -"configdialog_tests_v1.py. * Revise configdialog to use ConfigChanges; see " -"tracker msg297804. * Revise test_configdialog to match configdialog changes. " -"* Remove configdialog functions unused or moved to ConfigChanges. Cheryl " -"Sabella contributed parts of the patch." -msgstr "" - -#: ../build/NEWS:15115 ../build/NEWS:16778 -msgid "" -"`bpo-30777 `__: IDLE: configdialog - Add " -"docstrings and fix comments. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15118 ../build/NEWS:16781 -msgid "" -"`bpo-30495 `__: IDLE: Improve textview " -"with docstrings, PEP8 names, and more tests. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15121 ../build/NEWS:16784 -msgid "" -"`bpo-30723 `__: IDLE: Make several " -"improvements to parenmatch. Add 'parens' style to highlight both opener and " -"closer. Make 'default' style, which is not default, a synonym for 'opener'. " -"Make time-delay work the same with all styles. Add help for config dialog " -"extensions tab, including help for parenmatch. Add new tests. Original " -"patch by Charles Wohlganger." -msgstr "" - -#: ../build/NEWS:15127 ../build/NEWS:16790 -msgid "" -"`bpo-30674 `__: IDLE: add docstrings to " -"grep module. Patch by Cheryl Sabella" -msgstr "" - -#: ../build/NEWS:15129 ../build/NEWS:16792 -msgid "" -"`bpo-21519 `__: IDLE's basic custom key " -"entry dialog now detects duplicates properly. Original patch by Saimadhav " -"Heblikar." -msgstr "" - -#: ../build/NEWS:15132 ../build/NEWS:16795 -msgid "" -"`bpo-29910 `__: IDLE no longer deletes a " -"character after commenting out a region by a key shortcut. Add ``return " -"'break'`` for this and other potential conflicts between IDLE and default " -"key bindings." -msgstr "" - -#: ../build/NEWS:15136 ../build/NEWS:16799 -msgid "" -"`bpo-30728 `__: Review and change " -"idlelib.configdialog names. Lowercase method and attribute names. Replace " -"'colour' with 'color', expand overly cryptic names, delete unneeded " -"underscores. Replace ``import *`` with specific imports. Patches by Cheryl " -"Sabella." -msgstr "" - -#: ../build/NEWS:15141 ../build/NEWS:16804 -msgid "" -"`bpo-6739 `__: IDLE: Verify user-entered " -"key sequences by trying to bind them with tk. Add tests for all 3 validation " -"functions. Original patch by G Polo. Tests added by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:15145 ../build/NEWS:17114 -msgid "" -"`bpo-15786 `__: Fix several problems " -"with IDLE's autocompletion box. The following should now work: clicking on " -"selection box items; using the scrollbar; selecting an item by hitting " -"Return. Hangs on MacOSX should no longer happen. Patch by Louie Lu." -msgstr "" - -#: ../build/NEWS:15150 ../build/NEWS:17119 -msgid "" -"`bpo-25514 `__: Add doc subsubsection " -"about IDLE failure to start. Popup no-connection message directs users to " -"this section." -msgstr "" - -#: ../build/NEWS:15153 ../build/NEWS:17122 -msgid "" -"`bpo-30642 `__: Fix reference leaks in " -"IDLE tests. Patches by Louie Lu and Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:15156 ../build/NEWS:17125 -msgid "" -"`bpo-30495 `__: Add docstrings for " -"textview.py and use PEP8 names. Patches by Cheryl Sabella and Terry Jan " -"Reedy." -msgstr "" - -#: ../build/NEWS:15159 ../build/NEWS:17128 -msgid "" -"`bpo-30290 `__: Help-about: use pep8 " -"names and add tests. Increase coverage to 100%. Patches by Louie Lu, Cheryl " -"Sabella, and Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:15162 ../build/NEWS:17131 -msgid "" -"`bpo-30303 `__: Add _utest option to " -"textview; add new tests. Increase coverage to 100%. Patches by Louie Lu and " -"Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:15165 ../build/NEWS:17440 -msgid "" -"`bpo-29071 `__: IDLE colors f-string " -"prefixes (but not invalid ur prefixes)." -msgstr "" - -#: ../build/NEWS:15167 ../build/NEWS:17442 -msgid "" -"`bpo-28572 `__: Add 10% to coverage of " -"IDLE's test_configdialog. Update and augment description of the " -"configuration system." -msgstr "" - -#: ../build/NEWS:15173 ../build/NEWS:16811 -msgid "" -"`bpo-30983 `__: gdb integration commands " -"(py-bt, etc.) work on optimized shared builds now, too. :pep:`523` " -"introduced _PyEval_EvalFrameDefault which inlines PyEval_EvalFrameEx on non-" -"debug shared builds. This broke the ability to use py-bt, py-up, and a few " -"other Python-specific gdb integrations. The problem is fixed by only looking " -"for _PyEval_EvalFrameDefault frames in python-gdb.py. Original patch by " -"Bruno \"Polaco\" Penteado." -msgstr "" - -#: ../build/NEWS:15181 -msgid "" -"`bpo-29748 `__: Added the slice index " -"converter in Argument Clinic." -msgstr "" - -#: ../build/NEWS:15183 -msgid "" -"`bpo-24037 `__: Argument Clinic now uses " -"the converter `bool(accept={int})` rather than `int` for semantical " -"booleans. This avoids repeating the default value for Python and C and will " -"help in converting to `bool` in future." -msgstr "" - -#: ../build/NEWS:15188 ../build/NEWS:17179 -msgid "" -"`bpo-29367 `__: python-gdb.py now " -"supports also ``method-wrapper`` (``wrapperobject``) objects." -msgstr "" - -#: ../build/NEWS:15191 ../build/NEWS:17647 -msgid "" -"`bpo-28023 `__: Fix python-gdb.py didn't " -"support new dict implementation." -msgstr "" - -#: ../build/NEWS:15193 -msgid "" -"`bpo-15369 `__: The pybench and pystone " -"microbenchmark have been removed from Tools. Please use the new Python " -"benchmark suite https://github.com/python/performance which is more reliable " -"and includes a portable version of pybench working on Python 2 and Python 3." -msgstr "" - -#: ../build/NEWS:15198 -msgid "" -"`bpo-28102 `__: The zipfile module CLI " -"now prints usage to stderr. Patch by Stephen J. Turnbull." -msgstr "" - -#: ../build/NEWS:15204 -msgid "" -"`bpo-31338 `__: Added the " -"``Py_UNREACHABLE()`` macro for code paths which are never expected to be " -"reached. This and a few other useful macros are now documented in the C API " -"manual." -msgstr "" - -#: ../build/NEWS:15208 -msgid "" -"`bpo-30832 `__: Remove own " -"implementation for thread-local storage. CPython has provided the own " -"implementation for thread-local storage (TLS) on Python/thread.c, it's used " -"in the case which a platform has not supplied native TLS. However, " -"currently all supported platforms (Windows and pthreads) have provided " -"native TLS and defined the Py_HAVE_NATIVE_TLS macro with unconditional in " -"any case." -msgstr "" - -#: ../build/NEWS:15215 -msgid "" -"`bpo-30708 `__: " -"PyUnicode_AsWideCharString() now raises a ValueError if the second argument " -"is NULL and the wchar_t\\* string contains null characters." -msgstr "" - -#: ../build/NEWS:15218 -msgid "" -"`bpo-16500 `__: Deprecate " -"PyOS_AfterFork() and add PyOS_BeforeFork(), PyOS_AfterFork_Parent() and " -"PyOS_AfterFork_Child()." -msgstr "" - -#: ../build/NEWS:15221 -msgid "" -"`bpo-6532 `__: The type of results of " -"PyThread_start_new_thread() and PyThread_get_thread_ident(), and the id " -"parameter of PyThreadState_SetAsyncExc() changed from \"long\" to \"unsigned " -"long\"." -msgstr "" - -#: ../build/NEWS:15225 -msgid "" -"`bpo-27867 `__: Function " -"PySlice_GetIndicesEx() is deprecated and replaced with a macro if " -"Py_LIMITED_API is not set or set to the value between 0x03050400 and " -"0x03060000 (not including) or 0x03060100 or higher. Added functions " -"PySlice_Unpack() and PySlice_AdjustIndices()." -msgstr "" - -#: ../build/NEWS:15230 ../build/NEWS:17470 ../build/NEWS:21197 -msgid "" -"`bpo-29083 `__: Fixed the declaration of " -"some public API functions. PyArg_VaParse() and " -"PyArg_VaParseTupleAndKeywords() were not available in limited API. " -"PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue() " -"were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is " -"defined." -msgstr "" - -#: ../build/NEWS:15236 -msgid "" -"`bpo-28769 `__: The result of " -"PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of type ``const char " -"*`` rather of ``char *``." -msgstr "" - -#: ../build/NEWS:15239 ../build/NEWS:17476 -msgid "" -"`bpo-29058 `__: All stable API " -"extensions added after Python 3.2 are now available only when Py_LIMITED_API " -"is set to the PY_VERSION_HEX value of the minimum Python version supporting " -"this API." -msgstr "" - -#: ../build/NEWS:15243 -msgid "" -"`bpo-28822 `__: The index parameters " -"*start* and *end* of PyUnicode_FindChar() are now adjusted to behave like " -"``str[start:end]``." -msgstr "" - -#: ../build/NEWS:15246 ../build/NEWS:17634 ../build/NEWS:21782 -msgid "" -"`bpo-28808 `__: " -"PyUnicode_CompareWithASCIIString() now never raises exceptions." -msgstr "" - -#: ../build/NEWS:15248 -msgid "" -"`bpo-28761 `__: The fields name and doc " -"of structures PyMemberDef, PyGetSetDef, PyStructSequence_Field, " -"PyStructSequence_Desc, and wrapperbase are now of type ``const char *`` " -"rather of ``char *``." -msgstr "" - -#: ../build/NEWS:15252 -msgid "" -"`bpo-28748 `__: Private variable " -"_Py_PackageContext is now of type ``const char *`` rather of ``char *``." -msgstr "" - -#: ../build/NEWS:15255 -msgid "" -"`bpo-19569 `__: Compiler warnings are " -"now emitted if use most of deprecated functions." -msgstr "" - -#: ../build/NEWS:15258 ../build/NEWS:18135 -msgid "" -"`bpo-28426 `__: Deprecated undocumented " -"functions PyUnicode_AsEncodedObject(), PyUnicode_AsDecodedObject(), " -"PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode()." -msgstr "" - -#: ../build/NEWS:15264 -msgid "Python 3.6.6 final" -msgstr "" - -#: ../build/NEWS:15268 -msgid "There were no new changes in version 3.6.6." -msgstr "" - -#: ../build/NEWS:15273 -msgid "Python 3.6.6 release candidate 1" -msgstr "" - -#: ../build/NEWS:15275 -msgid "*Release date: 2018-06-11*" -msgstr "" - -#: ../build/NEWS:15506 -msgid "" -"`bpo-33184 `__: Update Windows installer " -"to OpenSSL 1.0.2o." -msgstr "" - -#: ../build/NEWS:15511 -msgid "" -"`bpo-33184 `__: Update macOS installer " -"build to use OpenSSL 1.0.2o." -msgstr "" - -#: ../build/NEWS:15543 -msgid "" -"`bpo-29706 `__: IDLE now colors async " -"and await as keywords in 3.6. They become full keywords in 3.7." -msgstr "" - -#: ../build/NEWS:15584 -msgid "Python 3.6.5 final" -msgstr "" - -#: ../build/NEWS:15586 -msgid "*Release date: 2018-03-28*" -msgstr "" - -#: ../build/NEWS:15600 -msgid "Python 3.6.5 release candidate 1" -msgstr "" - -#: ../build/NEWS:15602 -msgid "*Release date: 2018-03-13*" -msgstr "" - -#: ../build/NEWS:15641 -msgid "" -"`bpo-32329 `__: ``sys.flags." -"hash_randomization`` is now properly set to 0 when hash randomization is " -"turned off by ``PYTHONHASHSEED=0``." -msgstr "" - -#: ../build/NEWS:15644 -msgid "" -"`bpo-30416 `__: The optimizer is now " -"protected from spending much time doing complex calculations and consuming " -"much memory for creating large constants in constant folding." -msgstr "" - -#: ../build/NEWS:15671 -msgid "" -"`bpo-30353 `__: Fix ctypes pass-by-value " -"for structs on 64-bit Cygwin/MinGW." -msgstr "" - -#: ../build/NEWS:15709 -msgid "" -"`bpo-32394 `__: socket: Remove " -"TCP_FASTOPEN, TCP_KEEPCNT flags on older version Windows during run-time." -msgstr "" - -#: ../build/NEWS:15741 -msgid "" -"`bpo-32555 `__: On FreeBSD and Solaris, " -"os.strerror() now always decode the byte string from the current locale " -"encoding, rather than using ASCII/surrogateescape in some cases." -msgstr "" - -#: ../build/NEWS:15759 -msgid "" -"`bpo-32185 `__: The SSL module no longer " -"sends IP addresses in SNI TLS extension on platforms with OpenSSL 1.0.2+ or " -"inet_pton." -msgstr "" - -#: ../build/NEWS:15824 -msgid "" -"`bpo-31518 `__: Debian Unstable has " -"disabled TLS 1.0 and 1.1 for SSLv23_METHOD(). Change TLS/SSL protocol of " -"some tests to PROTOCOL_TLS or PROTOCOL_TLSv1_2 to make them pass on Debian." -msgstr "" - -#: ../build/NEWS:15857 -msgid "" -"`bpo-32588 `__: Create standalone " -"_distutils_findvs module." -msgstr "" - -#: ../build/NEWS:15862 -msgid "" -"`bpo-32726 `__: Provide an additional, " -"more modern macOS installer variant that supports macOS 10.9+ systems in 64-" -"bit mode only. Upgrade the supplied third-party libraries to OpenSSL 1.0.2n, " -"XZ 5.2.3, and SQLite 3.22.0. The 10.9+ installer now links with and supplies " -"its own copy of Tcl/Tk 8.6.8." -msgstr "" - -#: ../build/NEWS:15918 -msgid "Python 3.6.4 final" -msgstr "" - -#: ../build/NEWS:15920 -msgid "*Release date: 2017-12-18*" -msgstr "" - -#: ../build/NEWS:15922 -msgid "There were no new code changes in version 3.6.4 since v3.6.4rc1." -msgstr "" - -#: ../build/NEWS:15927 -msgid "Python 3.6.4 release candidate 1" -msgstr "" - -#: ../build/NEWS:15956 -msgid "" -"`bpo-31852 `__: Fix a segmentation fault " -"caused by a combination of the async soft keyword and continuation lines." -msgstr "" - -#: ../build/NEWS:16290 -msgid "" -"`bpo-13802 `__: Use non-Latin characters " -"in the IDLE's Font settings sample. Even if one selects a font that defines " -"a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use " -"other fonts that define a character. The expanded example give users of non-" -"Latin characters a better idea of what they might see in IDLE's shell and " -"editors. To make room for the expanded sample, frames on the Font tab are re-" -"arranged. The Font/Tabs help explains a bit about the additions." -msgstr "" - -#: ../build/NEWS:16346 -msgid "Python 3.6.3 final" -msgstr "" - -#: ../build/NEWS:16348 -msgid "*Release date: 2017-10-03*" -msgstr "" - -#: ../build/NEWS:16353 -msgid "" -"`bpo-31641 `__: Re-allow arbitrary " -"iterables in `concurrent.futures.as_completed()`. Fixes regression in " -"3.6.3rc1." -msgstr "" - -#: ../build/NEWS:16359 -msgid "" -"`bpo-31662 `__: Fix typos in Windows " -"``uploadrelease.bat`` script. Fix Windows Doc build issues in ``Doc/make." -"bat``." -msgstr "" - -#: ../build/NEWS:16362 -msgid "" -"`bpo-31423 `__: Fix building the PDF " -"documentation with newer versions of Sphinx." -msgstr "" - -#: ../build/NEWS:16367 -msgid "Python 3.6.3 release candidate 1" -msgstr "" - -#: ../build/NEWS:16369 -msgid "*Release date: 2017-09-18*" -msgstr "" - -#: ../build/NEWS:16821 -msgid "Python 3.6.2 final" -msgstr "" - -#: ../build/NEWS:16823 -msgid "*Release date: 2017-07-17*" -msgstr "" - -#: ../build/NEWS:16825 ../build/NEWS:17552 -msgid "No changes since release candidate 2" -msgstr "" - -#: ../build/NEWS:16830 -msgid "Python 3.6.2 release candidate 2" -msgstr "" - -#: ../build/NEWS:16832 -msgid "*Release date: 2017-07-07*" -msgstr "" - -#: ../build/NEWS:16857 -msgid "Python 3.6.2 release candidate 1" -msgstr "" - -#: ../build/NEWS:16859 -msgid "*Release date: 2017-06-17*" -msgstr "" - -#: ../build/NEWS:16867 -msgid "" -"`bpo-30604 `__: Move co_extra_freefuncs " -"to not be per-thread to avoid crashes" -msgstr "" - -#: ../build/NEWS:16897 ../build/NEWS:20849 -msgid "" -"`bpo-29600 `__: Fix wrapping coroutine " -"return values in StopIteration." -msgstr "" - -#: ../build/NEWS:16926 ../build/NEWS:20915 -msgid "" -"`bpo-30645 `__: Fix path calculation in " -"imp.load_package(), fixing it for cases when a package is only shipped with " -"bytecodes. Patch by Alexandru Ardelean." -msgstr "" - -#: ../build/NEWS:16946 -msgid "" -"`bpo-24484 `__: Avoid race condition in " -"multiprocessing cleanup (#2159)" -msgstr "" - -#: ../build/NEWS:17020 ../build/NEWS:20983 -msgid "" -"`bpo-26293 `__: Change resulted because " -"of zipfile breakage. (See also: `bpo-29094 `__)" -msgstr "" - -#: ../build/NEWS:17094 ../build/NEWS:21050 -msgid "" -"`bpo-28298 `__: Fix a bug that prevented " -"array 'Q', 'L' and 'I' from accepting big intables (objects that have " -"__int__) as elements. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:17137 -msgid "" -"`bpo-27867 `__: Function " -"PySlice_GetIndicesEx() no longer replaced with a macro if Py_LIMITED_API is " -"not set." -msgstr "" - -#: ../build/NEWS:17209 -msgid "Python 3.6.1 final" -msgstr "" - -#: ../build/NEWS:17211 -msgid "*Release date: 2017-03-21*" -msgstr "" - -#: ../build/NEWS:17227 -msgid "" -"`bpo-27593 `__: fix format of git " -"information used in sys.version" -msgstr "" - -#: ../build/NEWS:17229 -msgid "Fix incompatible comment in python.h" -msgstr "" - -#: ../build/NEWS:17233 -msgid "Python 3.6.1 release candidate 1" -msgstr "" - -#: ../build/NEWS:17235 -msgid "*Release date: 2017-03-04*" -msgstr "" - -#: ../build/NEWS:17346 ../build/NEWS:21082 -msgid "" -"`bpo-29519 `__: Fix weakref spewing " -"exceptions during interpreter shutdown when used with a rare combination of " -"multiprocessing and custom codecs." -msgstr "" - -#: ../build/NEWS:17362 -msgid "" -"`bpo-29316 `__: Restore the provisional " -"status of typing module, add corresponding note to documentation. Patch by " -"Ivan L." -msgstr "" - -#: ../build/NEWS:17368 ../build/NEWS:21098 -msgid "" -"`bpo-29011 `__: Fix an important " -"omission by adding Deque to the typing module." -msgstr "" - -#: ../build/NEWS:17382 -msgid "" -"`bpo-29203 `__: functools.lru_cache() " -"now respects :pep:`468` and preserves the order of keyword arguments. " -"f(a=1, b=2) is now cached separately from f(b=2, a=1) since both calls could " -"potentially give different results." -msgstr "" - -#: ../build/NEWS:17389 ../build/NEWS:21355 -msgid "" -"`bpo-29094 `__: Offsets in a ZIP file " -"created with extern file object and modes \"w\" and \"x\" now are relative " -"to the start of the file." -msgstr "" - -#: ../build/NEWS:17392 -msgid "" -"`bpo-29085 `__: Allow random.Random." -"seed() to use high quality OS randomness rather than the pid and time." -msgstr "" - -#: ../build/NEWS:17395 -msgid "" -"`bpo-29061 `__: Fixed bug in secrets." -"randbelow() which would hang when given a negative input. Patch by Brendan " -"Donegan." -msgstr "" - -#: ../build/NEWS:17403 ../build/NEWS:21361 -msgid "" -"`bpo-29119 `__: Fix weakrefs in the pure " -"python version of collections.OrderedDict move_to_end() method. Contributed " -"by Andra Bogildea." -msgstr "" - -#: ../build/NEWS:17415 -msgid "" -"`bpo-29055 `__: Neaten-up empty " -"population error on random.choice() by suppressing the upstream exception." -msgstr "" - -#: ../build/NEWS:17430 ../build/NEWS:21385 -msgid "" -"`bpo-28847 `__: dbm.dumb now supports " -"reading read-only files and no longer writes the index file when it is not " -"changed." -msgstr "" - -#: ../build/NEWS:17448 -msgid "" -"`bpo-29579 `__: Removes readme.txt from " -"the installer" -msgstr "" - -#: ../build/NEWS:17450 -msgid "" -"`bpo-29326 `__: Ignores blank lines in ." -"_pth files (Patch by Alexey Izbyshev)" -msgstr "" - -#: ../build/NEWS:17452 -msgid "" -"`bpo-28164 `__: Correctly handle special " -"console filenames (patch by Eryk Sun)" -msgstr "" - -#: ../build/NEWS:17454 -msgid "" -"`bpo-29409 `__: Implement :pep:`529` for " -"io.FileIO (Patch by Eryk Sun)" -msgstr "" - -#: ../build/NEWS:17456 ../build/NEWS:21187 -msgid "" -"`bpo-29392 `__: Prevent crash when " -"passing invalid arguments into msvcrt module." -msgstr "" - -#: ../build/NEWS:17461 -msgid "" -"`bpo-28896 `__: Deprecate " -"WindowsRegistryFinder and disable it by default." -msgstr "" - -#: ../build/NEWS:17466 -msgid "" -"`bpo-27867 `__: Function " -"PySlice_GetIndicesEx() is replaced with a macro if Py_LIMITED_API is not set " -"or set to the value between 0x03050400 and 0x03060000 (not including) or " -"0x03060100 or higher." -msgstr "" - -#: ../build/NEWS:17496 ../build/NEWS:21152 -msgid "" -"`bpo-28087 `__: Skip test_asyncore and " -"test_eintr poll failures on macOS. Skip some tests of select.poll when " -"running on macOS due to unresolved issues with the underlying system poll " -"function on some macOS versions." -msgstr "" - -#: ../build/NEWS:17500 ../build/NEWS:21162 -msgid "" -"`bpo-29571 `__: to match the behaviour " -"of the ``re.LOCALE`` flag, test_re.test_locale_flag now uses ``locale." -"getpreferredencoding(False)`` to determine the candidate encoding for the " -"test regex (allowing it to correctly skip the test when the default locale " -"encoding is a multi-byte encoding)" -msgstr "" - -#: ../build/NEWS:17548 -msgid "Python 3.6.0 final" -msgstr "" - -#: ../build/NEWS:17550 -msgid "*Release date: 2016-12-23*" -msgstr "" - -#: ../build/NEWS:17557 -msgid "Python 3.6.0 release candidate 2" -msgstr "" - -#: ../build/NEWS:17559 -msgid "*Release date: 2016-12-16*" -msgstr "" - -#: ../build/NEWS:17567 -msgid "" -"`bpo-28990 `__: Fix asyncio SSL hanging " -"if connection is closed before handshake is completed. (Patch by HoHo-Ho)" -msgstr "" - -#: ../build/NEWS:17573 -msgid "" -"`bpo-28770 `__: Fix python-gdb.py for " -"fastcalls." -msgstr "" - -#: ../build/NEWS:17578 -msgid "" -"`bpo-28896 `__: Deprecate " -"WindowsRegistryFinder." -msgstr "" - -#: ../build/NEWS:17583 -msgid "" -"`bpo-28898 `__: Prevent gdb build errors " -"due to HAVE_LONG_LONG redefinition." -msgstr "" - -#: ../build/NEWS:17587 -msgid "Python 3.6.0 release candidate 1" -msgstr "" - -#: ../build/NEWS:17589 -msgid "*Release date: 2016-12-06*" -msgstr "" - -#: ../build/NEWS:17611 -msgid "" -"`bpo-27030 `__: Unknown escapes in re." -"sub() replacement template are allowed again. But they still are deprecated " -"and will be disabled in 3.7." -msgstr "" - -#: ../build/NEWS:17629 -msgid "" -"`bpo-28843 `__: Fix asyncio C Task to " -"handle exceptions __traceback__." -msgstr "" - -#: ../build/NEWS:17639 -msgid "" -"`bpo-23722 `__: The data model reference " -"and the porting section in the What's New guide now cover the additional " -"``__classcell__`` handling needed for custom metaclasses to fully support :" -"pep:`487` and zero-argument ``super()``." -msgstr "" - -#: ../build/NEWS:17651 -msgid "Python 3.6.0 beta 4" -msgstr "" - -#: ../build/NEWS:17653 -msgid "*Release date: 2016-11-21*" -msgstr "" - -#: ../build/NEWS:17681 -msgid "" -"`bpo-27243 `__: Change " -"PendingDeprecationWarning -> DeprecationWarning. As it was agreed in the " -"issue, __aiter__ returning an awaitable should result in " -"PendingDeprecationWarning in 3.5 and in DeprecationWarning in 3.6." -msgstr "" - -#: ../build/NEWS:17700 -msgid "" -"`bpo-20572 `__: The subprocess.Popen." -"wait method's undocumented endtime parameter now raises a DeprecationWarning." -msgstr "" - -#: ../build/NEWS:17717 -msgid "" -"`bpo-28600 `__: Optimize loop.call_soon." -msgstr "" - -#: ../build/NEWS:17719 ../build/NEWS:21733 -msgid "" -"`bpo-28613 `__: Fix get_event_loop() " -"return the current loop if called from coroutines/callbacks." -msgstr "" - -#: ../build/NEWS:17722 -msgid "" -"`bpo-28634 `__: Fix asyncio.isfuture() " -"to support unittest.Mock." -msgstr "" - -#: ../build/NEWS:17724 -msgid "" -"`bpo-26081 `__: Fix refleak in _asyncio." -"Future.__iter__().throw." -msgstr "" - -#: ../build/NEWS:17726 ../build/NEWS:21736 -msgid "" -"`bpo-28639 `__: Fix inspect.isawaitable " -"to always return bool Patch by Justin Mayfield." -msgstr "" - -#: ../build/NEWS:17729 ../build/NEWS:21739 -msgid "" -"`bpo-28652 `__: Make loop methods reject " -"socket kinds they do not support." -msgstr "" - -#: ../build/NEWS:17731 ../build/NEWS:21741 -msgid "" -"`bpo-28653 `__: Fix a refleak in " -"functools.lru_cache." -msgstr "" - -#: ../build/NEWS:17733 ../build/NEWS:21743 -msgid "" -"`bpo-28703 `__: Fix asyncio." -"iscoroutinefunction to handle Mock objects." -msgstr "" - -#: ../build/NEWS:17735 -msgid "" -"`bpo-28704 `__: Fix create_unix_server " -"to support Path-like objects (PEP 519)." -msgstr "" - -#: ../build/NEWS:17737 -msgid "" -"`bpo-28720 `__: Add collections.abc." -"AsyncGenerator." -msgstr "" - -#: ../build/NEWS:17765 -msgid "Python 3.6.0 beta 3" -msgstr "" - -#: ../build/NEWS:17767 -msgid "*Release date: 2016-10-31*" -msgstr "" - -#: ../build/NEWS:17790 -msgid "" -"`bpo-28471 `__: Fix \"Python memory " -"allocator called without holding the GIL\" crash in socket.setblocking." -msgstr "" - -#: ../build/NEWS:17812 -msgid "" -"`bpo-18844 `__: The various ways of " -"specifying weights for random.choices() now produce the same result " -"sequences." -msgstr "" - -#: ../build/NEWS:17815 ../build/NEWS:21417 -msgid "" -"`bpo-28255 `__: calendar.TextCalendar()." -"prmonth() no longer prints a space at the start of new line after printing a " -"month's calendar. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:17848 ../build/NEWS:21431 -msgid "" -"`bpo-24452 `__: Make webbrowser support " -"Chrome on Mac OS X." -msgstr "" - -#: ../build/NEWS:17853 -msgid "" -"`bpo-28492 `__: Fix how StopIteration " -"exception is raised in _asyncio.Future." -msgstr "" - -#: ../build/NEWS:17855 -msgid "" -"`bpo-28500 `__: Fix asyncio to handle " -"async gens GC from another thread." -msgstr "" - -#: ../build/NEWS:17857 ../build/NEWS:21725 -msgid "" -"`bpo-26923 `__: Fix asyncio.Gather to " -"refuse being cancelled once all children are done. Patch by Johannes Ebke." -msgstr "" - -#: ../build/NEWS:17860 ../build/NEWS:21728 -msgid "" -"`bpo-26796 `__: Don't configure the " -"number of workers for default threadpool executor. Initial patch by Hans " -"Lawrenz." -msgstr "" - -#: ../build/NEWS:17863 -msgid "" -"`bpo-28544 `__: Implement asyncio.Task " -"in C." -msgstr "" - -#: ../build/NEWS:17889 -msgid "Python 3.6.0 beta 2" -msgstr "" - -#: ../build/NEWS:17891 -msgid "*Release date: 2016-10-10*" -msgstr "" - -#: ../build/NEWS:17907 -msgid "" -"`bpo-28376 `__: Creating instances of " -"range_iterator by calling range_iterator type now is deprecated. Patch by " -"Oren Milman." -msgstr "" - -#: ../build/NEWS:17910 ../build/NEWS:21258 -msgid "" -"`bpo-28376 `__: The constructor of " -"range_iterator now checks that step is not 0. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:17971 ../build/NEWS:21436 -msgid "" -"`bpo-26293 `__: Fixed writing ZIP files " -"that starts not from the start of the file. Offsets in ZIP file now are " -"relative to the start of the archive in conforming to the specification." -msgstr "" - -#: ../build/NEWS:17978 -msgid "" -"`bpo-27181 `__: remove statistics." -"geometric_mean and defer until 3.7." -msgstr "" - -#: ../build/NEWS:18157 -msgid "Python 3.6.0 beta 1" -msgstr "" - -#: ../build/NEWS:18159 -msgid "*Release date: 2016-09-12*" -msgstr "" - -#: ../build/NEWS:18164 -msgid "" -"`bpo-23722 `__: The __class__ cell used " -"by zero-argument super() is now initialized from type.__new__ rather than " -"__build_class__, so class methods relying on that will now work correctly " -"when called from metaclass methods during class creation. Patch by Martin " -"Teichmann." -msgstr "" - -#: ../build/NEWS:18169 ../build/NEWS:21289 -msgid "" -"`bpo-25221 `__: Fix corrupted result " -"from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0." -msgstr "" - -#: ../build/NEWS:18172 -msgid "" -"`bpo-27080 `__: Implement formatting " -"support for :pep:`515`. Initial patch by Chris Angelico." -msgstr "" - -#: ../build/NEWS:18175 -msgid "" -"`bpo-27199 `__: In tarfile, expose " -"copyfileobj bufsize to improve throughput. Patch by Jason Fried." -msgstr "" - -#: ../build/NEWS:18178 -msgid "" -"`bpo-27948 `__: In f-strings, only allow " -"backslashes inside the braces (where the expressions are). This is a " -"breaking change from the 3.6 alpha releases, where backslashes are allowed " -"anywhere in an f-string. Also, require that expressions inside f-strings be " -"enclosed within literal braces, and not escapes like ``f'\\x7b\"hi\"\\x7d'``." -msgstr "" - -#: ../build/NEWS:18184 -msgid "" -"`bpo-28046 `__: Remove platform-specific " -"directories from sys.path." -msgstr "" - -#: ../build/NEWS:18186 -msgid "" -"`bpo-28071 `__: Add early-out for " -"differencing from an empty set." -msgstr "" - -#: ../build/NEWS:18188 ../build/NEWS:21292 -msgid "" -"`bpo-25758 `__: Prevents zipimport from " -"unnecessarily encoding a filename (patch by Eryk Sun)" -msgstr "" - -#: ../build/NEWS:18191 -msgid "" -"`bpo-25856 `__: The __module__ attribute " -"of extension classes and functions now is interned. This leads to more " -"compact pickle data with protocol 4." -msgstr "" - -#: ../build/NEWS:18194 -msgid "" -"`bpo-27213 `__: Rework CALL_FUNCTION* " -"opcodes to produce shorter and more efficient bytecode. Patch by Demur " -"Rumed, design by Serhiy Storchaka, reviewed by Serhiy Storchaka and Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:18198 -msgid "" -"`bpo-26331 `__: Implement tokenizing " -"support for :pep:`515`. Patch by Georg Brandl." -msgstr "" - -#: ../build/NEWS:18201 -msgid "" -"`bpo-27999 `__: Make \"global after use" -"\" a SyntaxError, and ditto for nonlocal. Patch by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:18204 -msgid "" -"`bpo-28003 `__: Implement :pep:`525` -- " -"Asynchronous Generators." -msgstr "" - -#: ../build/NEWS:18206 -msgid "" -"`bpo-27985 `__: Implement :pep:`526` -- " -"Syntax for Variable Annotations. Patch by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:18209 -msgid "" -"`bpo-26058 `__: Add a new private " -"version to the builtin dict type, incremented at each dictionary creation " -"and at each dictionary change. Implementation of the PEP 509." -msgstr "" - -#: ../build/NEWS:18213 -msgid "" -"`bpo-27364 `__: A backslash-character " -"pair that is not a valid escape sequence now generates a " -"DeprecationWarning. Patch by Emanuel Barry." -msgstr "" - -#: ../build/NEWS:18216 -msgid "" -"`bpo-27350 `__: `dict` implementation is " -"changed like PyPy. It is more compact and preserves insertion order. " -"(Concept developed by Raymond Hettinger and patch by Inada Naoki.)" -msgstr "" - -#: ../build/NEWS:18220 -msgid "" -"`bpo-27911 `__: Remove unnecessary error " -"checks in ``exec_builtin_or_dynamic()``." -msgstr "" - -#: ../build/NEWS:18223 -msgid "" -"`bpo-27078 `__: Added BUILD_STRING " -"opcode. Optimized f-strings evaluation." -msgstr "" - -#: ../build/NEWS:18225 -msgid "" -"`bpo-17884 `__: Python now requires " -"systems with inttypes.h and stdint.h" -msgstr "" - -#: ../build/NEWS:18227 -msgid "" -"`bpo-27961 `__: Require platforms to " -"support ``long long``. Python hasn't compiled without ``long long`` for " -"years, so this is basically a formality." -msgstr "" - -#: ../build/NEWS:18231 -msgid "" -"`bpo-27355 `__: Removed support for " -"Windows CE. It was never finished, and Windows CE is no longer a relevant " -"platform for Python." -msgstr "" - -#: ../build/NEWS:18234 -msgid "Implement :pep:`523`." -msgstr "" - -#: ../build/NEWS:18236 -msgid "" -"`bpo-27870 `__: A left shift of zero by " -"a large integer no longer attempts to allocate large amounts of memory." -msgstr "" - -#: ../build/NEWS:18239 -msgid "" -"`bpo-25402 `__: In int-to-decimal-string " -"conversion, improve the estimate of the intermediate memory required, and " -"remove an unnecessarily strict overflow check. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:18243 -msgid "" -"`bpo-27214 `__: In long_invert, be more " -"careful about modifying object returned by long_add, and remove an " -"unnecessary check for small longs. Thanks Oren Milman for analysis and patch." -msgstr "" - -#: ../build/NEWS:18247 -msgid "" -"`bpo-27506 `__: Support passing the " -"bytes/bytearray.translate() \"delete\" argument by keyword." -msgstr "" - -#: ../build/NEWS:18250 ../build/NEWS:21298 -msgid "" -"`bpo-27812 `__: Properly clear out a " -"generator's frame's backreference to the generator to prevent crashes in " -"frame.clear()." -msgstr "" - -#: ../build/NEWS:18253 ../build/NEWS:21301 -msgid "" -"`bpo-27811 `__: Fix a crash when a " -"coroutine that has not been awaited is finalized with warnings-as-errors " -"enabled." -msgstr "" - -#: ../build/NEWS:18256 ../build/NEWS:21304 -msgid "" -"`bpo-27587 `__: Fix another issue found " -"by PVS-Studio: Null pointer check after use of 'def' in " -"_PyState_AddModule(). Initial patch by Christian Heimes." -msgstr "" - -#: ../build/NEWS:18259 -msgid "" -"`bpo-27792 `__: The modulo operation " -"applied to ``bool`` and other ``int`` subclasses now always returns an " -"``int``. Previously the return type depended on the input values. Patch by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18263 -msgid "" -"`bpo-26984 `__: int() now always returns " -"an instance of exact int." -msgstr "" - -#: ../build/NEWS:18265 -msgid "" -"`bpo-25604 `__: Fix a minor bug in " -"integer true division; this bug could potentially have caused off-by-one-ulp " -"results on platforms with unreliable ldexp implementations." -msgstr "" - -#: ../build/NEWS:18269 -msgid "" -"`bpo-24254 `__: Make class definition " -"namespace ordered by default." -msgstr "" - -#: ../build/NEWS:18271 -msgid "" -"`bpo-27662 `__: Fix an overflow check in " -"``List_New``: the original code was checking against ``Py_SIZE_MAX`` instead " -"of the correct upper bound of ``Py_SSIZE_T_MAX``. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18275 ../build/NEWS:21310 -msgid "" -"`bpo-27782 `__: Multi-phase extension " -"module import now correctly allows the ``m_methods`` field to be used to add " -"module level functions to instances of non-module types returned from " -"``Py_create_mod``. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18279 ../build/NEWS:21314 -msgid "" -"`bpo-27936 `__: The round() function " -"accepted a second None argument for some types but not for others. Fixed " -"the inconsistency by accepting None for all numeric types." -msgstr "" - -#: ../build/NEWS:18283 ../build/NEWS:21318 -msgid "" -"`bpo-27487 `__: Warn if a submodule " -"argument to \"python -m\" or runpy.run_module() is found in sys.modules " -"after parent packages are imported, but before the submodule is executed." -msgstr "" - -#: ../build/NEWS:18287 -msgid "" -"`bpo-27157 `__: Make only type() itself " -"accept the one-argument form. Patch by Eryk Sun and Emanuel Barry." -msgstr "" - -#: ../build/NEWS:18290 ../build/NEWS:21322 -msgid "" -"`bpo-27558 `__: Fix a SystemError in the " -"implementation of \"raise\" statement. In a brand new thread, raise a " -"RuntimeError since there is no active exception to reraise. Patch written by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18294 -msgid "" -"`bpo-28008 `__: Implement :pep:`530` -- " -"asynchronous comprehensions." -msgstr "" - -#: ../build/NEWS:18296 ../build/NEWS:21347 -msgid "" -"`bpo-27942 `__: Fix memory leak in " -"codeobject.c" -msgstr "" - -#: ../build/NEWS:18301 ../build/NEWS:21391 -msgid "" -"`bpo-28732 `__: Fix crash in os.spawnv() " -"with no elements in args" -msgstr "" - -#: ../build/NEWS:18303 ../build/NEWS:21393 -msgid "" -"`bpo-28485 `__: Always raise ValueError " -"for negative compileall.compile_dir(workers=...) parameter, even when " -"multithreading is unavailable." -msgstr "" - -#: ../build/NEWS:18307 -msgid "" -"`bpo-28037 `__: Use " -"sqlite3_get_autocommit() instead of setting Connection->inTransaction " -"manually." -msgstr "" - -#: ../build/NEWS:18310 -msgid "" -"`bpo-25283 `__: Attributes tm_gmtoff and " -"tm_zone are now available on all platforms in the return values of time." -"localtime() and time.gmtime()." -msgstr "" - -#: ../build/NEWS:18313 -msgid "" -"`bpo-24454 `__: Regular expression match " -"object groups are now accessible using __getitem__. \"mo[x]\" is equivalent " -"to \"mo.group(x)\"." -msgstr "" - -#: ../build/NEWS:18316 -msgid "" -"`bpo-10740 `__: sqlite3 no longer " -"implicitly commit an open transaction before DDL statements." -msgstr "" - -#: ../build/NEWS:18319 -msgid "" -"`bpo-17941 `__: Add a *module* parameter " -"to collections.namedtuple()." -msgstr "" - -#: ../build/NEWS:18321 -msgid "" -"`bpo-22493 `__: Inline flags now should " -"be used only at the start of the regular expression. Deprecation warning is " -"emitted if uses them in the middle of the regular expression." -msgstr "" - -#: ../build/NEWS:18325 -msgid "" -"`bpo-26885 `__: xmlrpc now supports " -"unmarshalling additional data types used by Apache XML-RPC implementation " -"for numerics and None." -msgstr "" - -#: ../build/NEWS:18328 -msgid "" -"`bpo-28070 `__: Fixed parsing inline " -"verbose flag in regular expressions." -msgstr "" - -#: ../build/NEWS:18330 -msgid "" -"`bpo-19500 `__: Add client-side SSL " -"session resumption to the ssl module." -msgstr "" - -#: ../build/NEWS:18332 -msgid "" -"`bpo-28022 `__: Deprecate ssl-related " -"arguments in favor of SSLContext. The deprecation include manual creation of " -"SSLSocket and certfile/keyfile (or similar) in ftplib, httplib, imaplib, " -"smtplib, poplib and urllib." -msgstr "" - -#: ../build/NEWS:18336 -msgid "" -"`bpo-28043 `__: SSLContext has improved " -"default settings: OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_COMPRESSION, " -"OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE and HIGH " -"ciphers without MD5." -msgstr "" - -#: ../build/NEWS:18340 -msgid "" -"`bpo-24693 `__: Changed some " -"RuntimeError's in the zipfile module to more appropriate types. Improved " -"some error messages and debugging output." -msgstr "" - -#: ../build/NEWS:18343 -msgid "" -"`bpo-17909 `__: ``json.load`` and ``json." -"loads`` now support binary input encoded as UTF-8, UTF-16 or UTF-32. Patch " -"by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:18346 -msgid "" -"`bpo-27137 `__: the pure Python fallback " -"implementation of ``functools.partial`` now matches the behaviour of its " -"accelerated C counterpart for subclassing, pickling and text representation " -"purposes. Patch by Emanuel Barry and Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:18351 ../build/NEWS:21446 -msgid "" -"Fix possible integer overflows and crashes in the mmap module with unusual " -"usage patterns." -msgstr "" - -#: ../build/NEWS:18354 ../build/NEWS:21449 -msgid "" -"`bpo-1703178 `__: Fix the ability to " -"pass the --link-objects option to the distutils build_ext command." -msgstr "" - -#: ../build/NEWS:18357 ../build/NEWS:21496 -msgid "" -"`bpo-28019 `__: itertools.count() no " -"longer rounds non-integer step in range between 1.0 and 2.0 to 1." -msgstr "" - -#: ../build/NEWS:18360 -msgid "" -"`bpo-18401 `__: Pdb now supports the " -"'readrc' keyword argument to control whether .pdbrc files should be read. " -"Patch by Martin Matusiak and Sam Kimbrel." -msgstr "" - -#: ../build/NEWS:18364 ../build/NEWS:21499 -msgid "" -"`bpo-25969 `__: Update the lib2to3 " -"grammar to handle the unpacking generalizations added in 3.5." -msgstr "" - -#: ../build/NEWS:18367 ../build/NEWS:21502 -msgid "" -"`bpo-14977 `__: mailcap now respects the " -"order of the lines in the mailcap files (\"first match\"), as required by " -"RFC 1542. Patch by Michael Lazar." -msgstr "" - -#: ../build/NEWS:18370 -msgid "" -"`bpo-28082 `__: Convert re flag " -"constants to IntFlag." -msgstr "" - -#: ../build/NEWS:18372 -msgid "" -"`bpo-28025 `__: Convert all ssl module " -"constants to IntEnum and IntFlags. SSLContext properties now return flags " -"and enums." -msgstr "" - -#: ../build/NEWS:18375 -msgid "" -"`bpo-23591 `__: Add Flag, IntFlag, and " -"auto() to enum module." -msgstr "" - -#: ../build/NEWS:18377 -msgid "" -"`bpo-433028 `__: Added support of " -"modifier spans in regular expressions." -msgstr "" - -#: ../build/NEWS:18379 ../build/NEWS:21505 -msgid "" -"`bpo-24594 `__: Validates persist " -"parameter when opening MSI database" -msgstr "" - -#: ../build/NEWS:18381 ../build/NEWS:21507 -msgid "" -"`bpo-17582 `__: xml.etree.ElementTree " -"nows preserves whitespaces in attributes (Patch by Duane Griffin. Reviewed " -"and approved by Stefan Behnel.)" -msgstr "" - -#: ../build/NEWS:18384 ../build/NEWS:21510 -msgid "" -"`bpo-28047 `__: Fixed calculation of " -"line length used for the base64 CTE in the new email policies." -msgstr "" - -#: ../build/NEWS:18387 -msgid "" -"`bpo-27576 `__: Fix call order in " -"OrderedDict.__init__()." -msgstr "" - -#: ../build/NEWS:18389 -msgid "email.generator.DecodedGenerator now supports the policy keyword." -msgstr "" - -#: ../build/NEWS:18391 -msgid "" -"`bpo-28027 `__: Remove undocumented " -"modules from ``Lib/plat-*``: IN, CDROM, DLFCN, TYPES, CDIO, and STROPTS." -msgstr "" - -#: ../build/NEWS:18394 ../build/NEWS:21513 -msgid "" -"`bpo-27445 `__: Don't pass str(_charset) " -"to MIMEText.set_payload(). Patch by Claude Paroz." -msgstr "" - -#: ../build/NEWS:18397 -msgid "" -"`bpo-24277 `__: The new email API is no " -"longer provisional, and the docs have been reorganized and rewritten to " -"emphasize the new API." -msgstr "" - -#: ../build/NEWS:18400 ../build/NEWS:21516 -msgid "" -"`bpo-22450 `__: urllib now includes an " -"``Accept: */*`` header among the default headers. This makes the results of " -"REST API requests more consistent and predictable especially when proxy " -"servers are involved." -msgstr "" - -#: ../build/NEWS:18404 ../build/NEWS:21520 -msgid "" -"lib2to3.pgen3.driver.load_grammar() now creates a stable cache file between " -"runs given the same Grammar.txt input regardless of the hash randomization " -"setting." -msgstr "" - -#: ../build/NEWS:18408 -msgid "" -"`bpo-28005 `__: Allow ImportErrors in " -"encoding implementation to propagate." -msgstr "" - -#: ../build/NEWS:18410 -msgid "" -"`bpo-26667 `__: Support path-like " -"objects in importlib.util." -msgstr "" - -#: ../build/NEWS:18412 ../build/NEWS:21524 -msgid "" -"`bpo-27570 `__: Avoid zero-length " -"memcpy() etc calls with null source pointers in the \"ctypes\" and \"array\" " -"modules." -msgstr "" - -#: ../build/NEWS:18415 ../build/NEWS:21527 -msgid "" -"`bpo-22233 `__: Break email header lines " -"*only* on the RFC specified CR and LF characters, not on arbitrary unicode " -"line breaks. This also fixes a bug in HTTP header parsing." -msgstr "" - -#: ../build/NEWS:18419 -msgid "" -"`bpo-27331 `__: The email.mime classes " -"now all accept an optional policy keyword." -msgstr "" - -#: ../build/NEWS:18422 ../build/NEWS:21531 -msgid "" -"`bpo-27988 `__: Fix email " -"iter_attachments incorrect mutation of payload list." -msgstr "" - -#: ../build/NEWS:18424 -msgid "" -"`bpo-16113 `__: Add SHA-3 and SHAKE " -"support to hashlib module." -msgstr "" - -#: ../build/NEWS:18426 -msgid "Eliminate a tautological-pointer-compare warning in _scproxy.c." -msgstr "" - -#: ../build/NEWS:18428 -msgid "" -"`bpo-27776 `__: The :func:`os.urandom` " -"function does now block on Linux 3.17 and newer until the system urandom " -"entropy pool is initialized to increase the security. This change is part of " -"the :pep:`524`." -msgstr "" - -#: ../build/NEWS:18432 -msgid "" -"`bpo-27778 `__: Expose the Linux " -"``getrandom()`` syscall as a new :func:`os.getrandom` function. This change " -"is part of the :pep:`524`." -msgstr "" - -#: ../build/NEWS:18435 ../build/NEWS:21533 -msgid "" -"`bpo-27691 `__: Fix ssl module's parsing " -"of GEN_RID subject alternative name fields in X.509 certs." -msgstr "" - -#: ../build/NEWS:18438 -msgid "" -"`bpo-18844 `__: Add random.choices()." -msgstr "" - -#: ../build/NEWS:18440 -msgid "" -"`bpo-25761 `__: Improved error reporting " -"about truncated pickle data in C implementation of unpickler. " -"UnpicklingError is now raised instead of AttributeError and ValueError in " -"some cases." -msgstr "" - -#: ../build/NEWS:18444 -msgid "" -"`bpo-26798 `__: Add BLAKE2 (blake2b and " -"blake2s) to hashlib." -msgstr "" - -#: ../build/NEWS:18446 -msgid "" -"`bpo-26032 `__: Optimized globbing in " -"pathlib by using os.scandir(); it is now about 1.5--4 times faster." -msgstr "" - -#: ../build/NEWS:18449 -msgid "" -"`bpo-25596 `__: Optimized glob() and " -"iglob() functions in the glob module; they are now about 3--6 times faster." -msgstr "" - -#: ../build/NEWS:18452 -msgid "" -"`bpo-27928 `__: Add scrypt (password-" -"based key derivation function) to hashlib module (requires OpenSSL 1.1.0)." -msgstr "" - -#: ../build/NEWS:18455 ../build/NEWS:21536 -msgid "" -"`bpo-27850 `__: Remove 3DES from ssl " -"module's default cipher list to counter measure sweet32 attack " -"(CVE-2016-2183)." -msgstr "" - -#: ../build/NEWS:18458 ../build/NEWS:21539 -msgid "" -"`bpo-27766 `__: Add ChaCha20 Poly1305 to " -"ssl module's default cipher list. (Required OpenSSL 1.1.0 or LibreSSL)." -msgstr "" - -#: ../build/NEWS:18461 -msgid "" -"`bpo-25387 `__: Check return value of " -"winsound.MessageBeep." -msgstr "" - -#: ../build/NEWS:18463 -msgid "" -"`bpo-27866 `__: Add SSLContext." -"get_ciphers() method to get a list of all enabled ciphers." -msgstr "" - -#: ../build/NEWS:18466 -msgid "" -"`bpo-27744 `__: Add AF_ALG (Linux Kernel " -"crypto) to socket module." -msgstr "" - -#: ../build/NEWS:18468 ../build/NEWS:21542 -msgid "" -"`bpo-26470 `__: Port ssl and hashlib " -"module to OpenSSL 1.1.0." -msgstr "" - -#: ../build/NEWS:18470 -msgid "" -"`bpo-11620 `__: Fix support for " -"SND_MEMORY in winsound.PlaySound. Based on a patch by Tim Lesher." -msgstr "" - -#: ../build/NEWS:18473 -msgid "" -"`bpo-11734 `__: Add support for IEEE 754 " -"half-precision floats to the struct module. Based on a patch by Eli Stevens." -msgstr "" - -#: ../build/NEWS:18476 -msgid "" -"`bpo-27919 `__: Deprecated " -"``extra_path`` distribution option in distutils packaging." -msgstr "" - -#: ../build/NEWS:18479 -msgid "" -"`bpo-23229 `__: Add new ``cmath`` " -"constants: ``cmath.inf`` and ``cmath.nan`` to match ``math.inf`` and ``math." -"nan``, and also ``cmath.infj`` and ``cmath.nanj`` to match the format used " -"by complex repr." -msgstr "" - -#: ../build/NEWS:18483 -msgid "" -"`bpo-27842 `__: The csv.DictReader now " -"returns rows of type OrderedDict. (Contributed by Steve Holden.)" -msgstr "" - -#: ../build/NEWS:18486 ../build/NEWS:21544 -msgid "" -"Remove support for passing a file descriptor to os.access. It never worked " -"but previously didn't raise." -msgstr "" - -#: ../build/NEWS:18489 ../build/NEWS:21547 -msgid "" -"`bpo-12885 `__: Fix error when distutils " -"encounters symlink." -msgstr "" - -#: ../build/NEWS:18491 ../build/NEWS:21549 -msgid "" -"`bpo-27881 `__: Fixed possible bugs when " -"setting sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18494 ../build/NEWS:21552 -msgid "" -"`bpo-27861 `__: Fixed a crash in sqlite3." -"Connection.cursor() when a factory creates not a cursor. Patch by Xiang " -"Zhang." -msgstr "" - -#: ../build/NEWS:18497 ../build/NEWS:21555 -msgid "" -"`bpo-19884 `__: Avoid spurious output on " -"OS X with Gnu Readline." -msgstr "" - -#: ../build/NEWS:18499 ../build/NEWS:21557 -msgid "" -"`bpo-27706 `__: Restore deterministic " -"behavior of random.Random().seed() for string seeds using seeding version " -"1. Allows sequences of calls to random() to exactly match those obtained in " -"Python 2. Patch by Nofar Schnider." -msgstr "" - -#: ../build/NEWS:18504 ../build/NEWS:21562 -msgid "" -"`bpo-10513 `__: Fix a regression in " -"Connection.commit(). Statements should not be reset after a commit." -msgstr "" - -#: ../build/NEWS:18507 -msgid "" -"`bpo-12319 `__: Chunked transfer " -"encoding support added to http.client.HTTPConnection requests. The urllib." -"request.AbstractHTTPHandler class does not enforce a Content-Length header " -"any more. If a HTTP request has a file or iterable body, but no Content-" -"Length header, the library now falls back to use chunked transfer-encoding." -msgstr "" - -#: ../build/NEWS:18514 -msgid "" -"A new version of typing.py from https://github.com/python/typing: - " -"Collection (only for 3.6) (`bpo-27598 `__) - Add FrozenSet to __all__ (upstream #261) - fix crash in " -"_get_type_vars() (upstream #259) - Remove the dict constraint in ForwardRef." -"_eval_type (upstream #252)" -msgstr "" - -#: ../build/NEWS:18519 -msgid "" -"`bpo-27832 `__: Make ``_normalize`` " -"parameter to ``Fraction`` constructor keyword-only, so that ``Fraction(2, 3, " -"4)`` now raises ``TypeError``." -msgstr "" - -#: ../build/NEWS:18522 ../build/NEWS:21570 -msgid "" -"`bpo-27539 `__: Fix unnormalised " -"``Fraction.__pow__`` result in the case of negative exponent and negative " -"base." -msgstr "" - -#: ../build/NEWS:18525 ../build/NEWS:21573 -msgid "" -"`bpo-21718 `__: cursor.description is " -"now available for queries using CTEs." -msgstr "" - -#: ../build/NEWS:18527 -msgid "" -"`bpo-27819 `__: In distutils sdists, " -"simply produce the \"gztar\" (gzipped tar format) distributions on all " -"platforms unless \"formats\" is supplied." -msgstr "" - -#: ../build/NEWS:18530 ../build/NEWS:21575 -msgid "" -"`bpo-2466 `__: posixpath.ismount now " -"correctly recognizes mount points which the user does not have permission to " -"access." -msgstr "" - -#: ../build/NEWS:18533 -msgid "" -"`bpo-9998 `__: On Linux, ctypes.util." -"find_library now looks in LD_LIBRARY_PATH for shared libraries." -msgstr "" - -#: ../build/NEWS:18536 -msgid "" -"`bpo-27573 `__: exit message for code." -"interact is now configurable." -msgstr "" - -#: ../build/NEWS:18538 ../build/NEWS:21683 -msgid "" -"`bpo-27930 `__: Improved behaviour of " -"logging.handlers.QueueListener. Thanks to Paulo Andrade and Petr Viktorin " -"for the analysis and patch." -msgstr "" - -#: ../build/NEWS:18541 -msgid "" -"`bpo-6766 `__: Distributed reference " -"counting added to multiprocessing to support nesting of shared values / " -"proxy objects." -msgstr "" - -#: ../build/NEWS:18544 ../build/NEWS:21686 -msgid "" -"`bpo-21201 `__: Improves readability of " -"multiprocessing error message. Thanks to Wojciech Walczak for patch." -msgstr "" - -#: ../build/NEWS:18547 -msgid "asyncio: Add set_protocol / get_protocol to Transports." -msgstr "" - -#: ../build/NEWS:18549 ../build/NEWS:21689 -msgid "" -"`bpo-27456 `__: asyncio: Set TCP_NODELAY " -"by default." -msgstr "" - -#: ../build/NEWS:18554 ../build/NEWS:21754 -msgid "" -"`bpo-15308 `__: Add 'interrupt " -"execution' (^C) to Shell menu. Patch by Roger Serwy, updated by Bayard " -"Randel." -msgstr "" - -#: ../build/NEWS:18557 ../build/NEWS:21757 -msgid "" -"`bpo-27922 `__: Stop IDLE tests from " -"'flashing' gui widgets on the screen." -msgstr "" - -#: ../build/NEWS:18559 -msgid "" -"`bpo-27891 `__: Consistently group and " -"sort imports within idlelib modules." -msgstr "" - -#: ../build/NEWS:18561 -msgid "" -"`bpo-17642 `__: add larger font sizes " -"for classroom projection." -msgstr "" - -#: ../build/NEWS:18563 ../build/NEWS:21759 -msgid "Add version to title of IDLE help window." -msgstr "" - -#: ../build/NEWS:18565 ../build/NEWS:21761 -msgid "" -"`bpo-25564 `__: In section on IDLE -- " -"console differences, mention that using exec means that __builtins__ is " -"defined for each statement." -msgstr "" - -#: ../build/NEWS:18568 -msgid "" -"`bpo-27821 `__: Fix 3.6.0a3 regression " -"that prevented custom key sets from being selected when no custom theme was " -"defined." -msgstr "" - -#: ../build/NEWS:18574 -msgid "" -"`bpo-26900 `__: Excluded underscored " -"names and other private API from limited API." -msgstr "" - -#: ../build/NEWS:18577 -msgid "" -"`bpo-26027 `__: Add support for path-" -"like objects in PyUnicode_FSConverter() & PyUnicode_FSDecoder()." -msgstr "" - -#: ../build/NEWS:18583 -msgid "" -"`bpo-27427 `__: Additional tests for the " -"math module. Patch by Francisco Couzo." -msgstr "" - -#: ../build/NEWS:18585 -msgid "" -"`bpo-27953 `__: Skip math and cmath " -"tests that fail on OS X 10.4 due to a poor libm implementation of tan." -msgstr "" - -#: ../build/NEWS:18588 -msgid "" -"`bpo-26040 `__: Improve test_math and " -"test_cmath coverage and rigour. Patch by Jeff Allen." -msgstr "" - -#: ../build/NEWS:18591 ../build/NEWS:21806 -msgid "" -"`bpo-27787 `__: Call gc.collect() before " -"checking each test for \"dangling threads\", since the dangling threads are " -"weak references." -msgstr "" - -#: ../build/NEWS:18597 ../build/NEWS:21866 -msgid "" -"`bpo-27566 `__: Fix clean target in " -"freeze makefile (patch by Lisa Roach)" -msgstr "" - -#: ../build/NEWS:18599 ../build/NEWS:21868 -msgid "" -"`bpo-27705 `__: Update message in " -"validate_ucrtbase.py" -msgstr "" - -#: ../build/NEWS:18601 -msgid "" -"`bpo-27976 `__: Deprecate building " -"_ctypes with the bundled copy of libffi on non-OSX UNIX platforms." -msgstr "" - -#: ../build/NEWS:18604 -msgid "" -"`bpo-27983 `__: Cause lack of llvm-" -"profdata tool when using clang as required for PGO linking to be a configure " -"time error rather than make time when ``--with-optimizations`` is enabled. " -"Also improve our ability to find the llvm-profdata tool on MacOS and some " -"Linuxes." -msgstr "" - -#: ../build/NEWS:18609 -msgid "" -"`bpo-21590 `__: Support for DTrace and " -"SystemTap probes." -msgstr "" - -#: ../build/NEWS:18611 ../build/NEWS:21875 -msgid "" -"`bpo-26307 `__: The profile-opt build " -"now applies PGO to the built-in modules." -msgstr "" - -#: ../build/NEWS:18613 -msgid "" -"`bpo-26359 `__: Add the --with-" -"optimizations flag to turn on LTO and PGO build support when available." -msgstr "" - -#: ../build/NEWS:18616 -msgid "" -"`bpo-27917 `__: Set platform triplets " -"for Android builds." -msgstr "" - -#: ../build/NEWS:18618 -msgid "" -"`bpo-25825 `__: Update references to the " -"$(LIBPL) installation path on AIX. This path was changed in 3.2a4." -msgstr "" - -#: ../build/NEWS:18621 -msgid "Update OS X installer to use SQLite 3.14.1 and XZ 5.2.2." -msgstr "" - -#: ../build/NEWS:18623 -msgid "" -"`bpo-21122 `__: Fix LTO builds on OS X." -msgstr "" - -#: ../build/NEWS:18625 -msgid "" -"`bpo-17128 `__: Build OS X installer " -"with a private copy of OpenSSL. Also provide a sample Install Certificates " -"command script to install a set of root certificates from the third-party " -"certifi module." -msgstr "" - -#: ../build/NEWS:18632 ../build/NEWS:21815 -msgid "" -"`bpo-27952 `__: Get Tools/scripts/fixcid." -"py working with Python 3 and the current \"re\" module, avoid invalid Python " -"backslash escapes, and fix a bug parsing escaped C quote signs." -msgstr "" - -#: ../build/NEWS:18639 -msgid "" -"`bpo-28065 `__: Update xz dependency to " -"5.2.2 and build it from source." -msgstr "" - -#: ../build/NEWS:18641 ../build/NEWS:21832 -msgid "" -"`bpo-25144 `__: Ensures TargetDir is set " -"before continuing with custom install." -msgstr "" - -#: ../build/NEWS:18643 -msgid "" -"`bpo-1602 `__: Windows console doesn't " -"input or print Unicode (PEP 528)" -msgstr "" - -#: ../build/NEWS:18645 -msgid "" -"`bpo-27781 `__: Change file system " -"encoding on Windows to UTF-8 (PEP 529)" -msgstr "" - -#: ../build/NEWS:18647 -msgid "" -"`bpo-27731 `__: Opt-out of MAX_PATH on " -"Windows 10" -msgstr "" - -#: ../build/NEWS:18649 -msgid "" -"`bpo-6135 `__: Adds encoding and errors " -"parameters to subprocess." -msgstr "" - -#: ../build/NEWS:18651 -msgid "" -"`bpo-27959 `__: Adds oem encoding, alias " -"ansi to mbcs, move aliasmbcs to codec lookup." -msgstr "" - -#: ../build/NEWS:18654 -msgid "" -"`bpo-27982 `__: The functions of the " -"winsound module now accept keyword arguments." -msgstr "" - -#: ../build/NEWS:18657 -msgid "" -"`bpo-20366 `__: Build full text search " -"support into SQLite on Windows." -msgstr "" - -#: ../build/NEWS:18659 -msgid "" -"`bpo-27756 `__: Adds new icons for " -"Python files and processes on Windows. Designs by Cherry Wang." -msgstr "" - -#: ../build/NEWS:18662 -msgid "" -"`bpo-27883 `__: Update sqlite to " -"3.14.1.0 on Windows." -msgstr "" - -#: ../build/NEWS:18666 -msgid "Python 3.6.0 alpha 4" -msgstr "" - -#: ../build/NEWS:18668 -msgid "*Release date: 2016-08-15*" -msgstr "" - -#: ../build/NEWS:18673 -msgid "" -"`bpo-27704 `__: Optimized creating bytes " -"and bytearray from byte-like objects and iterables. Speed up to 3 times for " -"short objects. Original patch by Naoki Inada." -msgstr "" - -#: ../build/NEWS:18677 -msgid "" -"`bpo-26823 `__: Large sections of " -"repeated lines in tracebacks are now abbreviated as \"[Previous line " -"repeated {count} more times]\" by the builtin traceback rendering. Patch by " -"Emanuel Barry." -msgstr "" - -#: ../build/NEWS:18681 -msgid "" -"`bpo-27574 `__: Decreased an overhead of " -"parsing keyword arguments in functions implemented with using Argument " -"Clinic." -msgstr "" - -#: ../build/NEWS:18684 -msgid "" -"`bpo-22557 `__: Now importing already " -"imported modules is up to 2.5 times faster." -msgstr "" - -#: ../build/NEWS:18687 -msgid "" -"`bpo-17596 `__: Include to " -"help with Min GW building." -msgstr "" - -#: ../build/NEWS:18689 -msgid "" -"`bpo-17599 `__: On Windows, rename the " -"privately defined REPARSE_DATA_BUFFER structure to avoid conflicting with " -"the definition from Min GW." -msgstr "" - -#: ../build/NEWS:18692 ../build/NEWS:21338 -msgid "" -"`bpo-27507 `__: Add integer overflow " -"check in bytearray.extend(). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18695 ../build/NEWS:21341 -msgid "" -"`bpo-27581 `__: Don't rely on wrapping " -"for overflow check in PySequence_Tuple(). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18698 -msgid "" -"`bpo-1621 `__: Avoid signed integer " -"overflow in list and tuple operations. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18701 -msgid "" -"`bpo-27419 `__: Standard __import__() no " -"longer look up \"__import__\" in globals or builtins for importing " -"submodules or \"from import\". Fixed a crash if raise a warning about " -"unabling to resolve package from __spec__ or __package__." -msgstr "" - -#: ../build/NEWS:18706 ../build/NEWS:21330 -msgid "" -"`bpo-27083 `__: Respect the PYTHONCASEOK " -"environment variable under Windows." -msgstr "" - -#: ../build/NEWS:18708 ../build/NEWS:21332 -msgid "" -"`bpo-27514 `__: Make having too many " -"statically nested blocks a SyntaxError instead of SystemError." -msgstr "" - -#: ../build/NEWS:18711 -msgid "" -"`bpo-27366 `__: Implemented :pep:`487` " -"(Simpler customization of class creation). Upon subclassing, the " -"__init_subclass__ classmethod is called on the base class. Descriptors are " -"initialized with __set_name__ after class creation." -msgstr "" - -#: ../build/NEWS:18719 -msgid "" -"`bpo-26027 `__: Add :pep:`519`/" -"__fspath__() support to the os and os.path modules. Includes code from Jelle " -"Zijlstra. (See also: `bpo-27524 `__)" -msgstr "" - -#: ../build/NEWS:18722 -msgid "" -"`bpo-27598 `__: Add Collections to " -"collections.abc. Patch by Ivan Levkivskyi, docs by Neil Girdhar." -msgstr "" - -#: ../build/NEWS:18725 -msgid "" -"`bpo-25958 `__: Support \"anti-" -"registration\" of special methods from various ABCs, like __hash__, __iter__ " -"or __len__. All these (and several more) can be set to None in an " -"implementation class and the behavior will be as if the method is not " -"defined at all. (Previously, this mechanism existed only for __hash__, to " -"make mutable classes unhashable.) Code contributed by Andrew Barnert and " -"Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:18732 -msgid "" -"`bpo-16764 `__: Support keyword " -"arguments to zlib.decompress(). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18735 -msgid "" -"`bpo-27736 `__: Prevent segfault after " -"interpreter re-initialization due to ref count problem introduced in code " -"for `bpo-27038 `__ in 3.6.0a3. Patch by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18739 -msgid "" -"`bpo-25628 `__: The *verbose* and " -"*rename* parameters for collections.namedtuple are now keyword-only." -msgstr "" - -#: ../build/NEWS:18742 -msgid "" -"`bpo-12345 `__: Add mathematical " -"constant tau to math and cmath. See also :pep:`628`." -msgstr "" - -#: ../build/NEWS:18745 -msgid "" -"`bpo-26823 `__: traceback.StackSummary." -"format now abbreviates large sections of repeated lines as \"[Previous line " -"repeated {count} more times]\" (this change then further affects other " -"traceback display operations in the module). Patch by Emanuel Barry." -msgstr "" - -#: ../build/NEWS:18750 -msgid "" -"`bpo-27664 `__: Add to concurrent." -"futures.thread.ThreadPoolExecutor() the ability to specify a thread name " -"prefix." -msgstr "" - -#: ../build/NEWS:18753 -msgid "" -"`bpo-27181 `__: Add geometric_mean and " -"harmonic_mean to statistics module." -msgstr "" - -#: ../build/NEWS:18755 -msgid "" -"`bpo-27573 `__: code.interact now prints " -"an message when exiting." -msgstr "" - -#: ../build/NEWS:18757 -msgid "" -"`bpo-6422 `__: Add autorange method to " -"timeit.Timer objects." -msgstr "" - -#: ../build/NEWS:18759 ../build/NEWS:21578 -msgid "" -"`bpo-27773 `__: Correct some memory " -"management errors server_hostname in _ssl.wrap_socket()." -msgstr "" - -#: ../build/NEWS:18762 -msgid "" -"`bpo-26750 `__: unittest.mock." -"create_autospec() now works properly for subclasses of property() and other " -"data descriptors. Removes the never publicly used, never documented " -"unittest.mock.DescriptorTypes tuple." -msgstr "" - -#: ../build/NEWS:18766 -msgid "" -"`bpo-26754 `__: Undocumented support of " -"general bytes-like objects as path in compile() and similar functions is now " -"deprecated." -msgstr "" - -#: ../build/NEWS:18769 -msgid "" -"`bpo-26800 `__: Undocumented support of " -"general bytes-like objects as paths in os functions is now deprecated." -msgstr "" - -#: ../build/NEWS:18772 -msgid "" -"`bpo-26981 `__: Add _order_ " -"compatibility shim to enum.Enum for Python 2/3 code bases." -msgstr "" - -#: ../build/NEWS:18775 -msgid "" -"`bpo-27661 `__: Added tzinfo keyword " -"argument to datetime.combine." -msgstr "" - -#: ../build/NEWS:18777 ../build/NEWS:21584 -msgid "" -"In the curses module, raise an error if window.getstr() or window.instr() is " -"passed a negative value." -msgstr "" - -#: ../build/NEWS:18780 ../build/NEWS:21587 -msgid "" -"`bpo-27783 `__: Fix possible usage of " -"uninitialized memory in operator.methodcaller." -msgstr "" - -#: ../build/NEWS:18783 ../build/NEWS:21590 -msgid "" -"`bpo-27774 `__: Fix possible Py_DECREF " -"on unowned object in _sre." -msgstr "" - -#: ../build/NEWS:18785 ../build/NEWS:21592 -msgid "" -"`bpo-27760 `__: Fix possible integer " -"overflow in binascii.b2a_qp." -msgstr "" - -#: ../build/NEWS:18787 ../build/NEWS:21594 -msgid "" -"`bpo-27758 `__: Fix possible integer " -"overflow in the _csv module for large record lengths." -msgstr "" - -#: ../build/NEWS:18790 ../build/NEWS:21597 -msgid "" -"`bpo-27568 `__: Prevent HTTPoxy attack " -"(CVE-2016-1000110). Ignore the HTTP_PROXY variable when REQUEST_METHOD " -"environment is set, which indicates that the script is in CGI mode." -msgstr "" - -#: ../build/NEWS:18794 -msgid "" -"`bpo-7063 `__: Remove dead code from the " -"\"array\" module's slice handling. Patch by Chuck." -msgstr "" - -#: ../build/NEWS:18797 ../build/NEWS:21601 -msgid "" -"`bpo-27656 `__: Do not assume sched.h " -"defines any SCHED_* constants." -msgstr "" - -#: ../build/NEWS:18799 ../build/NEWS:21603 -msgid "" -"`bpo-27130 `__: In the \"zlib\" module, " -"fix handling of large buffers (typically 4 GiB) when compressing and " -"decompressing. Previously, inputs were limited to 4 GiB, and compression " -"and decompression operations did not properly handle results of 4 GiB." -msgstr "" - -#: ../build/NEWS:18804 -msgid "" -"`bpo-24773 `__: Implemented :pep:`495` " -"(Local Time Disambiguation)." -msgstr "" - -#: ../build/NEWS:18806 -msgid "" -"Expose the EPOLLEXCLUSIVE constant (when it is defined) in the select module." -msgstr "" - -#: ../build/NEWS:18809 -msgid "" -"`bpo-27567 `__: Expose the EPOLLRDHUP " -"and POLLRDHUP constants in the select module." -msgstr "" - -#: ../build/NEWS:18812 -msgid "" -"`bpo-1621 `__: Avoid signed int negation " -"overflow in the \"audioop\" module." -msgstr "" - -#: ../build/NEWS:18814 ../build/NEWS:21608 -msgid "" -"`bpo-27533 `__: Release GIL in nt._isdir" -msgstr "" - -#: ../build/NEWS:18816 ../build/NEWS:21610 -msgid "" -"`bpo-17711 `__: Fixed unpickling by the " -"persistent ID with protocol 0. Original patch by Alexandre Vassalotti." -msgstr "" - -#: ../build/NEWS:18819 ../build/NEWS:21613 -msgid "" -"`bpo-27522 `__: Avoid an unintentional " -"reference cycle in email.feedparser." -msgstr "" - -#: ../build/NEWS:18821 -msgid "" -"`bpo-27512 `__: Fix a segfault when os." -"fspath() called an __fspath__() method that raised an exception. Patch by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18827 ../build/NEWS:21764 -msgid "" -"`bpo-27714 `__: text_textview and " -"test_autocomplete now pass when re-run in the same process. This occurs " -"when test_idle fails when run with the -w option but without -jn. Fix " -"warning from test_config." -msgstr "" - -#: ../build/NEWS:18831 -msgid "" -"`bpo-27621 `__: Put query response " -"validation error messages in the query box itself instead of in a separate " -"messagebox. Redo tests to match. Add Mac OSX refinements. Original patch by " -"Mark Roseman." -msgstr "" - -#: ../build/NEWS:18835 -msgid "" -"`bpo-27620 `__: Escape key now closes " -"Query box as cancelled." -msgstr "" - -#: ../build/NEWS:18837 -msgid "" -"`bpo-27609 `__: IDLE: tab after initial " -"whitespace should tab, not autocomplete. This fixes problem with writing " -"docstrings at least twice indented." -msgstr "" - -#: ../build/NEWS:18841 -msgid "" -"`bpo-27609 `__: Explicitly return None " -"when there are also non-None returns. In a few cases, reverse a condition " -"and eliminate a return." -msgstr "" - -#: ../build/NEWS:18844 ../build/NEWS:21768 -msgid "" -"`bpo-25507 `__: IDLE no longer runs " -"buggy code because of its tkinter imports. Users must include the same " -"imports required to run directly in Python." -msgstr "" - -#: ../build/NEWS:18847 ../build/NEWS:19040 -msgid "" -"`bpo-27173 `__: Add 'IDLE Modern Unix' " -"to the built-in key sets. Make the default key set depend on the platform. " -"Add tests for the changes to the config module." -msgstr "" - -#: ../build/NEWS:18851 ../build/NEWS:19047 ../build/NEWS:21771 -msgid "" -"`bpo-27452 `__: add line counter and crc " -"to IDLE configHandler test dump." -msgstr "" - -#: ../build/NEWS:18856 -msgid "" -"`bpo-25805 `__: Skip a test in " -"test_pkgutil as needed that doesn't work when ``__name__ == __main__``. " -"Patch by SilentGhost." -msgstr "" - -#: ../build/NEWS:18859 -msgid "" -"`bpo-27472 `__: Add test.support." -"unix_shell as the path to the default shell." -msgstr "" - -#: ../build/NEWS:18861 ../build/NEWS:21809 -msgid "" -"`bpo-27369 `__: In test_pyexpat, avoid " -"testing an error message detail that changed in Expat 2.2.0." -msgstr "" - -#: ../build/NEWS:18864 -msgid "" -"`bpo-27594 `__: Prevent assertion error " -"when running test_ast with coverage enabled: ensure code object has a valid " -"first line number. Patch suggested by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:18871 -msgid "" -"`bpo-27647 `__: Update bundled Tcl/Tk to " -"8.6.6." -msgstr "" - -#: ../build/NEWS:18873 -msgid "" -"`bpo-27610 `__: Adds :pep:`514` metadata " -"to Windows installer" -msgstr "" - -#: ../build/NEWS:18875 ../build/NEWS:21834 -msgid "" -"`bpo-27469 `__: Adds a shell extension " -"to the launcher so that drag and drop works correctly." -msgstr "" - -#: ../build/NEWS:18878 -msgid "" -"`bpo-27309 `__: Enables proper Windows " -"styles in python[w].exe manifest." -msgstr "" - -#: ../build/NEWS:18883 ../build/NEWS:21879 -msgid "" -"`bpo-27713 `__: Suppress spurious build " -"warnings when updating importlib's bootstrap files. Patch by Xiang Zhang" -msgstr "" - -#: ../build/NEWS:18886 -msgid "" -"`bpo-25825 `__: Correct the references " -"to Modules/python.exp, which is required on AIX. The references were " -"accidentally changed in 3.5.0a1." -msgstr "" - -#: ../build/NEWS:18889 ../build/NEWS:21887 -msgid "" -"`bpo-27453 `__: CPP invocation in " -"configure must use CPPFLAGS. Patch by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:18892 ../build/NEWS:21890 -msgid "" -"`bpo-27641 `__: The configure script now " -"inserts comments into the makefile to prevent the pgen and _freeze_importlib " -"executables from being cross-compiled." -msgstr "" - -#: ../build/NEWS:18896 ../build/NEWS:21894 -msgid "" -"`bpo-26662 `__: Set PYTHON_FOR_GEN in " -"configure as the Python program to be used for file generation during the " -"build." -msgstr "" - -#: ../build/NEWS:18899 ../build/NEWS:21897 -msgid "" -"`bpo-10910 `__: Avoid C++ compilation " -"errors on FreeBSD and OS X. Also update FreedBSD version checks for the " -"original ctype UTF-8 workaround." -msgstr "" - -#: ../build/NEWS:18904 -msgid "Python 3.6.0 alpha 3" -msgstr "" - -#: ../build/NEWS:18906 -msgid "*Release date: 2016-07-11*" -msgstr "" - -#: ../build/NEWS:18911 ../build/NEWS:21335 -msgid "" -"`bpo-27473 `__: Fixed possible integer " -"overflow in bytes and bytearray concatenations. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18914 -msgid "" -"`bpo-23034 `__: The output of a special " -"Python build with defined COUNT_ALLOCS, SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT " -"macros is now off by default. It can be re-enabled using the \"-X " -"showalloccount\" option. It now outputs to stderr instead of stdout." -msgstr "" - -#: ../build/NEWS:18919 ../build/NEWS:21344 -msgid "" -"`bpo-27443 `__: __length_hint__() of " -"bytearray iterators no longer return a negative integer for a resized " -"bytearray." -msgstr "" - -#: ../build/NEWS:18922 -msgid "" -"`bpo-27007 `__: The fromhex() class " -"methods of bytes and bytearray subclasses now return an instance of " -"corresponding subclass." -msgstr "" - -#: ../build/NEWS:18928 ../build/NEWS:21615 -msgid "" -"`bpo-26844 `__: Fix error message for " -"imp.find_module() to refer to 'path' instead of 'name'. Patch by Lev Maximov." -msgstr "" - -#: ../build/NEWS:18931 ../build/NEWS:21618 -msgid "" -"`bpo-23804 `__: Fix SSL zero-length " -"recv() calls to not block and not raise an error about unclean EOF." -msgstr "" - -#: ../build/NEWS:18934 ../build/NEWS:21621 -msgid "" -"`bpo-27466 `__: Change time format " -"returned by http.cookie.time2netscape, confirming the netscape cookie format " -"and making it consistent with documentation." -msgstr "" - -#: ../build/NEWS:18938 -msgid "" -"`bpo-21708 `__: Deprecated dbm.dumb " -"behavior that differs from common dbm behavior: creating a database in 'r' " -"and 'w' modes and modifying a database in 'r' mode." -msgstr "" - -#: ../build/NEWS:18942 -msgid "" -"`bpo-26721 `__: Change the socketserver." -"StreamRequestHandler.wfile attribute to implement BufferedIOBase. In " -"particular, the write() method no longer does partial writes." -msgstr "" - -#: ../build/NEWS:18946 -msgid "" -"`bpo-22115 `__: Added methods trace_add, " -"trace_remove and trace_info in the tkinter.Variable class. They replace old " -"methods trace_variable, trace, trace_vdelete and trace_vinfo that use " -"obsolete Tcl commands and might not work in future versions of Tcl. Fixed " -"old tracing methods: trace_vdelete() with wrong mode no longer break " -"tracing, trace_vinfo() now always returns a list of pairs of strings, " -"tracing in the \"u\" mode now works." -msgstr "" - -#: ../build/NEWS:18954 -msgid "" -"`bpo-26243 `__: Only the level argument " -"to zlib.compress() is keyword argument now. The first argument is " -"positional-only." -msgstr "" - -#: ../build/NEWS:18957 -msgid "" -"`bpo-27038 `__: Expose the DirEntry type " -"as os.DirEntry. Code patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:18960 -msgid "" -"`bpo-27186 `__: Update os.fspath()/" -"PyOS_FSPath() to check the return value of __fspath__() to be either str or " -"bytes." -msgstr "" - -#: ../build/NEWS:18963 -msgid "" -"`bpo-18726 `__: All optional parameters " -"of the dump(), dumps(), load() and loads() functions and JSONEncoder and " -"JSONDecoder class constructors in the json module are now keyword-only." -msgstr "" - -#: ../build/NEWS:18967 -msgid "" -"`bpo-27319 `__: Methods selection_set(), " -"selection_add(), selection_remove() and selection_toggle() of ttk.TreeView " -"now allow passing multiple items as multiple arguments instead of passing " -"them as a tuple. Deprecated undocumented ability of calling the selection() " -"method with arguments." -msgstr "" - -#: ../build/NEWS:18972 ../build/NEWS:21635 -msgid "" -"`bpo-27079 `__: Fixed curses.ascii " -"functions isblank(), iscntrl() and ispunct()." -msgstr "" - -#: ../build/NEWS:18975 -msgid "" -"`bpo-27294 `__: Numerical state in the " -"repr for Tkinter event objects is now represented as a combination of known " -"flags." -msgstr "" - -#: ../build/NEWS:18978 -msgid "" -"`bpo-27177 `__: Match objects in the re " -"module now support index-like objects as group indices. Based on patches by " -"Jeroen Demeyer and Xiang Zhang." -msgstr "" - -#: ../build/NEWS:18981 ../build/NEWS:21638 -msgid "" -"`bpo-26754 `__: Some functions " -"(compile() etc) accepted a filename argument encoded as an iterable of " -"integers. Now only strings and byte-like objects are accepted." -msgstr "" - -#: ../build/NEWS:18985 -msgid "" -"`bpo-26536 `__: socket.ioctl now " -"supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes." -msgstr "" - -#: ../build/NEWS:18988 ../build/NEWS:21642 -msgid "" -"`bpo-27048 `__: Prevents distutils " -"failing on Windows when environment variables contain non-ASCII characters" -msgstr "" - -#: ../build/NEWS:18991 ../build/NEWS:21645 -msgid "" -"`bpo-27330 `__: Fixed possible leaks in " -"the ctypes module." -msgstr "" - -#: ../build/NEWS:18993 ../build/NEWS:21647 -msgid "" -"`bpo-27238 `__: Got rid of bare excepts " -"in the turtle module. Original patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:18996 ../build/NEWS:21650 -msgid "" -"`bpo-27122 `__: When an exception is " -"raised within the context being managed by a contextlib.ExitStack() and one " -"of the exit stack generators catches and raises it in a chain, do not re-" -"raise the original exception when exiting, let the new chained one through. " -"This avoids the :pep:`479` bug described in issue25782." -msgstr "" - -#: ../build/NEWS:19005 ../build/NEWS:21659 -msgid "" -"`bpo-27278 `__: Fix os.urandom() " -"implementation using getrandom() on Linux. Truncate size to INT_MAX and loop " -"until we collected enough random bytes, instead of casting a directly " -"Py_ssize_t to int." -msgstr "" - -#: ../build/NEWS:19012 -msgid "" -"`bpo-16864 `__: sqlite3.Cursor.lastrowid " -"now supports REPLACE statement. Initial patch by Alex LordThorsen." -msgstr "" - -#: ../build/NEWS:19015 ../build/NEWS:21666 -msgid "" -"`bpo-26386 `__: Fixed ttk.TreeView " -"selection operations with item id's containing spaces." -msgstr "" - -#: ../build/NEWS:19018 -msgid "" -"`bpo-8637 `__: Honor a pager set by the " -"env var MANPAGER (in preference to one set by the env var PAGER)." -msgstr "" - -#: ../build/NEWS:19024 ../build/NEWS:21672 -msgid "" -"`bpo-22636 `__: Avoid shell injection " -"problems with ctypes.util.find_library()." -msgstr "" - -#: ../build/NEWS:19029 ../build/NEWS:21677 -msgid "" -"`bpo-16182 `__: Fix various functions in " -"the \"readline\" module to use the locale encoding, and fix get_begidx() and " -"get_endidx() to return code point indexes." -msgstr "" - -#: ../build/NEWS:19033 ../build/NEWS:21681 -msgid "" -"`bpo-27392 `__: Add loop." -"connect_accepted_socket(). Patch by Jim Fulton." -msgstr "" - -#: ../build/NEWS:19038 -msgid "" -"`bpo-27477 `__: IDLE search dialogs now " -"use ttk widgets." -msgstr "" - -#: ../build/NEWS:19044 -msgid "" -"`bpo-27452 `__: make command line \"idle-" -"test> python test_help.py\" work. __file__ is relative when python is " -"started in the file's directory." -msgstr "" - -#: ../build/NEWS:19049 -msgid "" -"`bpo-27380 `__: IDLE: add query.py with " -"base Query dialog and ttk widgets. Module had subclasses SectionName, " -"ModuleName, and HelpSource, which are used to get information from users by " -"configdialog and file =>Load Module. Each subclass has itw own validity " -"checks. Using ModuleName allows users to edit bad module names instead of " -"starting over. Add tests and delete the two files combined into the new one." -msgstr "" - -#: ../build/NEWS:19056 -msgid "" -"`bpo-27372 `__: Test_idle no longer " -"changes the locale." -msgstr "" - -#: ../build/NEWS:19058 ../build/NEWS:21773 -msgid "" -"`bpo-27365 `__: Allow non-ascii chars in " -"IDLE NEWS.txt, for contributor names." -msgstr "" - -#: ../build/NEWS:19060 ../build/NEWS:21775 -msgid "" -"`bpo-27245 `__: IDLE: Cleanly delete " -"custom themes and key bindings. Previously, when IDLE was started from a " -"console or by import, a cascade of warnings was emitted. Patch by Serhiy " -"Storchaka." -msgstr "" - -#: ../build/NEWS:19064 -msgid "" -"`bpo-24137 `__: Run IDLE, test_idle, and " -"htest with tkinter default root disabled. Fix code and tests that fail with " -"this restriction. Fix htests to not create a second and redundant root and " -"mainloop." -msgstr "" - -#: ../build/NEWS:19068 -msgid "" -"`bpo-27310 `__: Fix IDLE.app failure to " -"launch on OS X due to vestigial import." -msgstr "" - -#: ../build/NEWS:19073 -msgid "" -"`bpo-26754 `__: PyUnicode_FSDecoder() " -"accepted a filename argument encoded as an iterable of integers. Now only " -"strings and byte-like objects are accepted." -msgstr "" - -#: ../build/NEWS:19080 ../build/NEWS:21860 -msgid "" -"`bpo-28066 `__: Fix the logic that " -"searches build directories for generated include files when building outside " -"the source tree." -msgstr "" - -#: ../build/NEWS:19083 -msgid "" -"`bpo-27442 `__: Expose the Android API " -"level that python was built against, in sysconfig.get_config_vars() as " -"'ANDROID_API_LEVEL'." -msgstr "" - -#: ../build/NEWS:19086 -msgid "" -"`bpo-27434 `__: The interpreter that " -"runs the cross-build, found in PATH, must now be of the same feature version " -"(e.g. 3.6) as the source being built." -msgstr "" - -#: ../build/NEWS:19089 ../build/NEWS:21912 -msgid "" -"`bpo-26930 `__: Update Windows builds to " -"use OpenSSL 1.0.2h." -msgstr "" - -#: ../build/NEWS:19091 -msgid "" -"`bpo-23968 `__: Rename the platform " -"directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET). Rename the " -"config directory (LIBPL) from config-$(LDVERSION) to config-$(LDVERSION)-" -"$(PLATFORM_TRIPLET). Install the platform specific _sysconfigdata module " -"into the platform directory and rename it to include the ABIFLAGS." -msgstr "" - -#: ../build/NEWS:19097 -msgid "Don't use largefile support for GNU/Hurd." -msgstr "" - -#: ../build/NEWS:19102 ../build/NEWS:21819 -msgid "" -"`bpo-27332 `__: Fixed the type of the " -"first argument of module-level functions generated by Argument Clinic. " -"Patch by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:19105 ../build/NEWS:21822 -msgid "" -"`bpo-27418 `__: Fixed Tools/importbench/" -"importbench.py." -msgstr "" - -#: ../build/NEWS:19110 ../build/NEWS:22541 -msgid "" -"`bpo-19489 `__: Moved the search box " -"from the sidebar to the header and footer of each page. Patch by Ammar Askar." -msgstr "" - -#: ../build/NEWS:19113 -msgid "" -"`bpo-27285 `__: Update documentation to " -"reflect the deprecation of ``pyvenv`` and normalize on the term \"virtual " -"environment\". Patch by Steve Piercy." -msgstr "" - -#: ../build/NEWS:19119 -msgid "" -"`bpo-27027 `__: Added test.support." -"is_android that is True when this is an Android build." -msgstr "" - -#: ../build/NEWS:19124 -msgid "Python 3.6.0 alpha 2" -msgstr "" - -#: ../build/NEWS:19126 -msgid "*Release date: 2016-06-13*" -msgstr "" - -#: ../build/NEWS:19131 -msgid "" -"`bpo-27095 `__: Simplified MAKE_FUNCTION " -"and removed MAKE_CLOSURE opcodes. Patch by Demur Rumed." -msgstr "" - -#: ../build/NEWS:19134 -msgid "" -"`bpo-27190 `__: Raise NotSupportedError " -"if sqlite3 is older than 3.3.1. Patch by Dave Sawyer." -msgstr "" - -#: ../build/NEWS:19137 -msgid "" -"`bpo-27286 `__: Fixed compiling " -"BUILD_MAP_UNPACK_WITH_CALL opcode. Calling function with generalized " -"unpacking (PEP 448) and conflicting keyword names could cause undefined " -"behavior." -msgstr "" - -#: ../build/NEWS:19141 -msgid "" -"`bpo-27140 `__: Added " -"BUILD_CONST_KEY_MAP opcode." -msgstr "" - -#: ../build/NEWS:19143 -msgid "" -"`bpo-27186 `__: Add support for os." -"PathLike objects to open() (part of :pep:`519`)." -msgstr "" - -#: ../build/NEWS:19146 ../build/NEWS:21933 -msgid "" -"`bpo-27066 `__: Fixed SystemError if a " -"custom opener (for open()) returns a negative number without setting an " -"exception." -msgstr "" - -#: ../build/NEWS:19149 -msgid "" -"`bpo-26983 `__: float() now always " -"return an instance of exact float. The deprecation warning is emitted if " -"__float__ returns an instance of a strict subclass of float. In a future " -"versions of Python this can be an error." -msgstr "" - -#: ../build/NEWS:19154 -msgid "" -"`bpo-27097 `__: Python interpreter is " -"now about 7% faster due to optimized instruction decoding. Based on patch " -"by Demur Rumed." -msgstr "" - -#: ../build/NEWS:19157 -msgid "" -"`bpo-26647 `__: Python interpreter now " -"uses 16-bit wordcode instead of bytecode. Patch by Demur Rumed." -msgstr "" - -#: ../build/NEWS:19160 -msgid "" -"`bpo-23275 `__: Allow assigning to an " -"empty target list in round brackets: () = iterable." -msgstr "" - -#: ../build/NEWS:19163 ../build/NEWS:22055 -msgid "" -"`bpo-27243 `__: Update the __aiter__ " -"protocol: instead of returning an awaitable that resolves to an asynchronous " -"iterator, the asynchronous iterator should be returned directly. Doing the " -"former will trigger a PendingDeprecationWarning." -msgstr "" - -#: ../build/NEWS:19171 -msgid "" -"Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants " -"exposed on the API which are not implemented on GNU/Hurd. They would not " -"work at runtime anyway." -msgstr "" - -#: ../build/NEWS:19175 -msgid "" -"`bpo-27025 `__: Generated names for " -"Tkinter widgets are now more meaningful and recognizable." -msgstr "" - -#: ../build/NEWS:19178 -msgid "" -"`bpo-25455 `__: Fixed crashes in repr of " -"recursive ElementTree.Element and functools.partial objects." -msgstr "" - -#: ../build/NEWS:19181 -msgid "" -"`bpo-27294 `__: Improved repr for " -"Tkinter event objects." -msgstr "" - -#: ../build/NEWS:19183 -msgid "" -"`bpo-20508 `__: Improve exception " -"message of IPv{4,6}Network.__getitem__. Patch by Gareth Rees." -msgstr "" - -#: ../build/NEWS:19189 ../build/NEWS:22063 -msgid "" -"`bpo-26556 `__: Update expat to 2.1.1, " -"fixes CVE-2015-1283." -msgstr "" - -#: ../build/NEWS:19191 -msgid "" -"Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team " -"Oststrom." -msgstr "" - -#: ../build/NEWS:19197 ../build/NEWS:22071 -msgid "" -"`bpo-21386 `__: Implement missing " -"IPv4Address.is_global property. It was documented since 07a5610bae9d. " -"Initial patch by Roger Luethi." -msgstr "" - -#: ../build/NEWS:19200 -msgid "" -"`bpo-27029 `__: Removed deprecated " -"support of universal newlines mode from ZipFile.open()." -msgstr "" - -#: ../build/NEWS:19203 -msgid "" -"`bpo-27030 `__: Unknown escapes " -"consisting of ``'\\'`` and an ASCII letter in regular expressions now are " -"errors. The re.LOCALE flag now can be used only with bytes patterns." -msgstr "" - -#: ../build/NEWS:19207 -msgid "" -"`bpo-27186 `__: Add os.PathLike support " -"to DirEntry (part of :pep:`519`). Initial patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:19210 ../build/NEWS:22074 -msgid "" -"`bpo-20900 `__: distutils register " -"command now decodes HTTP responses correctly. Initial patch by ingrid." -msgstr "" - -#: ../build/NEWS:19213 -msgid "" -"`bpo-27186 `__: Add os.PathLike support " -"to pathlib, removing its provisional status (part of PEP 519). Initial patch " -"by Dusty Phillips." -msgstr "" - -#: ../build/NEWS:19216 -msgid "" -"`bpo-27186 `__: Add support for os." -"PathLike objects to os.fsencode() and os.fsdecode() (part of :pep:`519`)." -msgstr "" - -#: ../build/NEWS:19219 -msgid "" -"`bpo-27186 `__: Introduce os.PathLike " -"and os.fspath() (part of :pep:`519`)." -msgstr "" - -#: ../build/NEWS:19221 ../build/NEWS:22077 -msgid "" -"A new version of typing.py provides several new classes and features: " -"@overload outside stubs, Reversible, DefaultDict, Text, ContextManager, " -"Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of " -"the new features are not yet implemented in mypy or other static analyzers). " -"Also classes for :pep:`492` (Awaitable, AsyncIterable, AsyncIterator) have " -"been added (in fact they made it into 3.5.1 but were never mentioned)." -msgstr "" - -#: ../build/NEWS:19229 ../build/NEWS:22085 -msgid "" -"`bpo-25738 `__: Stop http.server." -"BaseHTTPRequestHandler.send_error() from sending a message body for 205 " -"Reset Content. Also, don't send Content header fields in responses that " -"don't have a body. Patch by Susumu Koshiba." -msgstr "" - -#: ../build/NEWS:19234 ../build/NEWS:22090 -msgid "" -"`bpo-21313 `__: Fix the \"platform\" " -"module to tolerate when sys.version contains truncated build information." -msgstr "" - -#: ../build/NEWS:19240 ../build/NEWS:22096 -msgid "" -"`bpo-26839 `__: On Linux, :func:`os." -"urandom` now calls ``getrandom()`` with ``GRND_NONBLOCK`` to fall back on " -"reading ``/dev/urandom`` if the urandom entropy pool is not initialized yet. " -"Patch written by Colm Buckley." -msgstr "" - -#: ../build/NEWS:19247 -msgid "" -"`bpo-23883 `__: Added missing APIs to " -"__all__ to match the documented APIs for the following modules: cgi, " -"mailbox, mimetypes, plistlib and smtpd. Patches by Jacek Kołodziej." -msgstr "" - -#: ../build/NEWS:19251 ../build/NEWS:22103 -msgid "" -"`bpo-27164 `__: In the zlib module, " -"allow decompressing raw Deflate streams with a predefined zdict. Based on " -"patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:19254 ../build/NEWS:22106 -msgid "" -"`bpo-24291 `__: Fix wsgiref." -"simple_server.WSGIRequestHandler to completely write data to the client. " -"Previously it could do partial writes and truncate data. Also, wsgiref." -"handler.ServerHandler can now handle stdout doing partial writes, but this " -"is deprecated." -msgstr "" - -#: ../build/NEWS:19259 -msgid "" -"`bpo-21272 `__: Use _sysconfigdata.py to " -"initialize distutils.sysconfig." -msgstr "" - -#: ../build/NEWS:19261 -msgid "" -"`bpo-19611 `__: :mod:`inspect` now " -"reports the implicit ``.0`` parameters generated by the compiler for " -"comprehension and generator expression scopes as if they were positional-" -"only parameters called ``implicit0``. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:19266 ../build/NEWS:22111 -msgid "" -"`bpo-26809 `__: Add ``__all__`` to :mod:" -"`string`. Patch by Emanuel Barry." -msgstr "" - -#: ../build/NEWS:19268 ../build/NEWS:22113 -msgid "" -"`bpo-26373 `__: subprocess.Popen." -"communicate now correctly ignores BrokenPipeError when the child process " -"dies before .communicate() is called in more/all circumstances." -msgstr "" - -#: ../build/NEWS:19272 -msgid "" -"signal, socket, and ssl module IntEnum constant name lookups now return a " -"consistent name for values having multiple names. Ex: signal.Signals(6) now " -"refers to itself as signal.SIGALRM rather than flipping between that and " -"signal.SIGIOT based on the interpreter's hash randomization seed." -msgstr "" - -#: ../build/NEWS:19277 -msgid "" -"`bpo-27167 `__: Clarify the subprocess." -"CalledProcessError error message text when the child process died due to a " -"signal." -msgstr "" - -#: ../build/NEWS:19280 -msgid "" -"`bpo-25931 `__: Don't define " -"socketserver.Forking* names on platforms such as Windows that do not support " -"os.fork()." -msgstr "" - -#: ../build/NEWS:19283 ../build/NEWS:22117 -msgid "" -"`bpo-21776 `__: distutils.upload now " -"correctly handles HTTPError. Initial patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:19286 -msgid "" -"`bpo-26526 `__: Replace custom parse " -"tree validation in the parser module with a simple DFA validator." -msgstr "" - -#: ../build/NEWS:19289 ../build/NEWS:22120 -msgid "" -"`bpo-27114 `__: Fix SSLContext." -"_load_windows_store_certs fails with PermissionError" -msgstr "" - -#: ../build/NEWS:19292 ../build/NEWS:22123 -msgid "" -"`bpo-18383 `__: Avoid creating duplicate " -"filters when using filterwarnings and simplefilter. Based on patch by Alex " -"Shkop." -msgstr "" - -#: ../build/NEWS:19295 -msgid "" -"`bpo-23026 `__: winreg.QueryValueEx() " -"now return an integer for REG_QWORD type." -msgstr "" - -#: ../build/NEWS:19297 -msgid "" -"`bpo-26741 `__: subprocess.Popen " -"destructor now emits a ResourceWarning warning if the child process is still " -"running." -msgstr "" - -#: ../build/NEWS:19300 -msgid "" -"`bpo-27056 `__: Optimize pickle.load() " -"and pickle.loads(), up to 10% faster to deserialize a lot of small objects." -msgstr "" - -#: ../build/NEWS:19303 -msgid "" -"`bpo-21271 `__: New keyword only " -"parameters in reset_mock call." -msgstr "" - -#: ../build/NEWS:19308 ../build/NEWS:22488 -msgid "" -"`bpo-5124 `__: Paste with text selected " -"now replaces the selection on X11. This matches how paste works on Windows, " -"Mac, most modern Linux apps, and ttk widgets. Original patch by Serhiy " -"Storchaka." -msgstr "" - -#: ../build/NEWS:19312 -msgid "" -"`bpo-24750 `__: Switch all scrollbars in " -"IDLE to ttk versions. Where needed, minimal tests are added to cover changes." -msgstr "" - -#: ../build/NEWS:19315 -msgid "" -"`bpo-24759 `__: IDLE requires tk 8.5 and " -"availability ttk widgets. Delete now unneeded tk version tests and code for " -"older versions. Add test for IDLE syntax colorizer." -msgstr "" - -#: ../build/NEWS:19319 -msgid "" -"`bpo-27239 `__: idlelib.macosx.isXyzTk " -"functions initialize as needed." -msgstr "" - -#: ../build/NEWS:19321 -msgid "" -"`bpo-27262 `__: move Aqua unbinding " -"code, which enable context menus, to macosx." -msgstr "" - -#: ../build/NEWS:19324 ../build/NEWS:22492 -msgid "" -"`bpo-24759 `__: Make clear in idlelib." -"idle_test.__init__ that the directory is a private implementation of test." -"test_idle and tool for maintainers." -msgstr "" - -#: ../build/NEWS:19327 ../build/NEWS:22495 -msgid "" -"`bpo-27196 `__: Stop 'ThemeChanged' " -"warnings when running IDLE tests. These persisted after other warnings were " -"suppressed in #20567. Apply Serhiy Storchaka's update_idletasks solution to " -"four test files. Record this additional advice in idle_test/README.txt" -msgstr "" - -#: ../build/NEWS:19332 ../build/NEWS:22500 -msgid "" -"`bpo-20567 `__: Revise idle_test/README." -"txt with advice about avoiding tk warning messages from tests. Apply advice " -"to several IDLE tests." -msgstr "" - -#: ../build/NEWS:19335 -msgid "" -"`bpo-24225 `__: Update idlelib/README." -"txt with new file names and event handlers." -msgstr "" - -#: ../build/NEWS:19338 -msgid "" -"`bpo-27156 `__: Remove obsolete code not " -"used by IDLE." -msgstr "" - -#: ../build/NEWS:19340 ../build/NEWS:22503 -msgid "" -"`bpo-27117 `__: Make colorizer htest and " -"turtledemo work with dark themes. Move code for configuring text widget " -"colors to a new function." -msgstr "" - -#: ../build/NEWS:19343 -msgid "" -"`bpo-24225 `__: Rename many `idlelib/*." -"py` and `idle_test/test_*.py` files. Edit files to replace old names with " -"new names when the old name referred to the module rather than the class it " -"contained. See the issue and IDLE section in What's New in 3.6 for more." -msgstr "" - -#: ../build/NEWS:19348 ../build/NEWS:22506 -msgid "" -"`bpo-26673 `__: When tk reports font " -"size as 0, change to size 10. Such fonts on Linux prevented the " -"configuration dialog from opening." -msgstr "" - -#: ../build/NEWS:19351 ../build/NEWS:22509 -msgid "" -"`bpo-21939 `__: Add test for IDLE's " -"percolator. Original patch by Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:19354 ../build/NEWS:22512 -msgid "" -"`bpo-21676 `__: Add test for IDLE's " -"replace dialog. Original patch by Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:19357 ../build/NEWS:22515 -msgid "" -"`bpo-18410 `__: Add test for IDLE's " -"search dialog. Original patch by Westley Martínez." -msgstr "" - -#: ../build/NEWS:19360 -msgid "" -"`bpo-21703 `__: Add test for undo " -"delegator. Patch mostly by Saimadhav Heblikar ." -msgstr "" - -#: ../build/NEWS:19363 ../build/NEWS:22521 -msgid "" -"`bpo-27044 `__: Add ConfigDialog." -"remove_var_callbacks to stop memory leaks." -msgstr "" - -#: ../build/NEWS:19365 ../build/NEWS:22523 -msgid "" -"`bpo-23977 `__: Add more asserts to " -"test_delegator." -msgstr "" - -#: ../build/NEWS:19370 -msgid "" -"`bpo-16484 `__: Change the default " -"PYTHONDOCS URL to \"https:\", and fix the resulting links to use lowercase. " -"Patch by Sean Rodman, test by Kaushik Nadikuditi." -msgstr "" - -#: ../build/NEWS:19374 ../build/NEWS:22544 -msgid "" -"`bpo-24136 `__: Document the new :pep:" -"`448` unpacking syntax of 3.5." -msgstr "" - -#: ../build/NEWS:19376 ../build/NEWS:23105 -msgid "" -"`bpo-22558 `__: Add remaining doc links " -"to source code for Python-coded modules. Patch by Yoni Lavi." -msgstr "" - -#: ../build/NEWS:19382 -msgid "" -"`bpo-25285 `__: regrtest now uses " -"subprocesses when the -j1 command line option is used: each test file runs " -"in a fresh child process. Before, the -j1 option was ignored." -msgstr "" - -#: ../build/NEWS:19386 -msgid "" -"`bpo-25285 `__: Tools/buildbot/test.bat " -"script now uses -j1 by default to run each test file in fresh child process." -msgstr "" - -#: ../build/NEWS:19392 -msgid "" -"`bpo-27064 `__: The py.exe launcher now " -"defaults to Python 3. The Windows launcher ``py.exe`` no longer prefers an " -"installed Python 2 version over Python 3 by default when used interactively." -msgstr "" - -#: ../build/NEWS:19399 ../build/NEWS:22595 -msgid "" -"`bpo-27229 `__: Fix the cross-compiling " -"pgen rule for in-tree builds. Patch by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:19402 ../build/NEWS:22632 -msgid "" -"`bpo-26930 `__: Update OS X 10.5+ 32-bit-" -"only installer to build and link with OpenSSL 1.0.2h." -msgstr "" - -#: ../build/NEWS:19408 ../build/NEWS:22678 -msgid "" -"`bpo-17500 `__: Remove unused and " -"outdated icons. (See also: https://github.com/python/pythondotorg/issues/945)" -msgstr "" - -#: ../build/NEWS:19414 -msgid "" -"`bpo-27186 `__: Add the PyOS_FSPath() " -"function (part of :pep:`519`)." -msgstr "" - -#: ../build/NEWS:19416 -msgid "" -"`bpo-26282 `__: " -"PyArg_ParseTupleAndKeywords() now supports positional-only parameters." -msgstr "" - -#: ../build/NEWS:19422 -msgid "" -"`bpo-26282 `__: Argument Clinic now " -"supports positional-only and keyword parameters in the same function." -msgstr "" - -#: ../build/NEWS:19427 -msgid "Python 3.6.0 alpha 1" -msgstr "" - -#: ../build/NEWS:19429 -msgid "*Release date: 2016-05-16*" -msgstr "" - -#: ../build/NEWS:19434 ../build/NEWS:21936 -msgid "" -"`bpo-20041 `__: Fixed TypeError when " -"frame.f_trace is set to None. Patch by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:19437 ../build/NEWS:21939 -msgid "" -"`bpo-26168 `__: Fixed possible refleaks " -"in failing Py_BuildValue() with the \"N\" format unit." -msgstr "" - -#: ../build/NEWS:19440 ../build/NEWS:21942 -msgid "" -"`bpo-26991 `__: Fix possible refleak " -"when creating a function with annotations." -msgstr "" - -#: ../build/NEWS:19442 -msgid "" -"`bpo-27039 `__: Fixed bytearray.remove() " -"for values greater than 127. Based on patch by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:19445 ../build/NEWS:21947 -msgid "" -"`bpo-23640 `__: int.from_bytes() no " -"longer bypasses constructors for subclasses." -msgstr "" - -#: ../build/NEWS:19448 -msgid "" -"`bpo-27005 `__: Optimized the float." -"fromhex() class method for exact float. It is now 2 times faster." -msgstr "" - -#: ../build/NEWS:19451 -msgid "" -"`bpo-18531 `__: Single var-keyword " -"argument of dict subtype was passed unscathed to the C-defined function. " -"Now it is converted to exact dict." -msgstr "" - -#: ../build/NEWS:19454 ../build/NEWS:21950 -msgid "" -"`bpo-26811 `__: gc.get_objects() no " -"longer contains a broken tuple with NULL pointer." -msgstr "" - -#: ../build/NEWS:19457 ../build/NEWS:21953 -msgid "" -"`bpo-20120 `__: Use RawConfigParser for ." -"pypirc parsing, removing support for interpolation unintentionally added " -"with move to Python 3. Behavior no longer does any interpolation in .pypirc " -"files, matching behavior in Python 2.7 and Setuptools 19.0." -msgstr "" - -#: ../build/NEWS:19462 -msgid "" -"`bpo-26249 `__: Memory functions of the :" -"c:func:`PyMem_Malloc` domain (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:" -"`pymalloc allocator ` rather than system :c:func:`malloc`. " -"Applications calling :c:func:`PyMem_Malloc` without holding the GIL can now " -"crash: use ``PYTHONMALLOC=debug`` environment variable to validate the usage " -"of memory allocators in your application." -msgstr "" - -#: ../build/NEWS:19469 -msgid "" -"`bpo-26802 `__: Optimize function calls " -"only using unpacking like ``func(*tuple)`` (no other positional argument, no " -"keyword): avoid copying the tuple. Patch written by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:19473 ../build/NEWS:21958 -msgid "" -"`bpo-26659 `__: Make the builtin slice " -"type support cycle collection." -msgstr "" - -#: ../build/NEWS:19475 ../build/NEWS:21960 -msgid "" -"`bpo-26718 `__: super.__init__ no longer " -"leaks memory if called multiple times. NOTE: A direct call of super.__init__ " -"is not endorsed!" -msgstr "" - -#: ../build/NEWS:19478 ../build/NEWS:21990 -msgid "" -"`bpo-27138 `__: Fix the doc comment for " -"FileFinder.find_spec()." -msgstr "" - -#: ../build/NEWS:19480 ../build/NEWS:22034 -msgid "" -"`bpo-27147 `__: Mention :pep:`420` in " -"the importlib docs." -msgstr "" - -#: ../build/NEWS:19482 ../build/NEWS:21963 -msgid "" -"`bpo-25339 `__: PYTHONIOENCODING now has " -"priority over locale in setting the error handler for stdin and stdout." -msgstr "" - -#: ../build/NEWS:19485 ../build/NEWS:21966 -msgid "" -"`bpo-26494 `__: Fixed crash on iterating " -"exhausting iterators. Affected classes are generic sequence iterators, " -"iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, " -"OrderedDict, corresponding views and os.scandir() iterator." -msgstr "" - -#: ../build/NEWS:19490 -msgid "" -"`bpo-26574 `__: Optimize ``bytes." -"replace(b'', b'.')`` and ``bytearray.replace(b'', b'.')``. Patch written by " -"Josh Snider." -msgstr "" - -#: ../build/NEWS:19493 ../build/NEWS:21971 -msgid "" -"`bpo-26581 `__: If coding cookie is " -"specified multiple times on a line in Python source code file, only the " -"first one is taken to account." -msgstr "" - -#: ../build/NEWS:19496 -msgid "" -"`bpo-19711 `__: Add tests for reloading " -"namespace packages." -msgstr "" - -#: ../build/NEWS:19498 -msgid "" -"`bpo-21099 `__: Switch applicable " -"importlib tests to use :pep:`451` API." -msgstr "" - -#: ../build/NEWS:19500 -msgid "" -"`bpo-26563 `__: Debug hooks on Python " -"memory allocators now raise a fatal error if functions of the :c:func:" -"`PyMem_Malloc` family are called without holding the GIL." -msgstr "" - -#: ../build/NEWS:19504 -msgid "" -"`bpo-26564 `__: On error, the debug " -"hooks on Python memory allocators now use the :mod:`tracemalloc` module to " -"get the traceback where a memory block was allocated." -msgstr "" - -#: ../build/NEWS:19508 -msgid "" -"`bpo-26558 `__: The debug hooks on " -"Python memory allocator :c:func:`PyObject_Malloc` now detect when functions " -"are called without holding the GIL." -msgstr "" - -#: ../build/NEWS:19512 -msgid "" -"`bpo-26516 `__: Add :envvar:" -"`PYTHONMALLOC` environment variable to set the Python memory allocators and/" -"or install debug hooks." -msgstr "" - -#: ../build/NEWS:19515 -msgid "" -"`bpo-26516 `__: The :c:func:" -"`PyMem_SetupDebugHooks` function can now also be used on Python compiled in " -"release mode." -msgstr "" - -#: ../build/NEWS:19518 -msgid "" -"`bpo-26516 `__: The :envvar:" -"`PYTHONMALLOCSTATS` environment variable can now also be used on Python " -"compiled in release mode. It now has no effect if set to an empty string." -msgstr "" - -#: ../build/NEWS:19522 -msgid "" -"`bpo-26516 `__: In debug mode, debug " -"hooks are now also installed on Python memory allocators when Python is " -"configured without pymalloc." -msgstr "" - -#: ../build/NEWS:19525 ../build/NEWS:21974 -msgid "" -"`bpo-26464 `__: Fix str.translate() when " -"string is ASCII and first replacements removes character, but next " -"replacement uses a non-ASCII character or a string longer than 1 character. " -"Regression introduced in Python 3.5.0." -msgstr "" - -#: ../build/NEWS:19529 ../build/NEWS:21978 -msgid "" -"`bpo-22836 `__: Ensure exception reports " -"from PyErr_Display() and PyErr_WriteUnraisable() are sensible even when " -"formatting them produces secondary errors. This affects the reports " -"produced by sys.__excepthook__() and when __del__() raises an exception." -msgstr "" - -#: ../build/NEWS:19534 ../build/NEWS:21983 -msgid "" -"`bpo-26302 `__: Correct behavior to " -"reject comma as a legal character for cookie names." -msgstr "" - -#: ../build/NEWS:19537 -msgid "" -"`bpo-26136 `__: Upgrade the warning when " -"a generator raises StopIteration from PendingDeprecationWarning to " -"DeprecationWarning. Patch by Anish Shah." -msgstr "" - -#: ../build/NEWS:19540 -msgid "" -"`bpo-26204 `__: The compiler now ignores " -"all constant statements: bytes, str, int, float, complex, name constants " -"(None, False, True), Ellipsis and ast.Constant; not only str and int. For " -"example, ``1.0`` is now ignored in ``def f(): 1.0``." -msgstr "" - -#: ../build/NEWS:19545 ../build/NEWS:21986 -msgid "" -"`bpo-4806 `__: Avoid masking the original " -"TypeError exception when using star (``*``) unpacking in function calls. " -"Based on patch by Hagen Fürstenau and Daniel Urban." -msgstr "" - -#: ../build/NEWS:19549 -msgid "" -"`bpo-26146 `__: Add a new kind of AST " -"node: ``ast.Constant``. It can be used by external AST optimizers, but the " -"compiler does not emit directly such node." -msgstr "" - -#: ../build/NEWS:19553 -msgid "" -"`bpo-23601 `__: Sped-up allocation of " -"dict key objects by using Python's small object allocator. (Contributed by " -"Julian Taylor.)" -msgstr "" - -#: ../build/NEWS:19556 -msgid "" -"`bpo-18018 `__: Import raises " -"ImportError instead of SystemError if a relative import is attempted without " -"a known parent package." -msgstr "" - -#: ../build/NEWS:19559 -msgid "" -"`bpo-25843 `__: When compiling code, " -"don't merge constants if they are equal but have a different types. For " -"example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now correctly compiled to " -"two different functions: ``f1()`` returns ``1`` (``int``) and ``f2()`` " -"returns ``1.0`` (``float``), even if ``1`` and ``1.0`` are equal." -msgstr "" - -#: ../build/NEWS:19565 -msgid "" -"`bpo-26107 `__: The format of the " -"``co_lnotab`` attribute of code objects changes to support negative line " -"number delta." -msgstr "" - -#: ../build/NEWS:19568 ../build/NEWS:21992 -msgid "" -"`bpo-26154 `__: Add a new private " -"_PyThreadState_UncheckedGet() function to get the current Python thread " -"state, but don't issue a fatal error if it is NULL. This new function must " -"be used instead of accessing directly the _PyThreadState_Current variable. " -"The variable is no more exposed since Python 3.5.1 to hide the exact " -"implementation of atomic C types, to avoid compiler issues." -msgstr "" - -#: ../build/NEWS:19575 -msgid "" -"`bpo-25791 `__: If __package__ != " -"__spec__.parent or if neither __package__ or __spec__ are defined then " -"ImportWarning is raised." -msgstr "" - -#: ../build/NEWS:19578 ../build/NEWS:22009 -msgid "" -"`bpo-22995 `__: [UPDATE] Comment out the " -"one of the pickleability tests in _PyObject_GetState() due to regressions " -"observed in Cython-based projects." -msgstr "" - -#: ../build/NEWS:19581 ../build/NEWS:22012 -msgid "" -"`bpo-25961 `__: Disallowed null " -"characters in the type name." -msgstr "" - -#: ../build/NEWS:19583 ../build/NEWS:22014 -msgid "" -"`bpo-25973 `__: Fix segfault when an " -"invalid nonlocal statement binds a name starting with two underscores." -msgstr "" - -#: ../build/NEWS:19586 ../build/NEWS:22017 -msgid "" -"`bpo-22995 `__: Instances of extension " -"types with a state that aren't subclasses of list or dict and haven't " -"implemented any pickle-related methods (__reduce__, __reduce_ex__, " -"__getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be " -"pickled. Including memoryview." -msgstr "" - -#: ../build/NEWS:19591 ../build/NEWS:22022 -msgid "" -"`bpo-20440 `__: Massive replacing unsafe " -"attribute setting code with special macro Py_SETREF." -msgstr "" - -#: ../build/NEWS:19594 ../build/NEWS:22025 -msgid "" -"`bpo-25766 `__: Special method " -"__bytes__() now works in str subclasses." -msgstr "" - -#: ../build/NEWS:19596 ../build/NEWS:22027 -msgid "" -"`bpo-25421 `__: __sizeof__ methods of " -"builtin types now use dynamic basic size. This allows sys.getsize() to work " -"correctly with their subclasses with __slots__ defined." -msgstr "" - -#: ../build/NEWS:19600 ../build/NEWS:22031 ../build/NEWS:22690 -msgid "" -"`bpo-25709 `__: Fixed problem with in-" -"place string concatenation and utf-8 cache." -msgstr "" - -#: ../build/NEWS:19603 -msgid "" -"`bpo-5319 `__: New Py_FinalizeEx() API " -"allowing Python to set an exit status of 120 on failure to flush buffered " -"streams." -msgstr "" - -#: ../build/NEWS:19606 -msgid "" -"`bpo-25485 `__: telnetlib.Telnet is now " -"a context manager." -msgstr "" - -#: ../build/NEWS:19608 ../build/NEWS:22036 -msgid "" -"`bpo-24097 `__: Fixed crash in object." -"__reduce__() if slot name is freed inside __getattr__." -msgstr "" - -#: ../build/NEWS:19611 ../build/NEWS:22039 -msgid "" -"`bpo-24731 `__: Fixed crash on " -"converting objects with special methods __bytes__, __trunc__, and __float__ " -"returning instances of subclasses of bytes, int, and float to subclasses of " -"bytes, int, and float correspondingly." -msgstr "" - -#: ../build/NEWS:19616 ../build/NEWS:22708 -msgid "" -"`bpo-25630 `__: Fix a possible segfault " -"during argument parsing in functions that accept filesystem paths." -msgstr "" - -#: ../build/NEWS:19619 ../build/NEWS:22711 -msgid "" -"`bpo-23564 `__: Fixed a partially broken " -"sanity check in the _posixsubprocess internals regarding how fds_to_pass " -"were passed to the child. The bug had no actual impact as subprocess.py " -"already avoided it." -msgstr "" - -#: ../build/NEWS:19623 ../build/NEWS:22715 -msgid "" -"`bpo-25388 `__: Fixed tokenizer crash " -"when processing undecodable source code with a null byte." -msgstr "" - -#: ../build/NEWS:19626 ../build/NEWS:22718 -msgid "" -"`bpo-25462 `__: The hash of the key now " -"is calculated only once in most operations in C implementation of " -"OrderedDict." -msgstr "" - -#: ../build/NEWS:19629 ../build/NEWS:22721 -msgid "" -"`bpo-22995 `__: Default implementation " -"of __reduce__ and __reduce_ex__ now rejects builtin types with not defined " -"__new__." -msgstr "" - -#: ../build/NEWS:19632 ../build/NEWS:22727 -msgid "" -"`bpo-24802 `__: Avoid buffer overreads " -"when int(), float(), compile(), exec() and eval() are passed bytes-like " -"objects. These objects are not necessarily terminated by a null byte, but " -"the functions assumed they were." -msgstr "" - -#: ../build/NEWS:19637 ../build/NEWS:22724 -msgid "" -"`bpo-25555 `__: Fix parser and AST: fill " -"lineno and col_offset of \"arg\" node when compiling AST from Python objects." -msgstr "" - -#: ../build/NEWS:19640 ../build/NEWS:22732 -msgid "" -"`bpo-24726 `__: Fixed a crash and " -"leaking NULL in repr() of OrderedDict that was mutated by direct calls of " -"dict methods." -msgstr "" - -#: ../build/NEWS:19643 ../build/NEWS:22735 -msgid "" -"`bpo-25449 `__: Iterating OrderedDict " -"with keys with unstable hash now raises KeyError in C implementations as " -"well as in Python implementation." -msgstr "" - -#: ../build/NEWS:19646 ../build/NEWS:22738 -msgid "" -"`bpo-25395 `__: Fixed crash when highly " -"nested OrderedDict structures were garbage collected." -msgstr "" - -#: ../build/NEWS:19649 -msgid "" -"`bpo-25401 `__: Optimize bytes.fromhex() " -"and bytearray.fromhex(): they are now between 2x and 3.5x faster." -msgstr "" - -#: ../build/NEWS:19652 -msgid "" -"`bpo-25399 `__: Optimize bytearray % " -"args using the new private _PyBytesWriter API. Formatting is now between 2.5 " -"and 5 times faster." -msgstr "" - -#: ../build/NEWS:19655 ../build/NEWS:22741 -msgid "" -"`bpo-25274 `__: sys.setrecursionlimit() " -"now raises a RecursionError if the new recursion limit is too low depending " -"at the current recursion depth. Modify also the \"lower-water mark\" formula " -"to make it monotonic. This mark is used to decide when the overflowed flag " -"of the thread state is reset." -msgstr "" - -#: ../build/NEWS:19660 ../build/NEWS:22746 -msgid "" -"`bpo-24402 `__: Fix input() to prompt to " -"the redirected stdout when sys.stdout.fileno() fails." -msgstr "" - -#: ../build/NEWS:19663 -msgid "" -"`bpo-25349 `__: Optimize bytes % args " -"using the new private _PyBytesWriter API. Formatting is now up to 2 times " -"faster." -msgstr "" - -#: ../build/NEWS:19666 ../build/NEWS:22749 -msgid "" -"`bpo-24806 `__: Prevent builtin types " -"that are not allowed to be subclassed from being subclassed through multiple " -"inheritance." -msgstr "" - -#: ../build/NEWS:19669 -msgid "" -"`bpo-25301 `__: The UTF-8 decoder is now " -"up to 15 times as fast for error handlers: ``ignore``, ``replace`` and " -"``surrogateescape``." -msgstr "" - -#: ../build/NEWS:19672 ../build/NEWS:22752 -msgid "" -"`bpo-24848 `__: Fixed a number of bugs " -"in UTF-7 decoding of misformed data." -msgstr "" - -#: ../build/NEWS:19674 -msgid "" -"`bpo-25267 `__: The UTF-8 encoder is now " -"up to 75 times as fast for error handlers: ``ignore``, ``replace``, " -"``surrogateescape``, ``surrogatepass``. Patch co-written with Serhiy " -"Storchaka." -msgstr "" - -#: ../build/NEWS:19678 ../build/NEWS:22754 -msgid "" -"`bpo-25280 `__: Import trace messages " -"emitted in verbose (-v) mode are no longer formatted twice." -msgstr "" - -#: ../build/NEWS:19681 -msgid "" -"`bpo-25227 `__: Optimize ASCII and " -"latin1 encoders with the ``surrogateescape`` error handler: the encoders are " -"now up to 3 times as fast. Initial patch written by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:19685 ../build/NEWS:22757 -msgid "" -"`bpo-25003 `__: On Solaris 11.3 or " -"newer, os.urandom() now uses the getrandom() function instead of the " -"getentropy() function. The getentropy() function is blocking to generate " -"very good quality entropy, os.urandom() doesn't need such high-quality " -"entropy." -msgstr "" - -#: ../build/NEWS:19690 -msgid "" -"`bpo-9232 `__: Modify Python's grammar to " -"allow trailing commas in the argument list of a function declaration. For " -"example, \"def f(\\*, a = 3,): pass\" is now legal. Patch from Mark " -"Dickinson." -msgstr "" - -#: ../build/NEWS:19694 -msgid "" -"`bpo-24965 `__: Implement :pep:`498` " -"\"Literal String Interpolation\". This allows you to embed expressions " -"inside f-strings, which are converted to normal strings at run time. Given " -"x=3, then f'value={x}' == 'value=3'. Patch by Eric V. Smith." -msgstr "" - -#: ../build/NEWS:19699 ../build/NEWS:22044 -msgid "" -"`bpo-26478 `__: Fix semantic bugs when " -"using binary operators with dictionary views and tuples." -msgstr "" - -#: ../build/NEWS:19702 ../build/NEWS:22047 -msgid "" -"`bpo-26171 `__: Fix possible integer " -"overflow and heap corruption in zipimporter.get_data()." -msgstr "" - -#: ../build/NEWS:19705 ../build/NEWS:22050 -msgid "" -"`bpo-25660 `__: Fix TAB key behaviour in " -"REPL with readline." -msgstr "" - -#: ../build/NEWS:19707 -msgid "" -"`bpo-26288 `__: Optimize PyLong_AsDouble." -msgstr "" - -#: ../build/NEWS:19709 -msgid "" -"`bpo-26289 `__: Optimize floor and " -"modulo division for single-digit longs. Microbenchmarks show 2-2.5x " -"improvement. Built-in 'divmod' function is now also ~10% faster. (See also: " -"`bpo-26315 `__)" -msgstr "" - -#: ../build/NEWS:19713 ../build/NEWS:22052 -msgid "" -"`bpo-25887 `__: Raise a RuntimeError " -"when a coroutine object is awaited more than once." -msgstr "" - -#: ../build/NEWS:19719 ../build/NEWS:22126 -msgid "" -"`bpo-27057 `__: Fix os.set_inheritable() " -"on Android, ioctl() is blocked by SELinux and fails with EACCESS. The " -"function now falls back to fcntl(). Patch written by Michał Bednarski." -msgstr "" - -#: ../build/NEWS:19723 ../build/NEWS:22130 -msgid "" -"`bpo-27014 `__: Fix infinite recursion " -"using typing.py. Thanks to Kalle Tuure!" -msgstr "" - -#: ../build/NEWS:19725 -msgid "" -"`bpo-27031 `__: Removed dummy methods in " -"Tkinter widget classes: tk_menuBar() and tk_bindForTraversal()." -msgstr "" - -#: ../build/NEWS:19728 ../build/NEWS:22132 -msgid "" -"`bpo-14132 `__: Fix urllib.request " -"redirect handling when the target only has a query string. Original fix by " -"Ján Janech." -msgstr "" - -#: ../build/NEWS:19731 ../build/NEWS:22135 -msgid "" -"`bpo-17214 `__: The \"urllib.request\" " -"module now percent-encodes non-ASCII bytes found in redirect target URLs. " -"Some servers send Location header fields with non-ASCII bytes, but \"http." -"client\" requires the request target to be ASCII-encodable, otherwise a " -"UnicodeEncodeError is raised. Based on patch by Christian Heimes." -msgstr "" - -#: ../build/NEWS:19737 -msgid "" -"`bpo-27033 `__: The default value of the " -"decode_data parameter for smtpd.SMTPChannel and smtpd.SMTPServer " -"constructors is changed to False." -msgstr "" - -#: ../build/NEWS:19740 -msgid "" -"`bpo-27034 `__: Removed deprecated class " -"asynchat.fifo." -msgstr "" - -#: ../build/NEWS:19742 -msgid "" -"`bpo-26870 `__: Added readline." -"set_auto_history(), which can stop entries being automatically added to the " -"history list. Based on patch by Tyler Crompton." -msgstr "" - -#: ../build/NEWS:19746 -msgid "" -"`bpo-26039 `__: zipfile.ZipFile.open() " -"can now be used to write data into a ZIP file, as well as for extracting " -"data. Patch by Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:19749 ../build/NEWS:22141 -msgid "" -"`bpo-26892 `__: Honor debuglevel flag in " -"urllib.request.HTTPHandler. Patch contributed by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:19752 ../build/NEWS:22144 -msgid "" -"`bpo-22274 `__: In the subprocess " -"module, allow stderr to be redirected to stdout even when stdout is not " -"redirected. Patch by Akira Li." -msgstr "" - -#: ../build/NEWS:19755 ../build/NEWS:22147 -msgid "" -"`bpo-26807 `__: mock_open 'files' no " -"longer error on readline at end of file. Patch from Yolanda Robla." -msgstr "" - -#: ../build/NEWS:19758 ../build/NEWS:22150 -msgid "" -"`bpo-25745 `__: Fixed leaking a userptr " -"in curses panel destructor." -msgstr "" - -#: ../build/NEWS:19760 ../build/NEWS:22152 -msgid "" -"`bpo-26977 `__: Removed unnecessary, and " -"ignored, call to sum of squares helper in statistics.pvariance." -msgstr "" - -#: ../build/NEWS:19763 -msgid "" -"`bpo-26002 `__: Use bisect in statistics." -"median instead of a linear search. Patch by Upendra Kuma." -msgstr "" - -#: ../build/NEWS:19766 -msgid "" -"`bpo-25974 `__: Make use of new Decimal." -"as_integer_ratio() method in statistics module. Patch by Stefan Krah." -msgstr "" - -#: ../build/NEWS:19769 -msgid "" -"`bpo-26996 `__: Add secrets module as " -"described in :pep:`506`." -msgstr "" - -#: ../build/NEWS:19771 ../build/NEWS:22155 -msgid "" -"`bpo-26881 `__: The modulefinder module " -"now supports extended opcode arguments." -msgstr "" - -#: ../build/NEWS:19773 ../build/NEWS:22157 -msgid "" -"`bpo-23815 `__: Fixed crashes related to " -"directly created instances of types in _tkinter and curses.panel modules." -msgstr "" - -#: ../build/NEWS:19776 ../build/NEWS:22160 -msgid "" -"`bpo-17765 `__: weakref.ref() no longer " -"silently ignores keyword arguments. Patch by Georg Brandl." -msgstr "" - -#: ../build/NEWS:19779 ../build/NEWS:22163 -msgid "" -"`bpo-26873 `__: xmlrpc now raises " -"ResponseError on unsupported type tags instead of silently return incorrect " -"result." -msgstr "" - -#: ../build/NEWS:19782 -msgid "" -"`bpo-26915 `__: The __contains__ methods " -"in the collections ABCs now check for identity before checking equality. " -"This better matches the behavior of the concrete classes, allows sensible " -"handling of NaNs, and makes it easier to reason about container invariants." -msgstr "" - -#: ../build/NEWS:19787 ../build/NEWS:22166 -msgid "" -"`bpo-26711 `__: Fixed the comparison of " -"plistlib.Data with other types." -msgstr "" - -#: ../build/NEWS:19789 ../build/NEWS:22168 -msgid "" -"`bpo-24114 `__: Fix an uninitialized " -"variable in `ctypes.util`. The bug only occurs on SunOS when the ctypes " -"implementation searches for the `crle` program. Patch by Xiang Zhang. " -"Tested on SunOS by Kees Bos." -msgstr "" - -#: ../build/NEWS:19793 ../build/NEWS:22172 -msgid "" -"`bpo-26864 `__: In urllib.request, " -"change the proxy bypass host checking against no_proxy to be case-" -"insensitive, and to not match unrelated host names that happen to have a " -"bypassed hostname as a suffix. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:19798 -msgid "" -"`bpo-24902 `__: Print server URL on http." -"server startup. Initial patch by Felix Kaiser." -msgstr "" - -#: ../build/NEWS:19801 -msgid "" -"`bpo-25788 `__: fileinput.hook_encoded() " -"now supports an \"errors\" argument for passing to open. Original patch by " -"Joseph Hackman." -msgstr "" - -#: ../build/NEWS:19804 ../build/NEWS:22177 -msgid "" -"`bpo-26634 `__: recursive_repr() now " -"sets __qualname__ of wrapper. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:19807 ../build/NEWS:22180 -msgid "" -"`bpo-26804 `__: urllib.request will " -"prefer lower_case proxy environment variables over UPPER_CASE or Mixed_Case " -"ones. Patch contributed by Hans-Peter Jansen." -msgstr "" - -#: ../build/NEWS:19811 ../build/NEWS:22184 -msgid "" -"`bpo-26837 `__: assertSequenceEqual() " -"now correctly outputs non-stringified differing items (like bytes in the -b " -"mode). This affects assertListEqual() and assertTupleEqual()." -msgstr "" - -#: ../build/NEWS:19815 ../build/NEWS:22188 -msgid "" -"`bpo-26041 `__: Remove \"will be removed " -"in Python 3.7\" from deprecation messages of platform.dist() and platform." -"linux_distribution(). Patch by Kumaripaba Miyurusara Athukorala." -msgstr "" - -#: ../build/NEWS:19819 ../build/NEWS:22192 -msgid "" -"`bpo-26822 `__: itemgetter, attrgetter " -"and methodcaller objects no longer silently ignore keyword arguments." -msgstr "" - -#: ../build/NEWS:19822 ../build/NEWS:22195 -msgid "" -"`bpo-26733 `__: Disassembling a class " -"now disassembles class and static methods. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:19825 ../build/NEWS:22198 -msgid "" -"`bpo-26801 `__: Fix error handling in :" -"func:`shutil.get_terminal_size`, catch :exc:`AttributeError` instead of :exc:" -"`NameError`. Patch written by Emanuel Barry." -msgstr "" - -#: ../build/NEWS:19829 ../build/NEWS:22202 -msgid "" -"`bpo-24838 `__: tarfile's ustar and gnu " -"formats now correctly calculate name and link field limits for multibyte " -"character encodings like utf-8." -msgstr "" - -#: ../build/NEWS:19835 ../build/NEWS:22208 -msgid "" -"`bpo-26657 `__: Fix directory traversal " -"vulnerability with http.server on Windows. This fixes a regression that was " -"introduced in 3.3.4rc1 and 3.4.0rc1. Based on patch by Philipp Hagemeister." -msgstr "" - -#: ../build/NEWS:19842 ../build/NEWS:22215 -msgid "" -"`bpo-26717 `__: Stop encoding Latin-1-" -"ized WSGI paths with UTF-8. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:19845 -msgid "" -"`bpo-26782 `__: Add STARTUPINFO to " -"subprocess.__all__ on Windows." -msgstr "" - -#: ../build/NEWS:19847 -msgid "" -"`bpo-26404 `__: Add context manager to " -"socketserver. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:19849 ../build/NEWS:22218 -msgid "" -"`bpo-26735 `__: Fix :func:`os.urandom` " -"on Solaris 11.3 and newer when reading more than 1,024 bytes: call " -"``getrandom()`` multiple times with a limit of 1024 bytes per call." -msgstr "" - -#: ../build/NEWS:19853 -msgid "" -"`bpo-26585 `__: Eliminate http.server." -"_quote_html() and use html.escape(quote=False). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:19856 -msgid "" -"`bpo-26685 `__: Raise OSError if closing " -"a socket fails." -msgstr "" - -#: ../build/NEWS:19858 ../build/NEWS:22222 -msgid "" -"`bpo-16329 `__: Add .webm to mimetypes." -"types_map. Patch by Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:19860 ../build/NEWS:22224 -msgid "" -"`bpo-13952 `__: Add .csv to mimetypes." -"types_map. Patch by Geoff Wilson." -msgstr "" - -#: ../build/NEWS:19862 -msgid "" -"`bpo-26587 `__: the site module now " -"allows .pth files to specify files to be added to sys.path (e.g. zip files)." -msgstr "" - -#: ../build/NEWS:19865 -msgid "" -"`bpo-25609 `__: Introduce contextlib." -"AbstractContextManager and typing.ContextManager." -msgstr "" - -#: ../build/NEWS:19868 ../build/NEWS:22226 -msgid "" -"`bpo-26709 `__: Fixed Y2038 problem in " -"loading binary PLists." -msgstr "" - -#: ../build/NEWS:19870 ../build/NEWS:22228 -msgid "" -"`bpo-23735 `__: Handle terminal resizing " -"with Readline 6.3+ by installing our own SIGWINCH handler. Patch by Eric " -"Price." -msgstr "" - -#: ../build/NEWS:19873 -msgid "" -"`bpo-25951 `__: Change SSLSocket." -"sendall() to return None, as explicitly documented for plain socket " -"objects. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:19876 ../build/NEWS:22231 -msgid "" -"`bpo-26586 `__: In http.server, respond " -"with \"413 Request header fields too large\" if there are too many header " -"fields to parse, rather than killing the connection and raising an unhandled " -"exception. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:19880 -msgid "" -"`bpo-26676 `__: Added missing " -"XMLPullParser to ElementTree.__all__." -msgstr "" - -#: ../build/NEWS:19882 ../build/NEWS:22235 -msgid "" -"`bpo-22854 `__: Change BufferedReader." -"writable() and BufferedWriter.readable() to always return False." -msgstr "" - -#: ../build/NEWS:19885 -msgid "" -"`bpo-26492 `__: Exhausted iterator of " -"array.array now conforms with the behavior of iterators of other mutable " -"sequences: it lefts exhausted even if iterated array is extended." -msgstr "" - -#: ../build/NEWS:19889 -msgid "" -"`bpo-26641 `__: doctest.DocFileTest and " -"doctest.testfile() now support packages (module splitted into multiple " -"directories) for the package parameter." -msgstr "" - -#: ../build/NEWS:19892 ../build/NEWS:22238 -msgid "" -"`bpo-25195 `__: Fix a regression in mock." -"MagicMock. _Call is a subclass of tuple (changeset 3603bae63c13 only works " -"for classes) so we need to implement __ne__ ourselves. Patch by Andrew " -"Plummer." -msgstr "" - -#: ../build/NEWS:19896 ../build/NEWS:22242 -msgid "" -"`bpo-26644 `__: Raise ValueError rather " -"than SystemError when a negative length is passed to SSLSocket.recv() or " -"read()." -msgstr "" - -#: ../build/NEWS:19899 ../build/NEWS:22245 -msgid "" -"`bpo-23804 `__: Fix SSL recv(0) and " -"read(0) methods to return zero bytes instead of up to 1024." -msgstr "" - -#: ../build/NEWS:19902 ../build/NEWS:22248 -msgid "" -"`bpo-26616 `__: Fixed a bug in datetime." -"astimezone() method." -msgstr "" - -#: ../build/NEWS:19904 -msgid "" -"`bpo-26637 `__: The :mod:`importlib` " -"module now emits an :exc:`ImportError` rather than a :exc:`TypeError` if :" -"func:`__import__` is tried during the Python shutdown process but :data:`sys." -"path` is already cleared (set to ``None``)." -msgstr "" - -#: ../build/NEWS:19909 -msgid "" -"`bpo-21925 `__: :func:`warnings." -"formatwarning` now catches exceptions when calling :func:`linecache.getline` " -"and :func:`tracemalloc.get_object_traceback` to be able to log :exc:" -"`ResourceWarning` emitted late during the Python shutdown process." -msgstr "" - -#: ../build/NEWS:19914 -msgid "" -"`bpo-23848 `__: On Windows, faulthandler." -"enable() now also installs an exception handler to dump the traceback of all " -"Python threads on any Windows exception, not only on UNIX signals (SIGSEGV, " -"SIGFPE, SIGABRT)." -msgstr "" - -#: ../build/NEWS:19918 -msgid "" -"`bpo-26530 `__: Add C functions :c:func:" -"`_PyTraceMalloc_Track` and :c:func:`_PyTraceMalloc_Untrack` to track memory " -"blocks using the :mod:`tracemalloc` module. Add :c:func:" -"`_PyTraceMalloc_GetTraceback` to get the traceback of an object." -msgstr "" - -#: ../build/NEWS:19923 -msgid "" -"`bpo-26588 `__: The _tracemalloc now " -"supports tracing memory allocations of multiple address spaces (domains)." -msgstr "" - -#: ../build/NEWS:19926 ../build/NEWS:22254 -msgid "" -"`bpo-24266 `__: Ctrl+C during Readline " -"history search now cancels the search mode when compiled with Readline 7." -msgstr "" - -#: ../build/NEWS:19929 -msgid "" -"`bpo-26590 `__: Implement a safe " -"finalizer for the _socket.socket type. It now releases the GIL to close the " -"socket." -msgstr "" - -#: ../build/NEWS:19932 -msgid "" -"`bpo-18787 `__: spwd.getspnam() now " -"raises a PermissionError if the user doesn't have privileges." -msgstr "" - -#: ../build/NEWS:19935 ../build/NEWS:22257 -msgid "" -"`bpo-26560 `__: Avoid potential " -"ValueError in BaseHandler.start_response. Initial patch by Peter Inglesby." -msgstr "" - -#: ../build/NEWS:19938 -msgid "" -"`bpo-26567 `__: Add a new function :c:" -"func:`PyErr_ResourceWarning` function to pass the destroyed object. Add a " -"*source* attribute to :class:`warnings.WarningMessage`. Add warnings." -"_showwarnmsg() which uses tracemalloc to get the traceback where source " -"object was allocated." -msgstr "" - -#: ../build/NEWS:19946 ../build/NEWS:22263 -msgid "" -"`bpo-26313 `__: ssl.py " -"_load_windows_store_certs fails if windows cert store is empty. Patch by " -"Baji." -msgstr "" - -#: ../build/NEWS:19952 ../build/NEWS:22269 -msgid "" -"`bpo-26569 `__: Fix :func:`pyclbr." -"readmodule` and :func:`pyclbr.readmodule_ex` to support importing packages." -msgstr "" - -#: ../build/NEWS:19955 ../build/NEWS:22272 -msgid "" -"`bpo-26499 `__: Account for remaining " -"Content-Length in HTTPResponse.readline() and read1(). Based on patch by " -"Silent Ghost. Also document that HTTPResponse now supports these methods." -msgstr "" - -#: ../build/NEWS:19959 ../build/NEWS:22276 -msgid "" -"`bpo-25320 `__: Handle sockets in " -"directories unittest discovery is scanning. Patch from Victor van den Elzen." -msgstr "" - -#: ../build/NEWS:19962 ../build/NEWS:22279 -msgid "" -"`bpo-16181 `__: cookiejar.http2time() " -"now returns None if year is higher than datetime.MAXYEAR." -msgstr "" - -#: ../build/NEWS:19965 ../build/NEWS:22282 -msgid "" -"`bpo-26513 `__: Fixes platform module " -"detection of Windows Server" -msgstr "" - -#: ../build/NEWS:19967 ../build/NEWS:22284 -msgid "" -"`bpo-23718 `__: Fixed parsing time in " -"week 0 before Jan 1. Original patch by Tamás Bence Gedai." -msgstr "" - -#: ../build/NEWS:19970 -msgid "" -"`bpo-26323 `__: Add Mock.assert_called() " -"and Mock.assert_called_once() methods to unittest.mock. Patch written by " -"Amit Saha." -msgstr "" - -#: ../build/NEWS:19973 ../build/NEWS:22287 -msgid "" -"`bpo-20589 `__: Invoking Path.owner() " -"and Path.group() on Windows now raise NotImplementedError instead of " -"ImportError." -msgstr "" - -#: ../build/NEWS:19976 ../build/NEWS:22290 -msgid "" -"`bpo-26177 `__: Fixed the keys() method " -"for Canvas and Scrollbar widgets." -msgstr "" - -#: ../build/NEWS:19978 -msgid "" -"`bpo-15068 `__: Got rid of excessive " -"buffering in fileinput. The bufsize parameter is now deprecated and ignored." -msgstr "" - -#: ../build/NEWS:19981 -msgid "" -"`bpo-19475 `__: Added an optional " -"argument timespec to the datetime isoformat() method to choose the precision " -"of the time component." -msgstr "" - -#: ../build/NEWS:19984 ../build/NEWS:22295 -msgid "" -"`bpo-2202 `__: Fix UnboundLocalError in " -"AbstractDigestAuthHandler.get_algorithm_impls. Initial patch by Mathieu " -"Dupuy." -msgstr "" - -#: ../build/NEWS:19988 -msgid "" -"`bpo-26167 `__: Minimized overhead in " -"copy.copy() and copy.deepcopy(). Optimized copying and deepcopying " -"bytearrays, NotImplemented, slices, short lists, tuples, dicts, sets." -msgstr "" - -#: ../build/NEWS:19992 ../build/NEWS:22299 -msgid "" -"`bpo-25718 `__: Fixed pickling and " -"copying the accumulate() iterator with total is None." -msgstr "" - -#: ../build/NEWS:19995 ../build/NEWS:22302 -msgid "" -"`bpo-26475 `__: Fixed debugging output " -"for regular expressions with the (?x) flag." -msgstr "" - -#: ../build/NEWS:19998 -msgid "" -"`bpo-26482 `__: Allowed pickling " -"recursive dequeues." -msgstr "" - -#: ../build/NEWS:20000 -msgid "" -"`bpo-26335 `__: Make mmap.write() return " -"the number of bytes written like other write methods. Patch by Jakub " -"Stasiak." -msgstr "" - -#: ../build/NEWS:20003 ../build/NEWS:22305 -msgid "" -"`bpo-26457 `__: Fixed the subnets() " -"methods in IP network classes for the case when resulting prefix length is " -"equal to maximal prefix length. Based on patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:20007 ../build/NEWS:22309 -msgid "" -"`bpo-26385 `__: Remove the file if the " -"internal open() call in NamedTemporaryFile() fails. Patch by Silent Ghost." -msgstr "" - -#: ../build/NEWS:20010 ../build/NEWS:22312 -msgid "" -"`bpo-26402 `__: Fix XML-RPC client to " -"retry when the server shuts down a persistent connection. This was a " -"regression related to the new http.client.RemoteDisconnected exception in " -"3.5.0a4." -msgstr "" - -#: ../build/NEWS:20014 ../build/NEWS:22316 -msgid "" -"`bpo-25913 `__: Leading ``<~`` is " -"optional now in base64.a85decode() with adobe=True. Patch by Swati Jaiswal." -msgstr "" - -#: ../build/NEWS:20017 ../build/NEWS:22319 -msgid "" -"`bpo-26186 `__: Remove an invalid type " -"check in importlib.util.LazyLoader." -msgstr "" - -#: ../build/NEWS:20019 -msgid "" -"`bpo-26367 `__: importlib.__import__() " -"raises ImportError like builtins.__import__() when ``level`` is specified " -"but without an accompanying package specified." -msgstr "" - -#: ../build/NEWS:20023 ../build/NEWS:22325 -msgid "" -"`bpo-26309 `__: In the \"socketserver\" " -"module, shut down the request (closing the connected socket) when " -"verify_request() returns false. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:20027 -msgid "" -"`bpo-23430 `__: Change the socketserver " -"module to only catch exceptions raised from a request handler that are " -"derived from Exception (instead of BaseException). Therefore SystemExit and " -"KeyboardInterrupt no longer trigger the handle_error() method, and will now " -"to stop a single-threaded server." -msgstr "" - -#: ../build/NEWS:20036 ../build/NEWS:22332 -msgid "" -"`bpo-25939 `__: On Windows open the cert " -"store readonly in ssl.enum_certificates." -msgstr "" - -#: ../build/NEWS:20042 ../build/NEWS:22338 -msgid "" -"`bpo-25995 `__: os.walk() no longer uses " -"FDs proportional to the tree depth." -msgstr "" - -#: ../build/NEWS:20044 -msgid "" -"`bpo-25994 `__: Added the close() method " -"and the support of the context manager protocol for the os.scandir() " -"iterator." -msgstr "" - -#: ../build/NEWS:20047 -msgid "" -"`bpo-23992 `__: multiprocessing: make " -"MapResult not fail-fast upon exception." -msgstr "" - -#: ../build/NEWS:20049 -msgid "" -"`bpo-26243 `__: Support keyword " -"arguments to zlib.compress(). Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:20052 ../build/NEWS:22340 -msgid "" -"`bpo-26117 `__: The os.scandir() " -"iterator now closes file descriptor not only when the iteration is finished, " -"but when it was failed with error." -msgstr "" - -#: ../build/NEWS:20055 -msgid "" -"`bpo-25949 `__: __dict__ for an " -"OrderedDict instance is now created only when needed." -msgstr "" - -#: ../build/NEWS:20058 ../build/NEWS:22343 -msgid "" -"`bpo-25911 `__: Restored support of " -"bytes paths in os.walk() on Windows." -msgstr "" - -#: ../build/NEWS:20060 ../build/NEWS:22345 -msgid "" -"`bpo-26045 `__: Add UTF-8 suggestion to " -"error message when posting a non-Latin-1 string with http.client." -msgstr "" - -#: ../build/NEWS:20063 -msgid "" -"`bpo-26039 `__: Added zipfile.ZipInfo." -"from_file() and zipinfo.ZipInfo.is_dir(). Patch by Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:20066 ../build/NEWS:22348 -msgid "" -"`bpo-12923 `__: Reset FancyURLopener's " -"redirect counter even if there is an exception. Based on patches by Brian " -"Brazil and Daniel Rocco." -msgstr "" - -#: ../build/NEWS:20069 ../build/NEWS:22351 -msgid "" -"`bpo-25945 `__: Fixed a crash when " -"unpickle the functools.partial object with wrong state. Fixed a leak in " -"failed functools.partial constructor. \"args\" and \"keywords\" attributes " -"of functools.partial have now always types tuple and dict correspondingly." -msgstr "" - -#: ../build/NEWS:20074 ../build/NEWS:22356 -msgid "" -"`bpo-26202 `__: copy.deepcopy() now " -"correctly copies range() objects with non-atomic attributes." -msgstr "" - -#: ../build/NEWS:20077 ../build/NEWS:22359 -msgid "" -"`bpo-23076 `__: Path.glob() now raises a " -"ValueError if it's called with an invalid pattern. Patch by Thomas Nyberg." -msgstr "" - -#: ../build/NEWS:20080 ../build/NEWS:22362 -msgid "" -"`bpo-19883 `__: Fixed possible integer " -"overflows in zipimport." -msgstr "" - -#: ../build/NEWS:20082 ../build/NEWS:22364 -msgid "" -"`bpo-26227 `__: On Windows, " -"getnameinfo(), gethostbyaddr() and gethostbyname_ex() functions of the " -"socket module now decode the hostname from the ANSI code page rather than " -"UTF-8." -msgstr "" - -#: ../build/NEWS:20086 -msgid "" -"`bpo-26099 `__: The site module now " -"writes an error into stderr if sitecustomize module can be imported but " -"executing the module raise an ImportError. Same change for usercustomize." -msgstr "" - -#: ../build/NEWS:20090 ../build/NEWS:22368 -msgid "" -"`bpo-26147 `__: xmlrpc now works with " -"strings not encodable with used non-UTF-8 encoding." -msgstr "" - -#: ../build/NEWS:20093 ../build/NEWS:22371 -msgid "" -"`bpo-25935 `__: Garbage collector now " -"breaks reference loops with OrderedDict." -msgstr "" - -#: ../build/NEWS:20095 ../build/NEWS:22373 -msgid "" -"`bpo-16620 `__: Fixed AttributeError in " -"msilib.Directory.glob()." -msgstr "" - -#: ../build/NEWS:20097 ../build/NEWS:22375 -msgid "" -"`bpo-26013 `__: Added compatibility with " -"broken protocol 2 pickles created in old Python 3 versions (3.4.3 and lower)." -msgstr "" - -#: ../build/NEWS:20100 -msgid "" -"`bpo-26129 `__: Deprecated accepting non-" -"integers in grp.getgrgid()." -msgstr "" - -#: ../build/NEWS:20102 ../build/NEWS:22378 -msgid "" -"`bpo-25850 `__: Use cross-compilation by " -"default for 64-bit Windows." -msgstr "" - -#: ../build/NEWS:20104 -msgid "" -"`bpo-25822 `__: Add docstrings to the " -"fields of urllib.parse results. Patch contributed by Swati Jaiswal." -msgstr "" - -#: ../build/NEWS:20107 -msgid "" -"`bpo-22642 `__: Convert trace module " -"option parsing mechanism to argparse. Patch contributed by SilentGhost." -msgstr "" - -#: ../build/NEWS:20110 ../build/NEWS:22382 -msgid "" -"`bpo-24705 `__: Fix sysconfig." -"_parse_makefile not expanding ${} vars appearing before $() vars." -msgstr "" - -#: ../build/NEWS:20113 -msgid "" -"`bpo-26069 `__: Remove the deprecated " -"apis in the trace module." -msgstr "" - -#: ../build/NEWS:20115 ../build/NEWS:22385 -msgid "" -"`bpo-22138 `__: Fix mock.patch behavior " -"when patching descriptors. Restore original values after patching. Patch " -"contributed by Sean McCully." -msgstr "" - -#: ../build/NEWS:20118 ../build/NEWS:22388 -msgid "" -"`bpo-25672 `__: In the ssl module, " -"enable the SSL_MODE_RELEASE_BUFFERS mode option if it is safe to do so." -msgstr "" - -#: ../build/NEWS:20121 ../build/NEWS:22391 -msgid "" -"`bpo-26012 `__: Don't traverse into " -"symlinks for ``**`` pattern in pathlib.Path.[r]glob()." -msgstr "" - -#: ../build/NEWS:20124 ../build/NEWS:22394 -msgid "" -"`bpo-24120 `__: Ignore PermissionError " -"when traversing a tree with pathlib.Path.[r]glob(). Patch by Ulrich Petri." -msgstr "" - -#: ../build/NEWS:20127 -msgid "" -"`bpo-21815 `__: Accept ] characters in " -"the data portion of imap responses, in order to handle the flags with square " -"brackets accepted and produced by servers such as gmail." -msgstr "" - -#: ../build/NEWS:20131 ../build/NEWS:22397 -msgid "" -"`bpo-25447 `__: fileinput now uses sys." -"stdin as-is if it does not have a buffer attribute (restores backward " -"compatibility)." -msgstr "" - -#: ../build/NEWS:20134 -msgid "" -"`bpo-25971 `__: Optimized creating " -"Fractions from floats by 2 times and from Decimals by 3 times." -msgstr "" - -#: ../build/NEWS:20137 -msgid "" -"`bpo-25802 `__: Document as deprecated " -"the remaining implementations of importlib.abc.Loader.load_module()." -msgstr "" - -#: ../build/NEWS:20140 -msgid "" -"`bpo-25928 `__: Add Decimal." -"as_integer_ratio()." -msgstr "" - -#: ../build/NEWS:20142 ../build/NEWS:22400 -msgid "" -"`bpo-25447 `__: Copying the lru_cache() " -"wrapper object now always works, independently from the type of the wrapped " -"object (by returning the original object unchanged)." -msgstr "" - -#: ../build/NEWS:20146 -msgid "" -"`bpo-25768 `__: Have the functions in " -"compileall return booleans instead of ints and add proper documentation and " -"tests for the return values." -msgstr "" - -#: ../build/NEWS:20149 ../build/NEWS:22404 -msgid "" -"`bpo-24103 `__: Fixed possible use after " -"free in ElementTree.XMLPullParser." -msgstr "" - -#: ../build/NEWS:20151 ../build/NEWS:22406 -msgid "" -"`bpo-25860 `__: os.fwalk() no longer " -"skips remaining directories when error occurs. Original patch by Samson Lee." -msgstr "" - -#: ../build/NEWS:20154 ../build/NEWS:22409 -msgid "" -"`bpo-25914 `__: Fixed and simplified " -"OrderedDict.__sizeof__." -msgstr "" - -#: ../build/NEWS:20156 -msgid "" -"`bpo-25869 `__: Optimized deepcopying " -"ElementTree; it is now 20 times faster." -msgstr "" - -#: ../build/NEWS:20158 -msgid "" -"`bpo-25873 `__: Optimized iterating " -"ElementTree. Iterating elements Element.iter() is now 40% faster, iterating " -"text Element.itertext() is now up to 2.5 times faster." -msgstr "" - -#: ../build/NEWS:20162 ../build/NEWS:22411 -msgid "" -"`bpo-25902 `__: Fixed various refcount " -"issues in ElementTree iteration." -msgstr "" - -#: ../build/NEWS:20164 -msgid "" -"`bpo-22227 `__: The TarFile iterator is " -"reimplemented using generator. This implementation is simpler that using " -"class." -msgstr "" - -#: ../build/NEWS:20167 -msgid "" -"`bpo-25638 `__: Optimized ElementTree." -"iterparse(); it is now 2x faster. Optimized ElementTree parsing; it is now " -"10% faster." -msgstr "" - -#: ../build/NEWS:20170 -msgid "" -"`bpo-25761 `__: Improved detecting " -"errors in broken pickle data." -msgstr "" - -#: ../build/NEWS:20172 ../build/NEWS:22413 -msgid "" -"`bpo-25717 `__: Restore the previous " -"behaviour of tolerating most fstat() errors when opening files. This was a " -"regression in 3.5a1, and stopped anonymous temporary files from working in " -"special cases." -msgstr "" - -#: ../build/NEWS:20176 ../build/NEWS:22417 -msgid "" -"`bpo-24903 `__: Fix regression in number " -"of arguments compileall accepts when '-d' is specified. The check on the " -"number of arguments has been dropped completely as it never worked correctly " -"anyway." -msgstr "" - -#: ../build/NEWS:20180 ../build/NEWS:22421 -msgid "" -"`bpo-25764 `__: In the subprocess " -"module, preserve any exception caused by fork() failure when preexec_fn is " -"used." -msgstr "" - -#: ../build/NEWS:20183 -msgid "" -"`bpo-25771 `__: Tweak the exception " -"message for importlib.util.resolve_name() when 'package' isn't specified but " -"necessary." -msgstr "" - -#: ../build/NEWS:20186 ../build/NEWS:22424 -msgid "" -"`bpo-6478 `__: _strptime's regexp cache " -"now is reset after changing timezone with time.tzset()." -msgstr "" - -#: ../build/NEWS:20189 ../build/NEWS:22427 -msgid "" -"`bpo-14285 `__: When executing a package " -"with the \"python -m package\" option, and package initialization fails, a " -"proper traceback is now reported. The \"runpy\" module now lets exceptions " -"from package initialization pass back to the caller, rather than raising " -"ImportError." -msgstr "" - -#: ../build/NEWS:20194 ../build/NEWS:22432 -msgid "" -"`bpo-19771 `__: Also in runpy and the \"-" -"m\" option, omit the irrelevant message \". . . is a package and cannot be " -"directly executed\" if the package could not even be initialized (e.g. due " -"to a bad ``*.pyc`` file)." -msgstr "" - -#: ../build/NEWS:20198 ../build/NEWS:22436 -msgid "" -"`bpo-25177 `__: Fixed problem with the " -"mean of very small and very large numbers. As a side effect, statistics.mean " -"and statistics.variance should be significantly faster." -msgstr "" - -#: ../build/NEWS:20202 ../build/NEWS:22440 -msgid "" -"`bpo-25718 `__: Fixed copying object " -"with state with boolean value is false." -msgstr "" - -#: ../build/NEWS:20204 ../build/NEWS:22442 -msgid "" -"`bpo-10131 `__: Fixed deep copying of " -"minidom documents. Based on patch by Marian Ganisin." -msgstr "" - -#: ../build/NEWS:20207 -msgid "" -"`bpo-7990 `__: dir() on ElementTree." -"Element now lists properties: \"tag\", \"text\", \"tail\" and \"attrib\". " -"Original patch by Santoso Wijaya." -msgstr "" - -#: ../build/NEWS:20210 ../build/NEWS:22445 -msgid "" -"`bpo-25725 `__: Fixed a reference leak " -"in pickle.loads() when unpickling invalid data including tuple instructions." -msgstr "" - -#: ../build/NEWS:20213 ../build/NEWS:22448 -msgid "" -"`bpo-25663 `__: In the Readline " -"completer, avoid listing duplicate global names, and search the global " -"namespace before searching builtins." -msgstr "" - -#: ../build/NEWS:20216 ../build/NEWS:22451 -msgid "" -"`bpo-25688 `__: Fixed file leak in " -"ElementTree.iterparse() raising an error." -msgstr "" - -#: ../build/NEWS:20218 ../build/NEWS:22453 -msgid "" -"`bpo-23914 `__: Fixed SystemError raised " -"by unpickler on broken pickle data." -msgstr "" - -#: ../build/NEWS:20220 ../build/NEWS:22455 -msgid "" -"`bpo-25691 `__: Fixed crash on deleting " -"ElementTree.Element attributes." -msgstr "" - -#: ../build/NEWS:20222 ../build/NEWS:22457 -msgid "" -"`bpo-25624 `__: ZipFile now always " -"writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang." -msgstr "" - -#: ../build/NEWS:20225 ../build/NEWS:22776 -msgid "" -"`bpo-25626 `__: Change three zlib " -"functions to accept sizes that fit in Py_ssize_t, but internally cap those " -"sizes to UINT_MAX. This resolves a regression in 3.5 where GzipFile.read() " -"failed to read chunks larger than 2 or 4 GiB. The change affects the zlib." -"Decompress.decompress() max_length parameter, the zlib.decompress() bufsize " -"parameter, and the zlib.Decompress.flush() length parameter." -msgstr "" - -#: ../build/NEWS:20232 ../build/NEWS:22783 -msgid "" -"`bpo-25583 `__: Avoid incorrect errors " -"raised by os.makedirs(exist_ok=True) when the OS gives priority to errors " -"such as EACCES over EEXIST." -msgstr "" - -#: ../build/NEWS:20235 ../build/NEWS:22786 -msgid "" -"`bpo-25593 `__: Change semantics of " -"EventLoop.stop() in asyncio." -msgstr "" - -#: ../build/NEWS:20237 ../build/NEWS:22788 -msgid "" -"`bpo-6973 `__: When we know a subprocess." -"Popen process has died, do not allow the send_signal(), terminate(), or " -"kill() methods to do anything as they could potentially signal a different " -"process." -msgstr "" - -#: ../build/NEWS:20241 -msgid "" -"`bpo-23883 `__: Added missing APIs to " -"__all__ to match the documented APIs for the following modules: calendar, " -"csv, enum, fileinput, ftplib, logging, optparse, tarfile, threading and " -"wave. Also added a test.support.check__all__() helper. Patches by Jacek " -"Kołodziej, Mauro S. M. Rodrigues and Joel Taddei." -msgstr "" - -#: ../build/NEWS:20247 -msgid "" -"`bpo-25590 `__: In the Readline " -"completer, only call getattr() once per attribute. Also complete names of " -"attributes such as properties and slots which are listed by dir() but not " -"yet created on an instance." -msgstr "" - -#: ../build/NEWS:20251 ../build/NEWS:22795 -msgid "" -"`bpo-25498 `__: Fix a crash when garbage-" -"collecting ctypes objects created by wrapping a memoryview. This was a " -"regression made in 3.5a1. Based on patch by Eryksun." -msgstr "" - -#: ../build/NEWS:20255 ../build/NEWS:22799 -msgid "" -"`bpo-25584 `__: Added \"escape\" to the " -"__all__ list in the glob module." -msgstr "" - -#: ../build/NEWS:20257 ../build/NEWS:22801 -msgid "" -"`bpo-25584 `__: Fixed recursive glob() " -"with patterns starting with ``**``." -msgstr "" - -#: ../build/NEWS:20259 ../build/NEWS:22803 -msgid "" -"`bpo-25446 `__: Fix regression in " -"smtplib's AUTH LOGIN support." -msgstr "" - -#: ../build/NEWS:20261 ../build/NEWS:22805 -msgid "" -"`bpo-18010 `__: Fix the pydoc web " -"server's module search function to handle exceptions from importing packages." -msgstr "" - -#: ../build/NEWS:20264 ../build/NEWS:22808 -msgid "" -"`bpo-25554 `__: Got rid of circular " -"references in regular expression parsing." -msgstr "" - -#: ../build/NEWS:20266 -msgid "" -"`bpo-18973 `__: Command-line interface " -"of the calendar module now uses argparse instead of optparse." -msgstr "" - -#: ../build/NEWS:20269 ../build/NEWS:22810 -msgid "" -"`bpo-25510 `__: fileinput.FileInput." -"readline() now returns b'' instead of '' at the end if the FileInput was " -"opened with binary mode. Patch by Ryosuke Ito." -msgstr "" - -#: ../build/NEWS:20273 ../build/NEWS:22814 -msgid "" -"`bpo-25503 `__: Fixed inspect.getdoc() " -"for inherited docstrings of properties. Original patch by John Mark " -"Vandenberg." -msgstr "" - -#: ../build/NEWS:20276 ../build/NEWS:22817 -msgid "" -"`bpo-25515 `__: Always use os.urandom as " -"a source of randomness in uuid.uuid4." -msgstr "" - -#: ../build/NEWS:20278 ../build/NEWS:22819 -msgid "" -"`bpo-21827 `__: Fixed textwrap.dedent() " -"for the case when largest common whitespace is a substring of smallest " -"leading whitespace. Based on patch by Robert Li." -msgstr "" - -#: ../build/NEWS:20282 ../build/NEWS:22823 -msgid "" -"`bpo-25447 `__: The lru_cache() wrapper " -"objects now can be copied and pickled (by returning the original object " -"unchanged)." -msgstr "" - -#: ../build/NEWS:20285 ../build/NEWS:22826 -msgid "" -"`bpo-25390 `__: typing: Don't crash on " -"Union[str, Pattern]." -msgstr "" - -#: ../build/NEWS:20287 ../build/NEWS:22828 -msgid "" -"`bpo-25441 `__: asyncio: Raise error " -"from drain() when socket is closed." -msgstr "" - -#: ../build/NEWS:20289 ../build/NEWS:22830 -msgid "" -"`bpo-25410 `__: Cleaned up and fixed " -"minor bugs in C implementation of OrderedDict." -msgstr "" - -#: ../build/NEWS:20292 ../build/NEWS:22833 -msgid "" -"`bpo-25411 `__: Improved Unicode support " -"in SMTPHandler through better use of the email package. Thanks to user " -"simon04 for the patch." -msgstr "" - -#: ../build/NEWS:20295 -msgid "" -"Move the imp module from a PendingDeprecationWarning to DeprecationWarning." -msgstr "" - -#: ../build/NEWS:20298 ../build/NEWS:22836 -msgid "" -"`bpo-25407 `__: Remove mentions of the " -"formatter module being removed in Python 3.6." -msgstr "" - -#: ../build/NEWS:20301 ../build/NEWS:22839 -msgid "" -"`bpo-25406 `__: Fixed a bug in C " -"implementation of OrderedDict.move_to_end() that caused segmentation fault " -"or hang in iterating after moving several items to the start of ordered dict." -msgstr "" - -#: ../build/NEWS:20305 -msgid "" -"`bpo-25382 `__: pickletools.dis() now " -"outputs implicit memo index for the MEMOIZE opcode." -msgstr "" - -#: ../build/NEWS:20308 -msgid "" -"`bpo-25357 `__: Add an optional newline " -"parameter to binascii.b2a_base64(). base64.b64encode() uses it to avoid a " -"memory copy." -msgstr "" - -#: ../build/NEWS:20311 -msgid "" -"`bpo-24164 `__: Objects that need " -"calling ``__new__`` with keyword arguments, can now be pickled using pickle " -"protocols older than protocol version 4." -msgstr "" - -#: ../build/NEWS:20314 ../build/NEWS:22843 -msgid "" -"`bpo-25364 `__: zipfile now works in " -"threads disabled builds." -msgstr "" - -#: ../build/NEWS:20316 ../build/NEWS:22845 -msgid "" -"`bpo-25328 `__: smtpd's SMTPChannel now " -"correctly raises a ValueError if both decode_data and enable_SMTPUTF8 are " -"set to true." -msgstr "" - -#: ../build/NEWS:20319 -msgid "" -"`bpo-16099 `__: RobotFileParser now " -"supports Crawl-delay and Request-rate extensions. Patch by Nikolay " -"Bogoychev." -msgstr "" - -#: ../build/NEWS:20322 ../build/NEWS:22848 -msgid "" -"`bpo-25316 `__: distutils raises OSError " -"instead of DistutilsPlatformError when MSVC is not installed." -msgstr "" - -#: ../build/NEWS:20325 ../build/NEWS:22851 -msgid "" -"`bpo-25380 `__: Fixed protocol for the " -"STACK_GLOBAL opcode in pickletools.opcodes." -msgstr "" - -#: ../build/NEWS:20328 ../build/NEWS:22854 -msgid "" -"`bpo-23972 `__: Updates asyncio datagram " -"create method allowing reuseport and reuseaddr socket options to be set " -"prior to binding the socket. Mirroring the existing asyncio create_server " -"method the reuseaddr option for datagram sockets defaults to True if the O/S " -"is 'posix' (except if the platform is Cygwin). Patch by Chris Laws." -msgstr "" - -#: ../build/NEWS:20334 ../build/NEWS:22860 -msgid "" -"`bpo-25304 `__: Add asyncio." -"run_coroutine_threadsafe(). This lets you submit a coroutine to a loop from " -"another thread, returning a concurrent.futures.Future. By Vincent Michel." -msgstr "" - -#: ../build/NEWS:20338 ../build/NEWS:22864 -msgid "" -"`bpo-25232 `__: Fix CGIRequestHandler to " -"split the query from the URL at the first question mark (?) rather than the " -"last. Patch from Xiang Zhang." -msgstr "" - -#: ../build/NEWS:20341 ../build/NEWS:22867 -msgid "" -"`bpo-24657 `__: Prevent " -"CGIRequestHandler from collapsing slashes in the query part of the URL as if " -"it were a path. Patch from Xiang Zhang." -msgstr "" - -#: ../build/NEWS:20344 -msgid "" -"`bpo-25287 `__: Don't add crypt." -"METHOD_CRYPT to crypt.methods if it's not supported. Check if it is " -"supported, it may not be supported on OpenBSD for example." -msgstr "" - -#: ../build/NEWS:20348 ../build/NEWS:22895 -msgid "" -"`bpo-23600 `__: Default implementation " -"of tzinfo.fromutc() was returning wrong results in some cases." -msgstr "" - -#: ../build/NEWS:20351 ../build/NEWS:22892 -msgid "" -"`bpo-25203 `__: Failed readline." -"set_completer_delims() no longer left the module in inconsistent state." -msgstr "" - -#: ../build/NEWS:20354 -msgid "" -"`bpo-25011 `__: rlcompleter now omits " -"private and special attribute names unless the prefix starts with " -"underscores." -msgstr "" - -#: ../build/NEWS:20357 -msgid "" -"`bpo-25209 `__: rlcompleter now can add " -"a space or a colon after completed keyword." -msgstr "" - -#: ../build/NEWS:20360 -msgid "" -"`bpo-22241 `__: timezone.utc name is now " -"plain 'UTC', not 'UTC-00:00'." -msgstr "" - -#: ../build/NEWS:20362 -msgid "" -"`bpo-23517 `__: fromtimestamp() and " -"utcfromtimestamp() methods of datetime.datetime now round microseconds to " -"nearest with ties going to nearest even integer (ROUND_HALF_EVEN), as " -"round(float), instead of rounding towards -Infinity (ROUND_FLOOR)." -msgstr "" - -#: ../build/NEWS:20367 -msgid "" -"`bpo-23552 `__: Timeit now warns when " -"there is substantial (4x) variance between best and worst times. Patch from " -"Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:20370 -msgid "" -"`bpo-24633 `__: site-packages/README -> " -"README.txt." -msgstr "" - -#: ../build/NEWS:20372 -msgid "" -"`bpo-24879 `__: help() and pydoc can now " -"list named tuple fields in the order they were defined rather than " -"alphabetically. The ordering is determined by the _fields attribute if " -"present." -msgstr "" - -#: ../build/NEWS:20376 -msgid "" -"`bpo-24874 `__: Improve speed of " -"itertools.cycle() and make its pickle more compact." -msgstr "" - -#: ../build/NEWS:20379 -msgid "" -"Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a " -"list." -msgstr "" - -#: ../build/NEWS:20382 -msgid "" -"`bpo-20059 `__: urllib.parse raises " -"ValueError on all invalid ports. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:20385 -msgid "" -"`bpo-24360 `__: Improve __repr__ of " -"argparse.Namespace() for invalid identifiers. Patch by Matthias Bussonnier." -msgstr "" - -#: ../build/NEWS:20388 -msgid "" -"`bpo-23426 `__: run_setup was broken in " -"distutils. Patch from Alexander Belopolsky." -msgstr "" - -#: ../build/NEWS:20391 -msgid "" -"`bpo-13938 `__: 2to3 converts " -"StringTypes to a tuple. Patch from Mark Hammond." -msgstr "" - -#: ../build/NEWS:20393 -msgid "" -"`bpo-2091 `__: open() accepted a 'U' mode " -"string containing '+', but 'U' can only be used with 'r'. Patch from Jeff " -"Balogh and John O'Connor." -msgstr "" - -#: ../build/NEWS:20396 -msgid "" -"`bpo-8585 `__: improved tests for " -"zipimporter2. Patch from Mark Lawrence." -msgstr "" - -#: ../build/NEWS:20398 ../build/NEWS:23437 -msgid "" -"`bpo-18622 `__: unittest.mock." -"mock_open().reset_mock would recurse infinitely. Patch from Nicola Palumbo " -"and Laurent De Buyst." -msgstr "" - -#: ../build/NEWS:20401 -msgid "" -"`bpo-24426 `__: Fast searching " -"optimization in regular expressions now works for patterns that starts with " -"capturing groups. Fast searching optimization now can't be disabled at " -"compile time." -msgstr "" - -#: ../build/NEWS:20405 ../build/NEWS:23440 -msgid "" -"`bpo-23661 `__: unittest.mock " -"side_effects can now be exceptions again. This was a regression vs Python " -"3.4. Patch from Ignacio Rossi" -msgstr "" - -#: ../build/NEWS:20408 -msgid "" -"`bpo-13248 `__: Remove deprecated " -"inspect.getmoduleinfo function." -msgstr "" - -#: ../build/NEWS:20410 ../build/NEWS:22969 -msgid "" -"`bpo-25578 `__: Fix (another) memory " -"leak in SSLSocket.getpeercer()." -msgstr "" - -#: ../build/NEWS:20412 ../build/NEWS:22971 -msgid "" -"`bpo-25530 `__: Disable the vulnerable " -"SSLv3 protocol by default when creating ssl.SSLContext." -msgstr "" - -#: ../build/NEWS:20415 ../build/NEWS:22974 -msgid "" -"`bpo-25569 `__: Fix memory leak in " -"SSLSocket.getpeercert()." -msgstr "" - -#: ../build/NEWS:20417 ../build/NEWS:22976 -msgid "" -"`bpo-25471 `__: Sockets returned from " -"accept() shouldn't appear to be nonblocking." -msgstr "" - -#: ../build/NEWS:20420 ../build/NEWS:22979 -msgid "" -"`bpo-25319 `__: When threading.Event is " -"reinitialized, the underlying condition should use a regular lock rather " -"than a recursive lock." -msgstr "" - -#: ../build/NEWS:20423 ../build/NEWS:22460 -msgid "" -"Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis." -msgstr "" - -#: ../build/NEWS:20426 ../build/NEWS:22463 -msgid "" -"`bpo-26050 `__: Add asyncio.StreamReader." -"readuntil() method. Patch by Марк Коренберг." -msgstr "" - -#: ../build/NEWS:20429 ../build/NEWS:22466 -msgid "" -"`bpo-25924 `__: Avoid unnecessary " -"serialization of getaddrinfo(3) calls on OS X versions 10.5 or higher. " -"Original patch by A. Jesse Jiryu Davis." -msgstr "" - -#: ../build/NEWS:20432 ../build/NEWS:22469 -msgid "" -"`bpo-26406 `__: Avoid unnecessary " -"serialization of getaddrinfo(3) calls on current versions of OpenBSD and " -"NetBSD. Patch by A. Jesse Jiryu Davis." -msgstr "" - -#: ../build/NEWS:20435 ../build/NEWS:22472 -msgid "" -"`bpo-26848 `__: Fix asyncio/subprocess." -"communicate() to handle empty input. Patch by Jack O'Connor." -msgstr "" - -#: ../build/NEWS:20438 ../build/NEWS:22475 -msgid "" -"`bpo-27040 `__: Add loop." -"get_exception_handler method" -msgstr "" - -#: ../build/NEWS:20440 ../build/NEWS:22477 -msgid "" -"`bpo-27041 `__: asyncio: Add loop." -"create_future method" -msgstr "" - -#: ../build/NEWS:20445 ../build/NEWS:22525 -msgid "" -"`bpo-20640 `__: Add tests for idlelib." -"configHelpSourceEdit. Patch by Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:20448 ../build/NEWS:22528 -msgid "" -"In the 'IDLE-console differences' section of the IDLE doc, clarify how " -"running with IDLE affects sys.modules and the standard streams." -msgstr "" - -#: ../build/NEWS:20451 ../build/NEWS:22531 -msgid "" -"`bpo-25507 `__: fix incorrect change in " -"IOBinding that prevented printing. Augment IOBinding htest to include all " -"major IOBinding functions." -msgstr "" - -#: ../build/NEWS:20454 ../build/NEWS:22534 -msgid "" -"`bpo-25905 `__: Revert unwanted " -"conversion of ' to ’ RIGHT SINGLE QUOTATION MARK in README.txt and open this " -"and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to utf-8 and open it with " -"'utf-8'." -msgstr "" - -#: ../build/NEWS:20458 ../build/NEWS:23008 -msgid "" -"`bpo-15348 `__: Stop the debugger engine " -"(normally in a user process) before closing the debugger window (running in " -"the IDLE process). This prevents the RuntimeErrors that were being caught " -"and ignored." -msgstr "" - -#: ../build/NEWS:20462 ../build/NEWS:23012 -msgid "" -"`bpo-24455 `__: Prevent IDLE from " -"hanging when a) closing the shell while the debugger is active (15347); b) " -"closing the debugger with the [X] button (15348); and c) activating the " -"debugger when already active (24455). The patch by Mark Roseman does this by " -"making two changes. 1. Suspend and resume the gui.interaction method with " -"the tcl vwait mechanism intended for this purpose (instead of root.mainloop " -"& .quit). 2. In gui.run, allow any existing interaction to terminate first." -msgstr "" - -#: ../build/NEWS:20470 ../build/NEWS:23020 -msgid "" -"Change 'The program' to 'Your program' in an IDLE 'kill program?' message to " -"make it clearer that the program referred to is the currently running user " -"program, not IDLE itself." -msgstr "" - -#: ../build/NEWS:20474 ../build/NEWS:23024 -msgid "" -"`bpo-24750 `__: Improve the appearance " -"of the IDLE editor window status bar. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:20477 ../build/NEWS:23027 -msgid "" -"`bpo-25313 `__: Change the handling of " -"new built-in text color themes to better address the compatibility problem " -"introduced by the addition of IDLE Dark. Consistently use the revised " -"idleConf.CurrentTheme everywhere in idlelib." -msgstr "" - -#: ../build/NEWS:20481 ../build/NEWS:23031 -msgid "" -"`bpo-24782 `__: Extension configuration " -"is now a tab in the IDLE Preferences dialog rather than a separate dialog. " -"The former tabs are now a sorted list. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:20485 ../build/NEWS:23035 -msgid "" -"`bpo-22726 `__: Re-activate the config " -"dialog help button with some content about the other buttons and the new " -"IDLE Dark theme." -msgstr "" - -#: ../build/NEWS:20488 ../build/NEWS:23038 -msgid "" -"`bpo-24820 `__: IDLE now has an 'IDLE " -"Dark' built-in text color theme. It is more or less IDLE Classic inverted, " -"with a cobalt blue background. Strings, comments, keywords, ... are still " -"green, red, orange, ... . To use it with IDLEs released before November " -"2015, hit the 'Save as New Custom Theme' button and enter a new name, such " -"as 'Custom Dark'. The custom theme will work with any IDLE release, and can " -"be modified." -msgstr "" - -#: ../build/NEWS:20495 ../build/NEWS:23045 -msgid "" -"`bpo-25224 `__: README.txt is now an " -"idlelib index for IDLE developers and curious users. The previous user " -"content is now in the IDLE doc chapter. 'IDLE' now means 'Integrated " -"Development and Learning Environment'." -msgstr "" - -#: ../build/NEWS:20499 ../build/NEWS:23049 -msgid "" -"`bpo-24820 `__: Users can now set " -"breakpoint colors in Settings -> Custom Highlighting. Original patch by Mark " -"Roseman." -msgstr "" - -#: ../build/NEWS:20502 ../build/NEWS:23052 -msgid "" -"`bpo-24972 `__: Inactive selection " -"background now matches active selection background, as configured by users, " -"on all systems. Found items are now always highlighted on Windows. Initial " -"patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:20506 ../build/NEWS:23056 -msgid "" -"`bpo-24570 `__: Idle: make calltip and " -"completion boxes appear on Macs affected by a tk regression. Initial patch " -"by Mark Roseman." -msgstr "" - -#: ../build/NEWS:20509 ../build/NEWS:23059 -msgid "" -"`bpo-24988 `__: Idle ScrolledList " -"context menus (used in debugger) now work on Mac Aqua. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:20512 ../build/NEWS:23062 -msgid "" -"`bpo-24801 `__: Make right-click for " -"context menu work on Mac Aqua. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:20515 ../build/NEWS:23065 -msgid "" -"`bpo-25173 `__: Associate tkinter " -"messageboxes with a specific widget. For Mac OSX, make them a 'sheet'. " -"Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:20518 ../build/NEWS:23068 -msgid "" -"`bpo-25198 `__: Enhance the initial html " -"viewer now used for Idle Help. Properly indent fixed-pitch text (patch by " -"Mark Roseman). Give code snippet a very Sphinx-like light blueish-gray " -"background. Re-use initial width and height set by users for shell and " -"editor. When the Table of Contents (TOC) menu is used, put the section " -"header at the top of the screen." -msgstr "" - -#: ../build/NEWS:20525 ../build/NEWS:23075 -msgid "" -"`bpo-25225 `__: Condense and rewrite " -"Idle doc section on text colors." -msgstr "" - -#: ../build/NEWS:20527 ../build/NEWS:23077 -msgid "" -"`bpo-21995 `__: Explain some differences " -"between IDLE and console Python." -msgstr "" - -#: ../build/NEWS:20529 ../build/NEWS:23079 -msgid "" -"`bpo-22820 `__: Explain need for *print* " -"when running file from Idle editor." -msgstr "" - -#: ../build/NEWS:20531 ../build/NEWS:23081 -msgid "" -"`bpo-25224 `__: Doc: augment Idle " -"feature list and no-subprocess section." -msgstr "" - -#: ../build/NEWS:20533 ../build/NEWS:23083 -msgid "" -"`bpo-25219 `__: Update doc for Idle " -"command line options. Some were missing and notes were not correct." -msgstr "" - -#: ../build/NEWS:20536 ../build/NEWS:23086 -msgid "" -"`bpo-24861 `__: Most of idlelib is " -"private and subject to change. Use idleib.idle.* to start Idle. See idlelib." -"__init__.__doc__." -msgstr "" - -#: ../build/NEWS:20539 ../build/NEWS:23089 -msgid "" -"`bpo-25199 `__: Idle: add " -"synchronization comments for future maintainers." -msgstr "" - -#: ../build/NEWS:20541 -msgid "" -"`bpo-16893 `__: Replace help.txt with " -"help.html for Idle doc display. The new idlelib/help.html is rstripped Doc/" -"build/html/library/idle.html. It looks better than help.txt and will better " -"document Idle as released. The tkinter html viewer that works for this file " -"was written by Rose Roseman. The now unused EditorWindow.HelpDialog class " -"and helt.txt file are deprecated." -msgstr "" - -#: ../build/NEWS:20548 ../build/NEWS:23098 -msgid "" -"`bpo-24199 `__: Deprecate unused idlelib." -"idlever with possible removal in 3.6." -msgstr "" - -#: ../build/NEWS:20550 ../build/NEWS:23100 -msgid "" -"`bpo-24790 `__: Remove extraneous code " -"(which also create 2 & 3 conflicts)." -msgstr "" - -#: ../build/NEWS:20555 ../build/NEWS:22546 -msgid "" -"`bpo-26736 `__: Used HTTPS for external " -"links in the documentation if possible." -msgstr "" - -#: ../build/NEWS:20557 ../build/NEWS:22548 -msgid "" -"`bpo-6953 `__: Rework the Readline module " -"documentation to group related functions together, and add more details such " -"as what underlying Readline functions and variables are accessed." -msgstr "" - -#: ../build/NEWS:20561 ../build/NEWS:22552 -msgid "" -"`bpo-23606 `__: Adds note to ctypes " -"documentation regarding cdll.msvcrt." -msgstr "" - -#: ../build/NEWS:20563 ../build/NEWS:23115 -msgid "" -"`bpo-24952 `__: Clarify the default size " -"argument of stack_size() in the \"threading\" and \"_thread\" modules. Patch " -"from Mattip." -msgstr "" - -#: ../build/NEWS:20566 ../build/NEWS:22557 -msgid "" -"`bpo-26014 `__: Update 3.x packaging " -"documentation: * \"See also\" links to the new docs are now provided in the " -"legacy pages * links to setuptools documentation have been updated" -msgstr "" - -#: ../build/NEWS:20573 ../build/NEWS:22564 -msgid "" -"`bpo-21916 `__: Added tests for the " -"turtle module. Patch by ingrid, Gregory Loyse and Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:20576 -msgid "" -"`bpo-26295 `__: When using \"python3 -m " -"test --testdir=TESTDIR\", regrtest doesn't add \"test.\" prefix to test " -"module names." -msgstr "" - -#: ../build/NEWS:20579 ../build/NEWS:22567 -msgid "" -"`bpo-26523 `__: The multiprocessing " -"thread pool (multiprocessing.dummy.Pool) was untested." -msgstr "" - -#: ../build/NEWS:20582 ../build/NEWS:22570 -msgid "" -"`bpo-26015 `__: Added new tests for " -"pickling iterators of mutable sequences." -msgstr "" - -#: ../build/NEWS:20584 ../build/NEWS:22572 -msgid "" -"`bpo-26325 `__: Added test.support." -"check_no_resource_warning() to check that no ResourceWarning is emitted." -msgstr "" - -#: ../build/NEWS:20587 -msgid "" -"`bpo-25940 `__: Changed test_ssl to use " -"its internal local server more. This avoids relying on svn.python.org, " -"which recently changed root certificate." -msgstr "" - -#: ../build/NEWS:20590 ../build/NEWS:22578 -msgid "" -"`bpo-25616 `__: Tests for OrderedDict " -"are extracted from test_collections into separate file test_ordered_dict." -msgstr "" - -#: ../build/NEWS:20593 ../build/NEWS:23129 -msgid "" -"`bpo-25449 `__: Added tests for " -"OrderedDict subclasses." -msgstr "" - -#: ../build/NEWS:20595 -msgid "" -"`bpo-25188 `__: Add -P/--pgo to test." -"regrtest to suppress error output when running the test suite for the " -"purposes of a PGO build. Initial patch by Alecsandru Patrascu." -msgstr "" - -#: ../build/NEWS:20599 -msgid "" -"`bpo-22806 `__: Add ``python -m test --" -"list-tests`` command to list tests." -msgstr "" - -#: ../build/NEWS:20601 -msgid "" -"`bpo-18174 `__: ``python -m test --" -"huntrleaks ...`` now also checks for leak of file descriptors. Patch written " -"by Richard Oudkerk." -msgstr "" - -#: ../build/NEWS:20604 -msgid "" -"`bpo-25260 `__: Fix ``python -m test --" -"coverage`` on Windows. Remove the list of ignored directories." -msgstr "" - -#: ../build/NEWS:20607 ../build/NEWS:23136 -msgid "" -"``PCbuild\\rt.bat`` now accepts an unlimited number of arguments to pass " -"along to regrtest.py. Previously there was a limit of 9." -msgstr "" - -#: ../build/NEWS:20610 ../build/NEWS:22581 -msgid "" -"`bpo-26583 `__: Skip " -"test_timestamp_overflow in test_import if bytecode files cannot be written." -msgstr "" - -#: ../build/NEWS:20616 -msgid "" -"`bpo-21277 `__: Don't try to link " -"_ctypes with a ffi_convenience library." -msgstr "" - -#: ../build/NEWS:20618 ../build/NEWS:22587 -msgid "" -"`bpo-26884 `__: Fix linking extension " -"modules for cross builds. Patch by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:20621 -msgid "" -"`bpo-26932 `__: Fixed support of RTLD_* " -"constants defined as enum values, not via macros (in particular on " -"Android). Patch by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:20624 ../build/NEWS:22590 -msgid "" -"`bpo-22359 `__: Disable the rules for " -"running _freeze_importlib and pgen when cross-compiling. The output of " -"these programs is normally saved with the source code anyway, and is still " -"regenerated when doing a native build. Patch by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:20629 -msgid "" -"`bpo-21668 `__: Link audioop, _datetime, " -"_ctypes_test modules to libm, except on Mac OS X. Patch written by Chi Hsuan " -"Yen." -msgstr "" - -#: ../build/NEWS:20632 ../build/NEWS:22601 -msgid "" -"`bpo-25702 `__: A --with-lto configure " -"option has been added that will enable link time optimizations at build time " -"during a make profile-opt. Some compilers and toolchains are known to not " -"produce stable code when using LTO, be sure to test things thoroughly before " -"relying on it. It can provide a few % speed up over profile-opt alone." -msgstr "" - -#: ../build/NEWS:20638 ../build/NEWS:22607 -msgid "" -"`bpo-26624 `__: Adds validation of " -"ucrtbase[d].dll version with warning for old versions." -msgstr "" - -#: ../build/NEWS:20641 ../build/NEWS:22610 -msgid "" -"`bpo-17603 `__: Avoid error about " -"nonexistent fileblocks.o file by using a lower-level check for st_blocks in " -"struct stat." -msgstr "" - -#: ../build/NEWS:20644 ../build/NEWS:22613 -msgid "" -"`bpo-26079 `__: Fixing the build output " -"folder for tix-8.4.3.6. Patch by Bjoern Thiel." -msgstr "" - -#: ../build/NEWS:20647 ../build/NEWS:22616 -msgid "" -"`bpo-26465 `__: Update Windows builds to " -"use OpenSSL 1.0.2g." -msgstr "" - -#: ../build/NEWS:20649 -msgid "" -"`bpo-25348 `__: Added ``--pgo`` and ``--" -"pgo-job`` arguments to ``PCbuild\\build.bat`` for building with Profile-" -"Guided Optimization. The old ``PCbuild\\build_pgo.bat`` script is removed." -msgstr "" - -#: ../build/NEWS:20653 ../build/NEWS:22627 -msgid "" -"`bpo-25827 `__: Add support for building " -"with ICC to ``configure``, including a new ``--with-icc`` flag." -msgstr "" - -#: ../build/NEWS:20656 ../build/NEWS:22630 -msgid "" -"`bpo-25696 `__: Fix installation of " -"Python on UNIX with make -j9." -msgstr "" - -#: ../build/NEWS:20658 ../build/NEWS:23147 -msgid "" -"`bpo-24986 `__: It is now possible to " -"build Python on Windows without errors when external libraries are not " -"available." -msgstr "" - -#: ../build/NEWS:20661 ../build/NEWS:22618 -msgid "" -"`bpo-24421 `__: Compile Modules/_math.c " -"once, before building extensions. Previously it could fail to compile " -"properly if the math and cmath builds were concurrent." -msgstr "" - -#: ../build/NEWS:20665 -msgid "" -"`bpo-26465 `__: Update OS X 10.5+ 32-bit-" -"only installer to build and link with OpenSSL 1.0.2g." -msgstr "" - -#: ../build/NEWS:20668 ../build/NEWS:22635 -msgid "" -"`bpo-26268 `__: Update Windows builds to " -"use OpenSSL 1.0.2f." -msgstr "" - -#: ../build/NEWS:20670 ../build/NEWS:22637 -msgid "" -"`bpo-25136 `__: Support Apple Xcode 7's " -"new textual SDK stub libraries." -msgstr "" - -#: ../build/NEWS:20672 ../build/NEWS:22639 -msgid "" -"`bpo-24324 `__: Do not enable " -"unreachable code warnings when using gcc as the option does not work " -"correctly in older versions of gcc and has been silently removed as of " -"gcc-4.5." -msgstr "" - -#: ../build/NEWS:20679 ../build/NEWS:22646 -msgid "" -"`bpo-27053 `__: Updates make_zip.py to " -"correctly generate library ZIP file." -msgstr "" - -#: ../build/NEWS:20681 ../build/NEWS:22648 -msgid "" -"`bpo-26268 `__: Update the prepare_ssl." -"py script to handle OpenSSL releases that don't include the contents of the " -"include directory (that is, 1.0.2e and later)." -msgstr "" - -#: ../build/NEWS:20685 ../build/NEWS:22652 -msgid "" -"`bpo-26071 `__: bdist_wininst created " -"binaries fail to start and find 32bit Python" -msgstr "" - -#: ../build/NEWS:20688 ../build/NEWS:22655 -msgid "" -"`bpo-26073 `__: Update the list of magic " -"numbers in launcher" -msgstr "" - -#: ../build/NEWS:20690 ../build/NEWS:22657 -msgid "" -"`bpo-26065 `__: Excludes venv from " -"library when generating embeddable distro." -msgstr "" - -#: ../build/NEWS:20692 ../build/NEWS:23186 -msgid "" -"`bpo-25022 `__: Removed very outdated PC/" -"example_nt/ directory." -msgstr "" - -#: ../build/NEWS:20697 ../build/NEWS:22662 -msgid "" -"`bpo-26799 `__: Fix python-gdb.py: don't " -"get C types once when the Python code is loaded, but get C types on demand. " -"The C types can change if python-gdb.py is loaded before the Python " -"executable. Patch written by Thomas Ilsche." -msgstr "" - -#: ../build/NEWS:20702 ../build/NEWS:22667 -msgid "" -"`bpo-26271 `__: Fix the Freeze tool to " -"properly use flags passed through configure. Patch by Daniel Shaulov." -msgstr "" - -#: ../build/NEWS:20705 ../build/NEWS:22670 -msgid "" -"`bpo-26489 `__: Add dictionary unpacking " -"support to Tools/parser/unparse.py. Patch by Guo Ci Teo." -msgstr "" - -#: ../build/NEWS:20708 ../build/NEWS:22673 -msgid "" -"`bpo-26316 `__: Fix variable name typo " -"in Argument Clinic." -msgstr "" - -#: ../build/NEWS:20710 ../build/NEWS:23191 -msgid "" -"`bpo-25440 `__: Fix output of python-" -"config --extension-suffix." -msgstr "" - -#: ../build/NEWS:20712 -msgid "" -"`bpo-25154 `__: The pyvenv script has " -"been deprecated in favour of `python3 -m venv`." -msgstr "" - -#: ../build/NEWS:20718 -msgid "" -"`bpo-26312 `__: SystemError is now " -"raised in all programming bugs with using PyArg_ParseTupleAndKeywords(). " -"RuntimeError did raised before in some programming bugs." -msgstr "" - -#: ../build/NEWS:20722 -msgid "" -"`bpo-26198 `__: ValueError is now raised " -"instead of TypeError on buffer overflow in parsing \"es#\" and \"et#\" " -"format units. SystemError is now raised instead of TypeError on " -"programmatical error in parsing format string." -msgstr "" - -#: ../build/NEWS:20729 -msgid "Python 3.5.5 final" -msgstr "" - -#: ../build/NEWS:20731 -msgid "*Release date: 2018-02-04*" -msgstr "" - -#: ../build/NEWS:20733 -msgid "There were no new changes in version 3.5.5." -msgstr "" - -#: ../build/NEWS:20738 -msgid "Python 3.5.5 release candidate 1" -msgstr "" - -#: ../build/NEWS:20740 -msgid "*Release date: 2018-01-23*" -msgstr "" - -#: ../build/NEWS:20745 -msgid "" -"`bpo-32551 `__: The ``sys.path[0]`` " -"initialization change for `bpo-29139 `__ " -"caused a regression by revealing an inconsistency in how sys.path is " -"initialized when executing ``__main__`` from a zipfile, directory, or other " -"import location. This is considered a potential security issue, as it may " -"lead to privileged processes unexpectedly loading code from user controlled " -"directories in situations where that was not previously the case. The " -"interpreter now consistently avoids ever adding the import location's parent " -"directory to ``sys.path``, and ensures no other ``sys.path`` entries are " -"inadvertently modified when inserting the import location named on the " -"command line. (Originally reported as `bpo-29723 `__ against Python 3.6rc1, but it was missed at the time that the " -"then upcoming Python 3.5.4 release would also be affected)" -msgstr "" - -#: ../build/NEWS:20758 -msgid "" -"`bpo-30657 `__: Fixed possible integer " -"overflow in PyBytes_DecodeEscape, CVE-2017-1000158. Original patch by Jay " -"Bosamiya; rebased to Python 3 by Miro Hrončok." -msgstr "" - -#: ../build/NEWS:20785 -msgid "Python 3.5.4 final" -msgstr "" - -#: ../build/NEWS:20787 -msgid "*Release date: 2017-08-07*" -msgstr "" - -#: ../build/NEWS:20797 -msgid "Python 3.5.4 release candidate 1" -msgstr "" - -#: ../build/NEWS:20799 -msgid "*Release date: 2017-07-23*" -msgstr "" - -#: ../build/NEWS:20851 -msgid "" -"`bpo-29537 `__: Restore runtime " -"compatibility with bytecode files generated by CPython 3.5.0 to 3.5.2, and " -"adjust the eval loop to avoid the problems that could be caused by the " -"malformed variant of the BUILD_MAP_UNPACK_WITH_CALL opcode that they may " -"contain. Patch by Petr Viktorin, Serhiy Storchaka, and Nick Coghlan." -msgstr "" - -#: ../build/NEWS:21133 -msgid "" -"`bpo-30822 `__: Fix regrtest command " -"line parser to allow passing -u extralargefile to run test_zipfile64." -msgstr "" - -#: ../build/NEWS:21136 -msgid "" -"`bpo-30383 `__: regrtest: Enhance " -"regrtest and backport features from the master branch. Add options: --" -"coverage, --testdir, --list-tests (list test files, don't run them), --list-" -"cases (list test identifiers, don't run them, :issue:`30523`), --matchfile " -"(load a list of test filters from a text file, :issue:`30540`), --slowest " -"(alias to --slow). Enhance output: add timestamp, test result, currently " -"running tests, \"Tests result: xxx\" summary with total duration, etc. Fix " -"reference leak hunting in regrtest, --huntrleaks: regrtest now warms up " -"caches, create explicitly all internal singletons which are created on " -"demand to prevent false positives when checking for reference leaks. (:issue:" -"`30675`)." -msgstr "" - -#: ../build/NEWS:21193 -msgid "" -"`bpo-27867 `__: Function " -"PySlice_GetIndicesEx() is replaced with a macro if Py_LIMITED_API is set to " -"the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or " -"higher." -msgstr "" - -#: ../build/NEWS:21205 -msgid "Python 3.5.3 final" -msgstr "" - -#: ../build/NEWS:21207 -msgid "*Release date: 2017-01-17*" -msgstr "" - -#: ../build/NEWS:21209 -msgid "There were no code changes between 3.5.3rc1 and 3.5.3 final." -msgstr "" - -#: ../build/NEWS:21214 -msgid "Python 3.5.3 release candidate 1" -msgstr "" - -#: ../build/NEWS:21216 -msgid "*Release date: 2017-01-02*" -msgstr "" - -#: ../build/NEWS:21221 -msgid "" -"`bpo-29073 `__: bytearray formatting no " -"longer truncates on first null byte." -msgstr "" - -#: ../build/NEWS:21225 -msgid "" -"`bpo-28147 `__: Fix a memory leak in " -"split-table dictionaries: setattr() must not convert combined table into " -"split table." -msgstr "" - -#: ../build/NEWS:21237 -msgid "" -"`bpo-28991 `__: functools.lru_cache() " -"was susceptible to an obscure reentrancy bug caused by a monkey-patched " -"len() function." -msgstr "" - -#: ../build/NEWS:21280 -msgid "" -"`bpo-28203 `__: Fix incorrect type in " -"error message from ``complex(1.0, {2:3})``. Patch by Soumya Sharma." -msgstr "" - -#: ../build/NEWS:21295 -msgid "" -"`bpo-28189 `__: dictitems_contains no " -"longer swallows compare errors. (Patch by Xiang Zhang)" -msgstr "" - -#: ../build/NEWS:21307 -msgid "" -"`bpo-26020 `__: set literal evaluation " -"order did not match documented behaviour." -msgstr "" - -#: ../build/NEWS:21326 -msgid "" -"`bpo-27419 `__: Standard __import__() no " -"longer look up \"__import__\" in globals or builtins for importing " -"submodules or \"from import\". Fixed handling an error of non-string " -"package name." -msgstr "" - -#: ../build/NEWS:21378 -msgid "" -"`bpo-20191 `__: Fixed a crash in " -"resource.prlimit() when pass a sequence that doesn't own its elements as " -"limits." -msgstr "" - -#: ../build/NEWS:21429 -msgid "" -"`bpo-28488 `__: shutil.make_archive() no " -"longer add entry \"./\" to ZIP archive." -msgstr "" - -#: ../build/NEWS:21467 -msgid "" -"`bpo-27611 `__: Fixed support of default " -"root window in the tkinter.tix module." -msgstr "" - -#: ../build/NEWS:21493 -msgid "" -"`bpo-19003 `__: m email.generator now " -"replaces only ``\\r`` and/or ``\\n`` line endings, per the RFC, instead of " -"all unicode line endings." -msgstr "" - -#: ../build/NEWS:21565 -msgid "" -"A new version of typing.py from https://github.com/python/typing: Collection " -"(only for 3.6) (`bpo-27598 `__). Add " -"FrozenSet to __all__ (upstream #261). Fix crash in _get_type_vars() " -"(upstream #259). Remove the dict constraint in ForwardRef._eval_type " -"(upstream #252)." -msgstr "" - -#: ../build/NEWS:21581 -msgid "" -"`bpo-26750 `__: unittest.mock." -"create_autospec() now works properly for subclasses of property() and other " -"data descriptors." -msgstr "" - -#: ../build/NEWS:21625 -msgid "" -"`bpo-26664 `__: Fix activate.fish by " -"removing mis-use of ``$``." -msgstr "" - -#: ../build/NEWS:21627 -msgid "" -"`bpo-22115 `__: Fixed tracing Tkinter " -"variables: trace_vdelete() with wrong mode no longer break tracing, " -"trace_vinfo() now always returns a list of pairs of strings, tracing in the " -"\"u\" mode now works." -msgstr "" - -#: ../build/NEWS:21631 -msgid "" -"Fix a scoping issue in importlib.util.LazyLoader which triggered an " -"UnboundLocalError when lazy-loading a module that was already put into sys." -"modules." -msgstr "" - -#: ../build/NEWS:21731 -msgid "" -"`bpo-28600 `__: Optimize loop." -"call_soon()." -msgstr "" - -#: ../build/NEWS:21745 -msgid "" -"`bpo-24142 `__: Reading a corrupt config " -"file left the parser in an invalid state. Original patch by Florian Höch." -msgstr "" - -#: ../build/NEWS:21748 -msgid "" -"`bpo-28990 `__: Fix SSL hanging if " -"connection is closed before handshake completed. (Patch by HoHo-Ho)" -msgstr "" - -#: ../build/NEWS:21784 -msgid "" -"`bpo-26754 `__: PyUnicode_FSDecoder() " -"accepted a filename argument encoded as an iterable of integers. Now only " -"strings and bytes-like objects are accepted." -msgstr "" - -#: ../build/NEWS:21796 -msgid "" -"`bpo-28950 `__: Disallow -j0 to be " -"combined with -T/-l/-M in regrtest command line arguments." -msgstr "" - -#: ../build/NEWS:21837 -msgid "" -"`bpo-27309 `__: Enabled proper Windows " -"styles in python[w].exe manifest." -msgstr "" - -#: ../build/NEWS:21870 -msgid "" -"`bpo-27983 `__: Cause lack of llvm-" -"profdata tool when using clang as required for PGO linking to be a configure " -"time error rather than make time when --with-optimizations is enabled. Also " -"improve our ability to find the llvm-profdata tool on MacOS and some Linuxes." -msgstr "" - -#: ../build/NEWS:21877 -msgid "" -"`bpo-26359 `__: Add the --with-" -"optimizations configure flag." -msgstr "" - -#: ../build/NEWS:21882 -msgid "" -"`bpo-25825 `__: Correct the references " -"to Modules/python.exp and ld_so_aix, which are required on AIX. This " -"updates references to an installation path that was changed in 3.2a4, and " -"undoes changed references to the build tree that were made in 3.5.0a1." -msgstr "" - -#: ../build/NEWS:21905 -msgid "Python 3.5.2 final" -msgstr "" - -#: ../build/NEWS:21907 -msgid "*Release date: 2016-06-26*" -msgstr "" - -#: ../build/NEWS:21917 -msgid "" -"`bpo-26867 `__: Ubuntu's openssl " -"OP_NO_SSLv3 is forced on by default; fix test." -msgstr "" - -#: ../build/NEWS:21922 -msgid "" -"`bpo-27365 `__: Allow non-ascii in " -"idlelib/NEWS.txt - minimal part for 3.5.2." -msgstr "" - -#: ../build/NEWS:21926 -msgid "Python 3.5.2 release candidate 1" -msgstr "" - -#: ../build/NEWS:21928 -msgid "*Release date: 2016-06-12*" -msgstr "" - -#: ../build/NEWS:21944 -msgid "" -"`bpo-27039 `__: Fixed bytearray.remove() " -"for values greater than 127. Patch by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:21999 -msgid "" -"`bpo-26194 `__: Deque.insert() gave odd " -"results for bounded deques that had reached their maximum size. Now an " -"IndexError will be raised when attempting to insert into a full deque." -msgstr "" - -#: ../build/NEWS:22003 -msgid "" -"`bpo-25843 `__: When compiling code, " -"don't merge constants if they are equal but have a different types. For " -"example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now correctly compiled to " -"two different functions: ``f1()`` returns ``1`` (``int``) and ``f2()`` " -"returns ``1.0`` (``int``), even if ``1`` and ``1.0`` are equal." -msgstr "" - -#: ../build/NEWS:22065 -msgid "" -"Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team " -"Oststrom" -msgstr "" - -#: ../build/NEWS:22250 -msgid "" -"`bpo-21925 `__: :func:`warnings." -"formatwarning` now catches exceptions on ``linecache.getline(...)`` to be " -"able to log :exc:`ResourceWarning` emitted late during the Python shutdown " -"process." -msgstr "" - -#: ../build/NEWS:22292 -msgid "" -"`bpo-15068 `__: Got rid of excessive " -"buffering in the fileinput module. The bufsize parameter is no longer used." -msgstr "" - -#: ../build/NEWS:22321 -msgid "" -"`bpo-26367 `__: importlib.__import__() " -"raises SystemError like builtins.__import__() when ``level`` is specified " -"but without an accompanying package specified." -msgstr "" - -#: ../build/NEWS:22380 -msgid "" -"`bpo-17633 `__: Improve zipimport's " -"support for namespace packages." -msgstr "" - -#: ../build/NEWS:22479 -msgid "" -"`bpo-27223 `__: asyncio: Fix _read_ready " -"and _write_ready to respect _conn_lost. Patch by Łukasz Langa." -msgstr "" - -#: ../build/NEWS:22482 -msgid "" -"`bpo-22970 `__: asyncio: Fix " -"inconsistency cancelling Condition.wait. Patch by David Coles." -msgstr "" - -#: ../build/NEWS:22518 -msgid "" -"`bpo-21703 `__: Add test for IDLE's undo " -"delegator. Original patch by Saimadhav Heblikar ." -msgstr "" - -#: ../build/NEWS:22554 -msgid "" -"`bpo-25500 `__: Fix documentation to not " -"claim that __import__ is searched for in the global scope." -msgstr "" - -#: ../build/NEWS:22575 -msgid "" -"`bpo-25940 `__: Changed test_ssl to use " -"self-signed.pythontest.net. This avoids relying on svn.python.org, which " -"recently changed root certificate." -msgstr "" - -#: ../build/NEWS:22598 -msgid "" -"`bpo-21668 `__: Link audioop, _datetime, " -"_ctypes_test modules to libm, except on Mac OS X. Patch written by Xavier de " -"Gaye." -msgstr "" - -#: ../build/NEWS:22622 -msgid "" -"`bpo-25348 `__: Added ``--pgo`` and ``--" -"pgo-job`` arguments to ``PCbuild\\build.bat`` for building with Profile-" -"Guided Optimization. The old ``PCbuild\\build_pgo.bat`` script is now " -"deprecated, and simply calls ``PCbuild\\build.bat --pgo %*``." -msgstr "" - -#: ../build/NEWS:22683 -msgid "Python 3.5.1 final" -msgstr "" - -#: ../build/NEWS:22685 -msgid "*Release date: 2015-12-06*" -msgstr "" - -#: ../build/NEWS:22696 -msgid "" -"`bpo-25715 `__: Python 3.5.1 installer " -"shows wrong upgrade path and incorrect logic for launcher detection." -msgstr "" - -#: ../build/NEWS:22701 -msgid "Python 3.5.1 release candidate 1" -msgstr "" - -#: ../build/NEWS:22703 -msgid "*Release date: 2015-11-22*" -msgstr "" - -#: ../build/NEWS:22762 -msgid "" -"`bpo-25182 `__: The stdprinter (used as " -"sys.stderr before the io module is imported at startup) now uses the " -"backslashreplace error handler." -msgstr "" - -#: ../build/NEWS:22765 -msgid "" -"`bpo-25131 `__: Make the line number and " -"column offset of set/dict literals and comprehensions correspond to the " -"opening brace." -msgstr "" - -#: ../build/NEWS:22768 -msgid "" -"`bpo-25150 `__: Hide the private " -"_Py_atomic_xxx symbols from the public Python.h header to fix a compilation " -"error with OpenMP. PyThreadState_GET() becomes an alias to " -"PyThreadState_Get() to avoid ABI incompatibilities." -msgstr "" - -#: ../build/NEWS:22792 -msgid "" -"`bpo-25590 `__: In the Readline " -"completer, only call getattr() once per attribute." -msgstr "" - -#: ../build/NEWS:22870 -msgid "" -"`bpo-24483 `__: C implementation of " -"functools.lru_cache() now calculates key's hash only once." -msgstr "" - -#: ../build/NEWS:22873 -msgid "" -"`bpo-22958 `__: Constructor and update " -"method of weakref.WeakValueDictionary now accept the self and the dict " -"keyword arguments." -msgstr "" - -#: ../build/NEWS:22876 -msgid "" -"`bpo-22609 `__: Constructor of " -"collections.UserDict now accepts the self keyword argument." -msgstr "" - -#: ../build/NEWS:22879 -msgid "" -"`bpo-25111 `__: Fixed comparison of " -"traceback.FrameSummary." -msgstr "" - -#: ../build/NEWS:22881 -msgid "" -"`bpo-25262 `__: Added support for " -"BINBYTES8 opcode in Python implementation of unpickler. Highest 32 bits of " -"64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored " -"on 32-bit platforms in C implementation." -msgstr "" - -#: ../build/NEWS:22886 -msgid "" -"`bpo-25034 `__: Fix string.Formatter " -"problem with auto-numbering and nested format_specs. Patch by Anthon van der " -"Neut." -msgstr "" - -#: ../build/NEWS:22889 -msgid "" -"`bpo-25233 `__: Rewrite the guts of " -"asyncio.Queue and asyncio.Semaphore to be more understandable and correct." -msgstr "" - -#: ../build/NEWS:22898 -msgid "" -"`bpo-23329 `__: Allow the ssl module to " -"be built with older versions of LibreSSL." -msgstr "" - -#: ../build/NEWS:22901 -msgid "Prevent overflow in _Unpickler_Read." -msgstr "" - -#: ../build/NEWS:22903 -msgid "" -"`bpo-25047 `__: The XML encoding " -"declaration written by Element Tree now respects the letter case given by " -"the user. This restores the ability to write encoding names in uppercase " -"like \"UTF-8\", which worked in Python 2." -msgstr "" - -#: ../build/NEWS:22907 -msgid "" -"`bpo-25135 `__: Make deque_clear() safer " -"by emptying the deque before clearing. This helps avoid possible reentrancy " -"issues." -msgstr "" - -#: ../build/NEWS:22910 -msgid "" -"`bpo-19143 `__: platform module now " -"reads Windows version from kernel32.dll to avoid compatibility shims." -msgstr "" - -#: ../build/NEWS:22913 -msgid "" -"`bpo-25092 `__: Fix datetime.strftime() " -"failure when errno was already set to EINVAL." -msgstr "" - -#: ../build/NEWS:22916 -msgid "" -"`bpo-23517 `__: Fix rounding in " -"fromtimestamp() and utcfromtimestamp() methods of datetime.datetime: " -"microseconds are now rounded to nearest with ties going to nearest even " -"integer (ROUND_HALF_EVEN), instead of being rounding towards minus infinity " -"(ROUND_FLOOR). It's important that these methods use the same rounding mode " -"than datetime.timedelta to keep the property: (datetime(1970,1,1) + " -"timedelta(seconds=t)) == datetime.utcfromtimestamp(t). It also the rounding " -"mode used by round(float) for example." -msgstr "" - -#: ../build/NEWS:22925 -msgid "" -"`bpo-25155 `__: Fix datetime.datetime." -"now() and datetime.datetime.utcnow() on Windows to support date after year " -"2038. It was a regression introduced in Python 3.5.0." -msgstr "" - -#: ../build/NEWS:22929 -msgid "" -"`bpo-25108 `__: Omitted internal frames " -"in traceback functions print_stack(), format_stack(), and extract_stack() " -"called without arguments." -msgstr "" - -#: ../build/NEWS:22932 -msgid "" -"`bpo-25118 `__: Fix a regression of " -"Python 3.5.0 in os.waitpid() on Windows." -msgstr "" - -#: ../build/NEWS:22934 -msgid "" -"`bpo-24684 `__: socket.socket." -"getaddrinfo() now calls PyUnicode_AsEncodedString() instead of calling the " -"encode() method of the host, to handle correctly custom string with an " -"encode() method which doesn't return a byte string. The encoder of the IDNA " -"codec is now called directly instead of calling the encode() method of the " -"string." -msgstr "" - -#: ../build/NEWS:22940 -msgid "" -"`bpo-25060 `__: Correctly compute stack " -"usage of the BUILD_MAP opcode." -msgstr "" - -#: ../build/NEWS:22942 -msgid "" -"`bpo-24857 `__: Comparing call_args to a " -"long sequence now correctly returns a boolean result instead of raising an " -"exception. Patch by A Kaptur." -msgstr "" - -#: ../build/NEWS:22945 -msgid "" -"`bpo-23144 `__: Make sure that " -"HTMLParser.feed() returns all the data, even when convert_charrefs is True." -msgstr "" - -#: ../build/NEWS:22948 -msgid "" -"`bpo-24982 `__: shutil.make_archive() " -"with the \"zip\" format now adds entries for directories (including empty " -"directories) in ZIP file." -msgstr "" - -#: ../build/NEWS:22951 -msgid "" -"`bpo-25019 `__: Fixed a crash caused by " -"setting non-string key of expat parser. Based on patch by John Leitch." -msgstr "" - -#: ../build/NEWS:22954 -msgid "" -"`bpo-16180 `__: Exit pdb if file has " -"syntax error, instead of trapping user in an infinite loop. Patch by Xavier " -"de Gaye." -msgstr "" - -#: ../build/NEWS:22957 -msgid "" -"`bpo-24891 `__: Fix a race condition at " -"Python startup if the file descriptor of stdin (0), stdout (1) or stderr (2) " -"is closed while Python is creating sys.stdin, sys.stdout and sys.stderr " -"objects. These attributes are now set to None if the creation of the object " -"failed, instead of raising an OSError exception. Initial patch written by " -"Marco Paolini." -msgstr "" - -#: ../build/NEWS:22963 -msgid "" -"`bpo-24992 `__: Fix error handling and a " -"race condition (related to garbage collection) in collections.OrderedDict " -"constructor." -msgstr "" - -#: ../build/NEWS:22966 -msgid "" -"`bpo-24881 `__: Fixed setting binary " -"mode in Python implementation of FileIO on Windows and Cygwin. Patch from " -"Akira Li." -msgstr "" - -#: ../build/NEWS:22982 -msgid "" -"`bpo-21112 `__: Fix regression in " -"unittest.expectedFailure on subclasses. Patch from Berker Peksag." -msgstr "" - -#: ../build/NEWS:22985 -msgid "" -"`bpo-24764 `__: cgi.FieldStorage." -"read_multi() now ignores the Content-Length header in part headers. Patch " -"written by Peter Landry and reviewed by Pierre Quentel." -msgstr "" - -#: ../build/NEWS:22989 ../build/NEWS:23254 -msgid "" -"`bpo-24913 `__: Fix overrun error in " -"deque.index(). Found by John Leitch and Bryce Darling." -msgstr "" - -#: ../build/NEWS:22992 -msgid "" -"`bpo-24774 `__: Fix docstring in http." -"server.test. Patch from Chiu-Hsiang Hsu." -msgstr "" - -#: ../build/NEWS:22994 -msgid "" -"`bpo-21159 `__: Improve message in " -"configparser.InterpolationMissingOptionError. Patch from Łukasz Langa." -msgstr "" - -#: ../build/NEWS:22997 -msgid "" -"`bpo-20362 `__: Honour TestCase." -"longMessage correctly in assertRegex. Patch from Ilia Kurenkov." -msgstr "" - -#: ../build/NEWS:23000 -msgid "" -"`bpo-23572 `__: Fixed functools." -"singledispatch on classes with falsy metaclasses. Patch by Ethan Furman." -msgstr "" - -#: ../build/NEWS:23003 -msgid "asyncio: ensure_future() now accepts awaitable objects." -msgstr "" - -#: ../build/NEWS:23091 -msgid "" -"`bpo-16893 `__: Replace help.txt with " -"help.html for Idle doc display. The new idlelib/help.html is rstripped Doc/" -"build/html/library/idle.html. It looks better than help.txt and will better " -"document Idle as released. The tkinter html viewer that works for this file " -"was written by Mark Roseman. The now unused EditorWindow.HelpDialog class " -"and helt.txt file are deprecated." -msgstr "" - -#: ../build/NEWS:23108 -msgid "" -"`bpo-12067 `__: Rewrite Comparisons " -"section in the Expressions chapter of the language reference. Some of the " -"details of comparing mixed types were incorrect or ambiguous. NotImplemented " -"is only relevant at a lower level than the Expressions chapter. Added " -"details of comparing range() objects, and default behaviour and consistency " -"suggestions for user-defined classes. Patch from Andy Maier." -msgstr "" - -#: ../build/NEWS:23118 -msgid "" -"`bpo-23725 `__: Overhaul tempfile docs. " -"Note deprecated status of mktemp. Patch from Zbigniew Jędrzejewski-Szmek." -msgstr "" - -#: ../build/NEWS:23121 -msgid "" -"`bpo-24808 `__: Update the types of some " -"PyTypeObject fields. Patch by Joseph Weston." -msgstr "" - -#: ../build/NEWS:23124 -msgid "" -"`bpo-22812 `__: Fix unittest discovery " -"examples. Patch from Pam McA'Nulty." -msgstr "" - -#: ../build/NEWS:23131 -msgid "" -"`bpo-25099 `__: Make test_compileall not " -"fail when an entry on sys.path cannot be written to (commonly seen in " -"administrative installs on Windows)." -msgstr "" - -#: ../build/NEWS:23134 -msgid "" -"`bpo-23919 `__: Prevents assert dialogs " -"appearing in the test suite." -msgstr "" - -#: ../build/NEWS:23142 -msgid "" -"`bpo-24915 `__: Add LLVM support for PGO " -"builds and use the test suite to generate the profile data. Initial patch by " -"Alecsandru Patrascu of Intel." -msgstr "" - -#: ../build/NEWS:23145 -msgid "" -"`bpo-24910 `__: Windows MSIs now have " -"unique display names." -msgstr "" - -#: ../build/NEWS:23153 -msgid "" -"`bpo-25450 `__: Updates shortcuts to " -"start Python in installation directory." -msgstr "" - -#: ../build/NEWS:23155 -msgid "" -"`bpo-25164 `__: Changes default all-" -"users install directory to match per-user directory." -msgstr "" - -#: ../build/NEWS:23158 -msgid "" -"`bpo-25143 `__: Improves installer error " -"messages for unsupported platforms." -msgstr "" - -#: ../build/NEWS:23160 -msgid "" -"`bpo-25163 `__: Display correct " -"directory in installer when using non-default settings." -msgstr "" - -#: ../build/NEWS:23163 -msgid "" -"`bpo-25361 `__: Disables use of SSE2 " -"instructions in Windows 32-bit build" -msgstr "" - -#: ../build/NEWS:23165 -msgid "" -"`bpo-25089 `__: Adds logging to " -"installer for case where launcher is not selected on upgrade." -msgstr "" - -#: ../build/NEWS:23168 -msgid "" -"`bpo-25165 `__: Windows uninstallation " -"should not remove launcher if other versions remain" -msgstr "" - -#: ../build/NEWS:23171 -msgid "" -"`bpo-25112 `__: py.exe launcher is " -"missing icons" -msgstr "" - -#: ../build/NEWS:23173 -msgid "" -"`bpo-25102 `__: Windows installer does " -"not precompile for -O or -OO." -msgstr "" - -#: ../build/NEWS:23175 -msgid "" -"`bpo-25081 `__: Makes Back button in " -"installer go back to upgrade page when upgrading." -msgstr "" - -#: ../build/NEWS:23178 -msgid "" -"`bpo-25091 `__: Increases font size of " -"the installer." -msgstr "" - -#: ../build/NEWS:23180 -msgid "" -"`bpo-25126 `__: Clarifies that the non-" -"web installer will download some components." -msgstr "" - -#: ../build/NEWS:23183 -msgid "" -"`bpo-25213 `__: Restores " -"requestedExecutionLevel to manifest to disable UAC virtualization." -msgstr "" - -#: ../build/NEWS:23195 -msgid "Python 3.5.0 final" -msgstr "" - -#: ../build/NEWS:23197 -msgid "*Release date: 2015-09-13*" -msgstr "" - -#: ../build/NEWS:23202 -msgid "" -"`bpo-25071 `__: Windows installer should " -"not require TargetDir parameter when installing quietly." -msgstr "" - -#: ../build/NEWS:23207 -msgid "Python 3.5.0 release candidate 4" -msgstr "" - -#: ../build/NEWS:23209 -msgid "*Release date: 2015-09-09*" -msgstr "" - -#: ../build/NEWS:23214 -msgid "" -"`bpo-25029 `__: Fixes MemoryError in " -"test_strptime." -msgstr "" - -#: ../build/NEWS:23219 -msgid "" -"`bpo-25027 `__: Reverts partial-static " -"build options and adds vcruntime140.dll to Windows installation." -msgstr "" - -#: ../build/NEWS:23224 -msgid "Python 3.5.0 release candidate 3" -msgstr "" - -#: ../build/NEWS:23226 -msgid "*Release date: 2015-09-07*" -msgstr "" - -#: ../build/NEWS:23231 -msgid "" -"`bpo-24305 `__: Prevent import subsystem " -"stack frames from being counted by the warnings.warn(stacklevel=) parameter." -msgstr "" - -#: ../build/NEWS:23234 -msgid "" -"`bpo-24912 `__: Prevent __class__ " -"assignment to immutable built-in objects." -msgstr "" - -#: ../build/NEWS:23236 -msgid "" -"`bpo-24975 `__: Fix AST compilation for :" -"pep:`448` syntax." -msgstr "" - -#: ../build/NEWS:23241 -msgid "" -"`bpo-24917 `__: time_strftime() buffer " -"over-read." -msgstr "" - -#: ../build/NEWS:23243 -msgid "" -"`bpo-24748 `__: To resolve a " -"compatibility problem found with py2exe and pywin32, imp.load_dynamic() once " -"again ignores previously loaded modules to support Python modules replacing " -"themselves with extension modules. Patch by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:23248 -msgid "" -"`bpo-24635 `__: Fixed a bug in typing.py " -"where isinstance([], typing.Iterable) would return True once, then False on " -"subsequent calls." -msgstr "" - -#: ../build/NEWS:23251 -msgid "" -"`bpo-24989 `__: Fixed buffer overread in " -"BytesIO.readline() if a position is set beyond size. Based on patch by John " -"Leitch." -msgstr "" - -#: ../build/NEWS:23259 -msgid "Python 3.5.0 release candidate 2" -msgstr "" - -#: ../build/NEWS:23261 -msgid "*Release date: 2015-08-25*" -msgstr "" - -#: ../build/NEWS:23266 -msgid "" -"`bpo-24769 `__: Interpreter now starts " -"properly when dynamic loading is disabled. Patch by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:23269 -msgid "" -"`bpo-21167 `__: NAN operations are now " -"handled correctly when python is compiled with ICC even if -fp-model strict " -"is not specified." -msgstr "" - -#: ../build/NEWS:23272 -msgid "" -"`bpo-24492 `__: A \"package\" lacking a " -"__name__ attribute when trying to perform a ``from .. import ...`` statement " -"will trigger an ImportError instead of an AttributeError." -msgstr "" - -#: ../build/NEWS:23279 -msgid "" -"`bpo-24847 `__: Removes vcruntime140.dll " -"dependency from Tcl/Tk." -msgstr "" - -#: ../build/NEWS:23281 -msgid "" -"`bpo-24839 `__: platform._syscmd_ver " -"raises DeprecationWarning" -msgstr "" - -#: ../build/NEWS:23283 -msgid "" -"`bpo-24867 `__: Fix Task.get_stack() for " -"'async def' coroutines" -msgstr "" - -#: ../build/NEWS:23287 -msgid "Python 3.5.0 release candidate 1" -msgstr "" - -#: ../build/NEWS:23289 -msgid "*Release date: 2015-08-09*" -msgstr "" - -#: ../build/NEWS:23294 -msgid "" -"`bpo-24667 `__: Resize odict in all " -"cases that the underlying dict resizes." -msgstr "" - -#: ../build/NEWS:23299 -msgid "" -"`bpo-24824 `__: Signatures of codecs." -"encode() and codecs.decode() now are compatible with pydoc." -msgstr "" - -#: ../build/NEWS:23302 -msgid "" -"`bpo-24634 `__: Importing uuid should " -"not try to load libc on Windows" -msgstr "" - -#: ../build/NEWS:23304 -msgid "" -"`bpo-24798 `__: _msvccompiler.py doesn't " -"properly support manifests" -msgstr "" - -#: ../build/NEWS:23306 -msgid "" -"`bpo-4395 `__: Better testing and " -"documentation of binary operators. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:23309 -msgid "" -"`bpo-23973 `__: Update typing.py from " -"GitHub repo." -msgstr "" - -#: ../build/NEWS:23311 -msgid "" -"`bpo-23004 `__: mock_open() now reads " -"binary data correctly when the type of read_data is bytes. Initial patch by " -"Aaron Hill." -msgstr "" - -#: ../build/NEWS:23314 -msgid "" -"`bpo-23888 `__: Handle fractional time " -"in cookie expiry. Patch by ssh." -msgstr "" - -#: ../build/NEWS:23316 -msgid "" -"`bpo-23652 `__: Make it possible to " -"compile the select module against the libc headers from the Linux Standard " -"Base, which do not include some EPOLL macros. Patch by Matt Frank." -msgstr "" - -#: ../build/NEWS:23320 -msgid "" -"`bpo-22932 `__: Fix timezones in email." -"utils.formatdate. Patch from Dmitry Shachnev." -msgstr "" - -#: ../build/NEWS:23323 -msgid "" -"`bpo-23779 `__: imaplib raises TypeError " -"if authenticator tries to abort. Patch from Craig Holmquist." -msgstr "" - -#: ../build/NEWS:23326 -msgid "" -"`bpo-23319 `__: Fix ctypes." -"BigEndianStructure, swap correctly bytes. Patch written by Matthieu Gautier." -msgstr "" - -#: ../build/NEWS:23329 -msgid "" -"`bpo-23254 `__: Document how to close " -"the TCPServer listening socket. Patch from Martin Panter." -msgstr "" - -#: ../build/NEWS:23332 -msgid "" -"`bpo-19450 `__: Update Windows and OS X " -"installer builds to use SQLite 3.8.11." -msgstr "" - -#: ../build/NEWS:23334 -msgid "" -"`bpo-17527 `__: Add PATCH to wsgiref." -"validator. Patch from Luca Sbardella." -msgstr "" - -#: ../build/NEWS:23336 -msgid "" -"`bpo-24791 `__: Fix grammar regression " -"for call syntax: 'g(\\*a or b)'." -msgstr "" - -#: ../build/NEWS:23341 -msgid "" -"`bpo-23672 `__: Allow Idle to edit and " -"run files with astral chars in name. Patch by Mohd Sanad Zaki Rizvi." -msgstr "" - -#: ../build/NEWS:23344 -msgid "" -"`bpo-24745 `__: Idle editor default " -"font. Switch from Courier to platform-sensitive TkFixedFont. This should " -"not affect current customized font selections. If there is a problem, edit " -"$HOME/.idlerc/config-main.cfg and remove 'fontxxx' entries from [Editor " -"Window]. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:23350 -msgid "" -"`bpo-21192 `__: Idle editor. When a file " -"is run, put its name in the restart bar. Do not print false prompts. " -"Original patch by Adnan Umer." -msgstr "" - -#: ../build/NEWS:23353 -msgid "" -"`bpo-13884 `__: Idle menus. Remove " -"tearoff lines. Patch by Roger Serwy." -msgstr "" - -#: ../build/NEWS:23358 -msgid "" -"`bpo-24129 `__: Clarify the reference " -"documentation for name resolution. This includes removing the assumption " -"that readers will be familiar with the name resolution scheme Python used " -"prior to the introduction of lexical scoping for function namespaces. Patch " -"by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:23363 -msgid "" -"`bpo-20769 `__: Improve reload() docs. " -"Patch by Dorian Pula." -msgstr "" - -#: ../build/NEWS:23365 -msgid "" -"`bpo-23589 `__: Remove duplicate " -"sentence from the FAQ. Patch by Yongzhi Pan." -msgstr "" - -#: ../build/NEWS:23367 -msgid "" -"`bpo-24729 `__: Correct IO tutorial to " -"match implementation regarding encoding parameter to open function." -msgstr "" - -#: ../build/NEWS:23373 -msgid "" -"`bpo-24751 `__: When running regrtest " -"with the ``-w`` command line option, a test run is no longer marked as a " -"failure if all tests succeed when re-run." -msgstr "" - -#: ../build/NEWS:23379 -msgid "Python 3.5.0 beta 4" -msgstr "" - -#: ../build/NEWS:23381 -msgid "*Release date: 2015-07-26*" -msgstr "" - -#: ../build/NEWS:23386 -msgid "" -"`bpo-23573 `__: Restored optimization of " -"bytes.rfind() and bytearray.rfind() for single-byte argument on Linux." -msgstr "" - -#: ../build/NEWS:23389 -msgid "" -"`bpo-24569 `__: Make :pep:`448` " -"dictionary evaluation more consistent." -msgstr "" - -#: ../build/NEWS:23391 -msgid "" -"`bpo-24583 `__: Fix crash when set is " -"mutated while being updated." -msgstr "" - -#: ../build/NEWS:23393 -msgid "" -"`bpo-24407 `__: Fix crash when dict is " -"mutated while being updated." -msgstr "" - -#: ../build/NEWS:23395 -msgid "" -"`bpo-24619 `__: New approach for " -"tokenizing async/await. As a consequence, it is now possible to have one-" -"line 'async def foo(): await ..' functions." -msgstr "" - -#: ../build/NEWS:23398 -msgid "" -"`bpo-24687 `__: Plug refleak on " -"SyntaxError in function parameters annotations." -msgstr "" - -#: ../build/NEWS:23400 -msgid "" -"`bpo-15944 `__: memoryview: Allow " -"arbitrary formats when casting to bytes. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:23406 -msgid "" -"`bpo-23441 `__: rcompleter now prints a " -"tab character instead of displaying possible completions for an empty word. " -"Initial patch by Martin Sekera." -msgstr "" - -#: ../build/NEWS:23409 -msgid "" -"`bpo-24683 `__: Fixed crashes in _json " -"functions called with arguments of inappropriate type." -msgstr "" - -#: ../build/NEWS:23412 -msgid "" -"`bpo-21697 `__: shutil.copytree() now " -"correctly handles symbolic links that point to directories. Patch by " -"Eduardo Seabra and Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:23415 -msgid "" -"`bpo-14373 `__: Fixed segmentation fault " -"when gc.collect() is called during constructing lru_cache (C implementation)." -msgstr "" - -#: ../build/NEWS:23418 -msgid "" -"`bpo-24695 `__: Fix a regression in " -"traceback.print_exception(). If exc_traceback is None we shouldn't print a " -"traceback header like described in the documentation." -msgstr "" - -#: ../build/NEWS:23422 -msgid "" -"`bpo-24620 `__: Random.setstate() now " -"validates the value of state last element." -msgstr "" - -#: ../build/NEWS:23425 -msgid "" -"`bpo-22485 `__: Fixed an issue that " -"caused `inspect.getsource` to return incorrect results on nested functions." -msgstr "" - -#: ../build/NEWS:23428 -msgid "" -"`bpo-22153 `__: Improve unittest docs. " -"Patch from Martin Panter and evilzero." -msgstr "" - -#: ../build/NEWS:23430 -msgid "" -"`bpo-24580 `__: Symbolic group " -"references to open group in re patterns now are explicitly forbidden as well " -"as numeric group references." -msgstr "" - -#: ../build/NEWS:23433 -msgid "" -"`bpo-24206 `__: Fixed __eq__ and __ne__ " -"methods of inspect classes." -msgstr "" - -#: ../build/NEWS:23435 -msgid "" -"`bpo-24631 `__: Fixed regression in the " -"timeit module with multiline setup." -msgstr "" - -#: ../build/NEWS:23443 -msgid "" -"`bpo-24608 `__: chunk.Chunk.read() now " -"always returns bytes, not str." -msgstr "" - -#: ../build/NEWS:23445 -msgid "" -"`bpo-18684 `__: Fixed reading out of the " -"buffer in the re module." -msgstr "" - -#: ../build/NEWS:23447 -msgid "" -"`bpo-24259 `__: tarfile now raises a " -"ReadError if an archive is truncated inside a data segment." -msgstr "" - -#: ../build/NEWS:23450 -msgid "" -"`bpo-15014 `__: SMTP.auth() and SMTP." -"login() now support RFC 4954's optional initial-response argument to the " -"SMTP AUTH command." -msgstr "" - -#: ../build/NEWS:23453 -msgid "" -"`bpo-24669 `__: Fix inspect.getsource() " -"for 'async def' functions. Patch by Kai Groner." -msgstr "" - -#: ../build/NEWS:23456 -msgid "" -"`bpo-24688 `__: ast.get_docstring() for " -"'async def' functions." -msgstr "" - -#: ../build/NEWS:23461 -msgid "" -"`bpo-24603 `__: Update Windows builds " -"and OS X 10.5 installer to use OpenSSL 1.0.2d." -msgstr "" - -#: ../build/NEWS:23466 -msgid "Python 3.5.0 beta 3" -msgstr "" - -#: ../build/NEWS:23468 -msgid "*Release date: 2015-07-05*" -msgstr "" - -#: ../build/NEWS:23473 -msgid "" -"`bpo-24467 `__: Fixed possible buffer " -"over-read in bytearray. The bytearray object now always allocates place for " -"trailing null byte and it's buffer now is always null-terminated." -msgstr "" - -#: ../build/NEWS:23477 -msgid "Upgrade to Unicode 8.0.0." -msgstr "" - -#: ../build/NEWS:23479 -msgid "" -"`bpo-24345 `__: Add Py_tp_finalize slot " -"for the stable ABI." -msgstr "" - -#: ../build/NEWS:23481 -msgid "" -"`bpo-24400 `__: Introduce a distinct " -"type for :pep:`492` coroutines; add types.CoroutineType, inspect." -"getcoroutinestate, inspect.getcoroutinelocals; coroutines no longer use " -"CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def' " -"coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine, " -"it's intended to test for pure 'async def' coroutines only; add new opcode: " -"GET_YIELD_FROM_ITER; fix generators wrapper used in types.coroutine to be " -"instance of collections.abc.Generator; collections.abc.Awaitable and " -"collections.abc.Coroutine can no longer be used to detect generator-based " -"coroutines--use inspect.isawaitable instead." -msgstr "" - -#: ../build/NEWS:23492 -msgid "" -"`bpo-24450 `__: Add gi_yieldfrom to " -"generators and cr_await to coroutines. Contributed by Benno Leslie and Yury " -"Selivanov." -msgstr "" - -#: ../build/NEWS:23495 -msgid "" -"`bpo-19235 `__: Add new RecursionError " -"exception. Patch by Georg Brandl." -msgstr "" - -#: ../build/NEWS:23500 -msgid "" -"`bpo-21750 `__: mock_open.read_data can " -"now be read from each instance, as it could in Python 3.3." -msgstr "" - -#: ../build/NEWS:23503 -msgid "" -"`bpo-24552 `__: Fix use after free in an " -"error case of the _pickle module." -msgstr "" - -#: ../build/NEWS:23505 -msgid "" -"`bpo-24514 `__: tarfile now tolerates " -"number fields consisting of only whitespace." -msgstr "" - -#: ../build/NEWS:23508 -msgid "" -"`bpo-19176 `__: Fixed doctype() related " -"bugs in C implementation of ElementTree. A deprecation warning no longer " -"issued by XMLParser subclass with default doctype() method. Direct call of " -"doctype() now issues a warning. Parser's doctype() now is not called if " -"target's doctype() is called. Based on patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:23514 -msgid "" -"`bpo-20387 `__: Restore semantic round-" -"trip correctness in tokenize/untokenize for tab-indented blocks." -msgstr "" - -#: ../build/NEWS:23517 -msgid "" -"`bpo-24456 `__: Fixed possible buffer " -"over-read in adpcm2lin() and lin2adpcm() functions of the audioop module." -msgstr "" - -#: ../build/NEWS:23520 -msgid "" -"`bpo-24336 `__: The contextmanager " -"decorator now works with functions with keyword arguments called \"func\" " -"and \"self\". Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:23523 -msgid "" -"`bpo-24522 `__: Fix possible integer " -"overflow in json accelerator module." -msgstr "" - -#: ../build/NEWS:23525 -msgid "" -"`bpo-24489 `__: ensure a previously set " -"C errno doesn't disturb cmath.polar()." -msgstr "" - -#: ../build/NEWS:23527 -msgid "" -"`bpo-24408 `__: Fixed AttributeError in " -"measure() and metrics() methods of tkinter.Font." -msgstr "" - -#: ../build/NEWS:23530 -msgid "" -"`bpo-14373 `__: C implementation of " -"functools.lru_cache() now can be used with methods." -msgstr "" - -#: ../build/NEWS:23533 -msgid "" -"`bpo-24347 `__: Set KeyError if " -"PyDict_GetItemWithError returns NULL." -msgstr "" - -#: ../build/NEWS:23535 -msgid "" -"`bpo-24348 `__: Drop superfluous incref/" -"decref." -msgstr "" - -#: ../build/NEWS:23537 -msgid "" -"`bpo-24359 `__: Check for changed " -"OrderedDict size during iteration." -msgstr "" - -#: ../build/NEWS:23539 -msgid "" -"`bpo-24368 `__: Support keyword " -"arguments in OrderedDict methods." -msgstr "" - -#: ../build/NEWS:23541 -msgid "" -"`bpo-24362 `__: Simplify the C " -"OrderedDict fast nodes resize logic." -msgstr "" - -#: ../build/NEWS:23543 -msgid "" -"`bpo-24377 `__: Fix a ref leak in " -"OrderedDict.__repr__." -msgstr "" - -#: ../build/NEWS:23545 -msgid "" -"`bpo-24369 `__: Defend against key-" -"changes during iteration." -msgstr "" - -#: ../build/NEWS:23550 -msgid "" -"`bpo-24373 `__: _testmultiphase and " -"xxlimited now use tp_traverse and tp_finalize to avoid reference leaks " -"encountered when combining tp_dealloc with PyType_FromSpec (see `bpo-16690 " -"`__ for details)" -msgstr "" - -#: ../build/NEWS:23557 -msgid "" -"`bpo-24458 `__: Update documentation to " -"cover multi-phase initialization for extension modules (PEP 489). Patch by " -"Petr Viktorin." -msgstr "" - -#: ../build/NEWS:23560 -msgid "" -"`bpo-24351 `__: Clarify what is meant by " -"\"identifier\" in the context of string.Template instances." -msgstr "" - -#: ../build/NEWS:23566 -msgid "" -"`bpo-24432 `__: Update Windows builds " -"and OS X 10.5 installer to use OpenSSL 1.0.2c." -msgstr "" - -#: ../build/NEWS:23571 -msgid "Python 3.5.0 beta 2" -msgstr "" - -#: ../build/NEWS:23573 -msgid "*Release date: 2015-05-31*" -msgstr "" - -#: ../build/NEWS:23578 -msgid "" -"`bpo-24284 `__: The startswith and " -"endswith methods of the str class no longer return True when finding the " -"empty string and the indexes are completely out of range." -msgstr "" - -#: ../build/NEWS:23582 -msgid "" -"`bpo-24115 `__: Update uses of " -"PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(), " -"PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle " -"errors correctly." -msgstr "" - -#: ../build/NEWS:23586 -msgid "" -"`bpo-24328 `__: Fix importing one " -"character extension modules." -msgstr "" - -#: ../build/NEWS:23588 -msgid "" -"`bpo-11205 `__: In dictionary displays, " -"evaluate the key before the value." -msgstr "" - -#: ../build/NEWS:23590 -msgid "" -"`bpo-24285 `__: Fixed regression that " -"prevented importing extension modules from inside packages. Patch by Petr " -"Viktorin." -msgstr "" - -#: ../build/NEWS:23596 -msgid "" -"`bpo-23247 `__: Fix a crash in the " -"StreamWriter.reset() of CJK codecs." -msgstr "" - -#: ../build/NEWS:23598 -msgid "" -"`bpo-24270 `__: Add math.isclose() and " -"cmath.isclose() functions as per :pep:`485`. Contributed by Chris Barker and " -"Tal Einat." -msgstr "" - -#: ../build/NEWS:23601 -msgid "" -"`bpo-5633 `__: Fixed timeit when the " -"statement is a string and the setup is not." -msgstr "" - -#: ../build/NEWS:23604 -msgid "" -"`bpo-24326 `__: Fixed audioop.ratecv() " -"with non-default weightB argument. Original patch by David Moore." -msgstr "" - -#: ../build/NEWS:23607 -msgid "" -"`bpo-16991 `__: Add a C implementation " -"of OrderedDict." -msgstr "" - -#: ../build/NEWS:23609 -msgid "" -"`bpo-23934 `__: Fix inspect.signature to " -"fail correctly for builtin types lacking signature information. Initial " -"patch by James Powell." -msgstr "" - -#: ../build/NEWS:23614 -msgid "Python 3.5.0 beta 1" -msgstr "" - -#: ../build/NEWS:23616 -msgid "*Release date: 2015-05-24*" -msgstr "" - -#: ../build/NEWS:23621 -msgid "" -"`bpo-24276 `__: Fixed optimization of " -"property descriptor getter." -msgstr "" - -#: ../build/NEWS:23623 -msgid "" -"`bpo-24268 `__: PEP 489: Multi-phase " -"extension module initialization. Patch by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:23626 -msgid "" -"`bpo-23955 `__: Add pyvenv.cfg option to " -"suppress registry/environment lookup for generating sys.path on Windows." -msgstr "" - -#: ../build/NEWS:23629 -msgid "" -"`bpo-24257 `__: Fixed system error in " -"the comparison of faked types.SimpleNamespace." -msgstr "" - -#: ../build/NEWS:23632 -msgid "" -"`bpo-22939 `__: Fixed integer overflow " -"in iterator object. Patch by Clement Rouault." -msgstr "" - -#: ../build/NEWS:23635 -msgid "" -"`bpo-23985 `__: Fix a possible buffer " -"overrun when deleting a slice from the front of a bytearray and then " -"appending some other bytes data." -msgstr "" - -#: ../build/NEWS:23638 -msgid "" -"`bpo-24102 `__: Fixed exception type " -"checking in standard error handlers." -msgstr "" - -#: ../build/NEWS:23640 -msgid "" -"`bpo-15027 `__: The UTF-32 encoder is " -"now 3x to 7x faster." -msgstr "" - -#: ../build/NEWS:23642 -msgid "" -"`bpo-23290 `__: Optimize set_merge() for " -"cases where the target is empty. (Contributed by Serhiy Storchaka.)" -msgstr "" - -#: ../build/NEWS:23645 -msgid "" -"`bpo-2292 `__: PEP 448: Additional " -"Unpacking Generalizations." -msgstr "" - -#: ../build/NEWS:23647 -msgid "" -"`bpo-24096 `__: Make warnings." -"warn_explicit more robust against mutation of the warnings.filters list." -msgstr "" - -#: ../build/NEWS:23650 -msgid "" -"`bpo-23996 `__: Avoid a crash when a " -"delegated generator raises an unnormalized StopIteration exception. Patch " -"by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:23653 -msgid "" -"`bpo-23910 `__: Optimize property() " -"getter calls. Patch by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:23655 -msgid "" -"`bpo-23911 `__: Move path-based " -"importlib bootstrap code to a separate frozen module." -msgstr "" - -#: ../build/NEWS:23658 -msgid "" -"`bpo-24192 `__: Fix namespace package " -"imports." -msgstr "" - -#: ../build/NEWS:23660 -msgid "" -"`bpo-24022 `__: Fix tokenizer crash when " -"processing undecodable source code." -msgstr "" - -#: ../build/NEWS:23662 -msgid "" -"`bpo-9951 `__: Added a hex() method to " -"bytes, bytearray, and memoryview." -msgstr "" - -#: ../build/NEWS:23664 -msgid "" -"`bpo-22906 `__: PEP 479: Change " -"StopIteration handling inside generators." -msgstr "" - -#: ../build/NEWS:23666 -msgid "" -"`bpo-24017 `__: PEP 492: Coroutines with " -"async and await syntax." -msgstr "" - -#: ../build/NEWS:23671 -msgid "" -"`bpo-14373 `__: Added C implementation " -"of functools.lru_cache(). Based on patches by Matt Joiner and Alexey " -"Kachayev." -msgstr "" - -#: ../build/NEWS:23674 -msgid "" -"`bpo-24230 `__: The tempfile module now " -"accepts bytes for prefix, suffix and dir parameters and returns bytes in " -"such situations (matching the os module APIs)." -msgstr "" - -#: ../build/NEWS:23678 -msgid "" -"`bpo-22189 `__: collections.UserString " -"now supports __getnewargs__(), __rmod__(), casefold(), format_map(), " -"isprintable(), and maketrans(). Patch by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:23682 -msgid "" -"`bpo-24244 `__: Prevents termination " -"when an invalid format string is encountered on Windows in strftime." -msgstr "" - -#: ../build/NEWS:23685 -msgid "" -"`bpo-23973 `__: PEP 484: Add the typing " -"module." -msgstr "" - -#: ../build/NEWS:23687 -msgid "" -"`bpo-23086 `__: The collections.abc." -"Sequence() abstract base class added *start* and *stop* parameters to the " -"index() mixin. Patch by Devin Jeanpierre." -msgstr "" - -#: ../build/NEWS:23691 -msgid "" -"`bpo-20035 `__: Replaced the ``tkinter." -"_fix`` module used for setting up the Tcl/Tk environment on Windows with a " -"private function in the ``_tkinter`` module that makes no permanent changes " -"to the environment." -msgstr "" - -#: ../build/NEWS:23695 -msgid "" -"`bpo-24257 `__: Fixed segmentation fault " -"in sqlite3.Row constructor with faked cursor type." -msgstr "" - -#: ../build/NEWS:23698 -msgid "" -"`bpo-15836 `__: assertRaises(), " -"assertRaisesRegex(), assertWarns() and assertWarnsRegex() assertments now " -"check the type of the first argument to prevent possible user error. Based " -"on patch by Daniel Wagner-Hall." -msgstr "" - -#: ../build/NEWS:23702 -msgid "" -"`bpo-9858 `__: Add missing method stubs " -"to _io.RawIOBase. Patch by Laura Rupprecht." -msgstr "" - -#: ../build/NEWS:23705 -msgid "" -"`bpo-22955 `__: attrgetter, itemgetter " -"and methodcaller objects in the operator module now support pickling. Added " -"readable and evaluable repr for these objects. Based on patch by Josh " -"Rosenberg." -msgstr "" - -#: ../build/NEWS:23709 -msgid "" -"`bpo-22107 `__: tempfile.gettempdir() " -"and tempfile.mkdtemp() now try again when a directory with the chosen name " -"already exists on Windows as well as on Unix. tempfile.mkstemp() now fails " -"early if parent directory is not valid (not exists or is a file) on Windows." -msgstr "" - -#: ../build/NEWS:23714 -msgid "" -"`bpo-23780 `__: Improved error message " -"in os.path.join() with single argument." -msgstr "" - -#: ../build/NEWS:23716 -msgid "" -"`bpo-6598 `__: Increased time precision " -"and random number range in email.utils.make_msgid() to strengthen the " -"uniqueness of the message ID." -msgstr "" - -#: ../build/NEWS:23719 -msgid "" -"`bpo-24091 `__: Fixed various crashes in " -"corner cases in C implementation of ElementTree." -msgstr "" - -#: ../build/NEWS:23722 -msgid "" -"`bpo-21931 `__: msilib.FCICreate() now " -"raises TypeError in the case of a bad argument instead of a ValueError with " -"a bogus FCI error number. Patch by Jeffrey Armstrong." -msgstr "" - -#: ../build/NEWS:23726 -msgid "" -"`bpo-13866 `__: *quote_via* argument " -"added to urllib.parse.urlencode." -msgstr "" - -#: ../build/NEWS:23728 -msgid "" -"`bpo-20098 `__: New mangle_from policy " -"option for email, default True for compat32, but False for all other " -"policies." -msgstr "" - -#: ../build/NEWS:23731 -msgid "" -"`bpo-24211 `__: The email library now " -"supports RFC 6532: it can generate headers using utf-8 instead of encoded " -"words." -msgstr "" - -#: ../build/NEWS:23734 -msgid "" -"`bpo-16314 `__: Added support for the " -"LZMA compression in distutils." -msgstr "" - -#: ../build/NEWS:23736 -msgid "" -"`bpo-21804 `__: poplib now supports RFC " -"6856 (UTF8)." -msgstr "" - -#: ../build/NEWS:23738 -msgid "" -"`bpo-18682 `__: Optimized pprint " -"functions for builtin scalar types." -msgstr "" - -#: ../build/NEWS:23740 -msgid "" -"`bpo-22027 `__: smtplib now supports RFC " -"6531 (SMTPUTF8)." -msgstr "" - -#: ../build/NEWS:23742 -msgid "" -"`bpo-23488 `__: Random generator objects " -"now consume 2x less memory on 64-bit." -msgstr "" - -#: ../build/NEWS:23744 -msgid "" -"`bpo-1322 `__: platform.dist() and " -"platform.linux_distribution() functions are now deprecated. Initial patch " -"by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:23747 -msgid "" -"`bpo-22486 `__: Added the math.gcd() " -"function. The fractions.gcd() function now is deprecated. Based on patch " -"by Mark Dickinson." -msgstr "" - -#: ../build/NEWS:23750 -msgid "" -"`bpo-24064 `__: Property() docstrings " -"are now writeable. (Patch by Berker Peksag.)" -msgstr "" - -#: ../build/NEWS:23753 -msgid "" -"`bpo-22681 `__: Added support for the " -"koi8_t encoding." -msgstr "" - -#: ../build/NEWS:23755 -msgid "" -"`bpo-22682 `__: Added support for the " -"kz1048 encoding." -msgstr "" - -#: ../build/NEWS:23757 -msgid "" -"`bpo-23796 `__: peek and read1 methods " -"of BufferedReader now raise ValueError if they called on a closed object. " -"Patch by John Hergenroeder." -msgstr "" - -#: ../build/NEWS:23760 -msgid "" -"`bpo-21795 `__: smtpd now supports the " -"8BITMIME extension whenever the new *decode_data* constructor argument is " -"set to False." -msgstr "" - -#: ../build/NEWS:23763 -msgid "" -"`bpo-24155 `__: optimize heapq.heapify() " -"for better cache performance when heapifying large lists." -msgstr "" - -#: ../build/NEWS:23766 -msgid "" -"`bpo-21800 `__: imaplib now supports RFC " -"5161 (enable), RFC 6855 (utf8/internationalized email) and automatically " -"encodes non-ASCII usernames and passwords to UTF8." -msgstr "" - -#: ../build/NEWS:23770 -msgid "" -"`bpo-20274 `__: When calling a _sqlite." -"Connection, it now complains if passed any keyword arguments. Previously it " -"silently ignored them." -msgstr "" - -#: ../build/NEWS:23773 -msgid "" -"`bpo-20274 `__: Remove ignored and " -"erroneous \"kwargs\" parameters from three METH_VARARGS methods on _sqlite." -"Connection." -msgstr "" - -#: ../build/NEWS:23776 -msgid "" -"`bpo-24134 `__: assertRaises(), " -"assertRaisesRegex(), assertWarns() and assertWarnsRegex() checks now emits a " -"deprecation warning when callable is None or keyword arguments except msg is " -"passed in the context manager mode." -msgstr "" - -#: ../build/NEWS:23781 -msgid "" -"`bpo-24018 `__: Add a collections.abc." -"Generator abstract base class. Contributed by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:23784 -msgid "" -"`bpo-23880 `__: Tkinter's getint() and " -"getdouble() now support Tcl_Obj. Tkinter's getdouble() now supports any " -"numbers (in particular int)." -msgstr "" - -#: ../build/NEWS:23787 -msgid "" -"`bpo-22619 `__: Added negative limit " -"support in the traceback module. Based on patch by Dmitry Kazakov." -msgstr "" - -#: ../build/NEWS:23790 -msgid "" -"`bpo-24094 `__: Fix possible crash in " -"json.encode with poorly behaved dict subclasses." -msgstr "" - -#: ../build/NEWS:23793 -msgid "" -"`bpo-9246 `__: On POSIX, os.getcwd() now " -"supports paths longer than 1025 bytes. Patch written by William Orr." -msgstr "" - -#: ../build/NEWS:23796 -msgid "" -"`bpo-17445 `__: add difflib.diff_bytes() " -"to support comparison of byte strings (fixes a regression from Python 2)." -msgstr "" - -#: ../build/NEWS:23799 -msgid "" -"`bpo-23917 `__: Fall back to sequential " -"compilation when ProcessPoolExecutor doesn't exist. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:23802 -msgid "" -"`bpo-23008 `__: Fixed resolving " -"attributes with boolean value is False in pydoc." -msgstr "" - -#: ../build/NEWS:23805 -msgid "" -"Fix asyncio issue 235: LifoQueue and PriorityQueue's put didn't increment " -"unfinished tasks (this bug was introduced when JoinableQueue was merged with " -"Queue)." -msgstr "" - -#: ../build/NEWS:23809 -msgid "" -"`bpo-23908 `__: os functions now reject " -"paths with embedded null character on Windows instead of silently truncating " -"them." -msgstr "" - -#: ../build/NEWS:23812 -msgid "" -"`bpo-23728 `__: binascii.crc_hqx() could " -"return an integer outside of the range 0-0xffff for empty data." -msgstr "" - -#: ../build/NEWS:23815 -msgid "" -"`bpo-23887 `__: urllib.error.HTTPError " -"now has a proper repr() representation. Patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:23818 -msgid "" -"asyncio: New event loop APIs: set_task_factory() and get_task_factory()." -msgstr "" - -#: ../build/NEWS:23820 -msgid "asyncio: async() function is deprecated in favour of ensure_future()." -msgstr "" - -#: ../build/NEWS:23822 -msgid "" -"`bpo-24178 `__: asyncio.Lock, Condition, " -"Semaphore, and BoundedSemaphore support new 'async with' syntax. " -"Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:23825 -msgid "" -"`bpo-24179 `__: Support 'async for' for " -"asyncio.StreamReader. Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:23828 -msgid "" -"`bpo-24184 `__: Add AsyncIterator and " -"AsyncIterable ABCs to collections.abc. Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:23831 -msgid "" -"`bpo-22547 `__: Implement informative " -"__repr__ for inspect.BoundArguments. Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:23834 -msgid "" -"`bpo-24190 `__: Implement inspect." -"BoundArgument.apply_defaults() method. Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:23837 -msgid "" -"`bpo-20691 `__: Add 'follow_wrapped' " -"argument to inspect.Signature.from_callable() and inspect.signature(). " -"Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:23841 -msgid "" -"`bpo-24248 `__: Deprecate inspect." -"Signature.from_function() and inspect.Signature.from_builtin()." -msgstr "" - -#: ../build/NEWS:23844 -msgid "" -"`bpo-23898 `__: Fix inspect." -"classify_class_attrs() to support attributes with overloaded __eq__ and " -"__bool__. Patch by Mike Bayer." -msgstr "" - -#: ../build/NEWS:23847 -msgid "" -"`bpo-24298 `__: Fix inspect.signature() " -"to correctly unwrap wrappers around bound methods." -msgstr "" - -#: ../build/NEWS:23853 -msgid "" -"`bpo-23184 `__: remove unused names and " -"imports in idlelib. Initial patch by Al Sweigart." -msgstr "" - -#: ../build/NEWS:23859 -msgid "" -"`bpo-21520 `__: test_zipfile no longer " -"fails if the word 'bad' appears anywhere in the name of the current " -"directory." -msgstr "" - -#: ../build/NEWS:23862 -msgid "" -"`bpo-9517 `__: Move script_helper into " -"the support package. Patch by Christie Wilson." -msgstr "" - -#: ../build/NEWS:23868 -msgid "" -"`bpo-22155 `__: Add File Handlers " -"subsection with createfilehandler to tkinter doc. Remove obsolete example " -"from FAQ. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:23871 -msgid "" -"`bpo-24029 `__: Document the name " -"binding behavior for submodule imports." -msgstr "" - -#: ../build/NEWS:23873 -msgid "" -"`bpo-24077 `__: Fix typo in man page for " -"-I command option: -s, not -S" -msgstr "" - -#: ../build/NEWS:23878 -msgid "" -"`bpo-24000 `__: Improved Argument " -"Clinic's mapping of converters to legacy \"format units\". Updated the " -"documentation to match." -msgstr "" - -#: ../build/NEWS:23881 -msgid "" -"`bpo-24001 `__: Argument Clinic " -"converters now use accept={type} instead of types={'type'} to specify the " -"types the converter accepts." -msgstr "" - -#: ../build/NEWS:23884 -msgid "" -"`bpo-23330 `__: h2py now supports " -"arbitrary filenames in #include." -msgstr "" - -#: ../build/NEWS:23886 -msgid "" -"`bpo-24031 `__: make patchcheck now " -"supports git checkouts, too." -msgstr "" - -#: ../build/NEWS:23890 -msgid "Python 3.5.0 alpha 4" -msgstr "" - -#: ../build/NEWS:23892 -msgid "*Release date: 2015-04-19*" -msgstr "" - -#: ../build/NEWS:23897 -msgid "" -"`bpo-22980 `__: Under Linux, GNU/" -"KFreeBSD and the Hurd, C extensions now include the architecture triplet in " -"the extension name, to make it easy to test builds for different ABIs in the " -"same working tree. Under OS X, the extension name now includes :pep:`3149`-" -"style information." -msgstr "" - -#: ../build/NEWS:23902 -msgid "" -"`bpo-22631 `__: Added Linux-specific " -"socket constant CAN_RAW_FD_FRAMES. Patch courtesy of Joe Jevnik." -msgstr "" - -#: ../build/NEWS:23905 -msgid "" -"`bpo-23731 `__: Implement :pep:`488`: " -"removal of .pyo files." -msgstr "" - -#: ../build/NEWS:23907 -msgid "" -"`bpo-23726 `__: Don't enable GC for user " -"subclasses of non-GC types that don't add any new fields. Patch by Eugene " -"Toder." -msgstr "" - -#: ../build/NEWS:23910 -msgid "" -"`bpo-23309 `__: Avoid a deadlock at " -"shutdown if a daemon thread is aborted while it is holding a lock to a " -"buffered I/O object, and the main thread tries to use the same I/O object " -"(typically stdout or stderr). A fatal error is emitted instead." -msgstr "" - -#: ../build/NEWS:23915 -msgid "" -"`bpo-22977 `__: Fixed formatting Windows " -"error messages on Wine. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:23918 -msgid "" -"`bpo-23466 `__: %c, %o, %x, and %X in " -"bytes formatting now raise TypeError on non-integer input." -msgstr "" - -#: ../build/NEWS:23921 -msgid "" -"`bpo-24044 `__: Fix possible null " -"pointer dereference in list.sort in out of memory conditions." -msgstr "" - -#: ../build/NEWS:23924 -msgid "" -"`bpo-21354 `__: PyCFunction_New function " -"is exposed by python DLL again." -msgstr "" - -#: ../build/NEWS:23929 -msgid "" -"`bpo-23840 `__: tokenize.open() now " -"closes the temporary binary file on error to fix a resource warning." -msgstr "" - -#: ../build/NEWS:23932 -msgid "" -"`bpo-16914 `__: new debuglevel 2 in " -"smtplib adds timestamps to debug output." -msgstr "" - -#: ../build/NEWS:23934 -msgid "" -"`bpo-7159 `__: urllib.request now " -"supports sending auth credentials automatically after the first 401. This " -"enhancement is a superset of the enhancement from `bpo-19494 `__ and supersedes that change." -msgstr "" - -#: ../build/NEWS:23938 -msgid "" -"`bpo-23703 `__: Fix a regression in " -"urljoin() introduced in 901e4e52b20a. Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:23941 -msgid "" -"`bpo-4254 `__: Adds _curses." -"update_lines_cols(). Patch by Arnon Yaari" -msgstr "" - -#: ../build/NEWS:23943 -msgid "" -"`bpo-19933 `__: Provide default argument " -"for ndigits in round. Patch by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:23946 -msgid "" -"`bpo-23193 `__: Add a numeric_owner " -"parameter to tarfile.TarFile.extract and tarfile.TarFile.extractall. Patch " -"by Michael Vogt and Eric Smith." -msgstr "" - -#: ../build/NEWS:23949 -msgid "" -"`bpo-23342 `__: Add a subprocess.run() " -"function than returns a CalledProcess instance for a more consistent API " -"than the existing call* functions." -msgstr "" - -#: ../build/NEWS:23952 -msgid "" -"`bpo-21217 `__: inspect.getsourcelines() " -"now tries to compute the start and end lines from the code object, fixing an " -"issue when a lambda function is used as decorator argument. Patch by Thomas " -"Ballinger and Allison Kaptur." -msgstr "" - -#: ../build/NEWS:23956 -msgid "" -"`bpo-24521 `__: Fix possible integer " -"overflows in the pickle module." -msgstr "" - -#: ../build/NEWS:23958 -msgid "" -"`bpo-22931 `__: Allow '[' and ']' in " -"cookie values." -msgstr "" - -#: ../build/NEWS:23960 -msgid "The keywords attribute of functools.partial is now always a dictionary." -msgstr "" - -#: ../build/NEWS:23962 -msgid "" -"`bpo-23811 `__: Add missing newline to " -"the PyCompileError error message. Patch by Alex Shkop." -msgstr "" - -#: ../build/NEWS:23965 -msgid "" -"`bpo-21116 `__: Avoid blowing memory " -"when allocating a multiprocessing shared array that's larger than 50% of the " -"available RAM. Patch by Médéric Boquien." -msgstr "" - -#: ../build/NEWS:23969 -msgid "" -"`bpo-22982 `__: Improve BOM handling " -"when seeking to multiple positions of a writable text file." -msgstr "" - -#: ../build/NEWS:23972 -msgid "" -"`bpo-23464 `__: Removed deprecated " -"asyncio JoinableQueue." -msgstr "" - -#: ../build/NEWS:23974 -msgid "" -"`bpo-23529 `__: Limit the size of " -"decompressed data when reading from GzipFile, BZ2File or LZMAFile. This " -"defeats denial of service attacks using compressed bombs (i.e. compressed " -"payloads which decompress to a huge size). Patch by Martin Panter and " -"Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:23979 -msgid "" -"`bpo-21859 `__: Added Python " -"implementation of io.FileIO." -msgstr "" - -#: ../build/NEWS:23981 -msgid "" -"`bpo-23865 `__: close() methods in " -"multiple modules now are idempotent and more robust at shutdown. If they " -"need to release multiple resources, all are released even if errors occur." -msgstr "" - -#: ../build/NEWS:23985 -msgid "" -"`bpo-23400 `__: Raise same exception on " -"both Python 2 and 3 if sem_open is not available. Patch by Davin Potts." -msgstr "" - -#: ../build/NEWS:23988 -msgid "" -"`bpo-10838 `__: The subprocess now " -"module includes SubprocessError and TimeoutError in its list of exported " -"names for the users wild enough to use ``from subprocess import *``." -msgstr "" - -#: ../build/NEWS:23992 -msgid "" -"`bpo-23411 `__: Added DefragResult, " -"ParseResult, SplitResult, DefragResultBytes, ParseResultBytes, and " -"SplitResultBytes to urllib.parse.__all__. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:23996 -msgid "" -"`bpo-23881 `__: urllib.request." -"ftpwrapper constructor now closes the socket if the FTP connection failed to " -"fix a ResourceWarning." -msgstr "" - -#: ../build/NEWS:23999 -msgid "" -"`bpo-23853 `__: :meth:`socket.socket." -"sendall` does no more reset the socket timeout each time data is sent " -"successfully. The socket timeout is now the maximum total duration to send " -"all data." -msgstr "" - -#: ../build/NEWS:24003 -msgid "" -"`bpo-22721 `__: An order of multiline " -"pprint output of set or dict containing orderable and non-orderable elements " -"no longer depends on iteration order of set or dict." -msgstr "" - -#: ../build/NEWS:24007 -msgid "" -"`bpo-15133 `__: _tkinter.tkapp." -"getboolean() now supports Tcl_Obj and always returns bool. tkinter." -"BooleanVar now validates input values (accepted bool, int, str, and " -"Tcl_Obj). tkinter.BooleanVar.get() now always returns bool." -msgstr "" - -#: ../build/NEWS:24012 -msgid "" -"`bpo-10590 `__: xml.sax.parseString() " -"now supports string argument." -msgstr "" - -#: ../build/NEWS:24014 -msgid "" -"`bpo-23338 `__: Fixed formatting ctypes " -"error messages on Cygwin. Patch by Makoto Kato." -msgstr "" - -#: ../build/NEWS:24017 -msgid "" -"`bpo-15582 `__: inspect.getdoc() now " -"follows inheritance chains." -msgstr "" - -#: ../build/NEWS:24019 -msgid "" -"`bpo-2175 `__: SAX parsers now support a " -"character stream of InputSource object." -msgstr "" - -#: ../build/NEWS:24022 -msgid "" -"`bpo-16840 `__: Tkinter now supports 64-" -"bit integers added in Tcl 8.4 and arbitrary precision integers added in Tcl " -"8.5." -msgstr "" - -#: ../build/NEWS:24025 -msgid "" -"`bpo-23834 `__: Fix socket.sendto(), use " -"the C Py_ssize_t type to store the result of sendto() instead of the C int " -"type." -msgstr "" - -#: ../build/NEWS:24028 -msgid "" -"`bpo-23618 `__: :meth:`socket.socket." -"connect` now waits until the connection completes instead of raising :exc:" -"`InterruptedError` if the connection is interrupted by signals, signal " -"handlers don't raise an exception and the socket is blocking or has a " -"timeout. :meth:`socket.socket.connect` still raise :exc:`InterruptedError` " -"for non-blocking sockets." -msgstr "" - -#: ../build/NEWS:24034 -msgid "" -"`bpo-21526 `__: Tkinter now supports new " -"boolean type in Tcl 8.5." -msgstr "" - -#: ../build/NEWS:24036 -msgid "" -"`bpo-23836 `__: Fix the faulthandler " -"module to handle reentrant calls to its signal handlers." -msgstr "" - -#: ../build/NEWS:24039 -msgid "" -"`bpo-23838 `__: linecache now clears the " -"cache and returns an empty result on MemoryError." -msgstr "" - -#: ../build/NEWS:24042 -msgid "" -"`bpo-10395 `__: Added os.path." -"commonpath(). Implemented in posixpath and ntpath. Based on patch by Rafik " -"Draoui." -msgstr "" - -#: ../build/NEWS:24045 -msgid "" -"`bpo-23611 `__: Serializing more " -"\"lookupable\" objects (such as unbound methods or nested classes) now are " -"supported with pickle protocols < 4." -msgstr "" - -#: ../build/NEWS:24048 -msgid "" -"`bpo-13583 `__: sqlite3.Row now supports " -"slice indexing." -msgstr "" - -#: ../build/NEWS:24050 -msgid "" -"`bpo-18473 `__: Fixed 2to3 and 3to2 " -"compatible pickle mappings. Fixed ambiguous reverse mappings. Added many " -"new mappings. Import mapping is no longer applied to modules already mapped " -"with full name mapping." -msgstr "" - -#: ../build/NEWS:24054 -msgid "" -"`bpo-23485 `__: select.select() is now " -"retried automatically with the recomputed timeout when interrupted by a " -"signal, except if the signal handler raises an exception. This change is " -"part of the :pep:`475`." -msgstr "" - -#: ../build/NEWS:24058 -msgid "" -"`bpo-23752 `__: When built from an " -"existing file descriptor, io.FileIO() now only calls fstat() once. Before " -"fstat() was called twice, which was not necessary." -msgstr "" - -#: ../build/NEWS:24062 -msgid "" -"`bpo-23704 `__: collections.deque() " -"objects now support __add__, __mul__, and __imul__()." -msgstr "" - -#: ../build/NEWS:24065 -msgid "" -"`bpo-23171 `__: csv.Writer.writerow() " -"now supports arbitrary iterables." -msgstr "" - -#: ../build/NEWS:24067 -msgid "" -"`bpo-23745 `__: The new email header " -"parser now handles duplicate MIME parameter names without error, similar to " -"how get_param behaves." -msgstr "" - -#: ../build/NEWS:24070 -msgid "" -"`bpo-22117 `__: Fix os.utime(), it now " -"rounds the timestamp towards minus infinity (-inf) instead of rounding " -"towards zero." -msgstr "" - -#: ../build/NEWS:24073 -msgid "" -"`bpo-23310 `__: Fix MagicMock's " -"initializer to work with __methods__, just like configure_mock(). Patch by " -"Kasia Jachim." -msgstr "" - -#: ../build/NEWS:24079 -msgid "" -"`bpo-23817 `__: FreeBSD now uses \"1.0\" " -"in the SOVERSION as other operating systems, instead of just \"1\"." -msgstr "" - -#: ../build/NEWS:24082 -msgid "" -"`bpo-23501 `__: Argument Clinic now " -"generates code into separate files by default." -msgstr "" - -#: ../build/NEWS:24088 -msgid "" -"`bpo-23799 `__: Added test.support." -"start_threads() for running and cleaning up multiple threads." -msgstr "" - -#: ../build/NEWS:24091 -msgid "" -"`bpo-22390 `__: test.regrtest now emits " -"a warning if temporary files or directories are left after running a test." -msgstr "" - -#: ../build/NEWS:24097 -msgid "" -"`bpo-18128 `__: pygettext now uses " -"standard +NNNN format in the POT-Creation-Date header." -msgstr "" - -#: ../build/NEWS:24100 -msgid "" -"`bpo-23935 `__: Argument Clinic's " -"understanding of format units accepting bytes, bytearrays, and buffers is " -"now consistent with both the documentation and the implementation." -msgstr "" - -#: ../build/NEWS:24104 -msgid "" -"`bpo-23944 `__: Argument Clinic now " -"wraps long impl prototypes at column 78." -msgstr "" - -#: ../build/NEWS:24106 -msgid "" -"`bpo-20586 `__: Argument Clinic now " -"ensures that functions without docstrings have signatures." -msgstr "" - -#: ../build/NEWS:24109 -msgid "" -"`bpo-23492 `__: Argument Clinic now " -"generates argument parsing code with PyArg_Parse instead of PyArg_ParseTuple " -"if possible." -msgstr "" - -#: ../build/NEWS:24112 -msgid "" -"`bpo-23500 `__: Argument Clinic is now " -"smarter about generating the \"#ifndef\" (empty) definition of the methoddef " -"macro: it's only generated once, even if Argument Clinic processes the same " -"symbol multiple times, and it's emitted at the end of all processing rather " -"than immediately after the first use." -msgstr "" - -#: ../build/NEWS:24121 -msgid "" -"`bpo-23998 `__: PyImport_ReInitLock() " -"now checks for lock allocation error" -msgstr "" - -#: ../build/NEWS:24125 -msgid "Python 3.5.0 alpha 3" -msgstr "" - -#: ../build/NEWS:24127 -msgid "*Release date: 2015-03-28*" -msgstr "" - -#: ../build/NEWS:24132 -msgid "" -"`bpo-23573 `__: Increased performance of " -"string search operations (str.find, str.index, str.count, the in operator, " -"str.split, str.partition) with arguments of different kinds (UCS1, UCS2, " -"UCS4)." -msgstr "" - -#: ../build/NEWS:24136 -msgid "" -"`bpo-23753 `__: Python doesn't support " -"anymore platforms without stat() or fstat(), these functions are always " -"required." -msgstr "" - -#: ../build/NEWS:24139 -msgid "" -"`bpo-23681 `__: The -b option now " -"affects comparisons of bytes with int." -msgstr "" - -#: ../build/NEWS:24141 -msgid "" -"`bpo-23632 `__: Memoryviews now allow " -"tuple indexing (including for multi-dimensional memoryviews)." -msgstr "" - -#: ../build/NEWS:24144 -msgid "" -"`bpo-23192 `__: Fixed generator " -"lambdas. Patch by Bruno Cauet." -msgstr "" - -#: ../build/NEWS:24146 -msgid "" -"`bpo-23629 `__: Fix the default " -"__sizeof__ implementation for variable-sized objects." -msgstr "" - -#: ../build/NEWS:24152 -msgid "" -"`bpo-14260 `__: The groupindex attribute " -"of regular expression pattern object now is non-modifiable mapping." -msgstr "" - -#: ../build/NEWS:24155 -msgid "" -"`bpo-23792 `__: Ignore KeyboardInterrupt " -"when the pydoc pager is active. This mimics the behavior of the standard " -"unix pagers, and prevents pipepager from shutting down while the pager " -"itself is still running." -msgstr "" - -#: ../build/NEWS:24159 -msgid "" -"`bpo-23775 `__: pprint() of OrderedDict " -"now outputs the same representation as repr()." -msgstr "" - -#: ../build/NEWS:24162 -msgid "" -"`bpo-23765 `__: Removed IsBadStringPtr " -"calls in ctypes" -msgstr "" - -#: ../build/NEWS:24164 -msgid "" -"`bpo-22364 `__: Improved some re error " -"messages using regex for hints." -msgstr "" - -#: ../build/NEWS:24166 -msgid "" -"`bpo-23742 `__: ntpath.expandvars() no " -"longer loses unbalanced single quotes." -msgstr "" - -#: ../build/NEWS:24168 -msgid "" -"`bpo-21717 `__: The zipfile.ZipFile.open " -"function now supports 'x' (exclusive creation) mode." -msgstr "" - -#: ../build/NEWS:24171 -msgid "" -"`bpo-21802 `__: The reader in " -"BufferedRWPair now is closed even when closing writer failed in " -"BufferedRWPair.close()." -msgstr "" - -#: ../build/NEWS:24174 -msgid "" -"`bpo-23622 `__: Unknown escapes in " -"regular expressions that consist of ``'\\'`` and ASCII letter now raise a " -"deprecation warning and will be forbidden in Python 3.6." -msgstr "" - -#: ../build/NEWS:24178 -msgid "" -"`bpo-23671 `__: string.Template now " -"allows specifying the \"self\" parameter as a keyword argument. string." -"Formatter now allows specifying the \"self\" and the \"format_string\" " -"parameters as keyword arguments." -msgstr "" - -#: ../build/NEWS:24182 -msgid "" -"`bpo-23502 `__: The pprint module now " -"supports mapping proxies." -msgstr "" - -#: ../build/NEWS:24184 -msgid "" -"`bpo-17530 `__: pprint now wraps long " -"bytes objects and bytearrays." -msgstr "" - -#: ../build/NEWS:24186 -msgid "" -"`bpo-22687 `__: Fixed some corner cases " -"in breaking words in tetxtwrap. Got rid of quadratic complexity in breaking " -"long words." -msgstr "" - -#: ../build/NEWS:24189 -msgid "" -"`bpo-4727 `__: The copy module now uses " -"pickle protocol 4 (PEP 3154) and supports copying of instances of classes " -"whose __new__ method takes keyword-only arguments." -msgstr "" - -#: ../build/NEWS:24193 -msgid "" -"`bpo-23491 `__: Added a zipapp module to " -"support creating executable zip file archives of Python code. Registered \"." -"pyz\" and \".pyzw\" extensions on Windows for these archives (PEP 441)." -msgstr "" - -#: ../build/NEWS:24197 -msgid "" -"`bpo-23657 `__: Avoid explicit checks " -"for str in zipapp, adding support for pathlib.Path objects as arguments." -msgstr "" - -#: ../build/NEWS:24200 -msgid "" -"`bpo-23688 `__: Added support of " -"arbitrary bytes-like objects and avoided unnecessary copying of memoryview " -"in gzip.GzipFile.write(). Original patch by Wolfgang Maier." -msgstr "" - -#: ../build/NEWS:24204 -msgid "" -"`bpo-23252 `__: Added support for " -"writing ZIP files to unseekable streams." -msgstr "" - -#: ../build/NEWS:24206 -msgid "" -"`bpo-23647 `__: Increase imaplib's " -"MAXLINE to accommodate modern mailbox sizes." -msgstr "" - -#: ../build/NEWS:24208 -msgid "" -"`bpo-23539 `__: If body is None, http." -"client.HTTPConnection.request now sets Content-Length to 0 for PUT, POST, " -"and PATCH headers to avoid 411 errors from some web servers." -msgstr "" - -#: ../build/NEWS:24212 -msgid "" -"`bpo-22351 `__: The nntplib.NNTP " -"constructor no longer leaves the connection and socket open until the " -"garbage collector cleans them up. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:24216 -msgid "" -"`bpo-23704 `__: collections.deque() " -"objects now support methods for index(), insert(), and copy(). This allows " -"deques to be registered as a MutableSequence and it improves their " -"substitutability for lists." -msgstr "" - -#: ../build/NEWS:24220 -msgid "" -"`bpo-23715 `__: :func:`signal." -"sigwaitinfo` and :func:`signal.sigtimedwait` are now retried when " -"interrupted by a signal not in the *sigset* parameter, if the signal handler " -"does not raise an exception. signal.sigtimedwait() recomputes the timeout " -"with a monotonic clock when it is retried." -msgstr "" - -#: ../build/NEWS:24225 -msgid "" -"`bpo-23001 `__: Few functions in modules " -"mmap, ossaudiodev, socket, ssl, and codecs, that accepted only read-only " -"bytes-like object now accept writable bytes-like object too." -msgstr "" - -#: ../build/NEWS:24229 -msgid "" -"`bpo-23646 `__: If time.sleep() is " -"interrupted by a signal, the sleep is now retried with the recomputed delay, " -"except if the signal handler raises an exception (PEP 475)." -msgstr "" - -#: ../build/NEWS:24233 -msgid "" -"`bpo-23136 `__: _strptime now uniformly " -"handles all days in week 0, including Dec 30 of previous year. Based on " -"patch by Jim Carroll." -msgstr "" - -#: ../build/NEWS:24236 -msgid "" -"`bpo-23700 `__: Iterator of " -"NamedTemporaryFile now keeps a reference to NamedTemporaryFile instance. " -"Patch by Bohuslav Kabrda." -msgstr "" - -#: ../build/NEWS:24239 -msgid "" -"`bpo-22903 `__: The fake test case " -"created by unittest.loader when it fails importing a test module is now " -"picklable." -msgstr "" - -#: ../build/NEWS:24242 -msgid "" -"`bpo-22181 `__: On Linux, os.urandom() " -"now uses the new getrandom() syscall if available, syscall introduced in the " -"Linux kernel 3.17. It is more reliable and more secure, because it avoids " -"the need of a file descriptor and waits until the kernel has enough entropy." -msgstr "" - -#: ../build/NEWS:24247 -msgid "" -"`bpo-2211 `__: Updated the implementation " -"of the http.cookies.Morsel class. Setting attributes key, value and " -"coded_value directly now is deprecated. update() and setdefault() now " -"transform and check keys. Comparing for equality now takes into account " -"attributes key, value and coded_value. copy() now returns a Morsel, not a " -"dict. repr() now contains all attributes. Optimized checking keys and " -"quoting values. Added new tests. Original patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:24255 -msgid "" -"`bpo-18983 `__: Allow selection of " -"output units in timeit. Patch by Julian Gindi." -msgstr "" - -#: ../build/NEWS:24258 -msgid "" -"`bpo-23631 `__: Fix traceback." -"format_list when a traceback has been mutated." -msgstr "" - -#: ../build/NEWS:24260 -msgid "" -"`bpo-23568 `__: Add rdivmod support to " -"MagicMock() objects. Patch by Håkan Lövdahl." -msgstr "" - -#: ../build/NEWS:24263 -msgid "" -"`bpo-2052 `__: Add charset parameter to " -"HtmlDiff.make_file()." -msgstr "" - -#: ../build/NEWS:24265 -msgid "" -"`bpo-23668 `__: Support os.truncate and " -"os.ftruncate on Windows." -msgstr "" - -#: ../build/NEWS:24267 -msgid "" -"`bpo-23138 `__: Fixed parsing cookies " -"with absent keys or values in cookiejar. Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:24270 -msgid "" -"`bpo-23051 `__: multiprocessing.Pool " -"methods imap() and imap_unordered() now handle exceptions raised by an " -"iterator. Patch by Alon Diamant and Davin Potts." -msgstr "" - -#: ../build/NEWS:24274 -msgid "" -"`bpo-23581 `__: Add matmul support to " -"MagicMock. Patch by Håkan Lövdahl." -msgstr "" - -#: ../build/NEWS:24276 -msgid "" -"`bpo-23566 `__: enable(), register(), " -"dump_traceback() and dump_traceback_later() functions of faulthandler now " -"accept file descriptors. Patch by Wei Wu." -msgstr "" - -#: ../build/NEWS:24280 -msgid "" -"`bpo-22928 `__: Disabled HTTP header " -"injections in http.client. Original patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:24283 -msgid "" -"`bpo-23615 `__: Modules bz2, tarfile and " -"tokenize now can be reloaded with imp.reload(). Patch by Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:24286 -msgid "" -"`bpo-23605 `__: os.walk() now calls os." -"scandir() instead of os.listdir(). The usage of os.scandir() reduces the " -"number of calls to os.stat(). Initial patch written by Ben Hoyt." -msgstr "" - -#: ../build/NEWS:24293 -msgid "" -"`bpo-23585 `__: make patchcheck will " -"ensure the interpreter is built." -msgstr "" - -#: ../build/NEWS:24298 -msgid "" -"`bpo-23583 `__: Added tests for standard " -"IO streams in IDLE." -msgstr "" - -#: ../build/NEWS:24300 -msgid "" -"`bpo-22289 `__: Prevent test_urllib2net " -"failures due to ftp connection timeout." -msgstr "" - -#: ../build/NEWS:24305 -msgid "" -"`bpo-22826 `__: The result of open() in " -"Tools/freeze/bkfile.py is now better compatible with regular files (in " -"particular it now supports the context management protocol)." -msgstr "" - -#: ../build/NEWS:24311 -msgid "Python 3.5.0 alpha 2" -msgstr "" - -#: ../build/NEWS:24313 -msgid "*Release date: 2015-03-09*" -msgstr "" - -#: ../build/NEWS:24318 -msgid "" -"`bpo-23571 `__: PyObject_Call() and " -"PyCFunction_Call() now raise a SystemError if a function returns a result " -"and raises an exception. The SystemError is chained to the previous " -"exception." -msgstr "" - -#: ../build/NEWS:24325 -msgid "" -"`bpo-22524 `__: New os.scandir() " -"function, part of the :pep:`471`: \"os.scandir() function -- a better and " -"faster directory iterator\". Patch written by Ben Hoyt." -msgstr "" - -#: ../build/NEWS:24329 -msgid "" -"`bpo-23103 `__: Reduced the memory " -"consumption of IPv4Address and IPv6Address." -msgstr "" - -#: ../build/NEWS:24331 -msgid "" -"`bpo-21793 `__: BaseHTTPRequestHandler " -"again logs response code as numeric, not as stringified enum. Patch by " -"Demian Brecht." -msgstr "" - -#: ../build/NEWS:24334 -msgid "" -"`bpo-23476 `__: In the ssl module, " -"enable OpenSSL's X509_V_FLAG_TRUSTED_FIRST flag on certificate stores when " -"it is available." -msgstr "" - -#: ../build/NEWS:24337 -msgid "" -"`bpo-23576 `__: Avoid stalling in SSL " -"reads when EOF has been reached in the SSL layer but the underlying " -"connection hasn't been closed." -msgstr "" - -#: ../build/NEWS:24340 -msgid "" -"`bpo-23504 `__: Added an __all__ to the " -"types module." -msgstr "" - -#: ../build/NEWS:24342 -msgid "" -"`bpo-23563 `__: Optimized utility " -"functions in urllib.parse." -msgstr "" - -#: ../build/NEWS:24344 -msgid "" -"`bpo-7830 `__: Flatten nested functools." -"partial." -msgstr "" - -#: ../build/NEWS:24346 -msgid "" -"`bpo-20204 `__: Added the __module__ " -"attribute to _tkinter classes." -msgstr "" - -#: ../build/NEWS:24348 -msgid "" -"`bpo-19980 `__: Improved help() for non-" -"recognized strings. help('') now shows the help on str. help('help') now " -"shows the help on help(). Original patch by Mark Lawrence." -msgstr "" - -#: ../build/NEWS:24352 -msgid "" -"`bpo-23521 `__: Corrected pure python " -"implementation of timedelta division. Eliminated OverflowError from " -"``timedelta * float`` for some floats; Corrected rounding in timedelta true " -"division." -msgstr "" - -#: ../build/NEWS:24356 -msgid "" -"`bpo-21619 `__: Popen objects no longer " -"leave a zombie after exit in the with statement if the pipe was broken. " -"Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:24359 -msgid "" -"`bpo-22936 `__: Make it possible to show " -"local variables in tracebacks for both the traceback module and unittest." -msgstr "" - -#: ../build/NEWS:24362 -msgid "" -"`bpo-15955 `__: Add an option to limit " -"the output size in bz2.decompress(). Patch by Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:24365 -msgid "" -"`bpo-6639 `__: Module-level turtle " -"functions no longer raise TclError after closing the window." -msgstr "" - -#: ../build/NEWS:24368 -msgid "" -"`bpo-814253 `__: Group references and " -"conditional group references now work in lookbehind assertions in regular " -"expressions. (See also: `bpo-9179 `__)" -msgstr "" - -#: ../build/NEWS:24371 -msgid "" -"`bpo-23215 `__: Multibyte codecs with " -"custom error handlers that ignores errors consumed too much memory and " -"raised SystemError or MemoryError. Original patch by Aleksi Torhamo." -msgstr "" - -#: ../build/NEWS:24375 -msgid "" -"`bpo-5700 `__: io.FileIO() called flush() " -"after closing the file. flush() was not called in close() if closefd=False." -msgstr "" - -#: ../build/NEWS:24378 -msgid "" -"`bpo-23374 `__: Fixed pydoc failure with " -"non-ASCII files when stdout encoding differs from file system encoding (e.g. " -"on Mac OS)." -msgstr "" - -#: ../build/NEWS:24381 -msgid "" -"`bpo-23481 `__: Remove RC4 from the SSL " -"module's default cipher list." -msgstr "" - -#: ../build/NEWS:24383 -msgid "" -"`bpo-21548 `__: Fix pydoc.synopsis() and " -"pydoc.apropos() on modules with empty docstrings." -msgstr "" - -#: ../build/NEWS:24386 -msgid "" -"`bpo-22885 `__: Fixed arbitrary code " -"execution vulnerability in the dbm.dumb module. Original patch by Claudiu " -"Popa." -msgstr "" - -#: ../build/NEWS:24389 -msgid "" -"`bpo-23239 `__: ssl.match_hostname() now " -"supports matching of IP addresses." -msgstr "" - -#: ../build/NEWS:24391 -msgid "" -"`bpo-23146 `__: Fix mishandling of " -"absolute Windows paths with forward slashes in pathlib." -msgstr "" - -#: ../build/NEWS:24394 -msgid "" -"`bpo-23096 `__: Pickle representation of " -"floats with protocol 0 now is the same for both Python and C implementations." -msgstr "" - -#: ../build/NEWS:24397 -msgid "" -"`bpo-19105 `__: pprint now more " -"efficiently uses free space at the right." -msgstr "" - -#: ../build/NEWS:24399 -msgid "" -"`bpo-14910 `__: Add allow_abbrev " -"parameter to argparse.ArgumentParser. Patch by Jonathan Paugh, Steven " -"Bethard, paul j3 and Daniel Eriksson." -msgstr "" - -#: ../build/NEWS:24402 -msgid "" -"`bpo-21717 `__: tarfile.open() now " -"supports 'x' (exclusive creation) mode." -msgstr "" - -#: ../build/NEWS:24404 -msgid "" -"`bpo-23344 `__: marshal.dumps() is now " -"20-25% faster on average." -msgstr "" - -#: ../build/NEWS:24406 -msgid "" -"`bpo-20416 `__: marshal.dumps() with " -"protocols 3 and 4 is now 40-50% faster on average." -msgstr "" - -#: ../build/NEWS:24409 -msgid "" -"`bpo-23421 `__: Fixed compression in " -"tarfile CLI. Patch by wdv4758h." -msgstr "" - -#: ../build/NEWS:24411 -msgid "" -"`bpo-23367 `__: Fix possible overflows " -"in the unicodedata module." -msgstr "" - -#: ../build/NEWS:24413 -msgid "" -"`bpo-23361 `__: Fix possible overflow in " -"Windows subprocess creation code." -msgstr "" - -#: ../build/NEWS:24415 -msgid "" -"logging.handlers.QueueListener now takes a respect_handler_level keyword " -"argument which, if set to True, will pass messages to handlers taking " -"handler levels into account." -msgstr "" - -#: ../build/NEWS:24419 -msgid "" -"`bpo-19705 `__: turtledemo now has a " -"visual sorting algorithm demo. Original patch from Jason Yeo." -msgstr "" - -#: ../build/NEWS:24422 -msgid "" -"`bpo-23801 `__: Fix issue where cgi." -"FieldStorage did not always ignore the entire preamble to a multipart body." -msgstr "" - -#: ../build/NEWS:24428 -msgid "" -"`bpo-23445 `__: pydebug builds now use " -"\"gcc -Og\" where possible, to make the resulting executable faster." -msgstr "" - -#: ../build/NEWS:24431 -msgid "" -"`bpo-23686 `__: Update OS X 10.5 " -"installer build to use OpenSSL 1.0.2a." -msgstr "" - -#: ../build/NEWS:24436 -msgid "" -"`bpo-20204 `__: Deprecation warning is " -"now raised for builtin types without the __module__ attribute." -msgstr "" - -#: ../build/NEWS:24442 -msgid "" -"`bpo-23465 `__: Implement :pep:`486` - " -"Make the Python Launcher aware of virtual environments. Patch by Paul Moore." -msgstr "" - -#: ../build/NEWS:24445 -msgid "" -"`bpo-23437 `__: Make user scripts " -"directory versioned on Windows. Patch by Paul Moore." -msgstr "" - -#: ../build/NEWS:24450 -msgid "Python 3.5.0 alpha 1" -msgstr "" - -#: ../build/NEWS:24452 -msgid "*Release date: 2015-02-08*" -msgstr "" - -#: ../build/NEWS:24457 -msgid "" -"`bpo-23285 `__: PEP 475 - EINTR handling." -msgstr "" - -#: ../build/NEWS:24459 -msgid "" -"`bpo-22735 `__: Fix many edge cases " -"(including crashes) involving custom mro() implementations." -msgstr "" - -#: ../build/NEWS:24462 -msgid "" -"`bpo-22896 `__: Avoid using " -"PyObject_AsCharBuffer(), PyObject_AsReadBuffer() and " -"PyObject_AsWriteBuffer()." -msgstr "" - -#: ../build/NEWS:24465 -msgid "" -"`bpo-21295 `__: Revert some changes " -"(`bpo-16795 `__) to AST line numbers and " -"column offsets that constituted a regression." -msgstr "" - -#: ../build/NEWS:24468 -msgid "" -"`bpo-22986 `__: Allow changing an " -"object's __class__ between a dynamic type and static type in some cases." -msgstr "" - -#: ../build/NEWS:24471 -msgid "" -"`bpo-15859 `__: " -"PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and " -"PyUnicode_EncodeCodePage() now raise an exception if the object is not a " -"Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on " -"platforms other than Windows. Patch written by Campbell Barton." -msgstr "" - -#: ../build/NEWS:24476 -msgid "" -"`bpo-21408 `__: The default __ne__() now " -"returns NotImplemented if __eq__() returned NotImplemented. Original patch " -"by Martin Panter." -msgstr "" - -#: ../build/NEWS:24479 -msgid "" -"`bpo-23321 `__: Fixed a crash in str." -"decode() when error handler returned replacement string longer than " -"malformed input data." -msgstr "" - -#: ../build/NEWS:24482 -msgid "" -"`bpo-22286 `__: The \"backslashreplace\" " -"error handlers now works with decoding and translating." -msgstr "" - -#: ../build/NEWS:24485 -msgid "" -"`bpo-23253 `__: Delay-load " -"ShellExecute[AW] in os.startfile for reduced startup overhead on Windows." -msgstr "" - -#: ../build/NEWS:24488 -msgid "" -"`bpo-22038 `__: pyatomic.h now uses " -"stdatomic.h or GCC built-in functions for atomic memory access if available. " -"Patch written by Vitor de Lima and Gustavo Temple." -msgstr "" - -#: ../build/NEWS:24492 -msgid "" -"`bpo-20284 `__: %-interpolation (aka " -"printf) formatting added for bytes and bytearray." -msgstr "" - -#: ../build/NEWS:24495 -msgid "" -"`bpo-23048 `__: Fix jumping out of an " -"infinite while loop in the pdb." -msgstr "" - -#: ../build/NEWS:24497 -msgid "" -"`bpo-20335 `__: bytes constructor now " -"raises TypeError when encoding or errors is specified with non-string " -"argument. Based on patch by Renaud Blanch." -msgstr "" - -#: ../build/NEWS:24500 -msgid "" -"`bpo-22834 `__: If the current working " -"directory ends up being set to a non-existent directory then import will no " -"longer raise FileNotFoundError." -msgstr "" - -#: ../build/NEWS:24503 -msgid "" -"`bpo-22869 `__: Move the interpreter " -"startup & shutdown code to a new dedicated pylifecycle.c module" -msgstr "" - -#: ../build/NEWS:24506 -msgid "" -"`bpo-22847 `__: Improve method cache " -"efficiency." -msgstr "" - -#: ../build/NEWS:24508 -msgid "" -"`bpo-22335 `__: Fix crash when trying to " -"enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform." -msgstr "" - -#: ../build/NEWS:24511 -msgid "" -"`bpo-22653 `__: Fix an assertion failure " -"in debug mode when doing a reentrant dict insertion in debug mode." -msgstr "" - -#: ../build/NEWS:24514 -msgid "" -"`bpo-22643 `__: Fix integer overflow in " -"Unicode case operations (upper, lower, title, swapcase, casefold)." -msgstr "" - -#: ../build/NEWS:24517 -msgid "" -"`bpo-17636 `__: Circular imports " -"involving relative imports are now supported." -msgstr "" - -#: ../build/NEWS:24519 -msgid "" -"`bpo-22604 `__: Fix assertion error in " -"debug mode when dividing a complex number by (nan+0j)." -msgstr "" - -#: ../build/NEWS:24522 -msgid "" -"`bpo-21052 `__: Do not raise " -"ImportWarning when sys.path_hooks or sys.meta_path are set to None." -msgstr "" - -#: ../build/NEWS:24525 -msgid "" -"`bpo-16518 `__: Use 'bytes-like object " -"required' in error messages that previously used the far more cryptic \"'x' " -"does not support the buffer protocol." -msgstr "" - -#: ../build/NEWS:24529 -msgid "" -"`bpo-22470 `__: Fixed integer overflow " -"issues in \"backslashreplace\", \"xmlcharrefreplace\", and \"surrogatepass\" " -"error handlers." -msgstr "" - -#: ../build/NEWS:24532 -msgid "" -"`bpo-22540 `__: speed up " -"`PyObject_IsInstance` and `PyObject_IsSubclass` in the common case that the " -"second argument has metaclass `type`." -msgstr "" - -#: ../build/NEWS:24535 -msgid "" -"`bpo-18711 `__: Add a new " -"`PyErr_FormatV` function, similar to `PyErr_Format` but accepting a " -"`va_list` argument." -msgstr "" - -#: ../build/NEWS:24538 -msgid "" -"`bpo-22520 `__: Fix overflow checking " -"when generating the repr of a unicode object." -msgstr "" - -#: ../build/NEWS:24541 -msgid "" -"`bpo-22519 `__: Fix overflow checking in " -"PyBytes_Repr." -msgstr "" - -#: ../build/NEWS:24543 -msgid "" -"`bpo-22518 `__: Fix integer overflow " -"issues in latin-1 encoding." -msgstr "" - -#: ../build/NEWS:24545 -msgid "" -"`bpo-16324 `__: _charset parameter of " -"MIMEText now also accepts email.charset.Charset instances. Initial patch by " -"Claude Paroz." -msgstr "" - -#: ../build/NEWS:24548 -msgid "" -"`bpo-1764286 `__: Fix inspect." -"getsource() to support decorated functions. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:24551 -msgid "" -"`bpo-18554 `__: os.__all__ includes " -"posix functions." -msgstr "" - -#: ../build/NEWS:24553 -msgid "" -"`bpo-21391 `__: Use os.path.abspath in " -"the shutil module." -msgstr "" - -#: ../build/NEWS:24555 -msgid "" -"`bpo-11471 `__: avoid generating a " -"JUMP_FORWARD instruction at the end of an if-block if there is no else-" -"clause. Original patch by Eugene Toder." -msgstr "" - -#: ../build/NEWS:24558 -msgid "" -"`bpo-22215 `__: Now ValueError is raised " -"instead of TypeError when str or bytes argument contains not permitted null " -"character or byte." -msgstr "" - -#: ../build/NEWS:24561 -msgid "" -"`bpo-22258 `__: Fix the internal " -"function set_inheritable() on Illumos. This platform exposes the function " -"``ioctl(FIOCLEX)``, but calling it fails with errno is ENOTTY: " -"\"Inappropriate ioctl for device\". set_inheritable() now falls back to the " -"slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``)." -msgstr "" - -#: ../build/NEWS:24567 -msgid "" -"`bpo-21389 `__: Displaying the " -"__qualname__ of the underlying function in the repr of a bound method." -msgstr "" - -#: ../build/NEWS:24570 -msgid "" -"`bpo-22206 `__: Using pthread, " -"PyThread_create_key() now sets errno to ENOMEM and returns -1 (error) on " -"integer overflow." -msgstr "" - -#: ../build/NEWS:24573 -msgid "" -"`bpo-20184 `__: Argument Clinic based " -"signature introspection added for 30 of the builtin functions." -msgstr "" - -#: ../build/NEWS:24576 -msgid "" -"`bpo-22116 `__: C functions and methods " -"(of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by " -"Wei Wu." -msgstr "" - -#: ../build/NEWS:24579 -msgid "" -"`bpo-22077 `__: Improve index error " -"messages for bytearrays, bytes, lists, and tuples by adding 'or slices'. " -"Added ', not ' for bytearrays. Original patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:24583 -msgid "" -"`bpo-20179 `__: Apply Argument Clinic to " -"bytes and bytearray. Patch by Tal Einat." -msgstr "" - -#: ../build/NEWS:24586 -msgid "" -"`bpo-22082 `__: Clear interned strings " -"in slotdefs." -msgstr "" - -#: ../build/NEWS:24588 -msgid "Upgrade Unicode database to Unicode 7.0.0." -msgstr "" - -#: ../build/NEWS:24590 -msgid "" -"`bpo-21897 `__: Fix a crash with the " -"f_locals attribute with closure variables when frame.clear() has been called." -msgstr "" - -#: ../build/NEWS:24593 -msgid "" -"`bpo-21205 `__: Add a new " -"``__qualname__`` attribute to generator, the qualified name, and use it in " -"the representation of a generator (``repr(gen)``). The default name of the " -"generator (``__name__`` attribute) is now get from the function instead of " -"the code. Use ``gen.gi_code.co_name`` to get the name of the code." -msgstr "" - -#: ../build/NEWS:24599 -msgid "" -"`bpo-21669 `__: With the aid of " -"heuristics in SyntaxError.__init__, the parser now attempts to generate more " -"meaningful (or at least more search engine friendly) error messages when " -"\"exec\" and \"print\" are used as statements." -msgstr "" - -#: ../build/NEWS:24603 -msgid "" -"`bpo-21642 `__: In the conditional if-" -"else expression, allow an integer written with no space between itself and " -"the ``else`` keyword (e.g. ``True if 42else False``) to be valid syntax." -msgstr "" - -#: ../build/NEWS:24607 -msgid "" -"`bpo-21523 `__: Fix over-pessimistic " -"computation of the stack effect of some opcodes in the compiler. This also " -"fixes a quadratic compilation time issue noticeable when compiling code with " -"a large number of \"and\" and \"or\" operators." -msgstr "" - -#: ../build/NEWS:24612 -msgid "" -"`bpo-21418 `__: Fix a crash in the " -"builtin function super() when called without argument and without current " -"frame (ex: embedded Python)." -msgstr "" - -#: ../build/NEWS:24615 -msgid "" -"`bpo-21425 `__: Fix flushing of standard " -"streams in the interactive interpreter." -msgstr "" - -#: ../build/NEWS:24618 -msgid "" -"`bpo-21435 `__: In rare cases, when " -"running finalizers on objects in cyclic trash a bad pointer dereference " -"could occur due to a subtle flaw in internal iteration logic." -msgstr "" - -#: ../build/NEWS:24622 -msgid "" -"`bpo-21377 `__: PyBytes_Concat() now " -"tries to concatenate in-place when the first argument has a reference count " -"of 1. Patch by Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:24625 -msgid "" -"`bpo-20355 `__: -W command line options " -"now have higher priority than the PYTHONWARNINGS environment variable. " -"Patch by Arfrever." -msgstr "" - -#: ../build/NEWS:24628 -msgid "" -"`bpo-21274 `__: Define PATH_MAX for GNU/" -"Hurd in Python/pythonrun.c." -msgstr "" - -#: ../build/NEWS:24630 -msgid "" -"`bpo-20904 `__: Support setting FPU " -"precision on m68k." -msgstr "" - -#: ../build/NEWS:24632 -msgid "" -"`bpo-21209 `__: Fix sending tuples to " -"custom generator objects with the yield from syntax." -msgstr "" - -#: ../build/NEWS:24635 -msgid "" -"`bpo-21193 `__: pow(a, b, c) now raises " -"ValueError rather than TypeError when b is negative. Patch by Josh Rosenberg." -msgstr "" - -#: ../build/NEWS:24638 -msgid "" -"`bpo-21176 `__: PEP 465: Add the '@' " -"operator for matrix multiplication." -msgstr "" - -#: ../build/NEWS:24640 -msgid "" -"`bpo-21134 `__: Fix segfault when str is " -"called on an uninitialized UnicodeEncodeError, UnicodeDecodeError, or " -"UnicodeTranslateError object." -msgstr "" - -#: ../build/NEWS:24643 -msgid "" -"`bpo-19537 `__: Fix PyUnicode_DATA() " -"alignment under m68k. Patch by Andreas Schwab." -msgstr "" - -#: ../build/NEWS:24646 -msgid "" -"`bpo-20929 `__: Add a type cast to avoid " -"shifting a negative number." -msgstr "" - -#: ../build/NEWS:24648 -msgid "" -"`bpo-20731 `__: Properly position in " -"source code files even if they are opened in text mode. Patch by Serhiy " -"Storchaka." -msgstr "" - -#: ../build/NEWS:24651 -msgid "" -"`bpo-20637 `__: Key-sharing now also " -"works for instance dictionaries of subclasses. Patch by Peter Ingebretson." -msgstr "" - -#: ../build/NEWS:24654 -msgid "" -"`bpo-8297 `__: Attributes missing from " -"modules now include the module name in the error text. Original patch by " -"ysj.ray." -msgstr "" - -#: ../build/NEWS:24657 -msgid "" -"`bpo-19995 `__: %c, %o, %x, and %X now " -"raise TypeError on non-integer input." -msgstr "" - -#: ../build/NEWS:24659 -msgid "" -"`bpo-19655 `__: The ASDL parser - used " -"by the build process to generate code for managing the Python AST in C - was " -"rewritten. The new parser is self contained and does not require to carry " -"long the spark.py parser-generator library; spark.py was removed from the " -"source base." -msgstr "" - -#: ../build/NEWS:24664 -msgid "" -"`bpo-12546 `__: Allow ``\\x00`` to be " -"used as a fill character when using str, int, float, and complex __format__ " -"methods." -msgstr "" - -#: ../build/NEWS:24667 -msgid "" -"`bpo-20480 `__: Add ipaddress." -"reverse_pointer. Patch by Leon Weber." -msgstr "" - -#: ../build/NEWS:24669 -msgid "" -"`bpo-13598 `__: Modify string.Formatter " -"to support auto-numbering of replacement fields. It now matches the behavior " -"of str.format() in this regard. Patches by Phil Elson and Ramchandra Apte." -msgstr "" - -#: ../build/NEWS:24673 -msgid "" -"`bpo-8931 `__: Make alternate formatting " -"('#') for type 'c' raise an exception. In versions prior to 3.5, '#' with " -"'c' had no effect. Now specifying it is an error. Patch by Torsten " -"Landschoff." -msgstr "" - -#: ../build/NEWS:24677 -msgid "" -"`bpo-23165 `__: Perform overflow checks " -"before allocating memory in the _Py_char2wchar function." -msgstr "" - -#: ../build/NEWS:24683 -msgid "" -"`bpo-23399 `__: pyvenv creates relative " -"symlinks where possible." -msgstr "" - -#: ../build/NEWS:24685 -msgid "" -"`bpo-20289 `__: cgi.FieldStorage() now " -"supports the context management protocol." -msgstr "" - -#: ../build/NEWS:24688 -msgid "" -"`bpo-13128 `__: Print response headers " -"for CONNECT requests when debuglevel > 0. Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:24691 -msgid "" -"`bpo-15381 `__: Optimized io.BytesIO to " -"make less allocations and copyings." -msgstr "" - -#: ../build/NEWS:24693 -msgid "" -"`bpo-22818 `__: Splitting on a pattern " -"that could match an empty string now raises a warning. Patterns that can " -"only match empty strings are now rejected." -msgstr "" - -#: ../build/NEWS:24697 -msgid "" -"`bpo-23099 `__: Closing io.BytesIO with " -"exported buffer is rejected now to prevent corrupting exported buffer." -msgstr "" - -#: ../build/NEWS:24700 -msgid "" -"`bpo-23326 `__: Removed __ne__ " -"implementations. Since fixing default __ne__ implementation in `bpo-21408 " -"`__ they are redundant." -msgstr "" - -#: ../build/NEWS:24703 -msgid "" -"`bpo-23363 `__: Fix possible overflow in " -"itertools.permutations." -msgstr "" - -#: ../build/NEWS:24705 -msgid "" -"`bpo-23364 `__: Fix possible overflow in " -"itertools.product." -msgstr "" - -#: ../build/NEWS:24707 -msgid "" -"`bpo-23366 `__: Fixed possible integer " -"overflow in itertools.combinations." -msgstr "" - -#: ../build/NEWS:24709 -msgid "" -"`bpo-23369 `__: Fixed possible integer " -"overflow in _json.encode_basestring_ascii." -msgstr "" - -#: ../build/NEWS:24712 -msgid "" -"`bpo-23353 `__: Fix the exception " -"handling of generators in PyEval_EvalFrameEx(). At entry, save or swap the " -"exception state even if PyEval_EvalFrameEx() is called with throwflag=0. At " -"exit, the exception state is now always restored or swapped, not only if why " -"is WHY_YIELD or WHY_RETURN. Patch co-written with Antoine Pitrou." -msgstr "" - -#: ../build/NEWS:24718 -msgid "" -"`bpo-14099 `__: Restored support of " -"writing ZIP files to tellable but non-seekable streams." -msgstr "" - -#: ../build/NEWS:24721 -msgid "" -"`bpo-14099 `__: Writing to ZipFile and " -"reading multiple ZipExtFiles is threadsafe now." -msgstr "" - -#: ../build/NEWS:24724 -msgid "" -"`bpo-19361 `__: JSON decoder now raises " -"JSONDecodeError instead of ValueError." -msgstr "" - -#: ../build/NEWS:24726 -msgid "" -"`bpo-18518 `__: timeit now rejects " -"statements which can't be compiled outside a function or a loop (e.g. " -"\"return\" or \"break\")." -msgstr "" - -#: ../build/NEWS:24729 -msgid "" -"`bpo-23094 `__: Fixed readline with " -"frames in Python implementation of pickle." -msgstr "" - -#: ../build/NEWS:24731 -msgid "" -"`bpo-23268 `__: Fixed bugs in the " -"comparison of ipaddress classes." -msgstr "" - -#: ../build/NEWS:24733 -msgid "" -"`bpo-21408 `__: Removed incorrect " -"implementations of __ne__() which didn't returned NotImplemented if __eq__() " -"returned NotImplemented. The default __ne__() now works correctly." -msgstr "" - -#: ../build/NEWS:24737 -msgid "" -"`bpo-19996 `__: :class:`email.feedparser." -"FeedParser` now handles (malformed) headers with no key rather than assuming " -"the body has started." -msgstr "" - -#: ../build/NEWS:24740 -msgid "" -"`bpo-20188 `__: Support Application-" -"Layer Protocol Negotiation (ALPN) in the ssl module." -msgstr "" - -#: ../build/NEWS:24743 -msgid "" -"`bpo-23133 `__: Pickling of ipaddress " -"objects now produces more compact and portable representation." -msgstr "" - -#: ../build/NEWS:24746 -msgid "" -"`bpo-23248 `__: Update ssl error codes " -"from latest OpenSSL git master." -msgstr "" - -#: ../build/NEWS:24748 -msgid "" -"`bpo-23266 `__: Much faster " -"implementation of ipaddress.collapse_addresses() when there are many non-" -"consecutive addresses." -msgstr "" - -#: ../build/NEWS:24751 -msgid "" -"`bpo-23098 `__: 64-bit dev_t is now " -"supported in the os module." -msgstr "" - -#: ../build/NEWS:24753 -msgid "" -"`bpo-21817 `__: When an exception is " -"raised in a task submitted to a ProcessPoolExecutor, the remote traceback is " -"now displayed in the parent process. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:24757 -msgid "" -"`bpo-15955 `__: Add an option to limit " -"output size when decompressing LZMA data. Patch by Nikolaus Rath and Martin " -"Panter." -msgstr "" - -#: ../build/NEWS:24760 -msgid "" -"`bpo-23250 `__: In the http.cookies " -"module, capitalize \"HttpOnly\" and \"Secure\" as they are written in the " -"standard." -msgstr "" - -#: ../build/NEWS:24763 -msgid "" -"`bpo-23063 `__: In the distutils' check " -"command, fix parsing of reST with code or code-block directives." -msgstr "" - -#: ../build/NEWS:24766 -msgid "" -"`bpo-23209 `__: selectors.BaseSelector." -"get_key() now raises a RuntimeError if the selector is closed. And selectors." -"BaseSelector.close() now clears its internal reference to the selector " -"mapping to break a reference cycle. Initial patch written by Martin Richard. " -"(See also: `bpo-23225 `__)" -msgstr "" - -#: ../build/NEWS:24771 -msgid "" -"`bpo-17911 `__: Provide a way to seed " -"the linecache for a PEP-302 module without actually loading the code." -msgstr "" - -#: ../build/NEWS:24774 -msgid "" -"`bpo-17911 `__: Provide a new object API " -"for traceback, including the ability to not lookup lines at all until the " -"traceback is actually rendered, without any trace of the original objects " -"being kept alive." -msgstr "" - -#: ../build/NEWS:24778 -msgid "" -"`bpo-19777 `__: Provide a home() " -"classmethod on Path objects. Contributed by Victor Salgado and Mayank " -"Tripathi." -msgstr "" - -#: ../build/NEWS:24781 -msgid "" -"`bpo-23206 `__: Make ``json.dumps(..., " -"ensure_ascii=False)`` as fast as the default case of ``ensure_ascii=True``. " -"Patch by Naoki Inada." -msgstr "" - -#: ../build/NEWS:24784 -msgid "" -"`bpo-23185 `__: Add math.inf and math." -"nan constants." -msgstr "" - -#: ../build/NEWS:24786 -msgid "" -"`bpo-23186 `__: Add ssl.SSLObject." -"shared_ciphers() and ssl.SSLSocket.shared_ciphers() to fetch the client's " -"list ciphers sent at handshake." -msgstr "" - -#: ../build/NEWS:24790 -msgid "" -"`bpo-23143 `__: Remove compatibility " -"with OpenSSLs older than 0.9.8." -msgstr "" - -#: ../build/NEWS:24792 -msgid "" -"`bpo-23132 `__: Improve performance and " -"introspection support of comparison methods created by functool." -"total_ordering." -msgstr "" - -#: ../build/NEWS:24795 -msgid "" -"`bpo-19776 `__: Add an expanduser() " -"method on Path objects." -msgstr "" - -#: ../build/NEWS:24797 -msgid "" -"`bpo-23112 `__: Fix SimpleHTTPServer to " -"correctly carry the query string and fragment when it redirects to add a " -"trailing slash." -msgstr "" - -#: ../build/NEWS:24800 -msgid "" -"`bpo-21793 `__: Added http.HTTPStatus " -"enums (i.e. HTTPStatus.OK, HTTPStatus.NOT_FOUND). Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:24803 -msgid "" -"`bpo-23093 `__: In the io, module allow " -"more operations to work on detached streams." -msgstr "" - -#: ../build/NEWS:24806 -msgid "" -"`bpo-23111 `__: In the ftplib, make ssl." -"PROTOCOL_SSLv23 the default protocol version." -msgstr "" - -#: ../build/NEWS:24809 -msgid "" -"`bpo-22585 `__: On OpenBSD 5.6 and " -"newer, os.urandom() now calls getentropy(), instead of reading /dev/urandom, " -"to get pseudo-random bytes." -msgstr "" - -#: ../build/NEWS:24812 -msgid "" -"`bpo-19104 `__: pprint now produces " -"evaluable output for wrapped strings." -msgstr "" - -#: ../build/NEWS:24814 -msgid "" -"`bpo-23071 `__: Added missing names to " -"codecs.__all__. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:24816 -msgid "" -"`bpo-22783 `__: Pickling now uses the " -"NEWOBJ opcode instead of the NEWOBJ_EX opcode if possible." -msgstr "" - -#: ../build/NEWS:24819 -msgid "" -"`bpo-15513 `__: Added a __sizeof__ " -"implementation for pickle classes." -msgstr "" - -#: ../build/NEWS:24821 -msgid "" -"`bpo-19858 `__: pickletools.optimize() " -"now aware of the MEMOIZE opcode, can produce more compact result and no " -"longer produces invalid output if input data contains MEMOIZE opcodes " -"together with PUT or BINPUT opcodes." -msgstr "" - -#: ../build/NEWS:24825 -msgid "" -"`bpo-22095 `__: Fixed HTTPConnection." -"set_tunnel with default port. The port value in the host header was set to " -"\"None\". Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:24828 -msgid "" -"`bpo-23016 `__: A warning no longer " -"produces an AttributeError when the program is run with pythonw.exe." -msgstr "" - -#: ../build/NEWS:24831 -msgid "" -"`bpo-21775 `__: shutil.copytree(): fix " -"crash when copying to VFAT. An exception handler assumed that OSError " -"objects always have a 'winerror' attribute. That is not the case, so the " -"exception handler itself raised AttributeError when run on Linux (and, " -"presumably, any other non-Windows OS). Patch by Greg Ward." -msgstr "" - -#: ../build/NEWS:24837 -msgid "" -"`bpo-1218234 `__: Fix inspect." -"getsource() to load updated source of reloaded module. Initial patch by " -"Berker Peksag." -msgstr "" - -#: ../build/NEWS:24840 -msgid "" -"`bpo-21740 `__: Support wrapped " -"callables in doctest. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:24842 -msgid "" -"`bpo-23009 `__: Make sure selectors." -"EpollSelector.select() works when no FD is registered." -msgstr "" - -#: ../build/NEWS:24845 -msgid "" -"`bpo-22959 `__: In the constructor of " -"http.client.HTTPSConnection, prefer the context's check_hostname attribute " -"over the *check_hostname* parameter." -msgstr "" - -#: ../build/NEWS:24848 -msgid "" -"`bpo-22696 `__: Add function :func:`sys." -"is_finalizing` to know about interpreter shutdown." -msgstr "" - -#: ../build/NEWS:24851 -msgid "" -"`bpo-16043 `__: Add a default limit for " -"the amount of data xmlrpclib.gzip_decode will return. This resolves " -"CVE-2013-1753." -msgstr "" - -#: ../build/NEWS:24854 -msgid "" -"`bpo-14099 `__: ZipFile.open() no longer " -"reopen the underlying file. Objects returned by ZipFile.open() can now " -"operate independently of the ZipFile even if the ZipFile was created by " -"passing in a file-like object as the first argument to the constructor." -msgstr "" - -#: ../build/NEWS:24859 -msgid "" -"`bpo-22966 `__: Fix __pycache__ pyc file " -"name clobber when pyc_compile is asked to compile a source file containing " -"multiple dots in the source file name." -msgstr "" - -#: ../build/NEWS:24862 -msgid "" -"`bpo-21971 `__: Update turtledemo doc " -"and add module to the index." -msgstr "" - -#: ../build/NEWS:24864 -msgid "" -"`bpo-21032 `__: Fixed socket leak if " -"HTTPConnection.getresponse() fails. Original patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:24867 -msgid "" -"`bpo-22407 `__: Deprecated the use of re." -"LOCALE flag with str patterns or re.ASCII. It was newer worked." -msgstr "" - -#: ../build/NEWS:24870 -msgid "" -"`bpo-22902 `__: The \"ip\" command is " -"now used on Linux to determine MAC address in uuid.getnode(). Pach by Bruno " -"Cauet." -msgstr "" - -#: ../build/NEWS:24873 -msgid "" -"`bpo-22960 `__: Add a context argument " -"to xmlrpclib.ServerProxy constructor." -msgstr "" - -#: ../build/NEWS:24875 -msgid "" -"`bpo-22389 `__: Add contextlib." -"redirect_stderr()." -msgstr "" - -#: ../build/NEWS:24877 -msgid "" -"`bpo-21356 `__: Make ssl.RAND_egd() " -"optional to support LibreSSL. The availability of the function is checked " -"during the compilation. Patch written by Bernard Spil." -msgstr "" - -#: ../build/NEWS:24881 -msgid "" -"`bpo-22915 `__: SAX parser now supports " -"files opened with file descriptor or bytes path." -msgstr "" - -#: ../build/NEWS:24884 -msgid "" -"`bpo-22609 `__: Constructors and update " -"methods of mapping classes in the collections module now accept the self " -"keyword argument." -msgstr "" - -#: ../build/NEWS:24887 -msgid "" -"`bpo-22940 `__: Add readline." -"append_history_file." -msgstr "" - -#: ../build/NEWS:24889 -msgid "" -"`bpo-19676 `__: Added the \"namereplace" -"\" error handler." -msgstr "" - -#: ../build/NEWS:24891 -msgid "" -"`bpo-22788 `__: Add *context* parameter " -"to logging.handlers.HTTPHandler." -msgstr "" - -#: ../build/NEWS:24893 -msgid "" -"`bpo-22921 `__: Allow SSLContext to take " -"the *hostname* parameter even if OpenSSL doesn't support SNI." -msgstr "" - -#: ../build/NEWS:24896 -msgid "" -"`bpo-22894 `__: TestCase.subTest() would " -"cause the test suite to be stopped when in failfast mode, even in the " -"absence of failures." -msgstr "" - -#: ../build/NEWS:24899 -msgid "" -"`bpo-22796 `__: HTTP cookie parsing is " -"now stricter, in order to protect against potential injection attacks." -msgstr "" - -#: ../build/NEWS:24902 -msgid "" -"`bpo-22370 `__: Windows detection in " -"pathlib is now more robust." -msgstr "" - -#: ../build/NEWS:24904 -msgid "" -"`bpo-22841 `__: Reject coroutines in " -"asyncio add_signal_handler(). Patch by Ludovic.Gasc." -msgstr "" - -#: ../build/NEWS:24907 -msgid "" -"`bpo-19494 `__: Added urllib.request." -"HTTPBasicPriorAuthHandler. Patch by Matej Cepl." -msgstr "" - -#: ../build/NEWS:24910 -msgid "" -"`bpo-22578 `__: Added attributes to the " -"re.error class." -msgstr "" - -#: ../build/NEWS:24912 -msgid "" -"`bpo-22849 `__: Fix possible double free " -"in the io.TextIOWrapper constructor." -msgstr "" - -#: ../build/NEWS:24914 -msgid "" -"`bpo-12728 `__: Different Unicode " -"characters having the same uppercase but different lowercase are now matched " -"in case-insensitive regular expressions." -msgstr "" - -#: ../build/NEWS:24918 -msgid "" -"`bpo-22821 `__: Fixed fcntl() with " -"integer argument on 64-bit big-endian platforms." -msgstr "" - -#: ../build/NEWS:24921 -msgid "" -"`bpo-21650 `__: Add an `--sort-keys` " -"option to json.tool CLI." -msgstr "" - -#: ../build/NEWS:24923 -msgid "" -"`bpo-22824 `__: Updated reprlib output " -"format for sets to use set literals. Patch contributed by Berker Peksag." -msgstr "" - -#: ../build/NEWS:24926 -msgid "" -"`bpo-22824 `__: Updated reprlib output " -"format for arrays to display empty arrays without an unnecessary empty " -"list. Suggested by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:24929 -msgid "" -"`bpo-22406 `__: Fixed the uu_codec codec " -"incorrectly ported to 3.x. Based on patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:24932 -msgid "" -"`bpo-17293 `__: uuid.getnode() now " -"determines MAC address on AIX using netstat. Based on patch by Aivars " -"Kalvāns." -msgstr "" - -#: ../build/NEWS:24935 -msgid "" -"`bpo-22769 `__: Fixed ttk.Treeview." -"tag_has() when called without arguments." -msgstr "" - -#: ../build/NEWS:24937 -msgid "" -"`bpo-22417 `__: Verify certificates by " -"default in httplib (PEP 476)." -msgstr "" - -#: ../build/NEWS:24939 -msgid "" -"`bpo-22775 `__: Fixed unpickling of http." -"cookies.SimpleCookie with protocol 2 and above. Patch by Tim Graham." -msgstr "" - -#: ../build/NEWS:24942 -msgid "" -"`bpo-22776 `__: Brought excluded code " -"into the scope of a try block in SysLogHandler.emit()." -msgstr "" - -#: ../build/NEWS:24945 -msgid "" -"`bpo-22665 `__: Add missing " -"get_terminal_size and SameFileError to shutil.__all__." -msgstr "" - -#: ../build/NEWS:24948 -msgid "" -"`bpo-6623 `__: Remove deprecated Netrc " -"class in the ftplib module. Patch by Matt Chaput." -msgstr "" - -#: ../build/NEWS:24951 -msgid "" -"`bpo-17381 `__: Fixed handling of case-" -"insensitive ranges in regular expressions." -msgstr "" - -#: ../build/NEWS:24954 -msgid "" -"`bpo-22410 `__: Module level functions " -"in the re module now cache compiled locale-dependent regular expressions " -"taking into account the locale." -msgstr "" - -#: ../build/NEWS:24957 -msgid "" -"`bpo-22759 `__: Query methods on pathlib." -"Path() (exists(), is_dir(), etc.) now return False when the underlying stat " -"call raises NotADirectoryError." -msgstr "" - -#: ../build/NEWS:24960 -msgid "" -"`bpo-8876 `__: distutils now falls back " -"to copying files when hard linking doesn't work. This allows use with " -"special filesystems such as VirtualBox shared folders." -msgstr "" - -#: ../build/NEWS:24964 -msgid "" -"`bpo-22217 `__: Implemented reprs of " -"classes in the zipfile module." -msgstr "" - -#: ../build/NEWS:24966 -msgid "" -"`bpo-22457 `__: Honour load_tests in the " -"start_dir of discovery." -msgstr "" - -#: ../build/NEWS:24968 -msgid "" -"`bpo-18216 `__: gettext now raises an " -"error when a .mo file has an unsupported major version number. Patch by " -"Aaron Hill." -msgstr "" - -#: ../build/NEWS:24971 -msgid "" -"`bpo-13918 `__: Provide a locale." -"delocalize() function which can remove locale-specific number formatting " -"from a string representing a number, without then converting it to a " -"specific type. Patch by Cédric Krier." -msgstr "" - -#: ../build/NEWS:24975 -msgid "" -"`bpo-22676 `__: Make the pickling of " -"global objects which don't have a __module__ attribute less slow." -msgstr "" - -#: ../build/NEWS:24978 -msgid "" -"`bpo-18853 `__: Fixed ResourceWarning in " -"shlex.__nain__." -msgstr "" - -#: ../build/NEWS:24980 -msgid "" -"`bpo-9351 `__: Defaults set with " -"set_defaults on an argparse subparser are no longer ignored when also set on " -"the parent parser." -msgstr "" - -#: ../build/NEWS:24983 -msgid "" -"`bpo-7559 `__: unittest test loading " -"ImportErrors are reported as import errors with their import exception " -"rather than as attribute errors after the import has already failed." -msgstr "" - -#: ../build/NEWS:24987 -msgid "" -"`bpo-19746 `__: Make it possible to " -"examine the errors from unittest discovery without executing the test suite. " -"The new `errors` attribute on TestLoader exposes these non-fatal errors " -"encountered during discovery." -msgstr "" - -#: ../build/NEWS:24991 -msgid "" -"`bpo-21991 `__: Make email." -"headerregistry's header 'params' attributes be read-only " -"(MappingProxyType). Previously the dictionary was modifiable but a new one " -"was created on each access of the attribute." -msgstr "" - -#: ../build/NEWS:24995 -msgid "" -"`bpo-22638 `__: SSLv3 is now disabled " -"throughout the standard library. It can still be enabled by instantiating a " -"SSLContext manually." -msgstr "" - -#: ../build/NEWS:24998 -msgid "" -"`bpo-22641 `__: In asyncio, the default " -"SSL context for client connections is now created using ssl." -"create_default_context(), for stronger security." -msgstr "" - -#: ../build/NEWS:25001 -msgid "" -"`bpo-17401 `__: Include closefd in io." -"FileIO repr." -msgstr "" - -#: ../build/NEWS:25003 -msgid "" -"`bpo-21338 `__: Add silent mode for " -"compileall. quiet parameters of compile_{dir, file, path} functions now have " -"a multilevel value. Also, -q option of the CLI now have a multilevel value. " -"Patch by Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:25007 -msgid "" -"`bpo-20152 `__: Convert the array and " -"cmath modules to Argument Clinic." -msgstr "" - -#: ../build/NEWS:25009 -msgid "" -"`bpo-18643 `__: Add socket.socketpair() " -"on Windows." -msgstr "" - -#: ../build/NEWS:25011 -msgid "" -"`bpo-22435 `__: Fix a file descriptor " -"leak when socketserver bind fails." -msgstr "" - -#: ../build/NEWS:25013 -msgid "" -"`bpo-13096 `__: Fixed segfault in CTypes " -"POINTER handling of large values." -msgstr "" - -#: ../build/NEWS:25015 -msgid "" -"`bpo-11694 `__: Raise ConversionError in " -"xdrlib as documented. Patch by Filip Gruszczyński and Claudiu Popa." -msgstr "" - -#: ../build/NEWS:25018 -msgid "" -"`bpo-19380 `__: Optimized parsing of " -"regular expressions." -msgstr "" - -#: ../build/NEWS:25020 -msgid "" -"`bpo-1519638 `__: Now unmatched groups " -"are replaced with empty strings in re.sub() and re.subn()." -msgstr "" - -#: ../build/NEWS:25023 -msgid "" -"`bpo-18615 `__: sndhdr.what/whathdr now " -"return a namedtuple." -msgstr "" - -#: ../build/NEWS:25025 -msgid "" -"`bpo-22462 `__: Fix pyexpat's creation " -"of a dummy frame to make it appear in exception tracebacks." -msgstr "" - -#: ../build/NEWS:25028 -msgid "" -"`bpo-21965 `__: Add support for in-" -"memory SSL to the ssl module. Patch by Geert Jansen." -msgstr "" - -#: ../build/NEWS:25031 -msgid "" -"`bpo-21173 `__: Fix len() on a " -"WeakKeyDictionary when .clear() was called with an iterator alive." -msgstr "" - -#: ../build/NEWS:25034 -msgid "" -"`bpo-11866 `__: Eliminated race " -"condition in the computation of names for new threads." -msgstr "" - -#: ../build/NEWS:25037 -msgid "" -"`bpo-21905 `__: Avoid RuntimeError in " -"pickle.whichmodule() when sys.modules is mutated while iterating. Patch by " -"Olivier Grisel." -msgstr "" - -#: ../build/NEWS:25040 -msgid "" -"`bpo-11271 `__: concurrent.futures." -"Executor.map() now takes a *chunksize* argument to allow batching of tasks " -"in child processes and improve performance of ProcessPoolExecutor. Patch by " -"Dan O'Reilly." -msgstr "" - -#: ../build/NEWS:25044 -msgid "" -"`bpo-21883 `__: os.path.join() and os." -"path.relpath() now raise a TypeError with more helpful error message for " -"unsupported or mismatched types of arguments." -msgstr "" - -#: ../build/NEWS:25048 -msgid "" -"`bpo-22219 `__: The zipfile module CLI " -"now adds entries for directories (including empty directories) in ZIP file." -msgstr "" - -#: ../build/NEWS:25051 -msgid "" -"`bpo-22449 `__: In the ssl.SSLContext." -"load_default_certs, consult the environmental variables SSL_CERT_DIR and " -"SSL_CERT_FILE on Windows." -msgstr "" - -#: ../build/NEWS:25054 -msgid "" -"`bpo-22508 `__: The email.__version__ " -"variable has been removed; the email code is no longer shipped separately " -"from the stdlib, and __version__ hasn't been updated in several releases." -msgstr "" - -#: ../build/NEWS:25058 -msgid "" -"`bpo-20076 `__: Added non derived UTF-8 " -"aliases to locale aliases table." -msgstr "" - -#: ../build/NEWS:25060 -msgid "" -"`bpo-20079 `__: Added locales supported " -"in glibc 2.18 to locale alias table." -msgstr "" - -#: ../build/NEWS:25062 -msgid "" -"`bpo-20218 `__: Added convenience " -"methods read_text/write_text and read_bytes/ write_bytes to pathlib.Path " -"objects." -msgstr "" - -#: ../build/NEWS:25065 -msgid "" -"`bpo-22396 `__: On 32-bit AIX platform, " -"don't expose os.posix_fadvise() nor os.posix_fallocate() because their " -"prototypes in system headers are wrong." -msgstr "" - -#: ../build/NEWS:25068 -msgid "" -"`bpo-22517 `__: When an io." -"BufferedRWPair object is deallocated, clear its weakrefs." -msgstr "" - -#: ../build/NEWS:25071 -msgid "" -"`bpo-22437 `__: Number of capturing " -"groups in regular expression is no longer limited by 100." -msgstr "" - -#: ../build/NEWS:25074 -msgid "" -"`bpo-17442 `__: InteractiveInterpreter " -"now displays the full chained traceback in its showtraceback method, to " -"match the built in interactive interpreter." -msgstr "" - -#: ../build/NEWS:25078 -msgid "" -"`bpo-23392 `__: Added tests for marshal " -"C API that works with FILE*." -msgstr "" - -#: ../build/NEWS:25080 -msgid "" -"`bpo-10510 `__: distutils register and " -"upload methods now use HTML standards compliant CRLF line endings." -msgstr "" - -#: ../build/NEWS:25083 -msgid "" -"`bpo-9850 `__: Fixed macpath.join() for " -"empty first component. Patch by Oleg Oshmyan." -msgstr "" - -#: ../build/NEWS:25086 -msgid "" -"`bpo-5309 `__: distutils' build and " -"build_ext commands now accept a ``-j`` option to enable parallel building of " -"extension modules." -msgstr "" - -#: ../build/NEWS:25089 -msgid "" -"`bpo-22448 `__: Improve canceled timer " -"handles cleanup to prevent unbound memory usage. Patch by Joshua Moore-Oliva." -msgstr "" - -#: ../build/NEWS:25092 -msgid "" -"`bpo-22427 `__: TemporaryDirectory no " -"longer attempts to clean up twice when used in the with statement in " -"generator." -msgstr "" - -#: ../build/NEWS:25095 -msgid "" -"`bpo-22362 `__: Forbidden ambiguous " -"octal escapes out of range 0-0o377 in regular expressions." -msgstr "" - -#: ../build/NEWS:25098 -msgid "" -"`bpo-20912 `__: Now directories added to " -"ZIP file have correct Unix and MS-DOS directory attributes." -msgstr "" - -#: ../build/NEWS:25101 -msgid "" -"`bpo-21866 `__: ZipFile.close() no " -"longer writes ZIP64 central directory records if allowZip64 is false." -msgstr "" - -#: ../build/NEWS:25104 -msgid "" -"`bpo-22278 `__: Fix urljoin problem with " -"relative urls, a regression observed after changes to issue22118 were " -"submitted." -msgstr "" - -#: ../build/NEWS:25107 -msgid "" -"`bpo-22415 `__: Fixed debugging output " -"of the GROUPREF_EXISTS opcode in the re module. Removed trailing spaces in " -"debugging output." -msgstr "" - -#: ../build/NEWS:25110 -msgid "" -"`bpo-22423 `__: Unhandled exception in " -"thread no longer causes unhandled AttributeError when sys.stderr is None." -msgstr "" - -#: ../build/NEWS:25113 -msgid "" -"`bpo-21332 `__: Ensure that " -"``bufsize=1`` in subprocess.Popen() selects line buffering, rather than " -"block buffering. Patch by Akira Li." -msgstr "" - -#: ../build/NEWS:25116 -msgid "" -"`bpo-21091 `__: Fix API bug: email." -"message.EmailMessage.is_attachment is now a method." -msgstr "" - -#: ../build/NEWS:25119 -msgid "" -"`bpo-21079 `__: Fix email.message." -"EmailMessage.is_attachment to return the correct result when the header has " -"parameters as well as a value." -msgstr "" - -#: ../build/NEWS:25122 -msgid "" -"`bpo-22247 `__: Add NNTPError to nntplib." -"__all__." -msgstr "" - -#: ../build/NEWS:25124 -msgid "" -"`bpo-22366 `__: urllib.request.urlopen " -"will accept a context object (SSLContext) as an argument which will then be " -"used for HTTPS connection. Patch by Alex Gaynor." -msgstr "" - -#: ../build/NEWS:25128 -msgid "" -"`bpo-4180 `__: The warnings registries " -"are now reset when the filters are modified." -msgstr "" - -#: ../build/NEWS:25131 -msgid "" -"`bpo-22419 `__: Limit the length of " -"incoming HTTP request in wsgiref server to 65536 bytes and send a 414 error " -"code for higher lengths. Patch contributed by Devin Cook." -msgstr "" - -#: ../build/NEWS:25135 -msgid "" -"Lax cookie parsing in http.cookies could be a security issue when combined " -"with non-standard cookie handling in some Web browsers. Reported by Sergey " -"Bobrov." -msgstr "" - -#: ../build/NEWS:25139 -msgid "" -"`bpo-20537 `__: logging methods now " -"accept an exception instance as well as a Boolean value or exception tuple. " -"Thanks to Yury Selivanov for the patch." -msgstr "" - -#: ../build/NEWS:25142 -msgid "" -"`bpo-22384 `__: An exception in Tkinter " -"callback no longer crashes the program when it is run with pythonw.exe." -msgstr "" - -#: ../build/NEWS:25145 -msgid "" -"`bpo-22168 `__: Prevent turtle " -"AttributeError with non-default Canvas on OS X." -msgstr "" - -#: ../build/NEWS:25147 -msgid "" -"`bpo-21147 `__: sqlite3 now raises an " -"exception if the request contains a null character instead of truncating " -"it. Based on patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:25150 -msgid "" -"`bpo-13968 `__: The glob module now " -"supports recursive search in subdirectories using the ``**`` pattern." -msgstr "" - -#: ../build/NEWS:25153 -msgid "" -"`bpo-21951 `__: Fixed a crash in Tkinter " -"on AIX when called Tcl command with empty string or tuple argument." -msgstr "" - -#: ../build/NEWS:25156 -msgid "" -"`bpo-21951 `__: Tkinter now most likely " -"raises MemoryError instead of crash if the memory allocation fails." -msgstr "" - -#: ../build/NEWS:25159 -msgid "" -"`bpo-22338 `__: Fix a crash in the json " -"module on memory allocation failure." -msgstr "" - -#: ../build/NEWS:25161 -msgid "" -"`bpo-12410 `__: imaplib.IMAP4 now " -"supports the context management protocol. Original patch by Tarek Ziadé." -msgstr "" - -#: ../build/NEWS:25164 -msgid "" -"`bpo-21270 `__: We now override tuple " -"methods in mock.call objects so that they can be used as normal call " -"attributes." -msgstr "" - -#: ../build/NEWS:25167 -msgid "" -"`bpo-16662 `__: load_tests() is now " -"unconditionally run when it is present in a package's __init__.py. " -"TestLoader.loadTestsFromModule() still accepts use_load_tests, but it is " -"deprecated and ignored. A new keyword-only attribute `pattern` is added and " -"documented. Patch given by Robert Collins, tweaked by Barry Warsaw." -msgstr "" - -#: ../build/NEWS:25173 -msgid "" -"`bpo-22226 `__: First letter no longer " -"is stripped from the \"status\" key in the result of Treeview.heading()." -msgstr "" - -#: ../build/NEWS:25176 -msgid "" -"`bpo-19524 `__: Fixed resource leak in " -"the HTTP connection when an invalid response is received. Patch by Martin " -"Panter." -msgstr "" - -#: ../build/NEWS:25179 -msgid "" -"`bpo-20421 `__: Add a .version() method " -"to SSL sockets exposing the actual protocol version in use." -msgstr "" - -#: ../build/NEWS:25182 -msgid "" -"`bpo-19546 `__: configparser exceptions " -"no longer expose implementation details. Chained KeyErrors are removed, " -"which leads to cleaner tracebacks. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:25186 -msgid "" -"`bpo-22051 `__: turtledemo no longer " -"reloads examples to re-run them. Initialization of variables and gui setup " -"should be done in main(), which is called each time a demo is run, but not " -"on import." -msgstr "" - -#: ../build/NEWS:25190 -msgid "" -"`bpo-21933 `__: Turtledemo users can " -"change the code font size with a menu selection or control(command) '-' or " -"'+' or control-mousewheel. Original patch by Lita Cho." -msgstr "" - -#: ../build/NEWS:25194 -msgid "" -"`bpo-21597 `__: The separator between " -"the turtledemo text pane and the drawing canvas can now be grabbed and " -"dragged with a mouse. The code text pane can be widened to easily view or " -"copy the full width of the text. The canvas can be widened on small " -"screens. Original patches by Jan Kanis and Lita Cho." -msgstr "" - -#: ../build/NEWS:25200 -msgid "" -"`bpo-18132 `__: Turtledemo buttons no " -"longer disappear when the window is shrunk. Original patches by Jan Kanis " -"and Lita Cho." -msgstr "" - -#: ../build/NEWS:25203 -msgid "" -"`bpo-22043 `__: time.monotonic() is now " -"always available. ``threading.Lock.acquire()``, ``threading.RLock." -"acquire()`` and socket operations now use a monotonic clock, instead of the " -"system clock, when a timeout is used." -msgstr "" - -#: ../build/NEWS:25208 -msgid "" -"`bpo-21527 `__: Add a default number of " -"workers to ThreadPoolExecutor equal to 5 times the number of CPUs. Patch by " -"Claudiu Popa." -msgstr "" - -#: ../build/NEWS:25211 -msgid "" -"`bpo-22216 `__: smtplib now resets its " -"state more completely after a quit. The most obvious consequence of the " -"previous behavior was a STARTTLS failure during a connect/starttls/quit/" -"connect/starttls sequence." -msgstr "" - -#: ../build/NEWS:25215 -msgid "" -"`bpo-22098 `__: ctypes' " -"BigEndianStructure and LittleEndianStructure now define an empty __slots__ " -"so that subclasses don't always get an instance dict. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:25219 -msgid "" -"`bpo-22185 `__: Fix an occasional " -"RuntimeError in threading.Condition.wait() caused by mutation of the waiters " -"queue without holding the lock. Patch by Doug Zongker." -msgstr "" - -#: ../build/NEWS:25223 -msgid "" -"`bpo-22287 `__: On UNIX, " -"_PyTime_gettimeofday() now uses clock_gettime(CLOCK_REALTIME) if available. " -"As a side effect, Python now depends on the librt library on Solaris and on " -"Linux (only with glibc older than 2.17)." -msgstr "" - -#: ../build/NEWS:25228 -msgid "" -"`bpo-22182 `__: Use e.args to unpack " -"exceptions correctly in distutils.file_util.move_file. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:25231 -msgid "" -"The webbrowser module now uses subprocess's start_new_session=True rather " -"than a potentially risky preexec_fn=os.setsid call." -msgstr "" - -#: ../build/NEWS:25234 -msgid "" -"`bpo-22042 `__: signal.set_wakeup_fd(fd) " -"now raises an exception if the file descriptor is in blocking mode." -msgstr "" - -#: ../build/NEWS:25237 -msgid "" -"`bpo-16808 `__: inspect.stack() now " -"returns a named tuple instead of a tuple. Patch by Daniel Shahaf." -msgstr "" - -#: ../build/NEWS:25240 -msgid "" -"`bpo-22236 `__: Fixed Tkinter images " -"copying operations in NoDefaultRoot mode." -msgstr "" - -#: ../build/NEWS:25242 -msgid "" -"`bpo-2527 `__: Add a *globals* argument " -"to timeit functions, in order to override the globals namespace in which the " -"timed code is executed. Patch by Ben Roberts." -msgstr "" - -#: ../build/NEWS:25246 -msgid "" -"`bpo-22118 `__: Switch urllib.parse to " -"use RFC 3986 semantics for the resolution of relative URLs, rather than RFCs " -"1808 and 2396. Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:25250 -msgid "" -"`bpo-21549 `__: Added the \"members\" " -"parameter to TarFile.list()." -msgstr "" - -#: ../build/NEWS:25252 -msgid "" -"`bpo-19628 `__: Allow compileall " -"recursion depth to be specified with a -r option." -msgstr "" - -#: ../build/NEWS:25255 -msgid "" -"`bpo-15696 `__: Add a __sizeof__ " -"implementation for mmap objects on Windows." -msgstr "" - -#: ../build/NEWS:25257 -msgid "" -"`bpo-22068 `__: Avoided reference loops " -"with Variables and Fonts in Tkinter." -msgstr "" - -#: ../build/NEWS:25259 -msgid "" -"`bpo-22165 `__: SimpleHTTPRequestHandler " -"now supports undecodable file names." -msgstr "" - -#: ../build/NEWS:25261 -msgid "" -"`bpo-15381 `__: Optimized line reading " -"in io.BytesIO." -msgstr "" - -#: ../build/NEWS:25263 -msgid "" -"`bpo-8797 `__: Raise HTTPError on failed " -"Basic Authentication immediately. Initial patch by Sam Bull." -msgstr "" - -#: ../build/NEWS:25266 -msgid "" -"`bpo-20729 `__: Restored the use of lazy " -"iterkeys()/itervalues()/iteritems() in the mailbox module." -msgstr "" - -#: ../build/NEWS:25269 -msgid "" -"`bpo-21448 `__: Changed FeedParser " -"feed() to avoid O(N**2) behavior when parsing long line. Original patch by " -"Raymond Hettinger." -msgstr "" - -#: ../build/NEWS:25272 -msgid "" -"`bpo-22184 `__: The functools LRU Cache " -"decorator factory now gives an earlier and clearer error message when the " -"user forgets the required parameters." -msgstr "" - -#: ../build/NEWS:25275 -msgid "" -"`bpo-17923 `__: glob() patterns ending " -"with a slash no longer match non-dirs on AIX. Based on patch by Delhallt." -msgstr "" - -#: ../build/NEWS:25278 -msgid "" -"`bpo-21725 `__: Added support for RFC " -"6531 (SMTPUTF8) in smtpd." -msgstr "" - -#: ../build/NEWS:25280 -msgid "" -"`bpo-22176 `__: Update the ctypes " -"module's libffi to v3.1. This release adds support for the Linux AArch64 " -"and POWERPC ELF ABIv2 little endian architectures." -msgstr "" - -#: ../build/NEWS:25284 -msgid "" -"`bpo-5411 `__: Added support for the " -"\"xztar\" format in the shutil module." -msgstr "" - -#: ../build/NEWS:25286 -msgid "" -"`bpo-21121 `__: Don't force 3rd party C " -"extensions to be built with -Werror=declaration-after-statement." -msgstr "" - -#: ../build/NEWS:25289 -msgid "" -"`bpo-21975 `__: Fixed crash when using " -"uninitialized sqlite3.Row (in particular when unpickling pickled sqlite3." -"Row). sqlite3.Row is now initialized in the __new__() method." -msgstr "" - -#: ../build/NEWS:25293 -msgid "" -"`bpo-20170 `__: Convert posixmodule to " -"use Argument Clinic." -msgstr "" - -#: ../build/NEWS:25295 -msgid "" -"`bpo-21539 `__: Add an *exists_ok* " -"argument to `Pathlib.mkdir()` to mimic `mkdir -p` and `os.makedirs()` " -"functionality. When true, ignore FileExistsErrors. Patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:25299 -msgid "" -"`bpo-22127 `__: Bypass IDNA for pure-" -"ASCII host names in the socket module (in particular for numeric IPs)." -msgstr "" - -#: ../build/NEWS:25302 -msgid "" -"`bpo-21047 `__: set the default value " -"for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker " -"Peksag." -msgstr "" - -#: ../build/NEWS:25305 -msgid "Add an __all__ to html.entities." -msgstr "" - -#: ../build/NEWS:25307 -msgid "" -"`bpo-15114 `__: the strict mode and " -"argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception " -"have been removed." -msgstr "" - -#: ../build/NEWS:25310 -msgid "" -"`bpo-22085 `__: Dropped support of Tk " -"8.3 in Tkinter." -msgstr "" - -#: ../build/NEWS:25312 -msgid "" -"`bpo-21580 `__: Now Tkinter correctly " -"handles bytes arguments passed to Tk. In particular this allows initializing " -"images from binary data." -msgstr "" - -#: ../build/NEWS:25315 -msgid "" -"`bpo-22003 `__: When initialized from a " -"bytes object, io.BytesIO() now defers making a copy until it is mutated, " -"improving performance and memory use on some use cases. Patch by David " -"Wilson." -msgstr "" - -#: ../build/NEWS:25319 -msgid "" -"`bpo-22018 `__: On Windows, signal." -"set_wakeup_fd() now also supports sockets. A side effect is that Python " -"depends to the WinSock library." -msgstr "" - -#: ../build/NEWS:25322 -msgid "" -"`bpo-22054 `__: Add os.get_blocking() " -"and os.set_blocking() functions to get and set the blocking mode of a file " -"descriptor (False if the O_NONBLOCK flag is set, True otherwise). These " -"functions are not available on Windows." -msgstr "" - -#: ../build/NEWS:25327 -msgid "" -"`bpo-17172 `__: Make turtledemo start as " -"active on OS X even when run with subprocess. Patch by Lita Cho." -msgstr "" - -#: ../build/NEWS:25330 -msgid "" -"`bpo-21704 `__: Fix build error for " -"_multiprocessing when semaphores are not available. Patch by Arfrever " -"Frehtes Taifersar Arahesis." -msgstr "" - -#: ../build/NEWS:25333 -msgid "" -"`bpo-20173 `__: Convert sha1, sha256, " -"sha512 and md5 to ArgumentClinic. Patch by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:25336 -msgid "" -"Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on " -"closed socket. repr(socket.socket) already works fine." -msgstr "" - -#: ../build/NEWS:25339 -msgid "" -"`bpo-22033 `__: Reprs of most Python " -"implemented classes now contain actual class name instead of hardcoded one." -msgstr "" - -#: ../build/NEWS:25342 -msgid "" -"`bpo-21947 `__: The dis module can now " -"disassemble generator-iterator objects based on their gi_code attribute. " -"Patch by Clement Rouault." -msgstr "" - -#: ../build/NEWS:25345 -msgid "" -"`bpo-16133 `__: The asynchat.async_chat." -"handle_read() method now ignores BlockingIOError exceptions." -msgstr "" - -#: ../build/NEWS:25348 -msgid "" -"`bpo-22044 `__: Fixed premature DECREF " -"in call_tzinfo_method. Patch by Tom Flanagan." -msgstr "" - -#: ../build/NEWS:25351 -msgid "" -"`bpo-19884 `__: readline: Disable the " -"meta modifier key if stdout is not a terminal to not write the ANSI sequence " -"``\"\\033[1034h\"`` into stdout. This sequence is used on some terminal (ex: " -"TERM=xterm-256color\") to enable support of 8 bit characters." -msgstr "" - -#: ../build/NEWS:25356 -msgid "" -"`bpo-4350 `__: Removed a number of out-of-" -"dated and non-working for a long time Tkinter methods." -msgstr "" - -#: ../build/NEWS:25359 -msgid "" -"`bpo-6167 `__: Scrollbar.activate() now " -"returns the name of active element if the argument is not specified. " -"Scrollbar.set() now always accepts only 2 arguments." -msgstr "" - -#: ../build/NEWS:25363 -msgid "" -"`bpo-15275 `__: Clean up and speed up " -"the ntpath module." -msgstr "" - -#: ../build/NEWS:25365 -msgid "" -"`bpo-21888 `__: plistlib's load() and " -"loads() now work if the fmt parameter is specified." -msgstr "" - -#: ../build/NEWS:25368 -msgid "" -"`bpo-22032 `__: __qualname__ instead of " -"__name__ is now always used to format fully qualified class names of Python " -"implemented classes." -msgstr "" - -#: ../build/NEWS:25371 -msgid "" -"`bpo-22031 `__: Reprs now always use " -"hexadecimal format with the \"0x\" prefix when contain an id in form \" at " -"0x...\"." -msgstr "" - -#: ../build/NEWS:25374 -msgid "" -"`bpo-22018 `__: signal.set_wakeup_fd() " -"now raises an OSError instead of a ValueError on ``fstat()`` failure." -msgstr "" - -#: ../build/NEWS:25377 -msgid "" -"`bpo-21044 `__: tarfile.open() now " -"handles fileobj with an integer 'name' attribute. Based on patch by Antoine " -"Pietri." -msgstr "" - -#: ../build/NEWS:25380 -msgid "" -"`bpo-21966 `__: Respect -q command-line " -"option when code module is ran." -msgstr "" - -#: ../build/NEWS:25382 -msgid "" -"`bpo-19076 `__: Don't pass the redundant " -"'file' argument to self.error()." -msgstr "" - -#: ../build/NEWS:25384 -msgid "" -"`bpo-16382 `__: Improve exception " -"message of warnings.warn() for bad category. Initial patch by Phil Elson." -msgstr "" - -#: ../build/NEWS:25387 -msgid "" -"`bpo-21932 `__: os.read() now uses a :c:" -"func:`Py_ssize_t` type instead of :c:type:`int` for the size to support " -"reading more than 2 GB at once. On Windows, the size is truncated to " -"INT_MAX. As any call to os.read(), the OS may read less bytes than the " -"number of requested bytes." -msgstr "" - -#: ../build/NEWS:25392 -msgid "" -"`bpo-21942 `__: Fixed source file " -"viewing in pydoc's server mode on Windows." -msgstr "" - -#: ../build/NEWS:25394 -msgid "" -"`bpo-11259 `__: asynchat.async_chat()." -"set_terminator() now raises a ValueError if the number of received bytes is " -"negative." -msgstr "" - -#: ../build/NEWS:25397 -msgid "" -"`bpo-12523 `__: asynchat.async_chat." -"push() now raises a TypeError if it doesn't get a bytes string" -msgstr "" - -#: ../build/NEWS:25400 -msgid "" -"`bpo-21707 `__: Add missing " -"kwonlyargcount argument to ModuleFinder.replace_paths_in_code()." -msgstr "" - -#: ../build/NEWS:25403 -msgid "" -"`bpo-20639 `__: calling Path." -"with_suffix('') allows removing the suffix again. Patch by July Tikhonov." -msgstr "" - -#: ../build/NEWS:25406 -msgid "" -"`bpo-21714 `__: Disallow the " -"construction of invalid paths using Path.with_name(). Original patch by " -"Antony Lee." -msgstr "" - -#: ../build/NEWS:25409 -msgid "" -"`bpo-15014 `__: Added 'auth' method to " -"smtplib to make implementing auth mechanisms simpler, and used it internally " -"in the login method." -msgstr "" - -#: ../build/NEWS:25412 -msgid "" -"`bpo-21151 `__: Fixed a segfault in the " -"winreg module when ``None`` is passed as a ``REG_BINARY`` value to " -"SetValueEx. Patch by John Ehresman." -msgstr "" - -#: ../build/NEWS:25415 -msgid "" -"`bpo-21090 `__: io.FileIO.readall() does " -"not ignore I/O errors anymore. Before, it ignored I/O errors if at least the " -"first C call read() succeed." -msgstr "" - -#: ../build/NEWS:25418 -msgid "" -"`bpo-5800 `__: headers parameter of " -"wsgiref.headers.Headers is now optional. Initial patch by Pablo Torres " -"Navarrete and SilentGhost." -msgstr "" - -#: ../build/NEWS:25421 -msgid "" -"`bpo-21781 `__: ssl.RAND_add() now " -"supports strings longer than 2 GB." -msgstr "" - -#: ../build/NEWS:25423 -msgid "" -"`bpo-21679 `__: Prevent extraneous " -"fstat() calls during open(). Patch by Bohuslav Kabrda." -msgstr "" - -#: ../build/NEWS:25426 -msgid "" -"`bpo-21863 `__: cProfile now displays " -"the module name of C extension functions, in addition to their own name." -msgstr "" - -#: ../build/NEWS:25429 -msgid "" -"`bpo-11453 `__: asyncore: emit a " -"ResourceWarning when an unclosed file_wrapper object is destroyed. The " -"destructor now closes the file if needed. The close() method can now be " -"called twice: the second call does nothing." -msgstr "" - -#: ../build/NEWS:25433 -msgid "" -"`bpo-21858 `__: Better handling of " -"Python exceptions in the sqlite3 module." -msgstr "" - -#: ../build/NEWS:25435 -msgid "" -"`bpo-21476 `__: Make sure the email." -"parser.BytesParser TextIOWrapper is discarded after parsing, so the input " -"file isn't unexpectedly closed." -msgstr "" - -#: ../build/NEWS:25438 -msgid "" -"`bpo-20295 `__: imghdr now recognizes " -"OpenEXR format images." -msgstr "" - -#: ../build/NEWS:25440 -msgid "" -"`bpo-21729 `__: Used the \"with\" " -"statement in the dbm.dumb module to ensure files closing. Patch by Claudiu " -"Popa." -msgstr "" - -#: ../build/NEWS:25443 -msgid "" -"`bpo-21491 `__: socketserver: Fix a race " -"condition in child processes reaping." -msgstr "" - -#: ../build/NEWS:25445 -msgid "" -"`bpo-21719 `__: Added the " -"``st_file_attributes`` field to os.stat_result on Windows." -msgstr "" - -#: ../build/NEWS:25448 -msgid "" -"`bpo-21832 `__: Require named tuple " -"inputs to be exact strings." -msgstr "" - -#: ../build/NEWS:25450 -msgid "" -"`bpo-21722 `__: The distutils \"upload\" " -"command now exits with a non-zero return code when uploading fails. Patch " -"by Martin Dengler." -msgstr "" - -#: ../build/NEWS:25453 -msgid "" -"`bpo-21723 `__: asyncio.Queue: support " -"any type of number (ex: float) for the maximum size. Patch written by " -"Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:25456 -msgid "" -"`bpo-21711 `__: support for \"site-python" -"\" directories has now been removed from the site module (it was deprecated " -"in 3.4)." -msgstr "" - -#: ../build/NEWS:25459 -msgid "" -"`bpo-17552 `__: new socket.sendfile() " -"method allowing a file to be sent over a socket by using high-performance os." -"sendfile() on UNIX. Patch by Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:25463 -msgid "" -"`bpo-18039 `__: dbm.dump.open() now " -"always creates a new database when the flag has the value 'n'. Patch by " -"Claudiu Popa." -msgstr "" - -#: ../build/NEWS:25466 -msgid "" -"`bpo-21326 `__: Add a new is_closed() " -"method to asyncio.BaseEventLoop. run_forever() and run_until_complete() " -"methods of asyncio.BaseEventLoop now raise an exception if the event loop " -"was closed." -msgstr "" - -#: ../build/NEWS:25470 -msgid "" -"`bpo-21766 `__: Prevent a security hole " -"in CGIHTTPServer by URL unquoting paths before checking for a CGI script at " -"that path." -msgstr "" - -#: ../build/NEWS:25473 -msgid "" -"`bpo-21310 `__: Fixed possible resource " -"leak in failed open()." -msgstr "" - -#: ../build/NEWS:25475 -msgid "" -"`bpo-21256 `__: Printout of keyword args " -"should be in deterministic order in a mock function call. This will help to " -"write better doctests." -msgstr "" - -#: ../build/NEWS:25478 -msgid "" -"`bpo-21677 `__: Fixed chaining " -"nonnormalized exceptions in io close() methods." -msgstr "" - -#: ../build/NEWS:25480 -msgid "" -"`bpo-11709 `__: Fix the pydoc.help " -"function to not fail when sys.stdin is not a valid file." -msgstr "" - -#: ../build/NEWS:25483 -msgid "" -"`bpo-21515 `__: tempfile.TemporaryFile " -"now uses os.O_TMPFILE flag is available." -msgstr "" - -#: ../build/NEWS:25485 -msgid "" -"`bpo-13223 `__: Fix pydoc.writedoc so " -"that the HTML documentation for methods that use 'self' in the example code " -"is generated correctly." -msgstr "" - -#: ../build/NEWS:25488 -msgid "" -"`bpo-21463 `__: In urllib.request, fix " -"pruning of the FTP cache." -msgstr "" - -#: ../build/NEWS:25490 -msgid "" -"`bpo-21618 `__: The subprocess module " -"could fail to close open fds that were inherited by the calling process and " -"already higher than POSIX resource limits would otherwise allow. On systems " -"with a functioning /proc/self/fd or /dev/fd interface the max is now ignored " -"and all fds are closed." -msgstr "" - -#: ../build/NEWS:25495 -msgid "" -"`bpo-20383 `__: Introduce importlib.util." -"module_from_spec() as the preferred way to create a new module." -msgstr "" - -#: ../build/NEWS:25498 -msgid "" -"`bpo-21552 `__: Fixed possible integer " -"overflow of too long string lengths in the tkinter module on 64-bit " -"platforms." -msgstr "" - -#: ../build/NEWS:25501 -msgid "" -"`bpo-14315 `__: The zipfile module now " -"ignores extra fields in the central directory that are too short to be " -"parsed instead of letting a struct.unpack error bubble up as this \"bad data" -"\" appears in many real world zip files in the wild and is ignored by other " -"zip tools." -msgstr "" - -#: ../build/NEWS:25506 -msgid "" -"`bpo-13742 `__: Added \"key\" and " -"\"reverse\" parameters to heapq.merge(). (First draft of patch contributed " -"by Simon Sapin.)" -msgstr "" - -#: ../build/NEWS:25509 -msgid "" -"`bpo-21402 `__: tkinter.ttk now works " -"when default root window is not set." -msgstr "" - -#: ../build/NEWS:25511 -msgid "" -"`bpo-3015 `__: _tkinter.create() now " -"creates tkapp object with wantobject=1 by default." -msgstr "" - -#: ../build/NEWS:25514 -msgid "" -"`bpo-10203 `__: sqlite3.Row now truly " -"supports sequence protocol. In particular it supports reverse() and " -"negative indices. Original patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:25518 -msgid "" -"`bpo-18807 `__: If copying (no symlinks) " -"specified for a venv, then the python interpreter aliases (python, python3) " -"are now created by copying rather than symlinking." -msgstr "" - -#: ../build/NEWS:25522 -msgid "" -"`bpo-20197 `__: Added support for the " -"WebP image type in the imghdr module. Patch by Fabrice Aneche and Claudiu " -"Popa." -msgstr "" - -#: ../build/NEWS:25525 -msgid "" -"`bpo-21513 `__: Speedup some properties " -"of IP addresses (IPv4Address, IPv6Address) such as .is_private or ." -"is_multicast." -msgstr "" - -#: ../build/NEWS:25528 -msgid "" -"`bpo-21137 `__: Improve the repr for " -"threading.Lock() and its variants by showing the \"locked\" or \"unlocked\" " -"status. Patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:25531 -msgid "" -"`bpo-21538 `__: The plistlib module now " -"supports loading of binary plist files when reference or offset size is not " -"a power of two." -msgstr "" - -#: ../build/NEWS:25534 -msgid "" -"`bpo-21455 `__: Add a default backlog to " -"socket.listen()." -msgstr "" - -#: ../build/NEWS:25536 -msgid "" -"`bpo-21525 `__: Most Tkinter methods " -"which accepted tuples now accept lists too." -msgstr "" - -#: ../build/NEWS:25539 -msgid "" -"`bpo-22166 `__: With the assistance of a " -"new internal _codecs._forget_codec helping function, test_codecs now clears " -"the encoding caches to avoid the appearance of a reference leak" -msgstr "" - -#: ../build/NEWS:25543 -msgid "" -"`bpo-22236 `__: Tkinter tests now don't " -"reuse default root window. New root window is created for every test class." -msgstr "" - -#: ../build/NEWS:25546 -msgid "" -"`bpo-10744 `__: Fix :pep:`3118` format " -"strings on ctypes objects with a nontrivial shape." -msgstr "" - -#: ../build/NEWS:25549 -msgid "" -"`bpo-20826 `__: Optimize ipaddress." -"collapse_addresses()." -msgstr "" - -#: ../build/NEWS:25551 -msgid "" -"`bpo-21487 `__: Optimize ipaddress." -"summarize_address_range() and ipaddress.{IPv4Network,IPv6Network}.subnets()." -msgstr "" - -#: ../build/NEWS:25554 -msgid "" -"`bpo-21486 `__: Optimize parsing of " -"netmasks in ipaddress.IPv4Network and ipaddress.IPv6Network." -msgstr "" - -#: ../build/NEWS:25557 -msgid "" -"`bpo-13916 `__: Disallowed the " -"surrogatepass error handler for non UTF-\\* encodings." -msgstr "" - -#: ../build/NEWS:25560 -msgid "" -"`bpo-20998 `__: Fixed re.fullmatch() of " -"repeated single character pattern with ignore case. Original patch by " -"Matthew Barnett." -msgstr "" - -#: ../build/NEWS:25563 -msgid "" -"`bpo-21075 `__: fileinput.FileInput now " -"reads bytes from standard stream if binary mode is specified. Patch by Sam " -"Kimbrel." -msgstr "" - -#: ../build/NEWS:25566 -msgid "" -"`bpo-19775 `__: Add a samefile() method " -"to pathlib Path objects. Initial patch by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:25569 -msgid "" -"`bpo-21226 `__: Set up modules properly " -"in PyImport_ExecCodeModuleObject (and friends)." -msgstr "" - -#: ../build/NEWS:25572 -msgid "" -"`bpo-21398 `__: Fix a unicode error in " -"the pydoc pager when the documentation contains characters not encodable to " -"the stdout encoding." -msgstr "" - -#: ../build/NEWS:25575 -msgid "" -"`bpo-16531 `__: ipaddress.IPv4Network " -"and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, " -"so as to easily construct network objects from existing addresses." -msgstr "" - -#: ../build/NEWS:25579 -msgid "" -"`bpo-21156 `__: importlib.abc." -"InspectLoader.source_to_code() is now a staticmethod." -msgstr "" - -#: ../build/NEWS:25582 -msgid "" -"`bpo-21424 `__: Simplified and optimized " -"heaqp.nlargest() and nmsmallest() to make fewer tuple comparisons." -msgstr "" - -#: ../build/NEWS:25585 -msgid "" -"`bpo-21396 `__: Fix TextIOWrapper(..., " -"write_through=True) to not force a flush() on the underlying binary stream. " -"Patch by akira." -msgstr "" - -#: ../build/NEWS:25588 -msgid "" -"`bpo-18314 `__: Unlink now removes " -"junctions on Windows. Patch by Kim Gräsman" -msgstr "" - -#: ../build/NEWS:25590 -msgid "" -"`bpo-21088 `__: Bugfix for curses.window." -"addch() regression in 3.4.0. In porting to Argument Clinic, the first two " -"arguments were reversed." -msgstr "" - -#: ../build/NEWS:25593 -msgid "" -"`bpo-21407 `__: _decimal: The module now " -"supports function signatures." -msgstr "" - -#: ../build/NEWS:25595 -msgid "" -"`bpo-10650 `__: Remove the non-standard " -"'watchexp' parameter from the Decimal.quantize() method in the Python " -"version. It had never been present in the C version." -msgstr "" - -#: ../build/NEWS:25599 -msgid "" -"`bpo-21469 `__: Reduced the risk of " -"false positives in robotparser by checking to make sure that robots.txt has " -"been read or does not exist prior to returning True in can_fetch()." -msgstr "" - -#: ../build/NEWS:25603 -msgid "" -"`bpo-19414 `__: Have the OrderedDict " -"mark deleted links as unusable. This gives an early failure if the link is " -"deleted during iteration." -msgstr "" - -#: ../build/NEWS:25606 -msgid "" -"`bpo-21421 `__: Add __slots__ to the " -"MappingViews ABC. Patch by Josh Rosenberg." -msgstr "" - -#: ../build/NEWS:25608 -msgid "" -"`bpo-21101 `__: Eliminate double hashing " -"in the C speed-up code for collections.Counter()." -msgstr "" - -#: ../build/NEWS:25611 -msgid "" -"`bpo-21321 `__: itertools.islice() now " -"releases the reference to the source iterator when the slice is exhausted. " -"Patch by Anton Afanasyev." -msgstr "" - -#: ../build/NEWS:25614 -msgid "" -"`bpo-21057 `__: TextIOWrapper now allows " -"the underlying binary stream's read() or read1() method to return an " -"arbitrary bytes-like object (such as a memoryview). Patch by Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:25618 -msgid "" -"`bpo-20951 `__: SSLSocket.send() now " -"raises either SSLWantReadError or SSLWantWriteError on a non-blocking socket " -"if the operation would block. Previously, it would return 0. Patch by " -"Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:25622 -msgid "" -"`bpo-13248 `__: removed previously " -"deprecated asyncore.dispatcher __getattr__ cheap inheritance hack." -msgstr "" - -#: ../build/NEWS:25625 -msgid "" -"`bpo-9815 `__: assertRaises now tries to " -"clear references to local variables in the exception's traceback." -msgstr "" - -#: ../build/NEWS:25628 -msgid "" -"`bpo-19940 `__: ssl." -"cert_time_to_seconds() now interprets the given time string in the UTC " -"timezone (as specified in RFC 5280), not the local timezone." -msgstr "" - -#: ../build/NEWS:25631 -msgid "" -"`bpo-13204 `__: Calling sys.flags." -"__new__ would crash the interpreter, now it raises a TypeError." -msgstr "" - -#: ../build/NEWS:25634 -msgid "" -"`bpo-19385 `__: Make operations on a " -"closed dbm.dumb database always raise the same exception." -msgstr "" - -#: ../build/NEWS:25637 -msgid "" -"`bpo-21207 `__: Detect when the os." -"urandom cached fd has been closed or replaced, and open it anew." -msgstr "" - -#: ../build/NEWS:25640 -msgid "" -"`bpo-21291 `__: subprocess's Popen." -"wait() is now thread safe so that multiple threads may be calling wait() or " -"poll() on a Popen instance at the same time without losing the Popen." -"returncode value." -msgstr "" - -#: ../build/NEWS:25644 -msgid "" -"`bpo-21127 `__: Path objects can now be " -"instantiated from str subclass instances (such as ``numpy.str_``)." -msgstr "" - -#: ../build/NEWS:25647 -msgid "" -"`bpo-15002 `__: urllib.response object " -"to use _TemporaryFileWrapper (and _TemporaryFileCloser) facility. Provides a " -"better way to handle file descriptor close. Patch contributed by Christian " -"Theune." -msgstr "" - -#: ../build/NEWS:25651 -msgid "" -"`bpo-12220 `__: mindom now raises a " -"custom ValueError indicating it doesn't support spaces in URIs instead of " -"letting a 'split' ValueError bubble up." -msgstr "" - -#: ../build/NEWS:25654 -msgid "" -"`bpo-21068 `__: The ssl.PROTOCOL* " -"constants are now enum members." -msgstr "" - -#: ../build/NEWS:25656 -msgid "" -"`bpo-21276 `__: posixmodule: Don't " -"define USE_XATTRS on KFreeBSD and the Hurd." -msgstr "" - -#: ../build/NEWS:25658 -msgid "" -"`bpo-21262 `__: New method " -"assert_not_called for Mock. It raises AssertionError if the mock has been " -"called." -msgstr "" - -#: ../build/NEWS:25661 -msgid "" -"`bpo-21238 `__: New keyword argument " -"`unsafe` to Mock. It raises `AttributeError` incase of an attribute " -"startswith assert or assret." -msgstr "" - -#: ../build/NEWS:25664 -msgid "" -"`bpo-20896 `__: ssl." -"get_server_certificate() now uses PROTOCOL_SSLv23, not PROTOCOL_SSLv3, for " -"maximum compatibility." -msgstr "" - -#: ../build/NEWS:25667 -msgid "" -"`bpo-21239 `__: patch.stopall() didn't " -"work deterministically when the same name was patched more than once." -msgstr "" - -#: ../build/NEWS:25670 -msgid "" -"`bpo-21203 `__: Updated fileConfig and " -"dictConfig to remove inconsistencies. Thanks to Jure Koren for the patch." -msgstr "" - -#: ../build/NEWS:25673 -msgid "" -"`bpo-21222 `__: Passing name keyword " -"argument to mock.create_autospec now works." -msgstr "" - -#: ../build/NEWS:25676 -msgid "" -"`bpo-21197 `__: Add lib64 -> lib symlink " -"in venvs on 64-bit non-OS X POSIX." -msgstr "" - -#: ../build/NEWS:25678 -msgid "" -"`bpo-17498 `__: Some SMTP servers " -"disconnect after certain errors, violating strict RFC conformance. Instead " -"of losing the error code when we issue the subsequent RSET, smtplib now " -"returns the error code and defers raising the SMTPServerDisconnected error " -"until the next command is issued." -msgstr "" - -#: ../build/NEWS:25683 -msgid "" -"`bpo-17826 `__: setting an iterable " -"side_effect on a mock function created by create_autospec now works. Patch " -"by Kushal Das." -msgstr "" - -#: ../build/NEWS:25686 -msgid "" -"`bpo-7776 `__: Fix ``Host:`` header and " -"reconnection when using http.client.HTTPConnection.set_tunnel(). Patch by " -"Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:25689 -msgid "" -"`bpo-20968 `__: unittest.mock.MagicMock " -"now supports division. Patch by Johannes Baiter." -msgstr "" - -#: ../build/NEWS:25692 -msgid "" -"`bpo-21529 `__: Fix arbitrary memory " -"access in JSONDecoder.raw_decode with a negative second parameter. Bug " -"reported by Guido Vranken. (See also: CVE-2014-4616)" -msgstr "" - -#: ../build/NEWS:25696 -msgid "" -"`bpo-21169 `__: getpass now handles non-" -"ascii characters that the input stream encoding cannot encode by re-encoding " -"using the replace error handler." -msgstr "" - -#: ../build/NEWS:25699 -msgid "" -"`bpo-21171 `__: Fixed undocumented " -"filter API of the rot13 codec. Patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:25702 -msgid "" -"`bpo-20539 `__: Improved math.factorial " -"error message for large positive inputs and changed exception type " -"(OverflowError -> ValueError) for large negative inputs." -msgstr "" - -#: ../build/NEWS:25706 -msgid "" -"`bpo-21172 `__: isinstance check relaxed " -"from dict to collections.Mapping." -msgstr "" - -#: ../build/NEWS:25708 -msgid "" -"`bpo-21155 `__: asyncio.EventLoop." -"create_unix_server() now raises a ValueError if path and sock are specified " -"at the same time." -msgstr "" - -#: ../build/NEWS:25711 -msgid "" -"`bpo-21136 `__: Avoid unnecessary " -"normalization of Fractions resulting from power and other operations. Patch " -"by Raymond Hettinger." -msgstr "" - -#: ../build/NEWS:25714 -msgid "" -"`bpo-17621 `__: Introduce importlib.util." -"LazyLoader." -msgstr "" - -#: ../build/NEWS:25716 -msgid "" -"`bpo-21076 `__: signal module constants " -"were turned into enums. Patch by Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:25719 -msgid "" -"`bpo-20636 `__: Improved the repr of " -"Tkinter widgets." -msgstr "" - -#: ../build/NEWS:25721 -msgid "" -"`bpo-19505 `__: The items, keys, and " -"values views of OrderedDict now support reverse iteration using reversed()." -msgstr "" - -#: ../build/NEWS:25724 -msgid "" -"`bpo-21149 `__: Improved thread-safety " -"in logging cleanup during interpreter shutdown. Thanks to Devin Jeanpierre " -"for the patch." -msgstr "" - -#: ../build/NEWS:25727 -msgid "" -"`bpo-21058 `__: Fix a leak of file " -"descriptor in :func:`tempfile.NamedTemporaryFile`, close the file descriptor " -"if :func:`io.open` fails" -msgstr "" - -#: ../build/NEWS:25731 -msgid "" -"`bpo-21200 `__: Return None from pkgutil." -"get_loader() when __spec__ is missing." -msgstr "" - -#: ../build/NEWS:25733 -msgid "" -"`bpo-21013 `__: Enhance ssl." -"create_default_context() when used for server side sockets to provide better " -"security by default." -msgstr "" - -#: ../build/NEWS:25736 -msgid "" -"`bpo-20145 `__: `assertRaisesRegex` and " -"`assertWarnsRegex` now raise a TypeError if the second argument is not a " -"string or compiled regex." -msgstr "" - -#: ../build/NEWS:25739 -msgid "" -"`bpo-20633 `__: Replace relative import " -"by absolute import." -msgstr "" - -#: ../build/NEWS:25741 -msgid "" -"`bpo-20980 `__: Stop wrapping exception " -"when using ThreadPool." -msgstr "" - -#: ../build/NEWS:25743 -msgid "" -"`bpo-21082 `__: In os.makedirs, do not " -"set the process-wide umask. Note this changes behavior of makedirs when " -"exist_ok=True." -msgstr "" - -#: ../build/NEWS:25746 -msgid "" -"`bpo-20990 `__: Fix issues found by " -"pyflakes for multiprocessing." -msgstr "" - -#: ../build/NEWS:25748 -msgid "" -"`bpo-21015 `__: SSL contexts will now " -"automatically select an elliptic curve for ECDH key exchange on OpenSSL " -"1.0.2 and later, and otherwise default to \"prime256v1\"." -msgstr "" - -#: ../build/NEWS:25752 -msgid "" -"`bpo-21000 `__: Improve the command-line " -"interface of json.tool." -msgstr "" - -#: ../build/NEWS:25754 -msgid "" -"`bpo-20995 `__: Enhance default ciphers " -"used by the ssl module to enable better security and prioritize perfect " -"forward secrecy." -msgstr "" - -#: ../build/NEWS:25757 -msgid "" -"`bpo-20884 `__: Don't assume that " -"__file__ is defined on importlib.__init__." -msgstr "" - -#: ../build/NEWS:25759 -msgid "" -"`bpo-21499 `__: Ignore __builtins__ in " -"several test_importlib.test_api tests." -msgstr "" - -#: ../build/NEWS:25761 -msgid "" -"`bpo-20627 `__: xmlrpc.client." -"ServerProxy is now a context manager." -msgstr "" - -#: ../build/NEWS:25763 -msgid "" -"`bpo-19165 `__: The formatter module now " -"raises DeprecationWarning instead of PendingDeprecationWarning." -msgstr "" - -#: ../build/NEWS:25766 -msgid "" -"`bpo-13936 `__: Remove the ability of " -"datetime.time instances to be considered false in boolean contexts." -msgstr "" - -#: ../build/NEWS:25769 -msgid "" -"`bpo-18931 `__: selectors module now " -"supports /dev/poll on Solaris. Patch by Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:25772 -msgid "" -"`bpo-19977 `__: When the ``LC_TYPE`` " -"locale is the POSIX locale (``C`` locale), :py:data:`sys.stdin` and :py:data:" -"`sys.stdout` are now using the ``surrogateescape`` error handler, instead of " -"the ``strict`` error handler." -msgstr "" - -#: ../build/NEWS:25777 -msgid "" -"`bpo-20574 `__: Implement incremental " -"decoder for cp65001 code (Windows code page 65001, Microsoft UTF-8)." -msgstr "" - -#: ../build/NEWS:25780 -msgid "" -"`bpo-20879 `__: Delay the initialization " -"of encoding and decoding tables for base32, ascii85 and base85 codecs in the " -"base64 module, and delay the initialization of the unquote_to_bytes() table " -"of the urllib.parse module, to not waste memory if these modules are not " -"used." -msgstr "" - -#: ../build/NEWS:25785 -msgid "" -"`bpo-19157 `__: Include the broadcast " -"address in the usuable hosts for IPv6 in ipaddress." -msgstr "" - -#: ../build/NEWS:25788 -msgid "" -"`bpo-11599 `__: When an external command " -"(e.g. compiler) fails, distutils now prints out the whole command line " -"(instead of just the command name) if the environment variable " -"DISTUTILS_DEBUG is set." -msgstr "" - -#: ../build/NEWS:25792 -msgid "" -"`bpo-4931 `__: distutils should not " -"produce unhelpful \"error: None\" messages anymore. distutils.util." -"grok_environment_error is kept but doc-deprecated." -msgstr "" - -#: ../build/NEWS:25795 -msgid "" -"`bpo-20875 `__: Prevent possible gzip " -"\"'read' is not defined\" NameError. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:25798 -msgid "" -"`bpo-11558 `__: ``email.message.Message." -"attach`` now returns a more useful error message if ``attach`` is called on " -"a message for which ``is_multipart`` is False." -msgstr "" - -#: ../build/NEWS:25802 -msgid "" -"`bpo-20283 `__: RE pattern methods now " -"accept the string keyword parameters as documented. The pattern and source " -"keyword parameters are left as deprecated aliases." -msgstr "" - -#: ../build/NEWS:25806 -msgid "" -"`bpo-20778 `__: Fix modulefinder to work " -"with bytecode-only modules." -msgstr "" - -#: ../build/NEWS:25808 -msgid "" -"`bpo-20791 `__: copy.copy() now doesn't " -"make a copy when the input is a bytes object. Initial patch by Peter Otten." -msgstr "" - -#: ../build/NEWS:25811 -msgid "" -"`bpo-19748 `__: On AIX, time.mktime() " -"now raises an OverflowError for year outsize range [1902; 2037]." -msgstr "" - -#: ../build/NEWS:25814 -msgid "" -"`bpo-19573 `__: inspect.signature: Use " -"enum for parameter kind constants." -msgstr "" - -#: ../build/NEWS:25816 -msgid "" -"`bpo-20726 `__: inspect.signature: Make " -"Signature and Parameter picklable." -msgstr "" - -#: ../build/NEWS:25818 -msgid "" -"`bpo-17373 `__: Add inspect.Signature." -"from_callable method." -msgstr "" - -#: ../build/NEWS:25820 -msgid "" -"`bpo-20378 `__: Improve repr of inspect." -"Signature and inspect.Parameter." -msgstr "" - -#: ../build/NEWS:25822 -msgid "" -"`bpo-20816 `__: Fix inspect." -"getcallargs() to raise correct TypeError for missing keyword-only arguments. " -"Patch by Jeremiah Lowin." -msgstr "" - -#: ../build/NEWS:25825 -msgid "" -"`bpo-20817 `__: Fix inspect." -"getcallargs() to fail correctly if more than 3 arguments are missing. Patch " -"by Jeremiah Lowin." -msgstr "" - -#: ../build/NEWS:25828 -msgid "" -"`bpo-6676 `__: Ensure a meaningful " -"exception is raised when attempting to parse more than one XML document per " -"pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and " -"Amaury Forgeot d'Arc, with suggested wording by David Gutteridge)" -msgstr "" - -#: ../build/NEWS:25833 -msgid "" -"`bpo-21117 `__: Fix inspect.signature to " -"better support functools.partial. Due to the specifics of functools.partial " -"implementation, positional-or-keyword arguments passed as keyword arguments " -"become keyword-only." -msgstr "" - -#: ../build/NEWS:25838 -msgid "" -"`bpo-20334 `__: inspect.Signature and " -"inspect.Parameter are now hashable. Thanks to Antony Lee for bug reports and " -"suggestions." -msgstr "" - -#: ../build/NEWS:25841 -msgid "" -"`bpo-15916 `__: doctest.DocTestSuite " -"returns an empty unittest.TestSuite instead of raising ValueError if it " -"finds no tests" -msgstr "" - -#: ../build/NEWS:25844 -msgid "" -"`bpo-21209 `__: Fix asyncio.tasks." -"CoroWrapper to workaround a bug in yield-from implementation in CPythons " -"prior to 3.4.1." -msgstr "" - -#: ../build/NEWS:25847 -msgid "" -"asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream " -"`bpo-163 `__)." -msgstr "" - -#: ../build/NEWS:25850 -msgid "" -"`bpo-21311 `__: Avoid exception in " -"_osx_support with non-standard compiler configurations. Patch by John " -"Szakmeister." -msgstr "" - -#: ../build/NEWS:25853 -msgid "" -"`bpo-11571 `__: Ensure that the turtle " -"window becomes the topmost window when launched on OS X." -msgstr "" - -#: ../build/NEWS:25856 -msgid "" -"`bpo-21801 `__: Validate that " -"__signature__ is None or an instance of Signature." -msgstr "" - -#: ../build/NEWS:25859 -msgid "" -"`bpo-21923 `__: Prevent AttributeError " -"in distutils.sysconfig.customize_compiler due to possible uninitialized " -"_config_vars." -msgstr "" - -#: ../build/NEWS:25863 -msgid "" -"`bpo-21323 `__: Fix http.server to again " -"handle scripts in CGI subdirectories, broken by the fix for security " -"`bpo-19435 `__. Patch by Zach Byrne." -msgstr "" - -#: ../build/NEWS:25866 -msgid "" -"`bpo-22733 `__: Fix ffi_prep_args not " -"zero-extending argument values correctly on 64-bit Windows." -msgstr "" - -#: ../build/NEWS:25869 -msgid "" -"`bpo-23302 `__: Default to TCP_NODELAY=1 " -"upon establishing an HTTPConnection. Removed use of hard-coded MSS as it's " -"an optimization that's no longer needed with Nagle disabled." -msgstr "" - -#: ../build/NEWS:25876 -msgid "" -"`bpo-20577 `__: Configuration of the max " -"line length for the FormatParagraph extension has been moved from the " -"General tab of the Idle preferences dialog to the FormatParagraph tab of the " -"Config Extensions dialog. Patch by Tal Einat." -msgstr "" - -#: ../build/NEWS:25881 -msgid "" -"`bpo-16893 `__: Update Idle doc chapter " -"to match current Idle and add new information." -msgstr "" - -#: ../build/NEWS:25884 -msgid "" -"`bpo-3068 `__: Add Idle extension " -"configuration dialog to Options menu. Changes are written to HOME/.idlerc/" -"config-extensions.cfg. Original patch by Tal Einat." -msgstr "" - -#: ../build/NEWS:25888 -msgid "" -"`bpo-16233 `__: A module browser (File : " -"Class Browser, Alt+C) requires an editor window with a filename. When Class " -"Browser is requested otherwise, from a shell, output window, or 'Untitled' " -"editor, Idle no longer displays an error box. It now pops up an Open Module " -"box (Alt+M). If a valid name is entered and a module is opened, a " -"corresponding browser is also opened." -msgstr "" - -#: ../build/NEWS:25894 -msgid "" -"`bpo-4832 `__: Save As to type Python " -"files automatically adds .py to the name you enter (even if your system does " -"not display it). Some systems automatically add .txt when type is Text " -"files." -msgstr "" - -#: ../build/NEWS:25898 -msgid "" -"`bpo-21986 `__: Code objects are not " -"normally pickled by the pickle module. To match this, they are no longer " -"pickled when running under Idle." -msgstr "" - -#: ../build/NEWS:25901 -msgid "" -"`bpo-17390 `__: Adjust Editor window " -"title; remove 'Python', move version to end." -msgstr "" - -#: ../build/NEWS:25904 -msgid "" -"`bpo-14105 `__: Idle debugger " -"breakpoints no longer disappear when inserting or deleting lines." -msgstr "" - -#: ../build/NEWS:25907 -msgid "" -"`bpo-17172 `__: Turtledemo can now be " -"run from Idle. Currently, the entry is on the Help menu, but it may move to " -"Run. Patch by Ramchandra Apt and Lita Cho." -msgstr "" - -#: ../build/NEWS:25911 -msgid "" -"`bpo-21765 `__: Add support for non-" -"ascii identifiers to HyperParser." -msgstr "" - -#: ../build/NEWS:25913 -msgid "" -"`bpo-21940 `__: Add unittest for " -"WidgetRedirector. Initial patch by Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:25916 -msgid "" -"`bpo-18592 `__: Add unittest for " -"SearchDialogBase. Patch by Phil Webster." -msgstr "" - -#: ../build/NEWS:25918 -msgid "" -"`bpo-21694 `__: Add unittest for " -"ParenMatch. Patch by Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:25920 -msgid "" -"`bpo-21686 `__: add unittest for " -"HyperParser. Original patch by Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:25923 -msgid "" -"`bpo-12387 `__: Add missing " -"upper(lower)case versions of default Windows key bindings for Idle so Caps " -"Lock does not disable them. Patch by Roger Serwy." -msgstr "" - -#: ../build/NEWS:25927 -msgid "" -"`bpo-21695 `__: Closing a Find-in-files " -"output window while the search is still in progress no longer closes Idle." -msgstr "" - -#: ../build/NEWS:25930 -msgid "" -"`bpo-18910 `__: Add unittest for " -"textView. Patch by Phil Webster." -msgstr "" - -#: ../build/NEWS:25932 -msgid "" -"`bpo-18292 `__: Add unittest for " -"AutoExpand. Patch by Saihadhav Heblikar." -msgstr "" - -#: ../build/NEWS:25934 -msgid "" -"`bpo-18409 `__: Add unittest for " -"AutoComplete. Patch by Phil Webster." -msgstr "" - -#: ../build/NEWS:25936 -msgid "" -"`bpo-21477 `__: htest.py - Improve " -"framework, complete set of tests. Patches by Saimadhav Heblikar" -msgstr "" - -#: ../build/NEWS:25939 -msgid "" -"`bpo-18104 `__: Add idlelib/idle_test/" -"htest.py with a few sample tests to begin consolidating and improving human-" -"validated tests of Idle. Change other files as needed to work with htest. " -"Running the module as __main__ runs all tests." -msgstr "" - -#: ../build/NEWS:25944 -msgid "" -"`bpo-21139 `__: Change default paragraph " -"width to 72, the :pep:`8` recommendation." -msgstr "" - -#: ../build/NEWS:25947 -msgid "" -"`bpo-21284 `__: Paragraph reformat test " -"passes after user changes reformat width." -msgstr "" - -#: ../build/NEWS:25950 -msgid "" -"`bpo-17654 `__: Ensure IDLE menus are " -"customized properly on OS X for non-framework builds and for all variants of " -"Tk." -msgstr "" - -#: ../build/NEWS:25953 -msgid "" -"`bpo-23180 `__: Rename IDLE \"Windows\" " -"menu item to \"Window\". Patch by Al Sweigart." -msgstr "" - -#: ../build/NEWS:25959 -msgid "" -"`bpo-15506 `__: Use standard " -"PKG_PROG_PKG_CONFIG autoconf macro in the configure script." -msgstr "" - -#: ../build/NEWS:25962 -msgid "" -"`bpo-22935 `__: Allow the ssl module to " -"be compiled if openssl doesn't support SSL 3." -msgstr "" - -#: ../build/NEWS:25965 -msgid "" -"`bpo-22592 `__: Drop support of the " -"Borland C compiler to build Python. The distutils module still supports it " -"to build extensions." -msgstr "" - -#: ../build/NEWS:25968 -msgid "" -"`bpo-22591 `__: Drop support of MS-DOS, " -"especially of the DJGPP compiler (MS-DOS port of GCC)." -msgstr "" - -#: ../build/NEWS:25971 -msgid "" -"`bpo-16537 `__: Check whether self." -"extensions is empty in setup.py. Patch by Jonathan Hosmer." -msgstr "" - -#: ../build/NEWS:25974 -msgid "" -"`bpo-22359 `__: Remove incorrect uses of " -"recursive make. Patch by Jonas Wagner." -msgstr "" - -#: ../build/NEWS:25977 -msgid "" -"`bpo-21958 `__: Define HAVE_ROUND when " -"building with Visual Studio 2013 and above. Patch by Zachary Turner." -msgstr "" - -#: ../build/NEWS:25980 -msgid "" -"`bpo-18093 `__: the programs that embed " -"the CPython runtime are now in a separate \"Programs\" directory, rather " -"than being kept in the Modules directory." -msgstr "" - -#: ../build/NEWS:25984 -msgid "" -"`bpo-15759 `__: \"make suspicious\", " -"\"make linkcheck\" and \"make doctest\" in Doc/ now display special message " -"when and only when there are failures." -msgstr "" - -#: ../build/NEWS:25987 -msgid "" -"`bpo-21141 `__: The Windows build " -"process no longer attempts to find Perl, instead relying on OpenSSL source " -"being configured and ready to build. The ``PCbuild\\build_ssl.py`` script " -"has been re-written and re-named to ``PCbuild\\prepare_ssl.py``, and takes " -"care of configuring OpenSSL source for both 32 and 64 bit platforms. " -"OpenSSL sources obtained from svn.python.org will always be pre-configured " -"and ready to build." -msgstr "" - -#: ../build/NEWS:25994 -msgid "" -"`bpo-21037 `__: Add a build option to " -"enable AddressSanitizer support." -msgstr "" - -#: ../build/NEWS:25996 -msgid "" -"`bpo-19962 `__: The Windows build " -"process now creates \"python.bat\" in the root of the source tree, which " -"passes all arguments through to the most recently built interpreter." -msgstr "" - -#: ../build/NEWS:26000 -msgid "" -"`bpo-21285 `__: Refactor and fix curses " -"configure check to always search in a ncursesw directory." -msgstr "" - -#: ../build/NEWS:26003 -msgid "" -"`bpo-15234 `__: For BerkeleyDB and " -"Sqlite, only add the found library and include directories if they aren't " -"already being searched. This avoids an explicit runtime library dependency." -msgstr "" - -#: ../build/NEWS:26007 -msgid "" -"`bpo-17861 `__: Tools/scripts/" -"generate_opcode_h.py automatically regenerates Include/opcode.h from Lib/" -"opcode.py if the latter gets any change." -msgstr "" - -#: ../build/NEWS:26010 -msgid "" -"`bpo-20644 `__: OS X installer build " -"support for documentation build changes in 3.4.1: assume externally supplied " -"sphinx-build is available in /usr/bin." -msgstr "" - -#: ../build/NEWS:26013 -msgid "" -"`bpo-20022 `__: Eliminate use of " -"deprecated bundlebuilder in OS X builds." -msgstr "" - -#: ../build/NEWS:26015 -msgid "" -"`bpo-15968 `__: Incorporated Tcl, Tk, " -"and Tix builds into the Windows build solution." -msgstr "" - -#: ../build/NEWS:26018 -msgid "" -"`bpo-17095 `__: Fix Modules/Setup " -"*shared* support." -msgstr "" - -#: ../build/NEWS:26020 -msgid "" -"`bpo-21811 `__: Anticipated fixes to " -"support OS X versions > 10.9." -msgstr "" - -#: ../build/NEWS:26022 -msgid "" -"`bpo-21166 `__: Prevent possible " -"segfaults and other random failures of python --generate-posix-vars in " -"pybuilddir.txt build target." -msgstr "" - -#: ../build/NEWS:26025 -msgid "" -"`bpo-18096 `__: Fix library order " -"returned by python-config." -msgstr "" - -#: ../build/NEWS:26027 -msgid "" -"`bpo-17219 `__: Add library build dir " -"for Python extension cross-builds." -msgstr "" - -#: ../build/NEWS:26029 -msgid "" -"`bpo-22919 `__: Windows build updated to " -"support VC 14.0 (Visual Studio 2015), which will be used for the official " -"release." -msgstr "" - -#: ../build/NEWS:26032 -msgid "" -"`bpo-21236 `__: Build _msi.pyd with " -"cabinet.lib instead of fci.lib" -msgstr "" - -#: ../build/NEWS:26034 -msgid "" -"`bpo-17128 `__: Use private version of " -"OpenSSL for OS X 10.5+ installer." -msgstr "" - -#: ../build/NEWS:26039 -msgid "" -"`bpo-14203 `__: Remove obsolete support " -"for view==NULL in PyBuffer_FillInfo(), bytearray_getbuffer(), " -"bytesiobuf_getbuffer() and array_buffer_getbuf(). All functions now raise " -"BufferError in that case." -msgstr "" - -#: ../build/NEWS:26043 -msgid "" -"`bpo-22445 `__: PyBuffer_IsContiguous() " -"now implements precise contiguity tests, compatible with NumPy's " -"NPY_RELAXED_STRIDES_CHECKING compilation flag. Previously the function " -"reported false negatives for corner cases." -msgstr "" - -#: ../build/NEWS:26047 -msgid "" -"`bpo-22079 `__: PyType_Ready() now " -"checks that statically allocated type has no dynamically allocated bases." -msgstr "" - -#: ../build/NEWS:26050 -msgid "" -"`bpo-22453 `__: Removed non-documented " -"macro PyObject_REPR()." -msgstr "" - -#: ../build/NEWS:26052 -msgid "" -"`bpo-18395 `__: Rename " -"``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename " -"``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these " -"functions." -msgstr "" - -#: ../build/NEWS:26056 -msgid "" -"`bpo-21233 `__: Add new C functions: " -"PyMem_RawCalloc(), PyMem_Calloc(), PyObject_Calloc(), _PyObject_GC_Calloc(). " -"bytes(int) is now using ``calloc()`` instead of ``malloc()`` for large " -"objects which is faster and use less memory." -msgstr "" - -#: ../build/NEWS:26061 -msgid "" -"`bpo-20942 `__: " -"PyImport_ImportFrozenModuleObject() no longer sets __file__ to match what " -"importlib does; this affects _frozen_importlib as well as any module loaded " -"using imp.init_frozen()." -msgstr "" - -#: ../build/NEWS:26068 -msgid "" -"`bpo-19548 `__: Update the codecs module " -"documentation to better cover the distinction between text encodings and " -"other codecs, together with other clarifications. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:26072 -msgid "" -"`bpo-22394 `__: Doc/Makefile now " -"supports ``make venv PYTHON=../python`` to create a venv for generating the " -"documentation, e.g., ``make html PYTHON=venv/bin/python3``." -msgstr "" - -#: ../build/NEWS:26076 -msgid "" -"`bpo-21514 `__: The documentation of the " -"json module now refers to new JSON RFC 7159 instead of obsoleted RFC 4627." -msgstr "" - -#: ../build/NEWS:26079 -msgid "" -"`bpo-21777 `__: The binary sequence " -"methods on bytes and bytearray are now documented explicitly, rather than " -"assuming users will be able to derive the expected behaviour from the " -"behaviour of the corresponding str methods." -msgstr "" - -#: ../build/NEWS:26084 -msgid "" -"`bpo-6916 `__: undocument deprecated " -"asynchat.fifo class." -msgstr "" - -#: ../build/NEWS:26086 -msgid "" -"`bpo-17386 `__: Expanded functionality " -"of the ``Doc/make.bat`` script to make it much more comparable to ``Doc/" -"Makefile``." -msgstr "" - -#: ../build/NEWS:26089 -msgid "" -"`bpo-21312 `__: Update the thread_foobar." -"h template file to include newer threading APIs. Patch by Jack McCracken." -msgstr "" - -#: ../build/NEWS:26092 -msgid "" -"`bpo-21043 `__: Remove the " -"recommendation for specific CA organizations and to mention the ability to " -"load the OS certificates." -msgstr "" - -#: ../build/NEWS:26095 -msgid "" -"`bpo-20765 `__: Add missing " -"documentation for PurePath.with_name() and PurePath.with_suffix()." -msgstr "" - -#: ../build/NEWS:26098 -msgid "" -"`bpo-19407 `__: New package installation " -"and distribution guides based on the Python Packaging Authority tools. " -"Existing guides have been retained as legacy links from the distutils docs, " -"as they still contain some required reference material for tool developers " -"that isn't recorded anywhere else." -msgstr "" - -#: ../build/NEWS:26103 -msgid "" -"`bpo-19697 `__: Document cases where " -"__main__.__spec__ is None." -msgstr "" - -#: ../build/NEWS:26108 -msgid "" -"`bpo-18982 `__: Add tests for CLI of the " -"calendar module." -msgstr "" - -#: ../build/NEWS:26110 -msgid "" -"`bpo-19548 `__: Added some additional " -"checks to test_codecs to ensure that statements in the updated documentation " -"remain accurate. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:26114 -msgid "" -"`bpo-22838 `__: All test_re tests now " -"work with unittest test discovery." -msgstr "" - -#: ../build/NEWS:26116 -msgid "" -"`bpo-22173 `__: Update lib2to3 tests to " -"use unittest test discovery." -msgstr "" - -#: ../build/NEWS:26118 -msgid "" -"`bpo-16000 `__: Convert test_curses to " -"use unittest." -msgstr "" - -#: ../build/NEWS:26120 -msgid "" -"`bpo-21456 `__: Skip two tests in " -"test_urllib2net.py if _ssl module not present. Patch by Remi Pointel." -msgstr "" - -#: ../build/NEWS:26123 -msgid "" -"`bpo-20746 `__: Fix test_pdb to run in " -"refleak mode (-R). Patch by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:26126 -msgid "" -"`bpo-22060 `__: test_ctypes has been " -"somewhat cleaned up and simplified; it now uses unittest test discovery to " -"find its tests." -msgstr "" - -#: ../build/NEWS:26129 -msgid "" -"`bpo-22104 `__: regrtest.py no longer " -"holds a reference to the suite of tests loaded from test modules that don't " -"define test_main()." -msgstr "" - -#: ../build/NEWS:26132 -msgid "" -"`bpo-22111 `__: Assorted cleanups in " -"test_imaplib. Patch by Milan Oberkirch." -msgstr "" - -#: ../build/NEWS:26134 -msgid "" -"`bpo-22002 `__: Added " -"``load_package_tests`` function to test.support and used it to implement/" -"augment test discovery in test_asyncio, test_email, test_importlib, " -"test_json, and test_tools." -msgstr "" - -#: ../build/NEWS:26138 -msgid "" -"`bpo-21976 `__: Fix test_ssl to accept " -"LibreSSL version strings. Thanks to William Orr." -msgstr "" - -#: ../build/NEWS:26141 -msgid "" -"`bpo-21918 `__: Converted test_tools " -"from a module to a package containing separate test files for each tested " -"script." -msgstr "" - -#: ../build/NEWS:26144 -msgid "" -"`bpo-9554 `__: Use modern unittest " -"features in test_argparse. Initial patch by Denver Coneybeare and Radu " -"Voicilas." -msgstr "" - -#: ../build/NEWS:26147 -msgid "" -"`bpo-20155 `__: Changed HTTP method " -"names in failing tests in test_httpservers so that packet filtering software " -"(specifically Windows Base Filtering Engine) does not interfere with the " -"transaction semantics expected by the tests." -msgstr "" - -#: ../build/NEWS:26152 -msgid "" -"`bpo-19493 `__: Refactored the ctypes " -"test package to skip tests explicitly rather than silently." -msgstr "" - -#: ../build/NEWS:26155 -msgid "" -"`bpo-18492 `__: All resources are now " -"allowed when tests are not run by regrtest.py." -msgstr "" - -#: ../build/NEWS:26158 -msgid "" -"`bpo-21634 `__: Fix pystone micro-" -"benchmark: use floor division instead of true division to benchmark integers " -"instead of floating point numbers. Set pystone version to 1.2. Patch written " -"by Lennart Regebro." -msgstr "" - -#: ../build/NEWS:26162 -msgid "" -"`bpo-21605 `__: Added tests for Tkinter " -"images." -msgstr "" - -#: ../build/NEWS:26164 -msgid "" -"`bpo-21493 `__: Added test for ntpath." -"expanduser(). Original patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:26167 -msgid "" -"`bpo-19925 `__: Added tests for the spwd " -"module. Original patch by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:26170 -msgid "" -"`bpo-21522 `__: Added Tkinter tests for " -"Listbox.itemconfigure(), PanedWindow.paneconfigure(), and Menu." -"entryconfigure()." -msgstr "" - -#: ../build/NEWS:26173 -msgid "" -"`bpo-17756 `__: Fix test_code test when " -"run from the installed location." -msgstr "" - -#: ../build/NEWS:26175 -msgid "" -"`bpo-17752 `__: Fix distutils tests when " -"run from the installed location." -msgstr "" - -#: ../build/NEWS:26177 -msgid "" -"`bpo-18604 `__: Consolidated checks for " -"GUI availability. All platforms now at least check whether Tk can be " -"instantiated when the GUI resource is requested." -msgstr "" - -#: ../build/NEWS:26181 -msgid "" -"`bpo-21275 `__: Fix a socket test on " -"KFreeBSD." -msgstr "" - -#: ../build/NEWS:26183 -msgid "" -"`bpo-21223 `__: Pass test_site/" -"test_startup_imports when some of the extensions are built as builtins." -msgstr "" - -#: ../build/NEWS:26186 -msgid "" -"`bpo-20635 `__: Added tests for Tk " -"geometry managers." -msgstr "" - -#: ../build/NEWS:26188 -msgid "Add test case for freeze." -msgstr "" - -#: ../build/NEWS:26190 -msgid "" -"`bpo-20743 `__: Fix a reference leak in " -"test_tcl." -msgstr "" - -#: ../build/NEWS:26192 -msgid "" -"`bpo-21097 `__: Move test_namespace_pkgs " -"into test_importlib." -msgstr "" - -#: ../build/NEWS:26194 -msgid "" -"`bpo-21503 `__: Use test_both() " -"consistently in test_importlib." -msgstr "" - -#: ../build/NEWS:26196 -msgid "" -"`bpo-20939 `__: Avoid various network " -"test failures due to new redirect of http://www.python.org/ to https://www." -"python.org: use http://www.example.com instead." -msgstr "" - -#: ../build/NEWS:26200 -msgid "" -"`bpo-20668 `__: asyncio tests no longer " -"rely on tests.txt file. (Patch by Vajrasky Kok)" -msgstr "" - -#: ../build/NEWS:26203 -msgid "" -"`bpo-21093 `__: Prevent failures of " -"ctypes test_macholib on OS X if a copy of libz exists in $HOME/lib or /usr/" -"local/lib." -msgstr "" - -#: ../build/NEWS:26206 -msgid "" -"`bpo-22770 `__: Prevent some Tk " -"segfaults on OS X when running gui tests." -msgstr "" - -#: ../build/NEWS:26208 -msgid "" -"`bpo-23211 `__: Workaround test_logging " -"failure on some OS X 10.6 systems." -msgstr "" - -#: ../build/NEWS:26210 -msgid "" -"`bpo-23345 `__: Prevent test_ssl " -"failures with large OpenSSL patch level values (like 0.9.8zc)." -msgstr "" - -#: ../build/NEWS:26216 -msgid "" -"`bpo-22314 `__: pydoc now works when the " -"LINES environment variable is set." -msgstr "" - -#: ../build/NEWS:26218 -msgid "" -"`bpo-22615 `__: Argument Clinic now " -"supports the \"type\" argument for the int converter. This permits using the " -"int converter with enums and typedefs." -msgstr "" - -#: ../build/NEWS:26221 -msgid "" -"`bpo-20076 `__: The makelocalealias.py " -"script no longer ignores UTF-8 mapping." -msgstr "" - -#: ../build/NEWS:26223 -msgid "" -"`bpo-20079 `__: The makelocalealias.py " -"script now can parse the SUPPORTED file from glibc sources and supports " -"command line options for source paths." -msgstr "" - -#: ../build/NEWS:26226 -msgid "" -"`bpo-22201 `__: Command-line interface " -"of the zipfile module now correctly extracts ZIP files with directory " -"entries. Patch by Ryan Wilson." -msgstr "" - -#: ../build/NEWS:26229 -msgid "" -"`bpo-22120 `__: For functions using an " -"unsigned integer return converter, Argument Clinic now generates a cast to " -"that type for the comparison to -1 in the generated code. (This suppresses " -"a compilation warning.)" -msgstr "" - -#: ../build/NEWS:26233 -msgid "" -"`bpo-18974 `__: Tools/scripts/diff.py " -"now uses argparse instead of optparse." -msgstr "" - -#: ../build/NEWS:26235 -msgid "" -"`bpo-21906 `__: Make Tools/scripts/" -"md5sum.py work in Python 3. Patch by Zachary Ware." -msgstr "" - -#: ../build/NEWS:26238 -msgid "" -"`bpo-21629 `__: Fix Argument Clinic's " -"\"--converters\" feature." -msgstr "" - -#: ../build/NEWS:26240 -msgid "Add support for ``yield from`` to 2to3." -msgstr "" - -#: ../build/NEWS:26242 -msgid "Add support for the :pep:`465` matrix multiplication operator to 2to3." -msgstr "" - -#: ../build/NEWS:26244 -msgid "" -"`bpo-16047 `__: Fix module exception " -"list and __file__ handling in freeze. Patch by Meador Inge." -msgstr "" - -#: ../build/NEWS:26247 -msgid "" -"`bpo-11824 `__: Consider ABI tags in " -"freeze. Patch by Meador Inge." -msgstr "" - -#: ../build/NEWS:26249 -msgid "" -"`bpo-20535 `__: PYTHONWARNING no longer " -"affects the run_tests.py script. Patch by Arfrever Frehtes Taifersar " -"Arahesis." -msgstr "" - -#: ../build/NEWS:26255 -msgid "" -"`bpo-23260 `__: Update Windows installer" -msgstr "" - -#: ../build/NEWS:26257 -msgid "" -"The bundled version of Tcl/Tk has been updated to 8.6.3. The most visible " -"result of this change is the addition of new native file dialogs when " -"running on Windows Vista or newer. See Tcl/Tk's TIP 432 for more " -"information. Also, this version of Tcl/Tk includes support for Windows 10." -msgstr "" - -#: ../build/NEWS:26263 -msgid "" -"`bpo-17896 `__: The Windows build " -"scripts now expect external library sources to be in ``PCbuild\\.." -"\\externals`` rather than ``PCbuild\\..\\..``." -msgstr "" - -#: ../build/NEWS:26266 -msgid "" -"`bpo-17717 `__: The Windows build " -"scripts now use a copy of NASM pulled from svn.python.org to build OpenSSL." -msgstr "" - -#: ../build/NEWS:26269 -msgid "" -"`bpo-21907 `__: Improved the batch " -"scripts provided for building Python." -msgstr "" - -#: ../build/NEWS:26271 -msgid "" -"`bpo-22644 `__: The bundled version of " -"OpenSSL has been updated to 1.0.1j." -msgstr "" - -#: ../build/NEWS:26273 -msgid "" -"`bpo-10747 `__: Use versioned labels in " -"the Windows start menu. Patch by Olive Kilburn." -msgstr "" - -#: ../build/NEWS:26276 -msgid "" -"`bpo-22980 `__: .pyd files with a " -"version and platform tag (for example, \".cp35-win32.pyd\") will now be " -"loaded in preference to those without tags." -msgstr "" - -#: ../build/NEWS:26280 -msgid "**(For information about older versions, consult the HISTORY file.)**" -msgstr "" +#~ msgid "IDLE" +#~ msgstr "IDLE"