Mdk/merge (#1734)
* Make merge * Move merge to its own script. * No longer needed. * Use git ls-files.
This commit is contained in:
parent f2d50c8810
commit 2afee90322
59 changed files with 3054 additions and 50680 deletions
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2021-09-04 03:00+0200\n" | ||||
"Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -1320,9 +1320,10 @@ msgstr "" | |||
"effectuées plus tard dans l’exécution suite à l'analyse des arguments." | ||||
| ||||
#: library/argparse.rst:1106 | ||||
#, fuzzy | ||||
msgid "" | ||||
"For example, JSON or YAML conversions have complex error cases that require " | ||||
"better reporting than can be given by the ``type`` keyword. An :exc:`~json." | ||||
"better reporting than can be given by the ``type`` keyword. A :exc:`~json." | ||||
"JSONDecodeError` would not be well formatted and a :exc:`FileNotFound` " | ||||
"exception would not be handled at all." | ||||
msgstr "" | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2021-09-15 23:54+0200\n" | ||||
"Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -894,7 +894,7 @@ msgstr "" | |||
#: library/ast.rst:1268 | ||||
msgid "" | ||||
"``body`` contains a list of nodes to execute if the pattern matches and the " | ||||
"result of evaluating the guard expression is truthy." | ||||
"result of evaluating the guard expression is true." | ||||
msgstr "" | ||||
| ||||
#: library/ast.rst:1311 | ||||
| | @ -1283,7 +1283,7 @@ msgstr "" | |||
| ||||
#: library/ast.rst:1923 | ||||
msgid "" | ||||
"Note that succesfully parsing souce code into an AST object doesn't " | ||||
"Note that successfully parsing source code into an AST object doesn't " | ||||
"guarantee that the source code provided is valid Python code that can be " | ||||
"executed as the compilation step can raise further :exc:`SyntaxError` " | ||||
"exceptions. For instance, the source ``return 42`` generates a valid AST " | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2019-08-20 15:51+0200\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -281,7 +281,7 @@ msgid "" | |||
"This version does not allow the digit 0 (zero) to the letter O (oh) and " | ||||
"digit 1 (one) to either the letter I (eye) or letter L (el) mappings, all " | ||||
"these characters are included in the Extended Hex Alphabet and are not " | ||||
"interchangable." | ||||
"interchangeable." | ||||
msgstr "" | ||||
| ||||
#: library/base64.rst:162 | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2020-10-15 09:15+0200\n" | ||||
"Last-Translator: \n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -1352,7 +1352,7 @@ msgstr "" | |||
| ||||
#: library/codecs.rst:926 | ||||
msgid "" | ||||
"There's another encoding that is able to encoding the full range of Unicode " | ||||
"There's another encoding that is able to encode the full range of Unicode " | ||||
"characters: UTF-8. UTF-8 is an 8-bit encoding, which means there are no " | ||||
"issues with byte order in UTF-8. Each byte in a UTF-8 byte sequence consists " | ||||
"of two parts: marker bits (the most significant bits) and payload bits. The " | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2021-03-21 16:06+0100\n" | ||||
"Last-Translator: Loc Cosnier <loc.cosnier@pm.me>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -89,11 +89,17 @@ msgid "" | |||
"insufficient for distinguishing a :class:`Sequence` from a :class:`Mapping`." | ||||
msgstr "" | ||||
| ||||
#: library/collections.abc.rst:111 | ||||
#: library/collections.abc.rst:107 | ||||
msgid "" | ||||
"These abstract classes now support ``[]``. See :ref:`types-genericalias` " | ||||
"and :pep:`585`." | ||||
msgstr "" | ||||
| ||||
#: library/collections.abc.rst:114 | ||||
msgid "Collections Abstract Base Classes" | ||||
msgstr "Classes de base abstraites de collections" | ||||
| ||||
#: library/collections.abc.rst:113 | ||||
#: library/collections.abc.rst:116 | ||||
msgid "" | ||||
"The collections module offers the following :term:`ABCs <abstract base " | ||||
"class>`:" | ||||
| | @ -101,149 +107,149 @@ msgstr "" | |||
"Le module collections apporte les :term:`ABC <abstract base class>` " | ||||
"suivantes :" | ||||
| ||||
#: library/collections.abc.rst:118 | ||||
#: library/collections.abc.rst:121 | ||||
msgid "ABC" | ||||
msgstr "ABC" | ||||
| ||||
#: library/collections.abc.rst:118 | ||||
#: library/collections.abc.rst:121 | ||||
msgid "Inherits from" | ||||
msgstr "Hérite de" | ||||
| ||||
#: library/collections.abc.rst:118 | ||||
#: library/collections.abc.rst:121 | ||||
msgid "Abstract Methods" | ||||
msgstr "Méthodes abstraites" | ||||
| ||||
#: library/collections.abc.rst:118 | ||||
#: library/collections.abc.rst:121 | ||||
msgid "Mixin Methods" | ||||
msgstr "Méthodes *mixin*" | ||||
| ||||
#: library/collections.abc.rst:120 | ||||
#: library/collections.abc.rst:123 | ||||
#, fuzzy | ||||
msgid ":class:`Container` [1]_" | ||||
msgstr ":class:`Container`" | ||||
| ||||
#: library/collections.abc.rst:120 | ||||
#: library/collections.abc.rst:123 | ||||
msgid "``__contains__``" | ||||
msgstr "``__contains__``" | ||||
| ||||
#: library/collections.abc.rst:121 | ||||
#: library/collections.abc.rst:124 | ||||
#, fuzzy | ||||
msgid ":class:`Hashable` [1]_" | ||||
msgstr ":class:`Hashable`" | ||||
| ||||
#: library/collections.abc.rst:121 | ||||
#: library/collections.abc.rst:124 | ||||
msgid "``__hash__``" | ||||
msgstr "``__hash__``" | ||||
| ||||
#: library/collections.abc.rst:122 | ||||
#: library/collections.abc.rst:125 | ||||
#, fuzzy | ||||
msgid ":class:`Iterable` [1]_ [2]_" | ||||
msgstr ":class:`Iterable`" | ||||
| ||||
#: library/collections.abc.rst:122 library/collections.abc.rst:123 | ||||
#: library/collections.abc.rst:125 library/collections.abc.rst:126 | ||||
msgid "``__iter__``" | ||||
msgstr "``__iter__``" | ||||
| ||||
#: library/collections.abc.rst:123 | ||||
#: library/collections.abc.rst:126 | ||||
#, fuzzy | ||||
msgid ":class:`Iterator` [1]_" | ||||
msgstr ":class:`Iterator`" | ||||
| ||||
#: library/collections.abc.rst:123 library/collections.abc.rst:124 | ||||
#: library/collections.abc.rst:126 library/collections.abc.rst:127 | ||||
msgid ":class:`Iterable`" | ||||
msgstr ":class:`Iterable`" | ||||
| ||||
#: library/collections.abc.rst:123 | ||||
#: library/collections.abc.rst:126 | ||||
msgid "``__next__``" | ||||
msgstr "``__next__``" | ||||
| ||||
#: library/collections.abc.rst:124 | ||||
#: library/collections.abc.rst:127 | ||||
#, fuzzy | ||||
msgid ":class:`Reversible` [1]_" | ||||
msgstr ":class:`Reversible`" | ||||
| ||||
#: library/collections.abc.rst:124 | ||||
#: library/collections.abc.rst:127 | ||||
msgid "``__reversed__``" | ||||
msgstr "``__reversed__``" | ||||
| ||||
#: library/collections.abc.rst:125 | ||||
#: library/collections.abc.rst:128 | ||||
#, fuzzy | ||||
msgid ":class:`Generator` [1]_" | ||||
msgstr ":class:`Generator`" | ||||
| ||||
#: library/collections.abc.rst:125 | ||||
#: library/collections.abc.rst:128 | ||||
msgid ":class:`Iterator`" | ||||
msgstr ":class:`Iterator`" | ||||
| ||||
#: library/collections.abc.rst:125 library/collections.abc.rst:173 | ||||
#: library/collections.abc.rst:128 library/collections.abc.rst:176 | ||||
msgid "``send``, ``throw``" | ||||
msgstr "``send``, ``throw``" | ||||
| ||||
#: library/collections.abc.rst:125 | ||||
#: library/collections.abc.rst:128 | ||||
msgid "``close``, ``__iter__``, ``__next__``" | ||||
msgstr "``close``, ``__iter__``, ``__next__``" | ||||
| ||||
#: library/collections.abc.rst:126 | ||||
#: library/collections.abc.rst:129 | ||||
#, fuzzy | ||||
msgid ":class:`Sized` [1]_" | ||||
msgstr ":class:`Sized`" | ||||
| ||||
#: library/collections.abc.rst:126 library/collections.abc.rst:165 | ||||
#: library/collections.abc.rst:129 library/collections.abc.rst:168 | ||||
msgid "``__len__``" | ||||
msgstr "``__len__``" | ||||
| ||||
#: library/collections.abc.rst:127 | ||||
#: library/collections.abc.rst:130 | ||||
#, fuzzy | ||||
msgid ":class:`Callable` [1]_" | ||||
msgstr ":class:`Callable`" | ||||
| ||||
#: library/collections.abc.rst:127 | ||||
#: library/collections.abc.rst:130 | ||||
msgid "``__call__``" | ||||
msgstr "``__call__``" | ||||
| ||||
#: library/collections.abc.rst:128 | ||||
#: library/collections.abc.rst:131 | ||||
#, fuzzy | ||||
msgid ":class:`Collection` [1]_" | ||||
msgstr ":class:`Collection`" | ||||
| ||||
#: library/collections.abc.rst:128 | ||||
#: library/collections.abc.rst:131 | ||||
msgid ":class:`Sized`, :class:`Iterable`, :class:`Container`" | ||||
msgstr ":class:`Sized`, :class:`Iterable`, :class:`Container`" | ||||
| ||||
#: library/collections.abc.rst:128 library/collections.abc.rst:144 | ||||
#: library/collections.abc.rst:131 library/collections.abc.rst:147 | ||||
msgid "``__contains__``, ``__iter__``, ``__len__``" | ||||
msgstr "``__contains__``, ``__iter__``, ``__len__``" | ||||
| ||||
#: library/collections.abc.rst:132 library/collections.abc.rst:135 | ||||
#: library/collections.abc.rst:141 | ||||
#: library/collections.abc.rst:135 library/collections.abc.rst:138 | ||||
#: library/collections.abc.rst:144 | ||||
msgid ":class:`Sequence`" | ||||
msgstr ":class:`Sequence`" | ||||
| ||||
#: library/collections.abc.rst:132 | ||||
#: library/collections.abc.rst:135 | ||||
msgid ":class:`Reversible`, :class:`Collection`" | ||||
msgstr ":class:`Reversible`, :class:`Collection`" | ||||
| ||||
#: library/collections.abc.rst:132 library/collections.abc.rst:141 | ||||
#: library/collections.abc.rst:135 library/collections.abc.rst:144 | ||||
msgid "``__getitem__``, ``__len__``" | ||||
msgstr "``__getitem__``, ``__len__``" | ||||
| ||||
#: library/collections.abc.rst:132 | ||||
#: library/collections.abc.rst:135 | ||||
msgid "" | ||||
"``__contains__``, ``__iter__``, ``__reversed__``, ``index``, and ``count``" | ||||
msgstr "" | ||||
"``__contains__``, ``__iter__``, ``__reversed__``, ``index`` et ``count``" | ||||
| ||||
#: library/collections.abc.rst:135 | ||||
#: library/collections.abc.rst:138 | ||||
msgid ":class:`MutableSequence`" | ||||
msgstr ":class:`MutableSequence`" | ||||
| ||||
#: library/collections.abc.rst:135 | ||||
#: library/collections.abc.rst:138 | ||||
msgid "" | ||||
"``__getitem__``, ``__setitem__``, ``__delitem__``, ``__len__``, ``insert``" | ||||
msgstr "" | ||||
"``__getitem__``, ``__setitem__``, ``__delitem__``, ``__len__``, ``insert``" | ||||
| ||||
#: library/collections.abc.rst:135 | ||||
#: library/collections.abc.rst:138 | ||||
msgid "" | ||||
"Inherited :class:`Sequence` methods and ``append``, ``reverse``, ``extend``, " | ||||
"``pop``, ``remove``, and ``__iadd__``" | ||||
| | @ -251,23 +257,23 @@ msgstr "" | |||
"Méthodes héritées de :class:`Sequence`, et ``append``, ``reverse``, " | ||||
"``extend``, ``pop``, ``remove`` et ``__iadd__``" | ||||
| ||||
#: library/collections.abc.rst:141 | ||||
#: library/collections.abc.rst:144 | ||||
msgid ":class:`ByteString`" | ||||
msgstr ":class:`ByteString`" | ||||
| ||||
#: library/collections.abc.rst:141 | ||||
#: library/collections.abc.rst:144 | ||||
msgid "Inherited :class:`Sequence` methods" | ||||
msgstr "Méthodes héritées de :class:`Sequence`" | ||||
| ||||
#: library/collections.abc.rst:144 library/collections.abc.rst:148 | ||||
#: library/collections.abc.rst:147 library/collections.abc.rst:151 | ||||
msgid ":class:`Set`" | ||||
msgstr ":class:`Set`" | ||||
| ||||
#: library/collections.abc.rst:144 library/collections.abc.rst:154 | ||||
#: library/collections.abc.rst:147 library/collections.abc.rst:157 | ||||
msgid ":class:`Collection`" | ||||
msgstr ":class:`Collection`" | ||||
| ||||
#: library/collections.abc.rst:144 | ||||
#: library/collections.abc.rst:147 | ||||
msgid "" | ||||
"``__le__``, ``__lt__``, ``__eq__``, ``__ne__``, ``__gt__``, ``__ge__``, " | ||||
"``__and__``, ``__or__``, ``__sub__``, ``__xor__``, and ``isdisjoint``" | ||||
| | @ -275,15 +281,15 @@ msgstr "" | |||
"``__le__``, ``__lt__``, ``__eq__``, ``__ne__``, ``__gt__``, ``__ge__``, " | ||||
"``__and__``, ``__or__``, ``__sub__``, ``__xor__`` et ``isdisjoint``" | ||||
| ||||
#: library/collections.abc.rst:148 | ||||
#: library/collections.abc.rst:151 | ||||
msgid ":class:`MutableSet`" | ||||
msgstr ":class:`MutableSet`" | ||||
| ||||
#: library/collections.abc.rst:148 | ||||
#: library/collections.abc.rst:151 | ||||
msgid "``__contains__``, ``__iter__``, ``__len__``, ``add``, ``discard``" | ||||
msgstr "``__contains__``, ``__iter__``, ``__len__``, ``add``, ``discard``" | ||||
| ||||
#: library/collections.abc.rst:148 | ||||
#: library/collections.abc.rst:151 | ||||
msgid "" | ||||
"Inherited :class:`Set` methods and ``clear``, ``pop``, ``remove``, " | ||||
"``__ior__``, ``__iand__``, ``__ixor__``, and ``__isub__``" | ||||
| | @ -291,15 +297,15 @@ msgstr "" | |||
"Méthodes héritées de :class:`Set`, et ``clear``, ``pop``, ``remove``, " | ||||
"``__ior__``, ``__iand__``, ``__ixor__`` et ``__isub__``" | ||||
| ||||
#: library/collections.abc.rst:154 library/collections.abc.rst:158 | ||||
#: library/collections.abc.rst:157 library/collections.abc.rst:161 | ||||
msgid ":class:`Mapping`" | ||||
msgstr ":class:`Mapping`" | ||||
| ||||
#: library/collections.abc.rst:154 | ||||
#: library/collections.abc.rst:157 | ||||
msgid "``__getitem__``, ``__iter__``, ``__len__``" | ||||
msgstr "``__getitem__``, ``__iter__``, ``__len__``" | ||||
| ||||
#: library/collections.abc.rst:154 | ||||
#: library/collections.abc.rst:157 | ||||
msgid "" | ||||
"``__contains__``, ``keys``, ``items``, ``values``, ``get``, ``__eq__``, and " | ||||
"``__ne__``" | ||||
| | @ -307,17 +313,17 @@ msgstr "" | |||
"``__contains__``, ``keys``, ``items``, ``values``, ``get``, ``__eq__`` et " | ||||
"``__ne__``" | ||||
| ||||
#: library/collections.abc.rst:158 | ||||
#: library/collections.abc.rst:161 | ||||
msgid ":class:`MutableMapping`" | ||||
msgstr ":class:`MutableMapping`" | ||||
| ||||
#: library/collections.abc.rst:158 | ||||
#: library/collections.abc.rst:161 | ||||
msgid "" | ||||
"``__getitem__``, ``__setitem__``, ``__delitem__``, ``__iter__``, ``__len__``" | ||||
msgstr "" | ||||
"``__getitem__``, ``__setitem__``, ``__delitem__``, ``__iter__``, ``__len__``" | ||||
| ||||
#: library/collections.abc.rst:158 | ||||
#: library/collections.abc.rst:161 | ||||
msgid "" | ||||
"Inherited :class:`Mapping` methods and ``pop``, ``popitem``, ``clear``, " | ||||
"``update``, and ``setdefault``" | ||||
| | @ -325,105 +331,105 @@ msgstr "" | |||
"Méthodes héritées de :class:`Mapping`, et ``pop``, ``popitem``, ``clear``, " | ||||
"``update`` et ``setdefault``" | ||||
| ||||
#: library/collections.abc.rst:165 | ||||
#: library/collections.abc.rst:168 | ||||
msgid ":class:`MappingView`" | ||||
msgstr ":class:`MappingView`" | ||||
| ||||
#: library/collections.abc.rst:165 | ||||
#: library/collections.abc.rst:168 | ||||
msgid ":class:`Sized`" | ||||
msgstr ":class:`Sized`" | ||||
| ||||
#: library/collections.abc.rst:166 | ||||
#: library/collections.abc.rst:169 | ||||
msgid ":class:`ItemsView`" | ||||
msgstr ":class:`ItemsView`" | ||||
| ||||
#: library/collections.abc.rst:166 library/collections.abc.rst:168 | ||||
#: library/collections.abc.rst:169 library/collections.abc.rst:171 | ||||
msgid ":class:`MappingView`, :class:`Set`" | ||||
msgstr ":class:`MappingView`, :class:`Set`" | ||||
| ||||
#: library/collections.abc.rst:166 library/collections.abc.rst:168 | ||||
#: library/collections.abc.rst:170 | ||||
#: library/collections.abc.rst:169 library/collections.abc.rst:171 | ||||
#: library/collections.abc.rst:173 | ||||
msgid "``__contains__``, ``__iter__``" | ||||
msgstr "``__contains__``, ``__iter__``" | ||||
| ||||
#: library/collections.abc.rst:168 | ||||
#: library/collections.abc.rst:171 | ||||
msgid ":class:`KeysView`" | ||||
msgstr ":class:`KeysView`" | ||||
| ||||
#: library/collections.abc.rst:170 | ||||
#: library/collections.abc.rst:173 | ||||
msgid ":class:`ValuesView`" | ||||
msgstr ":class:`ValuesView`" | ||||
| ||||
#: library/collections.abc.rst:170 | ||||
#: library/collections.abc.rst:173 | ||||
msgid ":class:`MappingView`, :class:`Collection`" | ||||
msgstr ":class:`MappingView`, :class:`Collection`" | ||||
| ||||
#: library/collections.abc.rst:172 | ||||
#: library/collections.abc.rst:175 | ||||
#, fuzzy | ||||
msgid ":class:`Awaitable` [1]_" | ||||
msgstr ":class:`Awaitable`" | ||||
| ||||
#: library/collections.abc.rst:172 | ||||
#: library/collections.abc.rst:175 | ||||
msgid "``__await__``" | ||||
msgstr "``__await__``" | ||||
| ||||
#: library/collections.abc.rst:173 | ||||
#: library/collections.abc.rst:176 | ||||
#, fuzzy | ||||
msgid ":class:`Coroutine` [1]_" | ||||
msgstr ":class:`Coroutine`" | ||||
| ||||
#: library/collections.abc.rst:173 | ||||
#: library/collections.abc.rst:176 | ||||
msgid ":class:`Awaitable`" | ||||
msgstr ":class:`Awaitable`" | ||||
| ||||
#: library/collections.abc.rst:173 | ||||
#: library/collections.abc.rst:176 | ||||
msgid "``close``" | ||||
msgstr "``close``" | ||||
| ||||
#: library/collections.abc.rst:174 | ||||
#: library/collections.abc.rst:177 | ||||
#, fuzzy | ||||
msgid ":class:`AsyncIterable` [1]_" | ||||
msgstr ":class:`AsyncIterable`" | ||||
| ||||
#: library/collections.abc.rst:174 library/collections.abc.rst:175 | ||||
#: library/collections.abc.rst:177 library/collections.abc.rst:178 | ||||
msgid "``__aiter__``" | ||||
msgstr "``__aiter__``" | ||||
| ||||
#: library/collections.abc.rst:175 | ||||
#: library/collections.abc.rst:178 | ||||
#, fuzzy | ||||
msgid ":class:`AsyncIterator` [1]_" | ||||
msgstr ":class:`AsyncIterator`" | ||||
| ||||
#: library/collections.abc.rst:175 | ||||
#: library/collections.abc.rst:178 | ||||
msgid ":class:`AsyncIterable`" | ||||
msgstr ":class:`AsyncIterable`" | ||||
| ||||
#: library/collections.abc.rst:175 | ||||
#: library/collections.abc.rst:178 | ||||
msgid "``__anext__``" | ||||
msgstr "``__anext__``" | ||||
| ||||
#: library/collections.abc.rst:176 | ||||
#: library/collections.abc.rst:179 | ||||
#, fuzzy | ||||
msgid ":class:`AsyncGenerator` [1]_" | ||||
msgstr ":class:`AsyncGenerator`" | ||||
| ||||
#: library/collections.abc.rst:176 | ||||
#: library/collections.abc.rst:179 | ||||
msgid ":class:`AsyncIterator`" | ||||
msgstr ":class:`AsyncIterator`" | ||||
| ||||
#: library/collections.abc.rst:176 | ||||
#: library/collections.abc.rst:179 | ||||
msgid "``asend``, ``athrow``" | ||||
msgstr "``asend``, ``athrow``" | ||||
| ||||
#: library/collections.abc.rst:176 | ||||
#: library/collections.abc.rst:179 | ||||
msgid "``aclose``, ``__aiter__``, ``__anext__``" | ||||
msgstr "``aclose``, ``__aiter__``, ``__anext__``" | ||||
| ||||
#: library/collections.abc.rst:181 | ||||
#: library/collections.abc.rst:184 | ||||
msgid "Footnotes" | ||||
msgstr "" | ||||
| ||||
#: library/collections.abc.rst:182 | ||||
#: library/collections.abc.rst:185 | ||||
msgid "" | ||||
"These ABCs override :meth:`object.__subclasshook__` to support testing an " | ||||
"interface by verifying the required methods are present and have not been " | ||||
| | @ -431,7 +437,7 @@ msgid "" | |||
"interfaces require registration or direct subclassing." | ||||
msgstr "" | ||||
| ||||
#: library/collections.abc.rst:188 | ||||
#: library/collections.abc.rst:191 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Checking ``isinstance(obj, Iterable)`` detects classes that are registered " | ||||
| | @ -446,32 +452,32 @@ msgstr "" | |||
"meth:`__getitem__`. Le seul moyen fiable de déterminer si un objet est :term:" | ||||
"`itérable <iterable>` est d'appeler ``iter(obj)``." | ||||
| ||||
#: library/collections.abc.rst:196 | ||||
#: library/collections.abc.rst:199 | ||||
#, fuzzy | ||||
msgid "Collections Abstract Base Classes -- Detailed Descriptions" | ||||
msgstr "Classes de base abstraites de collections" | ||||
| ||||
#: library/collections.abc.rst:201 | ||||
#: library/collections.abc.rst:204 | ||||
msgid "ABC for classes that provide the :meth:`__contains__` method." | ||||
msgstr "ABC pour les classes qui définissent la méthode :meth:`__contains__`." | ||||
| ||||
#: library/collections.abc.rst:205 | ||||
#: library/collections.abc.rst:208 | ||||
msgid "ABC for classes that provide the :meth:`__hash__` method." | ||||
msgstr "ABC pour les classes qui définissent la méthode :meth:`__hash__`." | ||||
| ||||
#: library/collections.abc.rst:209 | ||||
#: library/collections.abc.rst:212 | ||||
msgid "ABC for classes that provide the :meth:`__len__` method." | ||||
msgstr "ABC pour les classes qui définissent la méthode :meth:`__len__`." | ||||
| ||||
#: library/collections.abc.rst:213 | ||||
#: library/collections.abc.rst:216 | ||||
msgid "ABC for classes that provide the :meth:`__call__` method." | ||||
msgstr "ABC pour les classes qui définissent la méthode :meth:`__call__`." | ||||
| ||||
#: library/collections.abc.rst:217 | ||||
#: library/collections.abc.rst:220 | ||||
msgid "ABC for classes that provide the :meth:`__iter__` method." | ||||
msgstr "ABC pour les classes qui définissent la méthode :meth:`__iter__`." | ||||
| ||||
#: library/collections.abc.rst:219 | ||||
#: library/collections.abc.rst:222 | ||||
msgid "" | ||||
"Checking ``isinstance(obj, Iterable)`` detects classes that are registered " | ||||
"as :class:`Iterable` or that have an :meth:`__iter__` method, but it does " | ||||
| | @ -485,11 +491,11 @@ msgstr "" | |||
"meth:`__getitem__`. Le seul moyen fiable de déterminer si un objet est :term:" | ||||
"`itérable <iterable>` est d'appeler ``iter(obj)``." | ||||
| ||||
#: library/collections.abc.rst:227 | ||||
#: library/collections.abc.rst:230 | ||||
msgid "ABC for sized iterable container classes." | ||||
msgstr "ABC pour les classes de conteneurs itérables et *sized*." | ||||
| ||||
#: library/collections.abc.rst:233 | ||||
#: library/collections.abc.rst:236 | ||||
msgid "" | ||||
"ABC for classes that provide the :meth:`~iterator.__iter__` and :meth:" | ||||
"`~iterator.__next__` methods. See also the definition of :term:`iterator`." | ||||
| | @ -498,14 +504,14 @@ msgstr "" | |||
"et :meth:`~iterator.__next__`. Voir aussi la définition d':term:`itérateur " | ||||
"<iterator>`." | ||||
| ||||
#: library/collections.abc.rst:239 | ||||
#: library/collections.abc.rst:242 | ||||
msgid "" | ||||
"ABC for iterable classes that also provide the :meth:`__reversed__` method." | ||||
msgstr "" | ||||
"ABC pour les classes d'itérables qui implémentent également la méthode :meth:" | ||||
"`__reversed__`." | ||||
| ||||
#: library/collections.abc.rst:246 | ||||
#: library/collections.abc.rst:249 | ||||
msgid "" | ||||
"ABC for generator classes that implement the protocol defined in :pep:`342` " | ||||
"that extends iterators with the :meth:`~generator.send`, :meth:`~generator." | ||||
| | @ -517,11 +523,11 @@ msgstr "" | |||
"`~generator.send`, :meth:`~generator.throw` et :meth:`~generator.close`. " | ||||
"Voir aussi la définition de :term:`générateur <generator>`." | ||||
| ||||
#: library/collections.abc.rst:257 | ||||
#: library/collections.abc.rst:260 | ||||
msgid "ABCs for read-only and mutable :term:`sequences <sequence>`." | ||||
msgstr "ABC pour les :term:`séquences <sequence>` immuables et muables." | ||||
| ||||
#: library/collections.abc.rst:259 | ||||
#: library/collections.abc.rst:262 | ||||
msgid "" | ||||
"Implementation note: Some of the mixin methods, such as :meth:`__iter__`, :" | ||||
"meth:`__reversed__` and :meth:`index`, make repeated calls to the " | ||||
| | @ -539,29 +545,29 @@ msgstr "" | |||
"*mixin* auront une performance quadratique, il serait alors judicieux de les " | ||||
"surcharger." | ||||
| ||||
#: library/collections.abc.rst:268 | ||||
#: library/collections.abc.rst:271 | ||||
msgid "The index() method added support for *stop* and *start* arguments." | ||||
msgstr "" | ||||
"La méthode index() a ajouté le support des arguments *start* et *stop*." | ||||
| ||||
#: library/collections.abc.rst:275 | ||||
#: library/collections.abc.rst:278 | ||||
msgid "ABCs for read-only and mutable sets." | ||||
msgstr "ABC pour les ensembles immuables et muables." | ||||
| ||||
#: library/collections.abc.rst:280 | ||||
#: library/collections.abc.rst:283 | ||||
msgid "ABCs for read-only and mutable :term:`mappings <mapping>`." | ||||
msgstr "" | ||||
"ABC pour les :term:`tables de correspondances <mapping>` immuables et " | ||||
"muables." | ||||
| ||||
#: library/collections.abc.rst:287 | ||||
#: library/collections.abc.rst:290 | ||||
msgid "" | ||||
"ABCs for mapping, items, keys, and values :term:`views <dictionary view>`." | ||||
msgstr "" | ||||
"ABC pour les :term:`vues<dictionary view>` de *mappings* (tableaux de " | ||||
"correspondances), d'éléments, de clés et de valeurs." | ||||
| ||||
#: library/collections.abc.rst:291 | ||||
#: library/collections.abc.rst:294 | ||||
msgid "" | ||||
"ABC for :term:`awaitable` objects, which can be used in :keyword:`await` " | ||||
"expressions. Custom implementations must provide the :meth:`__await__` " | ||||
| | @ -571,7 +577,7 @@ msgstr "" | |||
"utilisés dans les expressions :keyword:`await`. Les implémentations " | ||||
"personnalisées doivent définir la méthode :meth:`__await__`." | ||||
| ||||
#: library/collections.abc.rst:295 | ||||
#: library/collections.abc.rst:298 | ||||
msgid "" | ||||
":term:`Coroutine <coroutine>` objects and instances of the :class:" | ||||
"`~collections.abc.Coroutine` ABC are all instances of this ABC." | ||||
| | @ -579,7 +585,7 @@ msgstr "" | |||
"Les objets :term:`coroutines <coroutine>` et les instances de l'ABC :class:" | ||||
"`~collections.abc.Coroutine` sont tous des instances de cette ABC." | ||||
| ||||
#: library/collections.abc.rst:299 | ||||
#: library/collections.abc.rst:302 | ||||
msgid "" | ||||
"In CPython, generator-based coroutines (generators decorated with :func:" | ||||
"`types.coroutine` or :func:`asyncio.coroutine`) are *awaitables*, even " | ||||
| | @ -594,7 +600,7 @@ msgstr "" | |||
"décoré va renvoyer ``False``. Utilisez :func:`inspect.isawaitable` pour les " | ||||
"détecter." | ||||
| ||||
#: library/collections.abc.rst:309 | ||||
#: library/collections.abc.rst:312 | ||||
msgid "" | ||||
"ABC for coroutine compatible classes. These implement the following " | ||||
"methods, defined in :ref:`coroutine-objects`: :meth:`~coroutine.send`, :meth:" | ||||
| | @ -610,7 +616,7 @@ msgstr "" | |||
"Toutes les instances de :class:`Coroutine` sont également des instances de :" | ||||
"class:`Awaitable`. Voir aussi la définition de :term:`coroutine`." | ||||
| ||||
#: library/collections.abc.rst:317 | ||||
#: library/collections.abc.rst:320 | ||||
msgid "" | ||||
"In CPython, generator-based coroutines (generators decorated with :func:" | ||||
"`types.coroutine` or :func:`asyncio.coroutine`) are *awaitables*, even " | ||||
| | @ -625,7 +631,7 @@ msgstr "" | |||
"décoré va renvoyer ``False``. Utilisez :func:`inspect.isawaitable` pour les " | ||||
"détecter." | ||||
| ||||
#: library/collections.abc.rst:327 | ||||
#: library/collections.abc.rst:330 | ||||
msgid "" | ||||
"ABC for classes that provide ``__aiter__`` method. See also the definition " | ||||
"of :term:`asynchronous iterable`." | ||||
| | @ -633,7 +639,7 @@ msgstr "" | |||
"ABC pour les classes qui définissent la méthode ``__aiter__``. Voir aussi la " | ||||
"définition d':term:`itérable asynchrone <asynchronous iterable>`." | ||||
| ||||
#: library/collections.abc.rst:334 | ||||
#: library/collections.abc.rst:337 | ||||
msgid "" | ||||
"ABC for classes that provide ``__aiter__`` and ``__anext__`` methods. See " | ||||
"also the definition of :term:`asynchronous iterator`." | ||||
| | @ -642,7 +648,7 @@ msgstr "" | |||
"``__anext__``. Voir aussi la définition d':term:`itérateur asynchrone " | ||||
"<asynchronous iterator>`." | ||||
| ||||
#: library/collections.abc.rst:341 | ||||
#: library/collections.abc.rst:344 | ||||
msgid "" | ||||
"ABC for asynchronous generator classes that implement the protocol defined " | ||||
"in :pep:`525` and :pep:`492`." | ||||
| | @ -650,11 +656,11 @@ msgstr "" | |||
"ABC pour les classes de générateurs asynchrones qui implémentent le " | ||||
"protocole défini dans la :pep:`525` et dans la :pep:`492`." | ||||
| ||||
#: library/collections.abc.rst:347 | ||||
#: library/collections.abc.rst:350 | ||||
msgid "Examples and Recipes" | ||||
msgstr "" | ||||
| ||||
#: library/collections.abc.rst:349 | ||||
#: library/collections.abc.rst:352 | ||||
#, fuzzy | ||||
msgid "" | ||||
"ABCs allow us to ask classes or instances if they provide particular " | ||||
| | @ -663,7 +669,7 @@ msgstr "" | |||
"Ces ABC permettent de demander à des classes ou à des instances si elles " | ||||
"fournissent des fonctionnalités particulières, par exemple ::" | ||||
| ||||
#: library/collections.abc.rst:356 | ||||
#: library/collections.abc.rst:359 | ||||
msgid "" | ||||
"Several of the ABCs are also useful as mixins that make it easier to develop " | ||||
"classes supporting container APIs. For example, to write a class supporting " | ||||
| | @ -680,13 +686,13 @@ msgstr "" | |||
"apporte les méthodes restantes, comme :meth:`__and__` et :meth:" | ||||
"`isdisjoint` ::" | ||||
| ||||
#: library/collections.abc.rst:385 | ||||
#: library/collections.abc.rst:388 | ||||
msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:" | ||||
msgstr "" | ||||
"Notes à propos de l'utilisation de :class:`Set` et :class:`MutableSet` comme " | ||||
"*mixin* :" | ||||
| ||||
#: library/collections.abc.rst:388 | ||||
#: library/collections.abc.rst:391 | ||||
msgid "" | ||||
"Since some set operations create new sets, the default mixin methods need a " | ||||
"way to create new instances from an iterable. The class constructor is " | ||||
| | @ -709,7 +715,7 @@ msgstr "" | |||
"`_from_iterable` avec une méthode de classe ou une méthode ordinaire qui " | ||||
"peut construire de nouvelles instances à partir d'un argument itérable." | ||||
| ||||
#: library/collections.abc.rst:399 | ||||
#: library/collections.abc.rst:402 | ||||
msgid "" | ||||
"To override the comparisons (presumably for speed, as the semantics are " | ||||
"fixed), redefine :meth:`__le__` and :meth:`__ge__`, then the other " | ||||
| | @ -719,7 +725,7 @@ msgstr "" | |||
"sémantique est fixe), il faut redéfinir :meth:`__le__` et :meth:`__ge__`, " | ||||
"puis les autres opérations seront automatiquement adaptées." | ||||
| ||||
#: library/collections.abc.rst:404 | ||||
#: library/collections.abc.rst:407 | ||||
msgid "" | ||||
"The :class:`Set` mixin provides a :meth:`_hash` method to compute a hash " | ||||
"value for the set; however, :meth:`__hash__` is not defined because not all " | ||||
| | @ -733,7 +739,7 @@ msgstr "" | |||
"Pour rendre un ensemble hachable en utilisant les *mixins*, héritez de :meth:" | ||||
"`Set` et de :meth:`Hashable`, puis définissez ``__hash__ = Set._hash``." | ||||
| ||||
#: library/collections.abc.rst:412 | ||||
#: library/collections.abc.rst:415 | ||||
msgid "" | ||||
"`OrderedSet recipe <https://code.activestate.com/recipes/576694/>`_ for an " | ||||
"example built on :class:`MutableSet`." | ||||
| | @ -741,7 +747,7 @@ msgstr "" | |||
"`OrderedSet recipe <https://code.activestate.com/recipes/576694/>`_ pour un " | ||||
"exemple construit sur :class:`MutableSet`." | ||||
| ||||
#: library/collections.abc.rst:415 | ||||
#: library/collections.abc.rst:418 | ||||
msgid "For more about ABCs, see the :mod:`abc` module and :pep:`3119`." | ||||
msgstr "" | ||||
"Pour plus d'informations à propos des ABC, voir le module :mod:`abc` et la :" | ||||
| | | |||
1097 library/datetime.po
1097
library/datetime.po File diff suppressed because it is too large Load diff
| | @ -5,14 +5,14 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2020-07-20 10:51+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2021-09-12 09:38-0400\n" | ||||
"Last-Translator: Edith Viau <info@eviau.net>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||
"Content-Transfer-Encoding: 8bit\n" | ||||
"Last-Translator: Edith Viau <info@eviau.net>\n" | ||||
"X-Generator: Poedit 2.3\n" | ||||
| ||||
#: library/doctest.rst:2 | ||||
| | @ -1342,7 +1342,7 @@ msgstr "" | |||
"lors d'un post-mortem. Le comportement par défaut est de poursuivre " | ||||
"l'exécution des exemples." | ||||
| ||||
#: library/doctest.rst:903 library/doctest.rst:1043 | ||||
#: library/doctest.rst:1043 | ||||
msgid "" | ||||
"Optional argument *parser* specifies a :class:`DocTestParser` (or subclass) " | ||||
"that should be used to extract tests from the files. It defaults to a " | ||||
| | @ -1353,7 +1353,7 @@ msgstr "" | |||
"Par défaut, on utilise un analyseur normal (c'est-à-dire, " | ||||
"``DocTestParser()``)." | ||||
| ||||
#: library/doctest.rst:907 library/doctest.rst:1047 | ||||
#: library/doctest.rst:1047 | ||||
msgid "" | ||||
"Optional argument *encoding* specifies an encoding that should be used to " | ||||
"convert the file to unicode." | ||||
| | @ -1636,7 +1636,7 @@ msgstr "" | |||
"fonction *setUp* peut accéder aux valeurs globales du test par l'attribut " | ||||
"*globs* du test passé." | ||||
| ||||
#: library/doctest.rst:1034 library/doctest.rst:1068 | ||||
#: library/doctest.rst:1068 | ||||
msgid "" | ||||
"Optional argument *globs* is a dictionary containing the initial global " | ||||
"variables for the tests. A new copy of this dictionary is created for each " | ||||
| | @ -2148,7 +2148,7 @@ msgid "" | |||
"use them to create a :class:`DocTest` object." | ||||
msgstr "" | ||||
| ||||
#: library/doctest.rst:1378 library/doctest.rst:1446 | ||||
#: library/doctest.rst:1446 | ||||
msgid ":class:`DocTestParser` defines the following methods:" | ||||
msgstr "La classe :class:`DocTestFinder` définit les méthodes suivantes :" | ||||
| ||||
| | @ -2261,7 +2261,7 @@ msgid "" | |||
"should not be called directly." | ||||
msgstr "" | ||||
| ||||
#: library/doctest.rst:1466 library/doctest.rst:1477 | ||||
#: library/doctest.rst:1477 | ||||
msgid "" | ||||
"*example* is the example about to be processed. *got* is the actual output " | ||||
"from the example. *test* is the test containing *example*. *out* is the " | ||||
| | @ -2427,7 +2427,8 @@ msgid "" | |||
msgstr "" | ||||
| ||||
#: library/doctest.rst:1644 | ||||
msgid "displays ::" | ||||
#, fuzzy | ||||
msgid "displays::" | ||||
msgstr "affiche ::" | ||||
| ||||
#: library/doctest.rst:1654 | ||||
| | @ -2577,13 +2578,13 @@ msgstr "" | |||
msgid ":exc:`DocTestFailure` defines the following attributes:" | ||||
msgstr ":exc:`DocTestFailure` définit les attributs suivants :" | ||||
| ||||
#: library/doctest.rst:1744 library/doctest.rst:1768 | ||||
#: library/doctest.rst:1768 | ||||
msgid "The :class:`DocTest` object that was being run when the example failed." | ||||
msgstr "" | ||||
"L'objet issu de la classe :class:`DocTest` qui était en cours d'exécution " | ||||
"lorsque l'exemple a échoué." | ||||
| ||||
#: library/doctest.rst:1749 library/doctest.rst:1773 | ||||
#: library/doctest.rst:1773 | ||||
msgid "The :class:`Example` that failed." | ||||
msgstr "L'exemple :class:`Example` qui a échoué." | ||||
| ||||
| | | |||
| | @ -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-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2019-12-11 11:26+0100\n" | ||||
"Last-Translator: Antoine Wecxsteen\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -1280,9 +1280,9 @@ msgstr "" | |||
| ||||
#: library/enum.rst:1128 | ||||
msgid "" | ||||
"Private names will be normal attributes in Python 3.10 instead of either an " | ||||
"Private names will be normal attributes in Python 3.11 instead of either an " | ||||
"error or a member (depending on if the name ends with an underscore). Using " | ||||
"these names in 3.9 will issue a :exc:`DeprecationWarning`." | ||||
"these names in 3.10 will issue a :exc:`DeprecationWarning`." | ||||
msgstr "" | ||||
| ||||
#: library/enum.rst:1134 | ||||
| | @ -1306,11 +1306,15 @@ msgstr "" | |||
"(c'est une autre bonne raison pour définir tous les noms des membres en " | ||||
"majuscules) ::" | ||||
| ||||
#: library/enum.rst:1157 | ||||
#: library/enum.rst:1155 | ||||
msgid "This behavior is deprecated and will be removed in 3.12." | ||||
msgstr "" | ||||
| ||||
#: library/enum.rst:1161 | ||||
msgid "Boolean value of ``Enum`` classes and members" | ||||
msgstr "Valeur booléenne des classes ``Enum`` et de leurs membres" | ||||
| ||||
#: library/enum.rst:1159 | ||||
#: library/enum.rst:1163 | ||||
msgid "" | ||||
":class:`Enum` members that are mixed with non-:class:`Enum` types (such as :" | ||||
"class:`int`, :class:`str`, etc.) are evaluated according to the mixed-in " | ||||
| | @ -1324,15 +1328,15 @@ msgstr "" | |||
"faire dépendre l'évaluation booléenne de votre propre *Enum* de la valeur du " | ||||
"membre, il faut ajouter le code suivant à votre classe ::" | ||||
| ||||
#: library/enum.rst:1168 | ||||
#: library/enum.rst:1172 | ||||
msgid ":class:`Enum` classes always evaluate as :data:`True`." | ||||
msgstr "Les classes :class:`Enum` valent toujours :data:`True`." | ||||
| ||||
#: library/enum.rst:1172 | ||||
#: library/enum.rst:1176 | ||||
msgid "``Enum`` classes with methods" | ||||
msgstr "Classes ``Enum`` avec des méthodes" | ||||
| ||||
#: library/enum.rst:1174 | ||||
#: library/enum.rst:1178 | ||||
msgid "" | ||||
"If you give your :class:`Enum` subclass extra methods, like the `Planet`_ " | ||||
"class above, those methods will show up in a :func:`dir` of the member, but " | ||||
| | @ -1342,11 +1346,11 @@ msgstr "" | |||
"la classe `Planet`_ ci-dessus, elles s'afficheront avec un appel à :func:" | ||||
"`dir` sur le membre, mais pas avec un appel sur la classe ::" | ||||
| ||||
#: library/enum.rst:1185 | ||||
#: library/enum.rst:1189 | ||||
msgid "Combining members of ``Flag``" | ||||
msgstr "Combinaison de membres de ``Flag``" | ||||
| ||||
#: library/enum.rst:1187 | ||||
#: library/enum.rst:1191 | ||||
msgid "" | ||||
"If a combination of Flag members is not named, the :func:`repr` will include " | ||||
"all named flags and all named combinations of flags that are in the value::" | ||||
| | @ -1354,3 +1358,10 @@ msgstr "" | |||
"Si une valeur issue de la combinaison de membres de *Flag* n'est pas " | ||||
"associée explicitement à un membre, la fonction :func:`repr` inclut tous les " | ||||
"membres et toutes les combinaisons de membres présents dans cette valeur ::" | ||||
| ||||
#: library/enum.rst:1209 | ||||
msgid "" | ||||
"In 3.11 unnamed combinations of flags will only produce the canonical flag " | ||||
"members (aka single-value flags). So ``Color(7)`` will produce something " | ||||
"like ``<Color.BLUE|GREEN|RED: 7>``." | ||||
msgstr "" | ||||
| | | |||
File diff suppressed because it is too large Load diff
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2021-09-19 23:19+0200\n" | ||||
"Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -109,8 +109,8 @@ msgid "" | |||
"*openhook* parameter to :func:`fileinput.input` or :class:`FileInput()`. The " | ||||
"hook must be a function that takes two arguments, *filename* and *mode*, and " | ||||
"returns an accordingly opened file-like object. If *encoding* and/or " | ||||
"*errors* are specified, they will be passed to the hook as aditional keyword " | ||||
"arguments. This module provides a :func:`hook_compressed` to support " | ||||
"*errors* are specified, they will be passed to the hook as additional " | ||||
"keyword arguments. This module provides a :func:`hook_compressed` to support " | ||||
"compressed files." | ||||
msgstr "" | ||||
"Le paramètre *openhook* donne le contrôle sur la manière dont les fichiers " | ||||
| | | |||
| | @ -1,381 +0,0 @@ | |||
# Copyright (C) 2001-2018, Python Software Foundation | ||||
# For licence information, see README file. | ||||
# | ||||
msgid "" | ||||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2020-08-24 09:01+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||
"Content-Transfer-Encoding: 8bit\n" | ||||
| ||||
#: library/formatter.rst:2 | ||||
msgid ":mod:`formatter` --- Generic output formatting" | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:8 | ||||
msgid "Due to lack of usage, the formatter module has been deprecated." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:13 | ||||
msgid "" | ||||
"This module supports two interface definitions, each with multiple " | ||||
"implementations: The *formatter* interface, and the *writer* interface which " | ||||
"is required by the formatter interface." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:17 | ||||
msgid "" | ||||
"Formatter objects transform an abstract flow of formatting events into " | ||||
"specific output events on writer objects. Formatters manage several stack " | ||||
"structures to allow various properties of a writer object to be changed and " | ||||
"restored; writers need not be able to handle relative changes nor any sort " | ||||
"of \"change back\" operation. Specific writer properties which may be " | ||||
"controlled via formatter objects are horizontal alignment, font, and left " | ||||
"margin indentations. A mechanism is provided which supports providing " | ||||
"arbitrary, non-exclusive style settings to a writer as well. Additional " | ||||
"interfaces facilitate formatting events which are not reversible, such as " | ||||
"paragraph separation." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:27 | ||||
msgid "" | ||||
"Writer objects encapsulate device interfaces. Abstract devices, such as " | ||||
"file formats, are supported as well as physical devices. The provided " | ||||
"implementations all work with abstract devices. The interface makes " | ||||
"available mechanisms for setting the properties which formatter objects " | ||||
"manage and inserting data into the output." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:37 | ||||
msgid "The Formatter Interface" | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:39 | ||||
msgid "" | ||||
"Interfaces to create formatters are dependent on the specific formatter " | ||||
"class being instantiated. The interfaces described below are the required " | ||||
"interfaces which all formatters must support once initialized." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:43 | ||||
msgid "One data element is defined at the module level:" | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:48 | ||||
msgid "" | ||||
"Value which can be used in the font specification passed to the " | ||||
"``push_font()`` method described below, or as the new value to any other " | ||||
"``push_property()`` method. Pushing the ``AS_IS`` value allows the " | ||||
"corresponding ``pop_property()`` method to be called without having to track " | ||||
"whether the property was changed." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:53 | ||||
msgid "The following attributes are defined for formatter instance objects:" | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:58 | ||||
msgid "The writer instance with which the formatter interacts." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:63 | ||||
msgid "" | ||||
"Close any open paragraphs and insert at least *blanklines* before the next " | ||||
"paragraph." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:69 | ||||
msgid "" | ||||
"Add a hard line break if one does not already exist. This does not break " | ||||
"the logical paragraph." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:75 | ||||
msgid "" | ||||
"Insert a horizontal rule in the output. A hard break is inserted if there " | ||||
"is data in the current paragraph, but the logical paragraph is not broken. " | ||||
"The arguments and keywords are passed on to the writer's :meth:" | ||||
"`send_line_break` method." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:83 | ||||
msgid "" | ||||
"Provide data which should be formatted with collapsed whitespace. Whitespace " | ||||
"from preceding and successive calls to :meth:`add_flowing_data` is " | ||||
"considered as well when the whitespace collapse is performed. The data " | ||||
"which is passed to this method is expected to be word-wrapped by the output " | ||||
"device. Note that any word-wrapping still must be performed by the writer " | ||||
"object due to the need to rely on device and font information." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:93 | ||||
msgid "" | ||||
"Provide data which should be passed to the writer unchanged. Whitespace, " | ||||
"including newline and tab characters, are considered legal in the value of " | ||||
"*data*." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:100 | ||||
msgid "" | ||||
"Insert a label which should be placed to the left of the current left " | ||||
"margin. This should be used for constructing bulleted or numbered lists. If " | ||||
"the *format* value is a string, it is interpreted as a format specification " | ||||
"for *counter*, which should be an integer. The result of this formatting " | ||||
"becomes the value of the label; if *format* is not a string it is used as " | ||||
"the label value directly. The label value is passed as the only argument to " | ||||
"the writer's :meth:`send_label_data` method. Interpretation of non-string " | ||||
"label values is dependent on the associated writer." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:109 | ||||
msgid "" | ||||
"Format specifications are strings which, in combination with a counter " | ||||
"value, are used to compute label values. Each character in the format " | ||||
"string is copied to the label value, with some characters recognized to " | ||||
"indicate a transform on the counter value. Specifically, the character " | ||||
"``'1'`` represents the counter value formatter as an Arabic number, the " | ||||
"characters ``'A'`` and ``'a'`` represent alphabetic representations of the " | ||||
"counter value in upper and lower case, respectively, and ``'I'`` and ``'i'`` " | ||||
"represent the counter value in Roman numerals, in upper and lower case. " | ||||
"Note that the alphabetic and roman transforms require that the counter value " | ||||
"be greater than zero." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:122 | ||||
msgid "" | ||||
"Send any pending whitespace buffered from a previous call to :meth:" | ||||
"`add_flowing_data` to the associated writer object. This should be called " | ||||
"before any direct manipulation of the writer object." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:129 | ||||
msgid "" | ||||
"Push a new alignment setting onto the alignment stack. This may be :const:" | ||||
"`AS_IS` if no change is desired. If the alignment value is changed from the " | ||||
"previous setting, the writer's :meth:`new_alignment` method is called with " | ||||
"the *align* value." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:137 | ||||
msgid "Restore the previous alignment." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:142 | ||||
msgid "" | ||||
"Change some or all font properties of the writer object. Properties which " | ||||
"are not set to :const:`AS_IS` are set to the values passed in while others " | ||||
"are maintained at their current settings. The writer's :meth:`new_font` " | ||||
"method is called with the fully resolved font specification." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:150 | ||||
msgid "Restore the previous font." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:155 | ||||
msgid "" | ||||
"Increase the number of left margin indentations by one, associating the " | ||||
"logical tag *margin* with the new indentation. The initial margin level is " | ||||
"``0``. Changed values of the logical tag must be true values; false values " | ||||
"other than :const:`AS_IS` are not sufficient to change the margin." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:163 | ||||
msgid "Restore the previous margin." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:168 | ||||
msgid "" | ||||
"Push any number of arbitrary style specifications. All styles are pushed " | ||||
"onto the styles stack in order. A tuple representing the entire stack, " | ||||
"including :const:`AS_IS` values, is passed to the writer's :meth:" | ||||
"`new_styles` method." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:175 | ||||
msgid "" | ||||
"Pop the last *n* style specifications passed to :meth:`push_style`. A tuple " | ||||
"representing the revised stack, including :const:`AS_IS` values, is passed " | ||||
"to the writer's :meth:`new_styles` method." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:182 | ||||
msgid "Set the spacing style for the writer." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:187 | ||||
msgid "" | ||||
"Inform the formatter that data has been added to the current paragraph out-" | ||||
"of-band. This should be used when the writer has been manipulated " | ||||
"directly. The optional *flag* argument can be set to false if the writer " | ||||
"manipulations produced a hard line break at the end of the output." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:196 | ||||
msgid "Formatter Implementations" | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:198 | ||||
msgid "" | ||||
"Two implementations of formatter objects are provided by this module. Most " | ||||
"applications may use one of these classes without modification or " | ||||
"subclassing." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:204 | ||||
msgid "" | ||||
"A formatter which does nothing. If *writer* is omitted, a :class:" | ||||
"`NullWriter` instance is created. No methods of the writer are called by :" | ||||
"class:`NullFormatter` instances. Implementations should inherit from this " | ||||
"class if implementing a writer interface but don't need to inherit any " | ||||
"implementation." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:213 | ||||
msgid "" | ||||
"The standard formatter. This implementation has demonstrated wide " | ||||
"applicability to many writers, and may be used directly in most " | ||||
"circumstances. It has been used to implement a full-featured World Wide Web " | ||||
"browser." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:221 | ||||
msgid "The Writer Interface" | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:223 | ||||
msgid "" | ||||
"Interfaces to create writers are dependent on the specific writer class " | ||||
"being instantiated. The interfaces described below are the required " | ||||
"interfaces which all writers must support once initialized. Note that while " | ||||
"most applications can use the :class:`AbstractFormatter` class as a " | ||||
"formatter, the writer must typically be provided by the application." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:232 | ||||
msgid "Flush any buffered output or device control events." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:237 | ||||
msgid "" | ||||
"Set the alignment style. The *align* value can be any object, but by " | ||||
"convention is a string or ``None``, where ``None`` indicates that the " | ||||
"writer's \"preferred\" alignment should be used. Conventional *align* values " | ||||
"are ``'left'``, ``'center'``, ``'right'``, and ``'justify'``." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:245 | ||||
msgid "" | ||||
"Set the font style. The value of *font* will be ``None``, indicating that " | ||||
"the device's default font should be used, or a tuple of the form ``(size, " | ||||
"italic, bold, teletype)``. Size will be a string indicating the size of " | ||||
"font that should be used; specific strings and their interpretation must be " | ||||
"defined by the application. The *italic*, *bold*, and *teletype* values are " | ||||
"Boolean values specifying which of those font attributes should be used." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:255 | ||||
msgid "" | ||||
"Set the margin level to the integer *level* and the logical tag to *margin*. " | ||||
"Interpretation of the logical tag is at the writer's discretion; the only " | ||||
"restriction on the value of the logical tag is that it not be a false value " | ||||
"for non-zero values of *level*." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:263 | ||||
msgid "Set the spacing style to *spacing*." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:268 | ||||
msgid "" | ||||
"Set additional styles. The *styles* value is a tuple of arbitrary values; " | ||||
"the value :const:`AS_IS` should be ignored. The *styles* tuple may be " | ||||
"interpreted either as a set or as a stack depending on the requirements of " | ||||
"the application and writer implementation." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:276 | ||||
msgid "Break the current line." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:281 | ||||
msgid "" | ||||
"Produce a paragraph separation of at least *blankline* blank lines, or the " | ||||
"equivalent. The *blankline* value will be an integer. Note that the " | ||||
"implementation will receive a call to :meth:`send_line_break` before this " | ||||
"call if a line break is needed; this method should not include ending the " | ||||
"last line of the paragraph. It is only responsible for vertical spacing " | ||||
"between paragraphs." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:291 | ||||
msgid "" | ||||
"Display a horizontal rule on the output device. The arguments to this " | ||||
"method are entirely application- and writer-specific, and should be " | ||||
"interpreted with care. The method implementation may assume that a line " | ||||
"break has already been issued via :meth:`send_line_break`." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:299 | ||||
msgid "" | ||||
"Output character data which may be word-wrapped and re-flowed as needed. " | ||||
"Within any sequence of calls to this method, the writer may assume that " | ||||
"spans of multiple whitespace characters have been collapsed to single space " | ||||
"characters." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:306 | ||||
msgid "" | ||||
"Output character data which has already been formatted for display. " | ||||
"Generally, this should be interpreted to mean that line breaks indicated by " | ||||
"newline characters should be preserved and no new line breaks should be " | ||||
"introduced. The data may contain embedded newline and tab characters, " | ||||
"unlike data provided to the :meth:`send_formatted_data` interface." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:315 | ||||
msgid "" | ||||
"Set *data* to the left of the current left margin, if possible. The value of " | ||||
"*data* is not restricted; treatment of non-string values is entirely " | ||||
"application- and writer-dependent. This method will only be called at the " | ||||
"beginning of a line." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:324 | ||||
msgid "Writer Implementations" | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:326 | ||||
msgid "" | ||||
"Three implementations of the writer object interface are provided as " | ||||
"examples by this module. Most applications will need to derive new writer " | ||||
"classes from the :class:`NullWriter` class." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:333 | ||||
msgid "" | ||||
"A writer which only provides the interface definition; no actions are taken " | ||||
"on any methods. This should be the base class for all writers which do not " | ||||
"need to inherit any implementation methods." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:340 | ||||
msgid "" | ||||
"A writer which can be used in debugging formatters, but not much else. Each " | ||||
"method simply announces itself by printing its name and arguments on " | ||||
"standard output." | ||||
msgstr "" | ||||
| ||||
#: library/formatter.rst:347 | ||||
msgid "" | ||||
"Simple writer class which writes output on the :term:`file object` passed in " | ||||
"as *file* or, if *file* is omitted, on standard output. The output is " | ||||
"simply word-wrapped to the number of columns specified by *maxcol*. This " | ||||
"class is suitable for reflowing a sequence of paragraphs." | ||||
msgstr "" | ||||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2020-08-30 23:21+0200\n" | ||||
"Last-Translator: Antoine Wecxsteen\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -2616,13 +2616,14 @@ msgstr "" | |||
"équivalente à l'opérateur puissance : ``base**exp``." | ||||
| ||||
#: library/functions.rst:1355 | ||||
#, fuzzy | ||||
msgid "" | ||||
"The arguments must have numeric types. With mixed operand types, the " | ||||
"coercion rules for binary arithmetic operators apply. For :class:`int` " | ||||
"operands, the result has the same type as the operands (after coercion) " | ||||
"unless the second argument is negative; in that case, all arguments are " | ||||
"converted to float and a float result is delivered. For example, ``10**2`` " | ||||
"returns ``100``, but ``10**-2`` returns ``0.01``." | ||||
"converted to float and a float result is delivered. For example, ``pow(10, " | ||||
"2)`` returns ``100``, but ``pow(10, -2)`` returns ``0.01``." | ||||
msgstr "" | ||||
"Les arguments doivent être de types numériques. Avec des opérandes de " | ||||
"différents types, les mêmes règles de coercition que celles des opérateurs " | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2020-04-27 22:47+0200\n" | ||||
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -627,17 +627,19 @@ msgstr "" | |||
"séquentiel)." | ||||
| ||||
#: library/hashlib.rst:379 | ||||
#, fuzzy | ||||
msgid "" | ||||
"*leaf_size*: maximal byte length of leaf (0 to 2**32-1, 0 if unlimited or in " | ||||
"sequential mode)." | ||||
"*leaf_size*: maximal byte length of leaf (0 to ``2**32-1``, 0 if unlimited " | ||||
"or in sequential mode)." | ||||
msgstr "" | ||||
"*leaf_size*: taille maximale en octets d'une feuille (0 à 2**32-1, 0 si " | ||||
"illimité ou en mode séquentiel)." | ||||
| ||||
#: library/hashlib.rst:382 | ||||
#, fuzzy | ||||
msgid "" | ||||
"*node_offset*: node offset (0 to 2**64-1 for BLAKE2b, 0 to 2**48-1 for " | ||||
"BLAKE2s, 0 for the first, leftmost, leaf, or in sequential mode)." | ||||
"*node_offset*: node offset (0 to ``2**64-1`` for BLAKE2b, 0 to ``2**48-1`` " | ||||
"for BLAKE2s, 0 for the first, leftmost, leaf, or in sequential mode)." | ||||
msgstr "" | ||||
"*node_offset*: décalage de nœud (0 à 2**64-1 pour BLAKE2b, 0 à 2**48-1 pour " | ||||
"BLAKE2s, 0 pour la première feuille la plus à gauche, ou en mode séquentiel)." | ||||
| | @ -766,12 +768,12 @@ msgid "Keyed hashing" | |||
msgstr "Code d'authentification de message" | ||||
| ||||
#: library/hashlib.rst:501 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Keyed hashing can be used for authentication as a faster and simpler " | ||||
"replacement for `Hash-based message authentication code <https://en." | ||||
"wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC). BLAKE2 " | ||||
"can be securely used in prefix-MAC mode thanks to the indifferentiability " | ||||
"property inherited from BLAKE." | ||||
"wikipedia.org/wiki/HMAC>`_ (HMAC). BLAKE2 can be securely used in prefix-MAC " | ||||
"mode thanks to the indifferentiability property inherited from BLAKE." | ||||
msgstr "" | ||||
"Le hachage avec clé (*keyed hashing* en anglais) est une alternative plus " | ||||
"simple et plus rapide à un `code d’authentification d’une empreinte " | ||||
| | | |||
| | @ -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-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2018-09-27 15:05+0200\n" | ||||
"Last-Translator: Bruno Inec <brunoinec@gmail.com>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -71,6 +71,9 @@ msgid "Footnotes" | |||
msgstr "Notes" | ||||
| ||||
#: library/html.entities.rst:47 | ||||
msgid "See https://www.w3.org/TR/html5/syntax.html#named-character-references" | ||||
#, fuzzy | ||||
msgid "" | ||||
"See https://html.spec.whatwg.org/multipage/syntax.html#named-character-" | ||||
"references" | ||||
msgstr "" | ||||
"Voir https://www.w3.org/TR/html5/syntax.html#named-character-references" | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -164,7 +164,7 @@ msgid "" | |||
msgstr "" | ||||
| ||||
#: library/http.cookiejar.rst:129 | ||||
msgid "https://curl.haxx.se/rfc/cookie_spec.html" | ||||
msgid "https://curl.se/rfc/cookie_spec.html" | ||||
msgstr "" | ||||
| ||||
#: library/http.cookiejar.rst:126 | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2019-09-04 11:42+0200\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -257,8 +257,8 @@ msgstr "Distribution" | |||
| ||||
#: library/importlib.metadata.rst:258 | ||||
msgid "" | ||||
"A convience method to resolve the distribution or distributions (in the case " | ||||
"of a namespace package) for top-level Python packages or modules::" | ||||
"A convenience method to resolve the distribution or distributions (in the " | ||||
"case of a namespace package) for top-level Python packages or modules::" | ||||
msgstr "" | ||||
| ||||
#: library/importlib.metadata.rst:269 | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2021-06-08 09:38+0200\n" | ||||
"Last-Translator: Martin Chlumsky <martin.chlumsky@gmail.com>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -66,12 +66,13 @@ msgstr "" | |||
"créer des adresses IP, réseaux et interfaces :" | ||||
| ||||
#: library/ipaddress.rst:42 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Return an :class:`IPv4Address` or :class:`IPv6Address` object depending on " | ||||
"the IP address passed as argument. Either IPv4 or IPv6 addresses may be " | ||||
"supplied; integers less than 2**32 will be considered to be IPv4 by default. " | ||||
"A :exc:`ValueError` is raised if *address* does not represent a valid IPv4 " | ||||
"or IPv6 address." | ||||
"supplied; integers less than ``2**32`` will be considered to be IPv4 by " | ||||
"default. A :exc:`ValueError` is raised if *address* does not represent a " | ||||
"valid IPv4 or IPv6 address." | ||||
msgstr "" | ||||
"Renvoie un objet :class:`IPv4Address` ou :class:`IPv6Address` en fonction de " | ||||
"l'adresse IP passée en argument. Des adresses IPv4 ou IPv6 peuvent être " | ||||
| | @ -80,14 +81,15 @@ msgstr "" | |||
"n'est ni valide en IPv4 ni en IPv6." | ||||
| ||||
#: library/ipaddress.rst:56 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Return an :class:`IPv4Network` or :class:`IPv6Network` object depending on " | ||||
"the IP address passed as argument. *address* is a string or integer " | ||||
"representing the IP network. Either IPv4 or IPv6 networks may be supplied; " | ||||
"integers less than 2**32 will be considered to be IPv4 by default. *strict* " | ||||
"is passed to :class:`IPv4Network` or :class:`IPv6Network` constructor. A :" | ||||
"exc:`ValueError` is raised if *address* does not represent a valid IPv4 or " | ||||
"IPv6 address, or if the network has host bits set." | ||||
"integers less than ``2**32`` will be considered to be IPv4 by default. " | ||||
"*strict* is passed to :class:`IPv4Network` or :class:`IPv6Network` " | ||||
"constructor. A :exc:`ValueError` is raised if *address* does not represent " | ||||
"a valid IPv4 or IPv6 address, or if the network has host bits set." | ||||
msgstr "" | ||||
"Renvoie un objet :class:`IPv4Network` ou :class:`IPv6Network` en fonction de " | ||||
"l'adresse IP passée en argument. *address* est une chaîne ou un entier " | ||||
| | @ -98,13 +100,14 @@ msgstr "" | |||
"ni valide en IPv4 ni en IPv6, ou si le réseau a des bits d'hôte définis." | ||||
| ||||
#: library/ipaddress.rst:70 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Return an :class:`IPv4Interface` or :class:`IPv6Interface` object depending " | ||||
"on the IP address passed as argument. *address* is a string or integer " | ||||
"representing the IP address. Either IPv4 or IPv6 addresses may be supplied; " | ||||
"integers less than 2**32 will be considered to be IPv4 by default. A :exc:" | ||||
"`ValueError` is raised if *address* does not represent a valid IPv4 or IPv6 " | ||||
"address." | ||||
"integers less than ``2**32`` will be considered to be IPv4 by default. A :" | ||||
"exc:`ValueError` is raised if *address* does not represent a valid IPv4 or " | ||||
"IPv6 address." | ||||
msgstr "" | ||||
"Renvoie un objet :class:`IPv4Interface` ou :class:`IPv6Interface` en " | ||||
"fonction de l'adresse IP passée en argument. *address* est une chaîne ou un " | ||||
| | @ -823,7 +826,7 @@ msgstr "" | |||
#: library/ipaddress.rst:683 | ||||
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." | ||||
"db00::0/24`` is a valid argument while ``2001:db00::0/ffff:ff00::`` is not." | ||||
msgstr "" | ||||
| ||||
#: library/ipaddress.rst:687 | ||||
| | | |||
| | @ -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-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2021-07-28 18:57+0200\n" | ||||
"Last-Translator: Caliendo Julien <caliendo@hotmail.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -24,13 +24,14 @@ msgid "**Source code:** :source:`Lib/json/__init__.py`" | |||
msgstr "**Code source :** :source:`Lib/json/__init__.py`" | ||||
| ||||
#: library/json.rst:14 | ||||
#, fuzzy | ||||
msgid "" | ||||
"`JSON (JavaScript Object Notation) <http://json.org>`_, specified by :rfc:" | ||||
"`7159` (which obsoletes :rfc:`4627`) and by `ECMA-404 <http://www.ecma-" | ||||
"international.org/publications/standards/Ecma-404.htm>`_, is a lightweight " | ||||
"data interchange format inspired by `JavaScript <https://en.wikipedia.org/" | ||||
"wiki/JavaScript>`_ object literal syntax (although it is not a strict subset " | ||||
"of JavaScript [#rfc-errata]_ )." | ||||
"`JSON (JavaScript Object Notation) <https://json.org>`_, specified by :rfc:" | ||||
"`7159` (which obsoletes :rfc:`4627`) and by `ECMA-404 <https://www.ecma-" | ||||
"international.org/publications-and-standards/standards/ecma-404/>`_, is a " | ||||
"lightweight data interchange format inspired by `JavaScript <https://en." | ||||
"wikipedia.org/wiki/JavaScript>`_ object literal syntax (although it is not a " | ||||
"strict subset of JavaScript [#rfc-errata]_ )." | ||||
msgstr "" | ||||
"`JSON (JavaScript Object Notation) <http://json.org>`_, décrit par la :rfc:" | ||||
"`7159` (qui rend la :rfc:`4627` obsolète) et par le standard `ECMA-404 " | ||||
| | @ -762,12 +763,13 @@ msgid "Standard Compliance and Interoperability" | |||
msgstr "Conformité au standard et Interopérabilité" | ||||
| ||||
#: library/json.rst:546 | ||||
#, fuzzy | ||||
msgid "" | ||||
"The JSON format is specified by :rfc:`7159` and by `ECMA-404 <http://www." | ||||
"ecma-international.org/publications/standards/Ecma-404.htm>`_. This section " | ||||
"details this module's level of compliance with the RFC. For simplicity, :" | ||||
"class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and parameters " | ||||
"other than those explicitly mentioned, are not considered." | ||||
"The JSON format is specified by :rfc:`7159` and by `ECMA-404 <https://www." | ||||
"ecma-international.org/publications-and-standards/standards/ecma-404/>`_. " | ||||
"This section details this module's level of compliance with the RFC. For " | ||||
"simplicity, :class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and " | ||||
"parameters other than those explicitly mentioned, are not considered." | ||||
msgstr "" | ||||
"Le format JSON est décrit par la :rfc:`7159` et le standard `ECMA-404 " | ||||
"<http://www.ecma-international.org/publications/standards/Ecma-404.htm>`_. " | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2020-03-23 22:54+0100\n" | ||||
"Last-Translator: Mathieu Dupuy <deronnax@gmail.com>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -2070,7 +2070,7 @@ msgstr "" | |||
| ||||
#: library/logging.rst:1362 | ||||
msgid "" | ||||
"`Original Python logging package <https://www.red-dove.com/python_logging." | ||||
"`Original Python logging package <https://old.red-dove.com/python_logging." | ||||
"html>`_" | ||||
msgstr "" | ||||
| ||||
| | | |||
| | @ -1,27 +0,0 @@ | |||
# Copyright (C) 2001-2018, Python Software Foundation | ||||
# For licence information, see README file. | ||||
# | ||||
msgid "" | ||||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2020-08-24 09:01+0200\n" | ||||
"PO-Revision-Date: 2018-02-15 00:44+0100\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||
"Content-Transfer-Encoding: 8bit\n" | ||||
| ||||
#: library/misc.rst:5 | ||||
msgid "Miscellaneous Services" | ||||
msgstr "Services divers" | ||||
| ||||
#: library/misc.rst:7 | ||||
msgid "" | ||||
"The modules described in this chapter provide miscellaneous services that " | ||||
"are available in all Python versions. Here's an overview:" | ||||
msgstr "" | ||||
"Les modules documentés dans ce chapitre fournissent différents services " | ||||
"disponibles dans toutes les version de Python. En voici un aperçu :" | ||||
File diff suppressed because it is too large Load diff
| | @ -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-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2019-09-04 11:44+0200\n" | ||||
"Last-Translator: Antoine Wecxsteen\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -382,3 +382,12 @@ msgstr "" | |||
"L'exemple ci-dessous montre comment un, deux ou un grand nombre de processus " | ||||
"peuvent accéder à une :class:`ShareableList` commune à partir du nom du bloc " | ||||
"mémoire partagé sous-jacent :" | ||||
| ||||
#: library/multiprocessing.shared_memory.rst:345 | ||||
msgid "" | ||||
"The following examples demonstrates that ``ShareableList`` (and underlying " | ||||
"``SharedMemory``) objects can be pickled and unpickled if needed. Note, that " | ||||
"it will still be the same shared object. This happens, because the " | ||||
"deserialized object has the same unique name and is just attached to an " | ||||
"existing object with the same name (if the object is still alive):" | ||||
msgstr "" | ||||
| | | |||
| | @ -1,145 +0,0 @@ | |||
# Copyright (C) 2001-2018, Python Software Foundation | ||||
# For licence information, see README file. | ||||
# | ||||
msgid "" | ||||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2020-08-24 09:01+0200\n" | ||||
"PO-Revision-Date: 2018-10-13 17:51+0200\n" | ||||
"Last-Translator: \n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||
"Content-Transfer-Encoding: 8bit\n" | ||||
"X-Generator: Poedit 2.0.6\n" | ||||
| ||||
#: library/othergui.rst:4 | ||||
msgid "Other Graphical User Interface Packages" | ||||
msgstr "Autres paquets d'interface graphique utilisateur" | ||||
| ||||
#: library/othergui.rst:6 | ||||
msgid "" | ||||
"Major cross-platform (Windows, Mac OS X, Unix-like) GUI toolkits are " | ||||
"available for Python:" | ||||
msgstr "" | ||||
"Des boîtes à outils multiplateformes (Windows, Mac OS X ou Unix et assimilé) " | ||||
"majeures sont disponibles pour Python :" | ||||
| ||||
#: library/othergui.rst:17 | ||||
msgid "`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_" | ||||
msgstr "`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_" | ||||
| ||||
#: library/othergui.rst:12 | ||||
msgid "" | ||||
"PyGObject provides introspection bindings for C libraries using `GObject " | ||||
"<https://developer.gnome.org/gobject/stable/>`_. One of these libraries is " | ||||
"the `GTK+ 3 <https://www.gtk.org/>`_ widget set. GTK+ comes with many more " | ||||
"widgets than Tkinter provides. An online `Python GTK+ 3 Tutorial <https://" | ||||
"python-gtk-3-tutorial.readthedocs.io/>`_ is available." | ||||
msgstr "" | ||||
"*PyGObject* fournit une surcouche introspective pour les bibliothèques C " | ||||
"utilisant `GObject <https://developer.gnome.org/gobject/stable/>`_. Une de " | ||||
"ces bibliothèques est la collection de composants graphiques `GTK+ 3 " | ||||
"<https://www.gtk.org/>`_" | ||||
| ||||
#: library/othergui.rst:24 | ||||
msgid "`PyGTK <http://www.pygtk.org/>`_" | ||||
msgstr "`PyGTK <http://www.pygtk.org/>`_" | ||||
| ||||
#: library/othergui.rst:20 | ||||
msgid "" | ||||
"PyGTK provides bindings for an older version of the library, GTK+ 2. It " | ||||
"provides an object oriented interface that is slightly higher level than the " | ||||
"C one. There are also bindings to `GNOME <https://www.gnome.org/>`_. An " | ||||
"online `tutorial <http://www.pygtk.org/pygtk2tutorial/index.html>`_ is " | ||||
"available." | ||||
msgstr "" | ||||
"*PyGTK* fournit une surcouche pour une version plus ancienne de la " | ||||
"bibliothèque, GTK+ 2. Cette dernière fournit une interface orientée objet " | ||||
"qui est légèrement plus haut niveau que son équivalent C. Il y a également " | ||||
"une surcouche pour `GNOME <https://www.gnome.org/>`_. Un `tutoriel <http://" | ||||
"www.pygtk.org/pygtk2tutorial/index.html>`_ en ligne est disponible." | ||||
| ||||
#: library/othergui.rst:31 | ||||
msgid "`PyQt <https://riverbankcomputing.com/software/pyqt/intro>`_" | ||||
msgstr "`PyQt <https://riverbankcomputing.com/software/pyqt/intro>`_" | ||||
| ||||
#: library/othergui.rst:27 | ||||
msgid "" | ||||
"PyQt is a :program:`sip`\\ -wrapped binding to the Qt toolkit. Qt is an " | ||||
"extensive C++ GUI application development framework that is available for " | ||||
"Unix, Windows and Mac OS X. :program:`sip` is a tool for generating bindings " | ||||
"for C++ libraries as Python classes, and is specifically designed for Python." | ||||
msgstr "" | ||||
"*PyQt* est une surcouche de la boite à outils *Qt* basée sur :program:`sip`. " | ||||
"*Qt* est un *framework* complet de développement d'interface graphique en C+" | ||||
"+ , disponible pour Unix, Windows et Mac OS X. :program:`sip` est un outil " | ||||
"pour générer une surcouche de classes Python au dessus de bibliothèques C++, " | ||||
"et est spécifiquement conçu pour Python." | ||||
| ||||
#: library/othergui.rst:37 | ||||
#, fuzzy | ||||
msgid "`PySide2 <https://doc.qt.io/qtforpython/>`_" | ||||
msgstr "`PySide <https://wiki.qt.io/PySide>`_" | ||||
| ||||
#: library/othergui.rst:34 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Also known as the Qt for Python project, PySide2 is a newer binding to the " | ||||
"Qt toolkit. It is provided by The Qt Company and aims to provide a complete " | ||||
"port of PySide to Qt 5. Compared to PyQt, its licensing scheme is friendlier " | ||||
"to non-open source applications." | ||||
msgstr "" | ||||
"*PySide* est une nouvelle surcouche de la boîte à outils *Qt*, fournie par " | ||||
"Nokia. Comparée à *PyQT*, son système de licence est plus accommodant pour " | ||||
"les application non open source." | ||||
| ||||
#: library/othergui.rst:48 | ||||
msgid "`wxPython <https://www.wxpython.org>`_" | ||||
msgstr "`wxPython <https://www.wxpython.org>`_" | ||||
| ||||
#: library/othergui.rst:40 | ||||
msgid "" | ||||
"wxPython is a cross-platform GUI toolkit for Python that is built around the " | ||||
"popular `wxWidgets <https://www.wxwidgets.org/>`_ (formerly wxWindows) C++ " | ||||
"toolkit. It provides a native look and feel for applications on Windows, " | ||||
"Mac OS X, and Unix systems by using each platform's native widgets where " | ||||
"ever possible, (GTK+ on Unix-like systems). In addition to an extensive set " | ||||
"of widgets, wxPython provides classes for online documentation and context " | ||||
"sensitive help, printing, HTML viewing, low-level device context drawing, " | ||||
"drag and drop, system clipboard access, an XML-based resource format and " | ||||
"more, including an ever growing library of user-contributed modules." | ||||
msgstr "" | ||||
"*wxPython* est une boîte à outils d'interface graphique multiplateforme pour " | ||||
"Python qui est construite autour de la populaire boîte à outils `wxWidgets " | ||||
"<https://www.wxwidgets.org/>`_ (anciennement *wxWindows*). En plus d'un " | ||||
"ensemble de composants graphiques complet, *wxPython* fournit des classes " | ||||
"pour de la documentation en ligne, de l'aide contextuelle, de l'impression, " | ||||
"de la consultation de HTML, du rendu graphique bas niveau, du glisser-" | ||||
"déposer, l'accès au système de presse-papier, un DSL de description de " | ||||
"ressources en XML et même plus, y compris une collection de modules " | ||||
"contribués par la communauté qui grandit sans cesse. Elle fournit un aspect " | ||||
"et une expérience native pour les applications sur Windows, Mac OS X et " | ||||
"systèmes Unix en utilisant les composants natifs de chaque plateforme quand " | ||||
"cela est possible (GTK+ sur les systèmes Unix et assimilés). " | ||||
| ||||
#: library/othergui.rst:51 | ||||
#, fuzzy | ||||
msgid "" | ||||
"PyGTK, PyQt, PySide2, and wxPython, all have a modern look and feel and more " | ||||
"widgets than Tkinter. In addition, there are many other GUI toolkits for " | ||||
"Python, both cross-platform, and platform-specific. See the `GUI Programming " | ||||
"<https://wiki.python.org/moin/GuiProgramming>`_ page in the Python Wiki for " | ||||
"a much more complete list, and also for links to documents where the " | ||||
"different GUI toolkits are compared." | ||||
msgstr "" | ||||
"*PyGTK*, *PyQt*, et *wxPython* fournissent tous un aspect et une expérience " | ||||
"moderne ainsi que plus de composants graphiques que Tkinter. De plus, il y a " | ||||
"de nombreuses autres boîtes à outils pour Python, que ce soit " | ||||
"multiplateformes ou spécifiques à une plateforme. Consultez la page sur la " | ||||
"`programmation d'interface graphique <https://wiki.python.org/moin/" | ||||
"GuiProgramming>`_ du Wiki Python pour une liste bien plus complète, ainsi " | ||||
"que des liens vers des documents où les différentes boîtes à outils " | ||||
"graphiques sont comparées." | ||||
| | @ -1,441 +0,0 @@ | |||
# Copyright (C) 2001-2018, Python Software Foundation | ||||
# For licence information, see README file. | ||||
# | ||||
msgid "" | ||||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2020-08-24 09:01+0200\n" | ||||
"PO-Revision-Date: 2019-06-20 14:07+0200\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||
"Content-Transfer-Encoding: 8bit\n" | ||||
| ||||
#: library/parser.rst:2 | ||||
msgid ":mod:`parser` --- Access Python parse trees" | ||||
msgstr ":mod:`parser` — Accès aux arbres syntaxiques" | ||||
| ||||
#: library/parser.rst:21 | ||||
msgid "" | ||||
"The :mod:`parser` module provides an interface to Python's internal parser " | ||||
"and byte-code compiler. The primary purpose for this interface is to allow " | ||||
"Python code to edit the parse tree of a Python expression and create " | ||||
"executable code from this. This is better than trying to parse and modify " | ||||
"an arbitrary Python code fragment as a string because parsing is performed " | ||||
"in a manner identical to the code forming the application. It is also " | ||||
"faster." | ||||
msgstr "" | ||||
"Le module :mod:`parser` expose une interface à l'analyseur et au compilateur " | ||||
"de byte-code internes de Python. Son objectif principal est de permettre à " | ||||
"du code Python de modifier l'arbre syntaxique d'une expression Python puis " | ||||
"de la rendre exécutable. Cette approche est plus fiable que celle consistant " | ||||
"à manipuler des chaines de caractères, puisque l'analyse est faite avec le " | ||||
"même analyseur que celui utilisé pour le code de l'application. C'est aussi " | ||||
"plus rapide." | ||||
| ||||
#: library/parser.rst:30 | ||||
#, fuzzy | ||||
msgid "" | ||||
"The parser module is deprecated and will be removed in future versions of " | ||||
"Python. For the majority of use cases you can leverage the Abstract Syntax " | ||||
"Tree (AST) generation and compilation stage, using the :mod:`ast` module." | ||||
msgstr "" | ||||
"À partir de Python 2.5, il est plus pratique de faire ces manipulations " | ||||
"entre la génération de l'AST (*Abstract Syntax Tree*) et la compilation, en " | ||||
"utilisant le module :mod:`ast`." | ||||
| ||||
#: library/parser.rst:34 | ||||
msgid "" | ||||
"There are a few things to note about this module which are important to " | ||||
"making use of the data structures created. This is not a tutorial on " | ||||
"editing the parse trees for Python code, but some examples of using the :mod:" | ||||
"`parser` module are presented." | ||||
msgstr "" | ||||
"Certaines particularités de ce module sont importantes à retenir pour en " | ||||
"faire un bon usage. Ce n'est pas un tutoriel sur la modification d'arbres " | ||||
"syntaxiques Python, mais certains exemples d'utilisation du module :mod:" | ||||
"`parser` sont présentés." | ||||
| ||||
#: library/parser.rst:39 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Most importantly, a good understanding of the Python grammar processed by " | ||||
"the internal parser is required. For full information on the language " | ||||
"syntax, refer to :ref:`reference-index`. The parser itself is created from " | ||||
"a grammar specification defined in the file :file:`Grammar/Grammar` in the " | ||||
"standard Python distribution. The parse trees stored in the ST objects " | ||||
"created by this module are the actual output from the internal parser when " | ||||
"created by the :func:`expr` or :func:`suite` functions, described below. " | ||||
"The ST objects created by :func:`sequence2st` faithfully simulate those " | ||||
"structures. Be aware that the values of the sequences which are considered " | ||||
"\"correct\" will vary from one version of Python to another as the formal " | ||||
"grammar for the language is revised. However, transporting code from one " | ||||
"Python version to another as source text will always allow correct parse " | ||||
"trees to be created in the target version, with the only restriction being " | ||||
"that migrating to an older version of the interpreter will not support more " | ||||
"recent language constructs. The parse trees are not typically compatible " | ||||
"from one version to another, though source code has usually been forward-" | ||||
"compatible within a major release series." | ||||
msgstr "" | ||||
"Le prérequis le plus important est une bonne compréhension de la grammaire " | ||||
"Python utilisée par l'analyseur interne dont la syntaxe est documentée " | ||||
"exhaustivement dans :ref:`reference-index`. L'analyseur lui-même est généré " | ||||
"à partir d'une grammaire spécifiée dans le fichier :file:`Grammar/Grammar` " | ||||
"dans la distribution standard de Python. Les arbres syntaxiques stockés dans " | ||||
"les objets ST créés par les fonctions :func:`expr` ou :func:`suite` de ce " | ||||
"module sont directement le résultat de l'analyseur interne, alors que les " | ||||
"objets ST créés par :func:`sequence2st` simulent ces structures. N'oubliez " | ||||
"pas qu'une séquence considérée « correcte » dans une version de Python peut " | ||||
"ne pas l'être dans une autre, la grammaire de Python pouvant évoluer. " | ||||
"Cependant, déplacer du code source d'une version de Python à une autre sous " | ||||
"forme textuelle donnera toujours des arbres syntaxique corrects, à " | ||||
"l'exception qu'une version plus ancienne de l'interpréteur ne pourra pas " | ||||
"analyser les constructions récentes du langage. Les arbres syntaxiques quant " | ||||
"à eux ne sont généralement pas compatibles d'une version à l'autre, alors " | ||||
"que le code source a toujours conservé la compatibilité ascendante." | ||||
| ||||
#: library/parser.rst:57 | ||||
msgid "" | ||||
"Each element of the sequences returned by :func:`st2list` or :func:" | ||||
"`st2tuple` has a simple form. Sequences representing non-terminal elements " | ||||
"in the grammar always have a length greater than one. The first element is " | ||||
"an integer which identifies a production in the grammar. These integers are " | ||||
"given symbolic names in the C header file :file:`Include/graminit.h` and the " | ||||
"Python module :mod:`symbol`. Each additional element of the sequence " | ||||
"represents a component of the production as recognized in the input string: " | ||||
"these are always sequences which have the same form as the parent. An " | ||||
"important aspect of this structure which should be noted is that keywords " | ||||
"used to identify the parent node type, such as the keyword :keyword:`if` in " | ||||
"an :const:`if_stmt`, are included in the node tree without any special " | ||||
"treatment. For example, the :keyword:`!if` keyword is represented by the " | ||||
"tuple ``(1, 'if')``, where ``1`` is the numeric value associated with all :" | ||||
"const:`NAME` tokens, including variable and function names defined by the " | ||||
"user. In an alternate form returned when line number information is " | ||||
"requested, the same token might be represented as ``(1, 'if', 12)``, where " | ||||
"the ``12`` represents the line number at which the terminal symbol was found." | ||||
msgstr "" | ||||
"Chaque élément des séquences renvoyé par les fonctions :func:`st2list` ou :" | ||||
"func:`st2tuple` possède une forme simple. Les séquences représentant des " | ||||
"éléments non terminaux de la grammaire ont toujours une taille supérieure à " | ||||
"un. Le premier élément est un nombre entier représentant un élément de la " | ||||
"grammaire. Le fichier d'en-têtes C :file:`Include/graminit.h` et le module " | ||||
"Python :mod:`symbol` attribuent des noms symboliques à ces nombres. Les " | ||||
"éléments suivants représentent les composants, tels que reconnus dans la " | ||||
"chaîne analysée, de cet élément grammatical : ces séquences ont toujours la " | ||||
"même forme que leur parent. Notez que les mots clés utilisés pour identifier " | ||||
"le type du nœud parent, tel que :keyword:`if` dans un :const:`if_stmt` sont " | ||||
"inclus dans l'arbre du nœud sans traitement particulier. Par exemple, le mot " | ||||
"clé :keyword:`!if` est représenté par la paire ``(1, 'if')``, où ``1`` est " | ||||
"la valeur numérique pour les lexèmes :const:`NAME`, ce qui inclut les noms " | ||||
"de variables et de fonctions définis par l'utilisateur. Dans sa forme " | ||||
"alternative, renvoyée lorsque le numéro de la ligne est requis, le même " | ||||
"lexème peut être représenté : ``(1, 'if', 12)``, où ``12`` est le numéro de " | ||||
"la ligne sur laquelle le dernier symbole se trouve." | ||||
| ||||
#: library/parser.rst:74 | ||||
msgid "" | ||||
"Terminal elements are represented in much the same way, but without any " | ||||
"child elements and the addition of the source text which was identified. " | ||||
"The example of the :keyword:`if` keyword above is representative. The " | ||||
"various types of terminal symbols are defined in the C header file :file:" | ||||
"`Include/token.h` and the Python module :mod:`token`." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:80 | ||||
msgid "" | ||||
"The ST objects are not required to support the functionality of this module, " | ||||
"but are provided for three purposes: to allow an application to amortize the " | ||||
"cost of processing complex parse trees, to provide a parse tree " | ||||
"representation which conserves memory space when compared to the Python list " | ||||
"or tuple representation, and to ease the creation of additional modules in C " | ||||
"which manipulate parse trees. A simple \"wrapper\" class may be created in " | ||||
"Python to hide the use of ST objects." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:88 | ||||
msgid "" | ||||
"The :mod:`parser` module defines functions for a few distinct purposes. The " | ||||
"most important purposes are to create ST objects and to convert ST objects " | ||||
"to other representations such as parse trees and compiled code objects, but " | ||||
"there are also functions which serve to query the type of parse tree " | ||||
"represented by an ST object." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:98 | ||||
msgid "Module :mod:`symbol`" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:98 | ||||
msgid "Useful constants representing internal nodes of the parse tree." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:101 | ||||
#, fuzzy | ||||
msgid "Module :mod:`token`" | ||||
msgstr "Module :mod:`tokenize`" | ||||
| ||||
#: library/parser.rst:101 | ||||
msgid "" | ||||
"Useful constants representing leaf nodes of the parse tree and functions for " | ||||
"testing node values." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:108 | ||||
msgid "Creating ST Objects" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:110 | ||||
msgid "" | ||||
"ST objects may be created from source code or from a parse tree. When " | ||||
"creating an ST object from source, different functions are used to create " | ||||
"the ``'eval'`` and ``'exec'`` forms." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:117 | ||||
msgid "" | ||||
"The :func:`expr` function parses the parameter *source* as if it were an " | ||||
"input to ``compile(source, 'file.py', 'eval')``. If the parse succeeds, an " | ||||
"ST object is created to hold the internal parse tree representation, " | ||||
"otherwise an appropriate exception is raised." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:125 | ||||
msgid "" | ||||
"The :func:`suite` function parses the parameter *source* as if it were an " | ||||
"input to ``compile(source, 'file.py', 'exec')``. If the parse succeeds, an " | ||||
"ST object is created to hold the internal parse tree representation, " | ||||
"otherwise an appropriate exception is raised." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:133 | ||||
msgid "" | ||||
"This function accepts a parse tree represented as a sequence and builds an " | ||||
"internal representation if possible. If it can validate that the tree " | ||||
"conforms to the Python grammar and all nodes are valid node types in the " | ||||
"host version of Python, an ST object is created from the internal " | ||||
"representation and returned to the called. If there is a problem creating " | ||||
"the internal representation, or if the tree cannot be validated, a :exc:" | ||||
"`ParserError` exception is raised. An ST object created this way should not " | ||||
"be assumed to compile correctly; normal exceptions raised by compilation may " | ||||
"still be initiated when the ST object is passed to :func:`compilest`. This " | ||||
"may indicate problems not related to syntax (such as a :exc:`MemoryError` " | ||||
"exception), but may also be due to constructs such as the result of parsing " | ||||
"``del f(0)``, which escapes the Python parser but is checked by the bytecode " | ||||
"compiler." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:146 | ||||
msgid "" | ||||
"Sequences representing terminal tokens may be represented as either two-" | ||||
"element lists of the form ``(1, 'name')`` or as three-element lists of the " | ||||
"form ``(1, 'name', 56)``. If the third element is present, it is assumed to " | ||||
"be a valid line number. The line number may be specified for any subset of " | ||||
"the terminal symbols in the input tree." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:155 | ||||
msgid "" | ||||
"This is the same function as :func:`sequence2st`. This entry point is " | ||||
"maintained for backward compatibility." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:162 | ||||
msgid "Converting ST Objects" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:164 | ||||
msgid "" | ||||
"ST objects, regardless of the input used to create them, may be converted to " | ||||
"parse trees represented as list- or tuple- trees, or may be compiled into " | ||||
"executable code objects. Parse trees may be extracted with or without line " | ||||
"numbering information." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:172 | ||||
msgid "" | ||||
"This function accepts an ST object from the caller in *st* and returns a " | ||||
"Python list representing the equivalent parse tree. The resulting list " | ||||
"representation can be used for inspection or the creation of a new parse " | ||||
"tree in list form. This function does not fail so long as memory is " | ||||
"available to build the list representation. If the parse tree will only be " | ||||
"used for inspection, :func:`st2tuple` should be used instead to reduce " | ||||
"memory consumption and fragmentation. When the list representation is " | ||||
"required, this function is significantly faster than retrieving a tuple " | ||||
"representation and converting that to nested lists." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:182 | ||||
msgid "" | ||||
"If *line_info* is true, line number information will be included for all " | ||||
"terminal tokens as a third element of the list representing the token. Note " | ||||
"that the line number provided specifies the line on which the token *ends*. " | ||||
"This information is omitted if the flag is false or omitted." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:190 | ||||
msgid "" | ||||
"This function accepts an ST object from the caller in *st* and returns a " | ||||
"Python tuple representing the equivalent parse tree. Other than returning a " | ||||
"tuple instead of a list, this function is identical to :func:`st2list`." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:194 | ||||
msgid "" | ||||
"If *line_info* is true, line number information will be included for all " | ||||
"terminal tokens as a third element of the list representing the token. This " | ||||
"information is omitted if the flag is false or omitted." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:205 | ||||
msgid "" | ||||
"The Python byte compiler can be invoked on an ST object to produce code " | ||||
"objects which can be used as part of a call to the built-in :func:`exec` or :" | ||||
"func:`eval` functions. This function provides the interface to the compiler, " | ||||
"passing the internal parse tree from *st* to the parser, using the source " | ||||
"file name specified by the *filename* parameter. The default value supplied " | ||||
"for *filename* indicates that the source was an ST object." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:212 | ||||
msgid "" | ||||
"Compiling an ST object may result in exceptions related to compilation; an " | ||||
"example would be a :exc:`SyntaxError` caused by the parse tree for ``del " | ||||
"f(0)``: this statement is considered legal within the formal grammar for " | ||||
"Python but is not a legal language construct. The :exc:`SyntaxError` raised " | ||||
"for this condition is actually generated by the Python byte-compiler " | ||||
"normally, which is why it can be raised at this point by the :mod:`parser` " | ||||
"module. Most causes of compilation failure can be diagnosed " | ||||
"programmatically by inspection of the parse tree." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:225 | ||||
msgid "Queries on ST Objects" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:227 | ||||
msgid "" | ||||
"Two functions are provided which allow an application to determine if an ST " | ||||
"was created as an expression or a suite. Neither of these functions can be " | ||||
"used to determine if an ST was created from source code via :func:`expr` or :" | ||||
"func:`suite` or from a parse tree via :func:`sequence2st`." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:237 | ||||
msgid "" | ||||
"When *st* represents an ``'eval'`` form, this function returns ``True``, " | ||||
"otherwise it returns ``False``. This is useful, since code objects normally " | ||||
"cannot be queried for this information using existing built-in functions. " | ||||
"Note that the code objects created by :func:`compilest` cannot be queried " | ||||
"like this either, and are identical to those created by the built-in :func:" | ||||
"`compile` function." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:246 | ||||
msgid "" | ||||
"This function mirrors :func:`isexpr` in that it reports whether an ST object " | ||||
"represents an ``'exec'`` form, commonly known as a \"suite.\" It is not " | ||||
"safe to assume that this function is equivalent to ``not isexpr(st)``, as " | ||||
"additional syntactic fragments may be supported in the future." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:255 | ||||
msgid "Exceptions and Error Handling" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:257 | ||||
msgid "" | ||||
"The parser module defines a single exception, but may also pass other built-" | ||||
"in exceptions from other portions of the Python runtime environment. See " | ||||
"each function for information about the exceptions it can raise." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:264 | ||||
msgid "" | ||||
"Exception raised when a failure occurs within the parser module. This is " | ||||
"generally produced for validation failures rather than the built-in :exc:" | ||||
"`SyntaxError` raised during normal parsing. The exception argument is either " | ||||
"a string describing the reason of the failure or a tuple containing a " | ||||
"sequence causing the failure from a parse tree passed to :func:`sequence2st` " | ||||
"and an explanatory string. Calls to :func:`sequence2st` need to be able to " | ||||
"handle either type of exception, while calls to other functions in the " | ||||
"module will only need to be aware of the simple string values." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:273 | ||||
msgid "" | ||||
"Note that the functions :func:`compilest`, :func:`expr`, and :func:`suite` " | ||||
"may raise exceptions which are normally raised by the parsing and " | ||||
"compilation process. These include the built in exceptions :exc:" | ||||
"`MemoryError`, :exc:`OverflowError`, :exc:`SyntaxError`, and :exc:" | ||||
"`SystemError`. In these cases, these exceptions carry all the meaning " | ||||
"normally associated with them. Refer to the descriptions of each function " | ||||
"for detailed information." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:284 | ||||
msgid "ST Objects" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:286 | ||||
msgid "" | ||||
"Ordered and equality comparisons are supported between ST objects. Pickling " | ||||
"of ST objects (using the :mod:`pickle` module) is also supported." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:292 | ||||
msgid "" | ||||
"The type of the objects returned by :func:`expr`, :func:`suite` and :func:" | ||||
"`sequence2st`." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:295 | ||||
msgid "ST objects have the following methods:" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:300 | ||||
msgid "Same as ``compilest(st, filename)``." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:305 | ||||
msgid "Same as ``isexpr(st)``." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:310 | ||||
msgid "Same as ``issuite(st)``." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:315 | ||||
msgid "Same as ``st2list(st, line_info, col_info)``." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:320 | ||||
msgid "Same as ``st2tuple(st, line_info, col_info)``." | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:324 | ||||
msgid "Example: Emulation of :func:`compile`" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:326 | ||||
msgid "" | ||||
"While many useful operations may take place between parsing and bytecode " | ||||
"generation, the simplest operation is to do nothing. For this purpose, " | ||||
"using the :mod:`parser` module to produce an intermediate data structure is " | ||||
"equivalent to the code ::" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:336 | ||||
msgid "" | ||||
"The equivalent operation using the :mod:`parser` module is somewhat longer, " | ||||
"and allows the intermediate internal parse tree to be retained as an ST " | ||||
"object::" | ||||
msgstr "" | ||||
| ||||
#: library/parser.rst:346 | ||||
msgid "" | ||||
"An application which needs both ST and code objects can package this code " | ||||
"into readily available functions::" | ||||
msgstr "" | ||||
| | @ -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-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -194,7 +194,7 @@ msgstr "" | |||
#: library/plistlib.rst:135 | ||||
msgid "" | ||||
"It has one attribute, :attr:`data`, which can be used to retrieve the int " | ||||
"value of the UID. :attr:`data` must be in the range `0 <= data < 2**64`." | ||||
"value of the UID. :attr:`data` must be in the range ``0 <= data < 2**64``." | ||||
msgstr "" | ||||
| ||||
#: library/plistlib.rst:141 | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2019-10-31 15:32+0100\n" | ||||
"Last-Translator: Khaïs COLIN <kh.col@orange.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -780,7 +780,7 @@ msgstr "" | |||
"Simulation des heures d'arrivée et des livraisons de services dans une seule " | ||||
"file d'attente de serveurs ::" | ||||
| ||||
#: library/random.rst:541 | ||||
#: library/random.rst:542 | ||||
msgid "" | ||||
"`Statistics for Hackers <https://www.youtube.com/watch?v=Iq9DzN6mvYA>`_ a " | ||||
"video tutorial by `Jake Vanderplas <https://us.pycon.org/2016/speaker/" | ||||
| | @ -793,7 +793,7 @@ msgstr "" | |||
"concepts fondamentaux dont la simulation, l'échantillonnage, le brassage et " | ||||
"la validation croisée." | ||||
| ||||
#: library/random.rst:547 | ||||
#: library/random.rst:548 | ||||
msgid "" | ||||
"`Economics Simulation <http://nbviewer.jupyter.org/url/norvig.com/ipython/" | ||||
"Economics.ipynb>`_ a simulation of a marketplace by `Peter Norvig <http://" | ||||
| | @ -807,7 +807,7 @@ msgstr "" | |||
"distributions fournis par ce module (*gauss*, *uniform*, *sample*, " | ||||
"*betavariate*, *choice*, *triangular*, et *randrange*)." | ||||
| ||||
#: library/random.rst:554 | ||||
#: library/random.rst:555 | ||||
msgid "" | ||||
"`A Concrete Introduction to Probability (using Python) <http://nbviewer." | ||||
"jupyter.org/url/norvig.com/ipython/Probability.ipynb>`_ a tutorial by `Peter " | ||||
| | @ -821,11 +821,11 @@ msgstr "" | |||
"théorie des probabilités, comment écrire des simulations, et comment " | ||||
"effectuer des analyses de données avec Python." | ||||
| ||||
#: library/random.rst:562 | ||||
#: library/random.rst:563 | ||||
msgid "Recipes" | ||||
msgstr "Cas pratiques" | ||||
| ||||
#: library/random.rst:564 | ||||
#: library/random.rst:565 | ||||
msgid "" | ||||
"The default :func:`.random` returns multiples of 2⁻⁵³ in the range *0.0 ≤ x " | ||||
"< 1.0*. All such numbers are evenly spaced and are exactly representable as " | ||||
| | @ -834,7 +834,7 @@ msgid "" | |||
"integer multiple of 2⁻⁵³." | ||||
msgstr "" | ||||
| ||||
#: library/random.rst:570 | ||||
#: library/random.rst:571 | ||||
msgid "" | ||||
"The following recipe takes a different approach. All floats in the interval " | ||||
"are possible selections. The mantissa comes from a uniform distribution of " | ||||
| | @ -843,13 +843,13 @@ msgid "" | |||
"often as the next larger exponent." | ||||
msgstr "" | ||||
| ||||
#: library/random.rst:592 | ||||
#: library/random.rst:593 | ||||
msgid "" | ||||
"All :ref:`real valued distributions <real-valued-distributions>` in the " | ||||
"class will use the new method::" | ||||
msgstr "" | ||||
| ||||
#: library/random.rst:601 | ||||
#: library/random.rst:602 | ||||
msgid "" | ||||
"The recipe is conceptually equivalent to an algorithm that chooses from all " | ||||
"the multiples of 2⁻¹⁰⁷⁴ in the range *0.0 ≤ x < 1.0*. All such numbers are " | ||||
| | @ -858,7 +858,7 @@ msgid "" | |||
"and is equal to ``math.ulp(0.0)``.)" | ||||
msgstr "" | ||||
| ||||
#: library/random.rst:610 | ||||
#: library/random.rst:611 | ||||
msgid "" | ||||
"`Generating Pseudo-random Floating-Point Values <https://allendowney.com/" | ||||
"research/rand/downey07randfloat.pdf>`_ a paper by Allen B. Downey describing " | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2020-11-25 20:35+0100\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
| | @ -992,13 +992,13 @@ msgstr "" | |||
#: library/socket.rst:829 | ||||
msgid "" | ||||
"Translate a host name to IPv4 address format, extended interface. Return a " | ||||
"triple ``(hostname, aliaslist, ipaddrlist)`` where *hostname* is the primary " | ||||
"host name responding to the given *ip_address*, *aliaslist* is a (possibly " | ||||
"empty) list of alternative host names for the same address, and *ipaddrlist* " | ||||
"is a list of IPv4 addresses for the same interface on the same host (often " | ||||
"but not always a single address). :func:`gethostbyname_ex` does not support " | ||||
"IPv6 name resolution, and :func:`getaddrinfo` should be used instead for " | ||||
"IPv4/v6 dual stack support." | ||||
"triple ``(hostname, aliaslist, ipaddrlist)`` where *hostname* is the host's " | ||||
"primary host name, *aliaslist* is a (possibly empty) list of alternative " | ||||
"host names for the same address, and *ipaddrlist* is a list of IPv4 " | ||||
"addresses for the same interface on the same host (often but not always a " | ||||
"single address). :func:`gethostbyname_ex` does not support IPv6 name " | ||||
"resolution, and :func:`getaddrinfo` should be used instead for IPv4/v6 dual " | ||||
"stack support." | ||||
msgstr "" | ||||
| ||||
#: library/socket.rst:843 | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2019-03-26 15:55+0100\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -681,8 +681,8 @@ msgstr "" | |||
msgid "" | ||||
"Using this attribute you can control what objects are returned for the " | ||||
"``TEXT`` data type. By default, this attribute is set to :class:`str` and " | ||||
"the :mod:`sqlite3` module will return Unicode objects for ``TEXT``. If you " | ||||
"want to return bytestrings instead, you can set it to :class:`bytes`." | ||||
"the :mod:`sqlite3` module will return :class:`str` objects for ``TEXT``. If " | ||||
"you want to return :class:`bytes` instead, you can set it to :class:`bytes`." | ||||
msgstr "" | ||||
| ||||
#: library/sqlite3.rst:534 | ||||
| | | |||
| | @ -1,59 +0,0 @@ | |||
# Copyright (C) 2001-2018, Python Software Foundation | ||||
# For licence information, see README file. | ||||
# | ||||
msgid "" | ||||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2020-08-24 09:01+0200\n" | ||||
"PO-Revision-Date: 2018-09-29 18:24+0200\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||
"Content-Transfer-Encoding: 8bit\n" | ||||
| ||||
#: library/symbol.rst:2 | ||||
msgid ":mod:`symbol` --- Constants used with Python parse trees" | ||||
msgstr ":mod:`symbol` — Constantes utilisées dans les Arbres Syntaxiques" | ||||
| ||||
#: library/symbol.rst:9 | ||||
msgid "**Source code:** :source:`Lib/symbol.py`" | ||||
msgstr "**Code source :** :source:`Lib/symbol.py`" | ||||
| ||||
#: library/symbol.rst:13 | ||||
msgid "" | ||||
"This module provides constants which represent the numeric values of " | ||||
"internal nodes of the parse tree. Unlike most Python constants, these use " | ||||
"lower-case names. Refer to the file :file:`Grammar/Grammar` in the Python " | ||||
"distribution for the definitions of the names in the context of the language " | ||||
"grammar. The specific numeric values which the names map to may change " | ||||
"between Python versions." | ||||
msgstr "" | ||||
"Ce module fournit des constantes représentant les valeurs numériques des " | ||||
"nœuds internes de l'analyseur. Contrairement à la plupart des constantes en " | ||||
"Python, celles-ci utilisent des noms en minuscules. Référez-vous au fichier :" | ||||
"file:`Grammar/Grammar` dans la distribution de Python pour les définitions " | ||||
"de ces noms dans le contexte de la grammaire du langage. La valeur numérique " | ||||
"correspondant au nom peut changer d'une version de Python à l'autre." | ||||
| ||||
#: library/symbol.rst:22 | ||||
msgid "" | ||||
"The symbol module is deprecated and will be removed in future versions of " | ||||
"Python." | ||||
msgstr "" | ||||
| ||||
#: library/symbol.rst:25 | ||||
msgid "This module also provides one additional data object:" | ||||
msgstr "Ce module fournit aussi ces objets :" | ||||
| ||||
#: library/symbol.rst:30 | ||||
msgid "" | ||||
"Dictionary mapping the numeric values of the constants defined in this " | ||||
"module back to name strings, allowing more human-readable representation of " | ||||
"parse trees to be generated." | ||||
msgstr "" | ||||
"Dictionnaire faisant correspondre les valeurs numériques des constantes " | ||||
"définies dans ce module à leurs noms, permettant de générer une " | ||||
"représentation plus humaine des arbres syntaxiques." | ||||
316 library/sys.po
316
library/sys.po File diff suppressed because it is too large Load diff
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -1280,7 +1280,7 @@ msgid "" | |||
msgstr "" | ||||
| ||||
#: library/test.rst:1252 | ||||
msgid "Attributes set when an exception is catched:" | ||||
msgid "Attributes set when an exception is caught:" | ||||
msgstr "" | ||||
| ||||
#: library/test.rst:1254 | ||||
| | @ -1486,7 +1486,7 @@ msgstr "" | |||
#: library/test.rst:1460 | ||||
msgid "" | ||||
"Call :func:`os.unlink` on *filename*. On Windows platforms, this is wrapped " | ||||
"with a wait loop that checks for the existence fo the file." | ||||
"with a wait loop that checks for the existence of the file." | ||||
msgstr "" | ||||
| ||||
#: library/test.rst:1465 | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2018-09-28 10:04+0200\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -296,7 +296,7 @@ msgstr "" | |||
#: library/types.rst:245 | ||||
msgid "" | ||||
"A future version of Python may stop setting this attribute by default. To " | ||||
"guard against this potential change, preferrably read from the :attr:" | ||||
"guard against this potential change, preferably read from the :attr:" | ||||
"`__spec__` attribute instead or use ``getattr(module, \"__loader__\", " | ||||
"None)`` if you explicitly need to use this attribute." | ||||
msgstr "" | ||||
| | @ -328,7 +328,7 @@ msgstr "" | |||
#: library/types.rst:270 | ||||
msgid "" | ||||
"A future version of Python may stop setting this attribute by default. To " | ||||
"guard against this potential change, preferrably read from the :attr:" | ||||
"guard against this potential change, preferably read from the :attr:" | ||||
"`__spec__` attribute instead or use ``getattr(module, \"__package__\", " | ||||
"None)`` if you explicitly need to use this attribute." | ||||
msgstr "" | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2021-05-18 11:06-0400\n" | ||||
"Last-Translator: Jean-Michel Laprise <jmichel.dev@gmail.com>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -38,10 +38,11 @@ msgstr "" | |||
msgid "" | ||||
"This module provides runtime support for type hints as specified by :pep:" | ||||
"`484`, :pep:`526`, :pep:`544`, :pep:`586`, :pep:`589`, :pep:`591`, :pep:" | ||||
"`612` and :pep:`613`. The most fundamental support consists of the types :" | ||||
"data:`Any`, :data:`Union`, :data:`Tuple`, :data:`Callable`, :class:" | ||||
"`TypeVar`, and :class:`Generic`. For full specification please see :pep:" | ||||
"`484`. For a simplified introduction to type hints see :pep:`483`." | ||||
"`593`, :pep:`612`, :pep:`613` and :pep:`647`. The most fundamental support " | ||||
"consists of the types :data:`Any`, :data:`Union`, :data:`Tuple`, :data:" | ||||
"`Callable`, :class:`TypeVar`, and :class:`Generic`. For full specification " | ||||
"please see :pep:`484`. For a simplified introduction to type hints see :pep:" | ||||
"`483`." | ||||
msgstr "" | ||||
"Ce module fournit la gestion des annotations de type à l'exécution " | ||||
"conformément à ce qui est spécifié dans les :pep:`484`, :pep:`526`, :pep:" | ||||
| | | |||
| | @ -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-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -125,7 +125,15 @@ msgid "" | |||
"`weakref-support`." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:94 | ||||
#: library/weakref.rst:91 | ||||
msgid "" | ||||
"When ``__slots__`` are defined for a given type, weak reference support is " | ||||
"disabled unless a ``'__weakref__'`` string is also present in the sequence " | ||||
"of strings in the ``__slots__`` declaration. See :ref:`__slots__ " | ||||
"documentation <slots>` for details." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:98 | ||||
msgid "" | ||||
"Return a weak reference to *object*. The original object can be retrieved " | ||||
"by calling the reference object if the referent is still alive; if the " | ||||
| | @ -137,21 +145,21 @@ msgid "" | |||
"available." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:102 | ||||
#: library/weakref.rst:106 | ||||
msgid "" | ||||
"It is allowable for many weak references to be constructed for the same " | ||||
"object. Callbacks registered for each weak reference will be called from the " | ||||
"most recently registered callback to the oldest registered callback." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:106 | ||||
#: library/weakref.rst:110 | ||||
msgid "" | ||||
"Exceptions raised by the callback will be noted on the standard error " | ||||
"output, but cannot be propagated; they are handled in exactly the same way " | ||||
"as exceptions raised from an object's :meth:`__del__` method." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:110 | ||||
#: library/weakref.rst:114 | ||||
msgid "" | ||||
"Weak references are :term:`hashable` if the *object* is hashable. They will " | ||||
"maintain their hash value even after the *object* was deleted. If :func:" | ||||
| | @ -159,7 +167,7 @@ msgid "" | |||
"call will raise :exc:`TypeError`." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:115 | ||||
#: library/weakref.rst:119 | ||||
msgid "" | ||||
"Weak references support tests for equality, but not ordering. If the " | ||||
"referents are still alive, two references have the same equality " | ||||
| | @ -168,22 +176,22 @@ msgid "" | |||
"objects are the same object." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:120 | ||||
#: library/weakref.rst:124 | ||||
msgid "This is a subclassable type rather than a factory function." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:124 | ||||
#: library/weakref.rst:128 | ||||
msgid "" | ||||
"This read-only attribute returns the callback currently associated to the " | ||||
"weakref. If there is no callback or if the referent of the weakref is no " | ||||
"longer alive then this attribute will have value ``None``." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:128 | ||||
#: library/weakref.rst:132 | ||||
msgid "Added the :attr:`__callback__` attribute." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:134 | ||||
#: library/weakref.rst:138 | ||||
msgid "" | ||||
"Return a proxy to *object* which uses a weak reference. This supports use " | ||||
"of the proxy in most contexts instead of requiring the explicit " | ||||
| | @ -196,24 +204,24 @@ msgid "" | |||
"`ref` function." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:143 | ||||
#: library/weakref.rst:147 | ||||
msgid "" | ||||
"Extended the operator support on proxy objects to include the matrix " | ||||
"multiplication operators ``@`` and ``@=``." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:150 | ||||
#: library/weakref.rst:154 | ||||
msgid "" | ||||
"Return the number of weak references and proxies which refer to *object*." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:155 | ||||
#: library/weakref.rst:159 | ||||
msgid "" | ||||
"Return a list of all weak reference and proxy objects which refer to " | ||||
"*object*." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:160 | ||||
#: library/weakref.rst:164 | ||||
msgid "" | ||||
"Mapping class that references keys weakly. Entries in the dictionary will " | ||||
"be discarded when there is no longer a strong reference to the key. This " | ||||
| | @ -222,13 +230,13 @@ msgid "" | |||
"especially useful with objects that override attribute accesses." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:166 | ||||
#: library/weakref.rst:170 | ||||
msgid "Added support for ``|`` and ``|=`` operators, specified in :pep:`584`." | ||||
msgstr "" | ||||
"Ajout de la gestion des opérateurs ``|`` et ``|=`` tels que définis dans :" | ||||
"pep:`584`." | ||||
| ||||
#: library/weakref.rst:169 | ||||
#: library/weakref.rst:173 | ||||
msgid "" | ||||
":class:`WeakKeyDictionary` objects have an additional method that exposes " | ||||
"the internal references directly. The references are not guaranteed to be " | ||||
| | @ -238,39 +246,39 @@ msgid "" | |||
"longer than needed." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:179 | ||||
#: library/weakref.rst:183 | ||||
msgid "Return an iterable of the weak references to the keys." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:184 | ||||
#: library/weakref.rst:188 | ||||
msgid "" | ||||
"Mapping class that references values weakly. Entries in the dictionary will " | ||||
"be discarded when no strong reference to the value exists any more." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:187 | ||||
#: library/weakref.rst:191 | ||||
msgid "" | ||||
"Added support for ``|`` and ``|=`` operators, as specified in :pep:`584`." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:190 | ||||
#: library/weakref.rst:194 | ||||
msgid "" | ||||
":class:`WeakValueDictionary` objects have an additional method that has the " | ||||
"same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary` " | ||||
"objects." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:197 | ||||
#: library/weakref.rst:201 | ||||
msgid "Return an iterable of the weak references to the values." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:202 | ||||
#: library/weakref.rst:206 | ||||
msgid "" | ||||
"Set class that keeps weak references to its elements. An element will be " | ||||
"discarded when no strong reference to it exists any more." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:208 | ||||
#: library/weakref.rst:212 | ||||
msgid "" | ||||
"A custom :class:`ref` subclass which simulates a weak reference to a bound " | ||||
"method (i.e., a method defined on a class and looked up on an instance). " | ||||
| | @ -279,7 +287,7 @@ msgid "" | |||
"method until either the object or the original function dies::" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:236 | ||||
#: library/weakref.rst:240 | ||||
msgid "" | ||||
"Return a callable finalizer object which will be called when *obj* is " | ||||
"garbage collected. Unlike an ordinary weak reference, a finalizer will " | ||||
| | @ -287,7 +295,7 @@ msgid "" | |||
"lifecycle management." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:241 | ||||
#: library/weakref.rst:245 | ||||
msgid "" | ||||
"A finalizer is considered *alive* until it is called (either explicitly or " | ||||
"at garbage collection), and after that it is *dead*. Calling a live " | ||||
| | @ -295,7 +303,7 @@ msgid "" | |||
"calling a dead finalizer returns :const:`None`." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:246 | ||||
#: library/weakref.rst:250 | ||||
msgid "" | ||||
"Exceptions raised by finalizer callbacks during garbage collection will be " | ||||
"shown on the standard error output, but cannot be propagated. They are " | ||||
| | @ -303,50 +311,50 @@ msgid "" | |||
"`__del__` method or a weak reference's callback." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:252 | ||||
#: library/weakref.rst:256 | ||||
msgid "" | ||||
"When the program exits, each remaining live finalizer is called unless its :" | ||||
"attr:`atexit` attribute has been set to false. They are called in reverse " | ||||
"order of creation." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:256 | ||||
#: library/weakref.rst:260 | ||||
msgid "" | ||||
"A finalizer will never invoke its callback during the later part of the :" | ||||
"term:`interpreter shutdown` when module globals are liable to have been " | ||||
"replaced by :const:`None`." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:262 | ||||
#: library/weakref.rst:266 | ||||
msgid "" | ||||
"If *self* is alive then mark it as dead and return the result of calling " | ||||
"``func(*args, **kwargs)``. If *self* is dead then return :const:`None`." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:268 | ||||
#: library/weakref.rst:272 | ||||
msgid "" | ||||
"If *self* is alive then mark it as dead and return the tuple ``(obj, func, " | ||||
"args, kwargs)``. If *self* is dead then return :const:`None`." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:274 | ||||
#: library/weakref.rst:278 | ||||
msgid "" | ||||
"If *self* is alive then return the tuple ``(obj, func, args, kwargs)``. If " | ||||
"*self* is dead then return :const:`None`." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:279 | ||||
#: library/weakref.rst:283 | ||||
msgid "Property which is true if the finalizer is alive, false otherwise." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:283 | ||||
#: library/weakref.rst:287 | ||||
msgid "" | ||||
"A writable boolean property which by default is true. When the program " | ||||
"exits, it calls all remaining live finalizers for which :attr:`.atexit` is " | ||||
"true. They are called in reverse order of creation." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:290 | ||||
#: library/weakref.rst:294 | ||||
msgid "" | ||||
"It is important to ensure that *func*, *args* and *kwargs* do not own any " | ||||
"references to *obj*, either directly or indirectly, since otherwise *obj* " | ||||
| | @ -354,60 +362,60 @@ msgid "" | |||
"bound method of *obj*." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:300 | ||||
#: library/weakref.rst:304 | ||||
msgid "The type object for weak references objects." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:305 | ||||
#: library/weakref.rst:309 | ||||
msgid "The type object for proxies of objects which are not callable." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:310 | ||||
#: library/weakref.rst:314 | ||||
msgid "The type object for proxies of callable objects." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:315 | ||||
#: library/weakref.rst:319 | ||||
msgid "" | ||||
"Sequence containing all the type objects for proxies. This can make it " | ||||
"simpler to test if an object is a proxy without being dependent on naming " | ||||
"both proxy types." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:323 | ||||
#: library/weakref.rst:327 | ||||
msgid ":pep:`205` - Weak References" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:323 | ||||
#: library/weakref.rst:327 | ||||
msgid "" | ||||
"The proposal and rationale for this feature, including links to earlier " | ||||
"implementations and information about similar features in other languages." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:330 | ||||
#: library/weakref.rst:334 | ||||
msgid "Weak Reference Objects" | ||||
msgstr "Objets à références faibles" | ||||
| ||||
#: library/weakref.rst:332 | ||||
#: library/weakref.rst:336 | ||||
msgid "" | ||||
"Weak reference objects have no methods and no attributes besides :attr:`ref." | ||||
"__callback__`. A weak reference object allows the referent to be obtained, " | ||||
"if it still exists, by calling it:" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:346 | ||||
#: library/weakref.rst:350 | ||||
msgid "" | ||||
"If the referent no longer exists, calling the reference object returns :" | ||||
"const:`None`:" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:353 | ||||
#: library/weakref.rst:357 | ||||
msgid "" | ||||
"Testing that a weak reference object is still live should be done using the " | ||||
"expression ``ref() is not None``. Normally, application code that needs to " | ||||
"use a reference object should follow this pattern::" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:366 | ||||
#: library/weakref.rst:370 | ||||
msgid "" | ||||
"Using a separate test for \"liveness\" creates race conditions in threaded " | ||||
"applications; another thread can cause a weak reference to become " | ||||
| | @ -415,7 +423,7 @@ msgid "" | |||
"safe in threaded applications as well as single-threaded applications." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:371 | ||||
#: library/weakref.rst:375 | ||||
msgid "" | ||||
"Specialized versions of :class:`ref` objects can be created through " | ||||
"subclassing. This is used in the implementation of the :class:" | ||||
| | @ -425,18 +433,18 @@ msgid "" | |||
"to retrieve the referent." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:377 | ||||
#: library/weakref.rst:381 | ||||
msgid "" | ||||
"This example shows how a subclass of :class:`ref` can be used to store " | ||||
"additional information about an object and affect the value that's returned " | ||||
"when the referent is accessed::" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:404 | ||||
#: library/weakref.rst:408 | ||||
msgid "Example" | ||||
msgstr "Exemple" | ||||
| ||||
#: library/weakref.rst:406 | ||||
#: library/weakref.rst:410 | ||||
msgid "" | ||||
"This simple example shows how an application can use object IDs to retrieve " | ||||
"objects that it has seen before. The IDs of the objects can then be used in " | ||||
| | @ -444,67 +452,67 @@ msgid "" | |||
"objects can still be retrieved by ID if they do." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:431 | ||||
#: library/weakref.rst:435 | ||||
msgid "Finalizer Objects" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:433 | ||||
#: library/weakref.rst:437 | ||||
msgid "" | ||||
"The main benefit of using :class:`finalize` is that it makes it simple to " | ||||
"register a callback without needing to preserve the returned finalizer " | ||||
"object. For instance" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:447 | ||||
#: library/weakref.rst:451 | ||||
msgid "" | ||||
"The finalizer can be called directly as well. However the finalizer will " | ||||
"invoke the callback at most once." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:463 | ||||
#: library/weakref.rst:467 | ||||
msgid "" | ||||
"You can unregister a finalizer using its :meth:`~finalize.detach` method. " | ||||
"This kills the finalizer and returns the arguments passed to the constructor " | ||||
"when it was created." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:477 | ||||
#: library/weakref.rst:481 | ||||
msgid "" | ||||
"Unless you set the :attr:`~finalize.atexit` attribute to :const:`False`, a " | ||||
"finalizer will be called when the program exits if it is still alive. For " | ||||
"instance" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:492 | ||||
#: library/weakref.rst:496 | ||||
msgid "Comparing finalizers with :meth:`__del__` methods" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:494 | ||||
#: library/weakref.rst:498 | ||||
msgid "" | ||||
"Suppose we want to create a class whose instances represent temporary " | ||||
"directories. The directories should be deleted with their contents when the " | ||||
"first of the following events occurs:" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:498 | ||||
#: library/weakref.rst:502 | ||||
msgid "the object is garbage collected," | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:499 | ||||
#: library/weakref.rst:503 | ||||
msgid "the object's :meth:`remove` method is called, or" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:500 | ||||
#: library/weakref.rst:504 | ||||
msgid "the program exits." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:502 | ||||
#: library/weakref.rst:506 | ||||
msgid "" | ||||
"We might try to implement the class using a :meth:`__del__` method as " | ||||
"follows::" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:521 | ||||
#: library/weakref.rst:525 | ||||
msgid "" | ||||
"Starting with Python 3.4, :meth:`__del__` methods no longer prevent " | ||||
"reference cycles from being garbage collected, and module globals are no " | ||||
| | @ -512,35 +520,35 @@ msgid "" | |||
"code should work without any issues on CPython." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:526 | ||||
#: library/weakref.rst:530 | ||||
msgid "" | ||||
"However, handling of :meth:`__del__` methods is notoriously implementation " | ||||
"specific, since it depends on internal details of the interpreter's garbage " | ||||
"collector implementation." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:530 | ||||
#: library/weakref.rst:534 | ||||
msgid "" | ||||
"A more robust alternative can be to define a finalizer which only references " | ||||
"the specific functions and objects that it needs, rather than having access " | ||||
"to the full state of the object::" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:546 | ||||
#: library/weakref.rst:550 | ||||
msgid "" | ||||
"Defined like this, our finalizer only receives a reference to the details it " | ||||
"needs to clean up the directory appropriately. If the object never gets " | ||||
"garbage collected the finalizer will still be called at exit." | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:550 | ||||
#: library/weakref.rst:554 | ||||
msgid "" | ||||
"The other advantage of weakref based finalizers is that they can be used to " | ||||
"register finalizers for classes where the definition is controlled by a " | ||||
"third party, such as running code when a module is unloaded::" | ||||
msgstr "" | ||||
| ||||
#: library/weakref.rst:562 | ||||
#: library/weakref.rst:566 | ||||
msgid "" | ||||
"If you create a finalizer object in a daemonic thread just as the program " | ||||
"exits then there is the possibility that the finalizer does not get called " | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2021-10-21 15:04+0200\n" | ||||
"PO-Revision-Date: 2018-09-29 19:35+0200\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -194,13 +194,18 @@ msgid "" | |||
"the user." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:161 | ||||
#: library/xml.dom.minidom.rst:159 library/xml.dom.minidom.rst:180 | ||||
#: library/xml.dom.minidom.rst:199 | ||||
msgid "The *standalone* parameter was added." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:164 | ||||
msgid "" | ||||
"Return a string or byte string containing the XML represented by the DOM " | ||||
"node." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:164 | ||||
#: library/xml.dom.minidom.rst:167 | ||||
msgid "" | ||||
"With an explicit *encoding* [1]_ argument, the result is a byte string in " | ||||
"the specified encoding. With no *encoding* argument, the result is a Unicode " | ||||
| | @ -209,63 +214,63 @@ msgid "" | |||
"incorrect, since UTF-8 is the default encoding of XML." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:171 library/xml.dom.minidom.rst:187 | ||||
#: library/xml.dom.minidom.rst:174 library/xml.dom.minidom.rst:193 | ||||
msgid "The *standalone* argument behaves exactly as in :meth:`writexml`." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:173 | ||||
#: library/xml.dom.minidom.rst:176 | ||||
msgid "" | ||||
"The :meth:`toxml` method now preserves the attribute order specified by the " | ||||
"user." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:180 | ||||
#: library/xml.dom.minidom.rst:186 | ||||
msgid "" | ||||
"Return a pretty-printed version of the document. *indent* specifies the " | ||||
"indentation string and defaults to a tabulator; *newl* specifies the string " | ||||
"emitted at the end of each line and defaults to ``\\n``." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:184 | ||||
#: library/xml.dom.minidom.rst:190 | ||||
msgid "" | ||||
"The *encoding* argument behaves like the corresponding argument of :meth:" | ||||
"`toxml`." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:189 | ||||
#: library/xml.dom.minidom.rst:195 | ||||
msgid "" | ||||
"The :meth:`toprettyxml` method now preserves the attribute order specified " | ||||
"by the user." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:197 | ||||
#: library/xml.dom.minidom.rst:205 | ||||
msgid "DOM Example" | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:199 | ||||
#: library/xml.dom.minidom.rst:207 | ||||
msgid "" | ||||
"This example program is a fairly realistic example of a simple program. In " | ||||
"this particular case, we do not take much advantage of the flexibility of " | ||||
"the DOM." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:208 | ||||
#: library/xml.dom.minidom.rst:216 | ||||
msgid "minidom and the DOM standard" | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:210 | ||||
#: library/xml.dom.minidom.rst:218 | ||||
msgid "" | ||||
"The :mod:`xml.dom.minidom` module is essentially a DOM 1.0-compatible DOM " | ||||
"with some DOM 2 features (primarily namespace features)." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:213 | ||||
#: library/xml.dom.minidom.rst:221 | ||||
msgid "" | ||||
"Usage of the DOM interface in Python is straight-forward. The following " | ||||
"mapping rules apply:" | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:216 | ||||
#: library/xml.dom.minidom.rst:224 | ||||
msgid "" | ||||
"Interfaces are accessed through instance objects. Applications should not " | ||||
"instantiate the classes themselves; they should use the creator functions " | ||||
| | @ -274,14 +279,14 @@ msgid "" | |||
"operations." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:221 | ||||
#: library/xml.dom.minidom.rst:229 | ||||
msgid "" | ||||
"Operations are used as methods. Since the DOM uses only :keyword:`in` " | ||||
"parameters, the arguments are passed in normal order (from left to right). " | ||||
"There are no optional arguments. ``void`` operations return ``None``." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:225 | ||||
#: library/xml.dom.minidom.rst:233 | ||||
msgid "" | ||||
"IDL attributes map to instance attributes. For compatibility with the OMG " | ||||
"IDL language mapping for Python, an attribute ``foo`` can also be accessed " | ||||
| | @ -289,13 +294,13 @@ msgid "" | |||
"``readonly`` attributes must not be changed; this is not enforced at runtime." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:230 | ||||
#: library/xml.dom.minidom.rst:238 | ||||
msgid "" | ||||
"The types ``short int``, ``unsigned int``, ``unsigned long long``, and " | ||||
"``boolean`` all map to Python integer objects." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:233 | ||||
#: library/xml.dom.minidom.rst:241 | ||||
msgid "" | ||||
"The type ``DOMString`` maps to Python strings. :mod:`xml.dom.minidom` " | ||||
"supports either bytes or strings, but will normally produce strings. Values " | ||||
| | @ -303,21 +308,21 @@ msgid "" | |||
"``null`` value by the DOM specification from the W3C." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:238 | ||||
#: library/xml.dom.minidom.rst:246 | ||||
msgid "" | ||||
"``const`` declarations map to variables in their respective scope (e.g. " | ||||
"``xml.dom.minidom.Node.PROCESSING_INSTRUCTION_NODE``); they must not be " | ||||
"changed." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:241 | ||||
#: library/xml.dom.minidom.rst:249 | ||||
msgid "" | ||||
"``DOMException`` is currently not supported in :mod:`xml.dom.minidom`. " | ||||
"Instead, :mod:`xml.dom.minidom` uses standard Python exceptions such as :exc:" | ||||
"`TypeError` and :exc:`AttributeError`." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:245 | ||||
#: library/xml.dom.minidom.rst:253 | ||||
msgid "" | ||||
":class:`NodeList` objects are implemented using Python's built-in list type. " | ||||
"These objects provide the interface defined in the DOM specification, but " | ||||
| | @ -326,30 +331,30 @@ msgid "" | |||
"recommendations." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:251 | ||||
#: library/xml.dom.minidom.rst:259 | ||||
msgid "" | ||||
"The following interfaces have no implementation in :mod:`xml.dom.minidom`:" | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:253 | ||||
#: library/xml.dom.minidom.rst:261 | ||||
msgid ":class:`DOMTimeStamp`" | ||||
msgstr ":class:`DOMTimeStamp`" | ||||
| ||||
#: library/xml.dom.minidom.rst:255 | ||||
#: library/xml.dom.minidom.rst:263 | ||||
msgid ":class:`EntityReference`" | ||||
msgstr ":class:`EntityReference`" | ||||
| ||||
#: library/xml.dom.minidom.rst:257 | ||||
#: library/xml.dom.minidom.rst:265 | ||||
msgid "" | ||||
"Most of these reflect information in the XML document that is not of general " | ||||
"utility to most DOM users." | ||||
msgstr "" | ||||
| ||||
#: library/xml.dom.minidom.rst:261 | ||||
#: library/xml.dom.minidom.rst:269 | ||||
msgid "Footnotes" | ||||
msgstr "Notes" | ||||
| ||||
#: library/xml.dom.minidom.rst:262 | ||||
#: library/xml.dom.minidom.rst:270 | ||||
msgid "" | ||||
"The encoding name included in the XML output should conform to the " | ||||
"appropriate standards. For example, \"UTF-8\" is valid, but \"UTF8\" is not " | ||||
| | | |||
Loading…
Add table
Add a link
Reference in a new issue