From bce308dc9bc90e494f5557bf61a781e699ca629c Mon Sep 17 00:00:00 2001 From: Yannick Gingras <169930+ygingras@users.noreply.github.com> Date: Tue, 26 Apr 2022 02:43:01 -0600 Subject: [PATCH] Traduction partielle de whatsnew/3.11.po (#1852) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Premier jet sur la traduction du What's New de 3.11 * Seconde partie de la traduction du What's New de 3.11 * 3e jet pour la traduction du What's New de 3.11 * Intégration des commentaires des relecteurs Co-authored-by: Jean-Michel Laprise Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com> * rewrap de whatsnew/3.11.po Co-authored-by: Jean-Michel Laprise Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com> --- whatsnew/3.11.po | 192 ++++++++++++++++++++++++++++++++++------------- 1 file changed, 139 insertions(+), 53 deletions(-) diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index abf4ffc6..15a3b335 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -3,22 +3,24 @@ # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-03-23 18:39+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2022-04-17 06:51-0600\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Last-Translator: Yannick Gingras \n" +"Language-Team: \n" +"Language: fr\n" +"X-Generator: Poedit 3.0\n" #: whatsnew/3.11.rst:3 msgid "What's New In Python 3.11" -msgstr "" +msgstr "Les nouveautés de Python 3.11" #: whatsnew/3.11.rst:0 msgid "Release" @@ -30,7 +32,7 @@ msgstr "" #: whatsnew/3.11.rst:0 msgid "Date" -msgstr "" +msgstr "Date" #: whatsnew/3.11.rst:6 msgid "|today|" @@ -40,10 +42,13 @@ msgstr "" msgid "" "This article explains the new features in Python 3.11, compared to 3.10." msgstr "" +"Cet article explique les nouvelles fonctionnalités de Python 3.11 par " +"rapport à la version 3.10." #: whatsnew/3.11.rst:50 msgid "For full details, see the :ref:`changelog `." msgstr "" +"Pour plus de détails, voir le :ref:`journal des modifications `." #: whatsnew/3.11.rst:54 msgid "" @@ -54,41 +59,48 @@ msgstr "" #: whatsnew/3.11.rst:60 msgid "Summary -- Release highlights" -msgstr "" +msgstr "Résumé – Points forts de la publication" #: whatsnew/3.11.rst:68 msgid "New syntax features:" -msgstr "" +msgstr "Nouvelles fonctionnalités de syntaxe :" #: whatsnew/3.11.rst:70 msgid "" ":pep:`654`: Exception Groups and ``except*``. (Contributed by Irit Katriel " "in :issue:`45292`.)" msgstr "" +":pep:`654` : Groupes d'exceptions et instruction ``except*`` (contribution " +"d'*Irit Katriel* dans :issue:`45292`)." #: whatsnew/3.11.rst:73 msgid "New typing features:" -msgstr "" +msgstr "Nouvelles fonctionnalités de typage :" #: whatsnew/3.11.rst:75 msgid "" ":pep:`673`: ``Self`` Type. (Contributed by James Hilton-Balfe and Pradeep " "Kumar in :issue:`30924`.)" msgstr "" +":pep:`673` : Type ``Self`` (contribution de *James Hilton-Balfe* et de " +"*Pradeep Kumar* dans :issue:`30924`)." #: whatsnew/3.11.rst:793 msgid "New Features" -msgstr "" +msgstr "Nouvelles fonctionnalités" #: whatsnew/3.11.rst:84 msgid "Enhanced error locations in tracebacks" -msgstr "" +msgstr "Amélioration de l'emplacement des erreurs dans les traces d'appels" #: whatsnew/3.11.rst:86 msgid "" "When printing tracebacks, the interpreter will now point to the exact " "expression that caused the error instead of just the line. For example:" msgstr "" +"Au moment d'afficher une trace d'appels, l'interpréteur indique maintenant " +"quelle est l'expression exacte qui a causé l'erreur plutôt que seulement la " +"ligne. Par exemple :" #: whatsnew/3.11.rst:100 msgid "" @@ -97,16 +109,22 @@ msgid "" "helpful when dealing with deeply nested dictionary objects and multiple " "function calls," msgstr "" +"Les versions précédentes de l'interpréteur indiquaient uniquement la ligne, " +"ce qui rendait ambigu quel objet était ``None``. Les messages d'erreurs " +"améliorés sont aussi utiles quand on travaille avec des objets dictionnaires " +"fortement imbriqués et des appels de fonction multiples," #: whatsnew/3.11.rst:121 msgid "as well as complex arithmetic expressions:" -msgstr "" +msgstr "de même qu'avec les expressions arithmétiques complexes :" #: whatsnew/3.11.rst:155 msgid "" "See :pep:`657` for more details. (Contributed by Pablo Galindo, Batuhan " "Taskaya and Ammar Askar in :issue:`43950`.)" msgstr "" +"Voir la :pep:`657` pour plus de détails (contribution de *Pablo Galindo*, " +"*Batuhan Taskaya* et *Ammar Askar* dans :issue:`43950`)." #: whatsnew/3.11.rst:135 msgid "" @@ -120,7 +138,7 @@ msgstr "" #: whatsnew/3.11.rst:143 msgid "Column information for code objects" -msgstr "" +msgstr "Information de colonnes pour les objets code" #: whatsnew/3.11.rst:145 msgid "" @@ -128,24 +146,30 @@ msgid "" "a general API that can be used to correlate bytecode instructions with " "source code. This information can be retrieved using:" msgstr "" +"L'information utilisée par les traces d'appels améliorées est aussi " +"disponible dans une API générale qui peut être utilisée pour corréler des " +"instructions de code intermédiaire avec le code source. Cette information " +"peut être récupérée en utilisant :" #: whatsnew/3.11.rst:149 msgid "The :meth:`codeobject.co_positions` method in Python." -msgstr "" +msgstr "la méthode :meth:`codeobject.co_positions` en Python ;" #: whatsnew/3.11.rst:150 msgid "The :c:func:`PyCode_Addr2Location` function in the C-API." -msgstr "" +msgstr "la fonction :c:func:`PyCode_Addr2Location` dans l'API C." #: whatsnew/3.11.rst:152 msgid "" "The :option:`-X` ``no_debug_ranges`` option and the environment variable :" "envvar:`PYTHONNODEBUGRANGES` can be used to disable this feature." msgstr "" +"L'option :option:`-X` ``no_debug_ranges`` et la variable d'environnement :" +"envvar:`PYTHONNODEBUGRANGES` permettent de désactiver cette fonctionnalité." #: whatsnew/3.11.rst:159 msgid "Exceptions can be enriched with a string ``__note__``" -msgstr "" +msgstr "Les exceptions peuvent être enrichies avec une chaîne ``__note__``" #: whatsnew/3.11.rst:161 msgid "" @@ -153,10 +177,14 @@ msgid "" "default but can be set to a string which is added to the exception's " "traceback. (Contributed by Irit Katriel in :issue:`45607`.)" msgstr "" +"Le champ ``__note__`` a été ajouté à :exc:`BaseException`. Il est ``None`` " +"par défaut, mais il peut être affecté à une chaîne qui est alors ajoutée à " +"la trace d'appel de l'exception (contribution d'*Irit Katriel* dans :issue:" +"`45607`)." #: whatsnew/3.11.rst:166 msgid "Other Language Changes" -msgstr "" +msgstr "Autres changements au langage" #: whatsnew/3.11.rst:168 msgid "" @@ -191,7 +219,7 @@ msgstr "" #: whatsnew/3.11.rst:190 msgid "Other CPython Implementation Changes" -msgstr "" +msgstr "Autres changements à l'implémentation de CPython" #: whatsnew/3.11.rst:192 msgid "" @@ -237,21 +265,23 @@ msgstr "" #: whatsnew/3.11.rst:220 msgid "New Modules" -msgstr "" +msgstr "Nouveaux modules" #: whatsnew/3.11.rst:222 msgid "" "A new module, :mod:`tomllib`, was added for parsing TOML. (Contributed by " "Taneli Hukkinen in :issue:`40059`.)" msgstr "" +"Un nouveau module :mod:`tomllib` a été ajouté pour faire l'analyse du format " +"*TOML* (contribution de *Taneli Hukkinen* dans :issue:`40059`)." #: whatsnew/3.11.rst:227 msgid "Improved Modules" -msgstr "" +msgstr "Modules améliorés" #: whatsnew/3.11.rst:230 msgid "asyncio" -msgstr "" +msgstr "``asyncio``" #: whatsnew/3.11.rst:232 msgid "" @@ -263,13 +293,16 @@ msgstr "" #: whatsnew/3.11.rst:239 msgid "fractions" -msgstr "" +msgstr "``fractions``" #: whatsnew/3.11.rst:241 msgid "" "Support :PEP:`515`-style initialization of :class:`~fractions.Fraction` from " "string. (Contributed by Sergey B Kirpichev in :issue:`44258`.)" msgstr "" +"Prise en charge de l'initialisation de :class:`~fractions.Fraction` à partir " +"d'une chaîne suivant le style de la :PEP:`515` (contribution de *Sergey B " +"Kirpichev* dans :issue:`44258`)." #: whatsnew/3.11.rst:244 msgid "" @@ -277,20 +310,25 @@ msgid "" "an ``isinstance(some_fraction, typing.SupportsInt)`` check passes. " "(Contributed by Mark Dickinson in :issue:`44547`.)" msgstr "" +":class:`~fractions.Fraction` implémente maintenant la méthode ``__int__``, " +"ce qui permet au test ``isinstance(ma_fraction, typing.SupportsInt)`` de " +"passer avec succès (contribution de *Mark Dickinson* dans :issue:`44547`)." #: whatsnew/3.11.rst:250 msgid "IDLE and idlelib" -msgstr "" +msgstr "``IDLE`` et ``idlelib``" #: whatsnew/3.11.rst:252 msgid "" "Apply syntax highlighting to `.pyi` files. (Contributed by Alex Waygood and " "Terry Jan Reedy in :issue:`45447`.)" msgstr "" +"Fait la coloration syntaxique des fichiers `.pyi` (contribution d'*Alex " +"Waygood* et de *Terry Jan Reedy* dans :issue:`45447`)." #: whatsnew/3.11.rst:256 msgid "inspect" -msgstr "" +msgstr "``inspect``" #: whatsnew/3.11.rst:257 msgid "" @@ -298,6 +336,9 @@ msgid "" "dynamic lookup via the descriptor protocol. (Contributed by Weipeng Hong in :" "issue:`30533`.)" msgstr "" +"Ajout de :func:`inspect.getmembers_static` : renvoie tous les membres sans " +"invoquer la recherche dynamique du protocole des descripteurs (contribution " +"de *Weipeng Hong* dans :issue:`30533`)." #: whatsnew/3.11.rst:261 msgid "" @@ -305,22 +346,29 @@ msgid "" "a :class:`~types.MethodWrapperType`. (Contributed by Hakan Çelik in :issue:" "`29418`.)" msgstr "" +"Ajout de :func:`inspect.ismethodwrapper` pour vérifier si le type d'un objet " +"est un :class:`~types.MethodWrapperType` (contribution de *Hakan Çelik* " +"dans :issue:`29418`)." #: whatsnew/3.11.rst:265 msgid "math" -msgstr "" +msgstr "``math``" #: whatsnew/3.11.rst:267 msgid "" "Add :func:`math.exp2`: return 2 raised to the power of x. (Contributed by " "Gideon Mitchell in :issue:`45917`.)" msgstr "" +"Ajout de :func:`math.exp2` : renvoie 2 élevé à la puissance ``x`` " +"(contribution de *Gideon Mitchell* dans :issue:`45917`)." #: whatsnew/3.11.rst:270 msgid "" "Add :func:`math.cbrt`: return the cube root of x. (Contributed by Ajith " "Ramachandran in :issue:`44357`.)" msgstr "" +"Ajout de :func:`math.cbrt` : renvoie la racine cubique de ``x`` " +"(contribution d'*Ajith Ramachandran* dans :issue:`44357`)." #: whatsnew/3.11.rst:273 msgid "" @@ -330,16 +378,23 @@ msgid "" "they raised :exc:`ValueError`. (Contributed by Mark Dickinson in :issue:" "`44339`.)" msgstr "" +"Le comportement de :func:`math.pow` dans deux cas particuliers a été changé " +"pour être cohérent avec la spécification *IEEE 754*. Les opérations ``math." +"pow(0.0, -math.inf)`` et ``math.pow(-0.0, -math.inf)`` renvoient maintenant " +"``inf``. Elles levaient précédemment :exc:`ValueError` (contribution de " +"*Mark Dickinson* dans :issue:`44339`)." #: whatsnew/3.11.rst:279 msgid "" "The :data:`math.nan` value is now always available. (Contributed by Victor " "Stinner in :issue:`46917`.)" msgstr "" +"La valeur :data:`math.nan` est maintenant toujours disponible (contribution " +"de *Victor Stinner* dans :issue:`46917`)." #: whatsnew/3.11.rst:284 msgid "operator" -msgstr "" +msgstr "``operator``" #: whatsnew/3.11.rst:286 msgid "" @@ -350,7 +405,7 @@ msgstr "" #: whatsnew/3.11.rst:292 msgid "os" -msgstr "" +msgstr "``os``" #: whatsnew/3.11.rst:294 msgid "" @@ -358,10 +413,13 @@ msgid "" "``CryptGenRandom()`` which is deprecated. (Contributed by Dong-hee Na in :" "issue:`44611`.)" msgstr "" +"Sur Windows, :func:`os.urandom` utilise maintenant ``BCryptGenRandom()``, " +"plutôt que ``CryptGenRandom()`` qui est obsolète (contribution de *Dong-hee " +"Na* dans :issue:`44611`)." #: whatsnew/3.11.rst:299 msgid "re" -msgstr "" +msgstr "``re``" #: whatsnew/3.11.rst:301 msgid "" @@ -369,20 +427,26 @@ msgid "" "+``, ``{m,n}+``) are now supported in regular expressions. (Contributed by " "Jeffrey C. Jacobs and Serhiy Storchaka in :issue:`433030`.)" msgstr "" +"Le groupement atomique (``(?>...)``) et les quantificateurs possessifs (``*" +"+``, ``++``, ``?+``, ``{m,n}+``) sont maintenant pris en charge dans les " +"expressions régulières (contribution de *Jeffrey C. Jacobs* et de *Serhiy " +"Storchaka* dans :issue:`433030`)." #: whatsnew/3.11.rst:306 msgid "shutil" -msgstr "" +msgstr "``shutils``" #: whatsnew/3.11.rst:308 msgid "" "Add optional parameter *dir_fd* in :func:`shutil.rmtree`. (Contributed by " "Serhiy Storchaka in :issue:`46245`.)" msgstr "" +"Ajout du paramètre optionnel *dir_fd* dans :func:`shutil.rmtree` " +"(contribution de *Serhiy Storchaka* dans :issue:`46245`)." #: whatsnew/3.11.rst:313 msgid "socket" -msgstr "" +msgstr "``socket``" #: whatsnew/3.11.rst:315 msgid "" @@ -392,7 +456,7 @@ msgstr "" #: whatsnew/3.11.rst:320 msgid "sqlite3" -msgstr "" +msgstr "``sqlite3``" #: whatsnew/3.11.rst:322 msgid "" @@ -424,6 +488,10 @@ msgid "" "limits by connection basis. (Contributed by Erlend E. Aasland in :issue:" "`45243`.)" msgstr "" +"Ajout des méthodes :meth:`~sqlite3.Connection.setlimit` et :meth:`~sqlite3." +"Connection.getlimit` à la classe :class:`sqlite3.Connection` pour affecter " +"et demander les limites de *SQLite* pour une connexion (contribution " +"d'*Erlend E. Aasland* dans :issue:`45243`)." #: whatsnew/3.11.rst:342 msgid "" @@ -431,6 +499,10 @@ msgid "" "threading mode the underlying SQLite library has been compiled with. " "(Contributed by Erlend E. Aasland in :issue:`45613`.)" msgstr "" +":mod:`sqlite3` affecte maintenant :attr:`sqlite3.threadsafety` selon le mode " +"d'exécution à fils multiples (*threading* en anglais) par défaut qui a été " +"compilé dans la bibliothèque *SQLite* sous-jacente (contribution d'*Erlend " +"E. Aasland* dans :issue:`45613`)." #: whatsnew/3.11.rst:346 msgid "" @@ -449,7 +521,7 @@ msgstr "" #: whatsnew/3.11.rst:358 msgid "sys" -msgstr "" +msgstr "``sys``" #: whatsnew/3.11.rst:360 msgid "" @@ -466,10 +538,13 @@ msgid "" "(equivalent to ``sys.exc_info()[1]``). (Contributed by Irit Katriel in :" "issue:`46328`.)" msgstr "" +"Ajout de :func:`sys.exception` qui renvoie l'instance de l'exception active " +"(équivalent à ``sys.exc_info()[1]``) (contribution d'*Irit Katriel* dans :" +"issue:`46328`)." #: whatsnew/3.11.rst:372 msgid "sysconfig" -msgstr "" +msgstr "``sysconfig``" #: whatsnew/3.11.rst:374 msgid "" @@ -487,7 +562,7 @@ msgstr "" #: whatsnew/3.11.rst:389 msgid "threading" -msgstr "" +msgstr "``threading``" #: whatsnew/3.11.rst:391 msgid "" @@ -501,7 +576,7 @@ msgstr "" #: whatsnew/3.11.rst:400 msgid "time" -msgstr "" +msgstr "``time``" #: whatsnew/3.11.rst:402 msgid "" @@ -511,6 +586,12 @@ msgid "" "has a resolution of 1 microsecond (10\\ :sup:`-6` seconds). (Contributed by " "Benjamin Szőke and Victor Stinner in :issue:`21302`.)" msgstr "" +"Sur Unix, :func:`time.sleep` utilise maintenant une des fonctions " +"``clock_nanosleep()`` ou ``nanosleep()``, quand elles sont disponibles, qui " +"ont une résolution de 1 nanoseconde (10\\ :sup:`-9` secondes), plutôt que " +"d'utiliser ``select()`` qui a une résolution de 1 microseconde (10\\ :sup:" +"`-6` secondes) (contribution de *Benjamin Szőke* et de *Victor Stinner* " +"dans :issue:`21302`)." #: whatsnew/3.11.rst:408 msgid "" @@ -524,16 +605,18 @@ msgstr "" #: whatsnew/3.11.rst:417 msgid "unicodedata" -msgstr "" +msgstr "``unicodedata``" #: whatsnew/3.11.rst:419 msgid "" "The Unicode database has been updated to version 14.0.0. (:issue:`45190`)." msgstr "" +"La base de donnée Unicode a été mise à jour à la version 14.0.0 (:issue:" +"`45190`)." #: whatsnew/3.11.rst:423 msgid "venv" -msgstr "" +msgstr "``venv``" #: whatsnew/3.11.rst:425 msgid "" @@ -549,7 +632,7 @@ msgstr "" #: whatsnew/3.11.rst:436 msgid "zipfile" -msgstr "" +msgstr "``zipfile``" #: whatsnew/3.11.rst:438 msgid "" @@ -560,7 +643,7 @@ msgstr "" #: whatsnew/3.11.rst:443 msgid "fcntl" -msgstr "" +msgstr "``fcntl``" #: whatsnew/3.11.rst:445 msgid "" @@ -571,7 +654,7 @@ msgstr "" #: whatsnew/3.11.rst:451 msgid "Optimizations" -msgstr "" +msgstr "Optimisations" #: whatsnew/3.11.rst:453 msgid "" @@ -587,6 +670,9 @@ msgid "" "almost eliminated when no exception is raised. (Contributed by Mark Shannon " "in :issue:`40222`.)" msgstr "" +"Les exceptions « gratuites » sont maintenant implémentées. Le coût des " +"instructions ``try`` est pratiquement éliminé quand aucune exception n'est " +"levée (contribution de *Mark Shannon* dans :issue:`40222`)." #: whatsnew/3.11.rst:462 msgid "" @@ -613,9 +699,9 @@ msgstr "" #: whatsnew/3.11.rst:477 msgid "" "Dict don't store hash value when all inserted keys are Unicode objects. This " -"reduces dict size. For example, ``sys.getsizeof(dict." -"fromkeys(\"abcdefg\"))`` becomes 272 bytes from 352 bytes on 64bit platform. " -"(Contributed by Inada Naoki in :issue:`46845`.)" +"reduces dict size. For example, ``sys.getsizeof(dict.fromkeys(\"abcdefg" +"\"))`` becomes 272 bytes from 352 bytes on 64bit platform. (Contributed by " +"Inada Naoki in :issue:`46845`.)" msgstr "" #: whatsnew/3.11.rst:484 @@ -668,7 +754,7 @@ msgstr "" #: whatsnew/3.11.rst:1060 msgid "Deprecated" -msgstr "" +msgstr "Obsolescence" #: whatsnew/3.11.rst:516 msgid "" @@ -788,7 +874,7 @@ msgstr "" #: whatsnew/3.11.rst:1082 msgid "Removed" -msgstr "" +msgstr "Retraits" #: whatsnew/3.11.rst:579 msgid "" @@ -934,7 +1020,7 @@ msgstr "" #: whatsnew/3.11.rst:843 msgid "Porting to Python 3.11" -msgstr "" +msgstr "Portage vers Python 3.11" #: whatsnew/3.11.rst:666 msgid "" @@ -944,7 +1030,7 @@ msgstr "" #: whatsnew/3.11.rst:671 msgid "Changes in the Python API" -msgstr "" +msgstr "Changements dans l'API Python" #: whatsnew/3.11.rst:673 msgid "" @@ -998,7 +1084,7 @@ msgstr "" #: whatsnew/3.11.rst:710 msgid "Build Changes" -msgstr "" +msgstr "Changements à la compilation" #: whatsnew/3.11.rst:712 msgid "" @@ -1099,7 +1185,7 @@ msgstr "" #: whatsnew/3.11.rst:774 msgid "C API Changes" -msgstr "" +msgstr "Changements à l'API C" #: whatsnew/3.11.rst:776 msgid "" @@ -1357,8 +1443,8 @@ msgstr "" #: whatsnew/3.11.rst:958 msgid "" -"``f_builtins``: use ``PyObject_GetAttrString((PyObject*)frame, " -"\"f_builtins\")``." +"``f_builtins``: use ``PyObject_GetAttrString((PyObject*)frame, \"f_builtins" +"\")``." msgstr "" #: whatsnew/3.11.rst:959 @@ -1371,8 +1457,8 @@ msgstr "" #: whatsnew/3.11.rst:961 msgid "" -"``f_globals``: use ``PyObject_GetAttrString((PyObject*)frame, " -"\"f_globals\")``." +"``f_globals``: use ``PyObject_GetAttrString((PyObject*)frame, \"f_globals" +"\")``." msgstr "" #: whatsnew/3.11.rst:962