review using pospell and sphinx-lint.
This commit is contained in:
parent
f182fff0a8
commit
b26aa8aaac
|
@ -6,7 +6,7 @@ msgstr ""
|
|||
"Project-Id-Version: Python 3\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-01-15 22:33+0100\n"
|
||||
"PO-Revision-Date: 2023-02-17 12:35+0100\n"
|
||||
"PO-Revision-Date: 2023-02-20 13:22+0100\n"
|
||||
"Last-Translator: Julien Palard <julien@palard.fr>\n"
|
||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
||||
"Language: fr\n"
|
||||
|
@ -30,16 +30,16 @@ msgid ""
|
|||
"This section describes high-level async/await asyncio APIs to create and "
|
||||
"manage subprocesses."
|
||||
msgstr ""
|
||||
"Cette section décrit des API de haut niveau de asyncio pour créer et gérer "
|
||||
"des sous-processus via async/await."
|
||||
"Cette section décrit des API de haut niveau de *asyncio* pour créer et gérer "
|
||||
"des sous-processus via ``async``/``await``."
|
||||
|
||||
#: library/asyncio-subprocess.rst:19
|
||||
msgid ""
|
||||
"Here's an example of how asyncio can run a shell command and obtain its "
|
||||
"result::"
|
||||
msgstr ""
|
||||
"Voici un exemple de comment asyncio peut lancer une commande shell et obtenir "
|
||||
"son resultat::"
|
||||
"Voici un exemple de comment *asyncio* peut lancer une commande shell et "
|
||||
"obtenir son résultat ::"
|
||||
|
||||
#: library/asyncio-subprocess.rst:40
|
||||
msgid "will print::"
|
||||
|
@ -52,8 +52,8 @@ msgid ""
|
|||
"monitor multiple subprocesses in parallel. It is indeed trivial to modify "
|
||||
"the above example to run several commands simultaneously::"
|
||||
msgstr ""
|
||||
"Puisque toutes les fonctions à sous-processus d'asyncio sont synchrones et "
|
||||
"qu'asyncio fournit de nombreux outils pour travailler avec de telles "
|
||||
"Puisque toutes les fonctions à sous-processus d'*asyncio* sont synchrones et "
|
||||
"qu'*asyncio* fournit de nombreux outils pour travailler avec de telles "
|
||||
"fonctions, il est facile d'exécuter et de surveiller de nombreux processus "
|
||||
"en parallèle :"
|
||||
|
||||
|
@ -71,14 +71,13 @@ msgstr "Crée un sous-processus."
|
|||
|
||||
#: library/asyncio-subprocess.rst:69 library/asyncio-subprocess.rst:87
|
||||
msgid ""
|
||||
"The *limit* argument sets the buffer limit for :class:`StreamReader` wrappers "
|
||||
"for :attr:`Process.stdout` and :attr:`Process.stderr` (if :attr:`subprocess."
|
||||
"PIPE` is passed to *stdout* and *stderr* arguments)."
|
||||
"The *limit* argument sets the buffer limit for :class:`StreamReader` "
|
||||
"wrappers for :attr:`Process.stdout` and :attr:`Process.stderr` (if :attr:"
|
||||
"`subprocess.PIPE` is passed to *stdout* and *stderr* arguments)."
|
||||
msgstr ""
|
||||
"Le paramètre *limit* définit la limite du tampon pour les conteneurs de :"
|
||||
"class:`StreamReader` pour :attr:`Process.stdout` et :attr:`Process."
|
||||
"stderr`(Si :attr:`subprocess.PIPE`est passé aux paramètres *stdout* et "
|
||||
"*stderr*)."
|
||||
"class:`StreamReader` pour :attr:`Process.stdout` et :attr:`Process.stderr` "
|
||||
"(Si :attr:`subprocess.PIPE` est passé aux paramètres *stdout* et *stderr*)."
|
||||
|
||||
#: library/asyncio-subprocess.rst:73 library/asyncio-subprocess.rst:91
|
||||
msgid "Return a :class:`~asyncio.subprocess.Process` instance."
|
||||
|
@ -118,9 +117,10 @@ msgstr ""
|
|||
"Il est de la responsabilité de l'application de s'assurer que tous les "
|
||||
"espaces et les caractères spéciaux sont correctement mis entre guillemets "
|
||||
"pour éviter les vulnérabilités aux `l'injection de shell <https://en."
|
||||
"wikipedia.org/wiki/Shell_injection#Shell_injection>`. La fonction :func:"
|
||||
"`shlex.quote` peut être utilisée pour l’échappement des espaces et caractères "
|
||||
"spéciaux dans les chaînes utilisées pour construire des commandes shell."
|
||||
"wikipedia.org/wiki/Shell_injection#Shell_injection>`_. La fonction :func:"
|
||||
"`shlex.quote` peut être utilisée pour l’échappement des espaces et "
|
||||
"caractères spéciaux dans les chaînes utilisées pour construire des commandes "
|
||||
"shell."
|
||||
|
||||
#: library/asyncio-subprocess.rst:110
|
||||
msgid ""
|
||||
|
@ -133,6 +133,7 @@ msgstr ""
|
|||
"Windows <asyncio-windows-subprocess>` pour plus de précisions."
|
||||
|
||||
#: library/asyncio-subprocess.rst:116
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"asyncio also has the following *low-level* APIs to work with subprocesses: :"
|
||||
"meth:`loop.subprocess_exec`, :meth:`loop.subprocess_shell`, :meth:`loop."
|
||||
|
@ -140,12 +141,8 @@ msgid ""
|
|||
"`Subprocess Transports <asyncio-subprocess-transports>` and :ref:`Subprocess "
|
||||
"Protocols <asyncio-subprocess-protocols>`."
|
||||
msgstr ""
|
||||
"asyncio propose aussi les API de *bas niveau* suivantes pour travailler avec "
|
||||
"les sousprocessus: has the following *low-level* APIs to work with "
|
||||
"subprocesses: :meth:`loop.subprocess_exec`, :meth:`loop.subprocess_shell`, :"
|
||||
"meth:`loop.connect_read_pipe`, :meth:`loop.connect_write_pipe`, as well as "
|
||||
"the :ref:`Subprocess Transports <asyncio-subprocess-transports>` and :ref:"
|
||||
"`Subprocess Protocols <asyncio-subprocess-protocols>`."
|
||||
"*asyncio* propose aussi les API de « bas niveau » suivantes pour travailler "
|
||||
"avec les sous-processus: "
|
||||
|
||||
#: library/asyncio-subprocess.rst:124
|
||||
msgid "Constants"
|
||||
|
@ -173,17 +170,17 @@ msgid ""
|
|||
"`StreamReader` instances."
|
||||
msgstr ""
|
||||
"Si *PIPE* est passé au paramètre *stdout* ou *stderr* , l'attribut :attr:"
|
||||
"`Process.stdout <asyncio.subprocess.Process.stdout>` et :attr:`Process.stderr "
|
||||
"<asyncio.subprocess.Process.stderr>` pointeront vers des instances de :class:"
|
||||
"`StreamReader`."
|
||||
"`Process.stdout <asyncio.subprocess.Process.stdout>` et :attr:`Process."
|
||||
"stderr <asyncio.subprocess.Process.stderr>` pointeront vers des instances "
|
||||
"de :class:`StreamReader`."
|
||||
|
||||
#: library/asyncio-subprocess.rst:143
|
||||
msgid ""
|
||||
"Special value that can be used as the *stderr* argument and indicates that "
|
||||
"standard error should be redirected into standard output."
|
||||
msgstr ""
|
||||
"Une valeur spéciale qui peut être passée au paramètre *stderr* et qui indique "
|
||||
"que la sortie d'erreur doit être redirigées vers la sortie standard."
|
||||
"Une valeur spéciale qui peut être passée au paramètre *stderr* et qui "
|
||||
"indique que la sortie d'erreur doit être redirigées vers la sortie standard."
|
||||
|
||||
#: library/asyncio-subprocess.rst:149
|
||||
msgid ""
|
||||
|
@ -202,9 +199,9 @@ msgstr "Interagir avec les sous-processus"
|
|||
#: library/asyncio-subprocess.rst:157
|
||||
msgid ""
|
||||
"Both :func:`create_subprocess_exec` and :func:`create_subprocess_shell` "
|
||||
"functions return instances of the *Process* class. *Process* is a high-level "
|
||||
"wrapper that allows communicating with subprocesses and watching for their "
|
||||
"completion."
|
||||
"functions return instances of the *Process* class. *Process* is a high-"
|
||||
"level wrapper that allows communicating with subprocesses and watching for "
|
||||
"their completion."
|
||||
msgstr ""
|
||||
|
||||
#: library/asyncio-subprocess.rst:165
|
||||
|
@ -215,8 +212,8 @@ msgstr ""
|
|||
|
||||
#: library/asyncio-subprocess.rst:169
|
||||
msgid ""
|
||||
"This class is designed to have a similar API to the :class:`subprocess.Popen` "
|
||||
"class, but there are some notable differences:"
|
||||
"This class is designed to have a similar API to the :class:`subprocess."
|
||||
"Popen` class, but there are some notable differences:"
|
||||
msgstr ""
|
||||
|
||||
#: library/asyncio-subprocess.rst:173
|
||||
|
@ -289,7 +286,8 @@ msgstr "envoie des données sur le *stdin* (si *input* n'est pas ``None``);"
|
|||
#: library/asyncio-subprocess.rst:210
|
||||
msgid "read data from *stdout* and *stderr*, until EOF is reached;"
|
||||
msgstr ""
|
||||
"lit les données sur *stdout* et *stderr*, jusqu'à ce que le EOF soit atteint ;"
|
||||
"lit les données sur *stdout* et *stderr*, jusqu'à ce que le EOF soit "
|
||||
"atteint ;"
|
||||
|
||||
#: library/asyncio-subprocess.rst:211
|
||||
msgid "wait for process to terminate."
|
||||
|
@ -343,7 +341,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Sous Windows, *SIGTERM* est un alias pour :meth:`terminate`. *CTRL_C_EVENT* "
|
||||
"et *CTRL_BREAK_EVENT* peuvent être envoyés aux processus démarrés avec un "
|
||||
"paramètre *creationflags* incluant `CREATE_NEW_PROCESS_GROUP`."
|
||||
"paramètre *creationflags* incluant ``CREATE_NEW_PROCESS_GROUP``."
|
||||
|
||||
#: library/asyncio-subprocess.rst:245
|
||||
msgid "Stop the child process."
|
||||
|
@ -386,8 +384,8 @@ msgstr ""
|
|||
|
||||
#: library/asyncio-subprocess.rst:269
|
||||
msgid ""
|
||||
"Standard output stream (:class:`StreamReader`) or ``None`` if the process was "
|
||||
"created with ``stdout=None``."
|
||||
"Standard output stream (:class:`StreamReader`) or ``None`` if the process "
|
||||
"was created with ``stdout=None``."
|
||||
msgstr ""
|
||||
|
||||
#: library/asyncio-subprocess.rst:274
|
||||
|
@ -400,8 +398,8 @@ msgstr ""
|
|||
msgid ""
|
||||
"Use the :meth:`communicate` method rather than :attr:`process.stdin.write() "
|
||||
"<stdin>`, :attr:`await process.stdout.read() <stdout>` or :attr:`await "
|
||||
"process.stderr.read() <stderr>`. This avoids deadlocks due to streams pausing "
|
||||
"reading or writing and blocking the child process."
|
||||
"process.stderr.read() <stderr>`. This avoids deadlocks due to streams "
|
||||
"pausing reading or writing and blocking the child process."
|
||||
msgstr ""
|
||||
|
||||
#: library/asyncio-subprocess.rst:288
|
||||
|
@ -427,8 +425,8 @@ msgid ""
|
|||
"A negative value ``-N`` indicates that the child was terminated by signal "
|
||||
"``N`` (POSIX only)."
|
||||
msgstr ""
|
||||
"Une valeur négative ``-N`` indique que le sous-processus a été terminé par le "
|
||||
"signal ``N`` (seulement sur les systèmes *POSIX*)."
|
||||
"Une valeur négative ``-N`` indique que le sous-processus a été terminé par "
|
||||
"le signal ``N`` (seulement sur les systèmes *POSIX*)."
|
||||
|
||||
#: library/asyncio-subprocess.rst:306
|
||||
msgid "Subprocess and Threads"
|
||||
|
@ -463,8 +461,8 @@ msgid ""
|
|||
"Spawning a subprocess with *inactive* current child watcher raises :exc:"
|
||||
"`RuntimeError`."
|
||||
msgstr ""
|
||||
"Instancier un sous-processus avec un observateur enfant actuel *inactif* lève "
|
||||
"l'exception :exc: `RuntimeError`."
|
||||
"Instancier un sous-processus avec un observateur enfant actuel *inactif* "
|
||||
"lève l'exception :exc:`RuntimeError`."
|
||||
|
||||
#: library/asyncio-subprocess.rst:326
|
||||
msgid ""
|
||||
|
@ -477,8 +475,8 @@ msgstr ""
|
|||
|
||||
#: library/asyncio-subprocess.rst:331
|
||||
msgid ""
|
||||
"The :ref:`Concurrency and multithreading in asyncio <asyncio-multithreading>` "
|
||||
"section."
|
||||
"The :ref:`Concurrency and multithreading in asyncio <asyncio-"
|
||||
"multithreading>` section."
|
||||
msgstr ""
|
||||
"La section :ref:`Exécution concurrente et multi-fils d'exécution <asyncio-"
|
||||
"multithreading>`."
|
||||
|
|
Loading…
Reference in New Issue