Skip to content

Conversation

@iarmagnat
Copy link
Contributor

Potentially bad translation...

"data that the channel receives asynchronously. The methods are described "
"below."
msgstr ""
"Pour construire une sous classe fonctionnelle de :class:`async_chat`pour vos "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il manque un espace avant pour.

"méthodes :meth:`collect_incoming_data` et :meth:`found_terminator`. Il "
"utilise la même boucle asynchrone que :mod:`asyncore`, et deux types de "
"canaux, :class:`asyncore.dispatcher` et :class:`asynchat.async_chat`, qui "
"peuvent être librement mélangé dans la carte des canaux. Habituellement, un "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*mélangés

"utilise la même boucle asynchrone que :mod:`asyncore`, et deux types de "
"canaux, :class:`asyncore.dispatcher` et :class:`asynchat.async_chat`, qui "
"peuvent être librement mélangé dans la carte des canaux. Habituellement, un "
"canal de serveur :class:`asyncore.dispatcher`génère de nouveaux canaux "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manque un espace après génère

"Cette classe est une sous-classe abstraite de :class:`asyncore.dispatcher`. "
"Pour en faire un usage pratique, vous devez créer une classe héritant de :"
"class:`async_chat`, et implémentant des méthodes :meth:"
"`collect_incoming_data` et :meth:`found_terminator` sensées.\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il y a un \n qui traîne.

"with no action on the part of the programmer."
msgstr ""
"Comme :class:`asyncore.dispatcher`, :class:`async_chat` définit un ensemble "
"d’événements générés par une analyse de l'état des *socket* après un appel :"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

après un appel à select.

#: ../Doc/library/asynchat.rst:61
msgid "The asynchronous output buffer size (default ``4096``)."
msgstr ""
msgstr "La taille du tampon de sorties asynchrones ( ``4096`` par défaut)."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

"recognize the end of, or an important breakpoint in, an incoming "
"transmission from the remote endpoint."
msgstr ""
"Contrairement à :class:`asyncore.dispatcher`, :class:`async_chat`permet de "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manque un espace avant permet.

"transmission from the remote endpoint."
msgstr ""
"Contrairement à :class:`asyncore.dispatcher`, :class:`async_chat`permet de "
"définirune queue :abbr:`FIFO (first-in, first-out)` de *producteurs*. Un "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manque un espace entre définir et une

"Contrairement à :class:`asyncore.dispatcher`, :class:`async_chat`permet de "
"définirune queue :abbr:`FIFO (first-in, first-out)` de *producteurs*. Un "
"producteur nécessite seulement une méthode, :meth:`more`, qui renvoie la "
"donnée a transmettre au canal. Le producteur indique son épuisement (*i.e.* "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/a/à/

"Contrairement à :class:`asyncore.dispatcher`, :class:`async_chat`permet de "
"définirune queue :abbr:`FIFO (first-in, first-out)` de *producteurs*. Un "
"producteur nécessite seulement une méthode, :meth:`more`, qui renvoie la "
"donnée a transmettre au canal. Le producteur indique son épuisement (*i.e.* "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i.e. si tu veux c.-à-d. ou c'est à dire

@JulienPalard JulienPalard merged commit 34f48cb into python:3.7 Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants