1
0
Fork 0
python-docs-fr/library/asyncio-queue.po

223 lines
6.7 KiB
Plaintext
Raw Normal View History

2016-10-30 09:46:26 +00:00
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2016, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
2018-06-28 13:32:56 +00:00
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
2016-10-30 09:46:26 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/asyncio-queue.rst:4
msgid "Queues"
msgstr ""
#: ../Doc/library/asyncio-queue.rst:6
2017-08-01 11:29:09 +00:00
msgid "**Source code:** :source:`Lib/asyncio/queues.py`"
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/asyncio-queue.rst:8
2017-08-01 11:29:09 +00:00
msgid "Queues:"
msgstr ""
#: ../Doc/library/asyncio-queue.rst:10
2016-10-30 09:46:26 +00:00
msgid ":class:`Queue`"
msgstr ":class:`Queue`"
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:11
2016-10-30 09:46:26 +00:00
msgid ":class:`PriorityQueue`"
msgstr ":class:`PriorityQueue`"
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:12
2016-10-30 09:46:26 +00:00
msgid ":class:`LifoQueue`"
msgstr ":class:`LifoQueue`"
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:14
2016-10-30 09:46:26 +00:00
msgid ""
"asyncio queue API was designed to be close to classes of the :mod:`queue` "
"module (:class:`~queue.Queue`, :class:`~queue.PriorityQueue`, :class:`~queue."
"LifoQueue`), but it has no *timeout* parameter. The :func:`asyncio.wait_for` "
"function can be used to cancel a task after a timeout."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:20
2016-10-30 09:46:26 +00:00
msgid "Queue"
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:24
2016-10-30 09:46:26 +00:00
msgid "A queue, useful for coordinating producer and consumer coroutines."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:26
2016-10-30 09:46:26 +00:00
msgid ""
"If *maxsize* is less than or equal to zero, the queue size is infinite. If "
2018-06-28 13:32:56 +00:00
"it is an integer greater than ``0``, then ``await put()`` will block when "
"the queue reaches *maxsize*, until an item is removed by :meth:`get`."
2016-10-30 09:46:26 +00:00
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:30
2016-10-30 09:46:26 +00:00
msgid ""
"Unlike the standard library :mod:`queue`, you can reliably know this Queue's "
"size with :meth:`qsize`, since your single-threaded asyncio application "
"won't be interrupted between calling :meth:`qsize` and doing an operation on "
"the Queue."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:35
2016-10-30 09:46:26 +00:00
msgid "This class is :ref:`not thread safe <asyncio-multithreading>`."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:37
2016-10-30 09:46:26 +00:00
msgid "New :meth:`join` and :meth:`task_done` methods."
msgstr "Les nouvelles méthodes :meth:`join` et :meth:`task_done`."
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:42
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the queue is empty, ``False`` otherwise."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:46
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if there are :attr:`maxsize` items in the queue."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:50
2016-10-30 09:46:26 +00:00
msgid ""
"If the Queue was initialized with ``maxsize=0`` (the default), then :meth:"
"`full()` is never ``True``."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:55
2016-10-30 09:46:26 +00:00
msgid ""
"Remove and return an item from the queue. If queue is empty, wait until an "
"item is available."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:58 ../Doc/library/asyncio-queue.rst:81
#: ../Doc/library/asyncio-queue.rst:90
2016-10-30 09:46:26 +00:00
msgid "This method is a :ref:`coroutine <coroutine>`."
msgstr "Cette méthode est une :ref:`coroutine <coroutine>`."
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:62
2016-10-30 09:46:26 +00:00
msgid "The :meth:`empty` method."
msgstr "La méthode :meth:`empty`."
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:66
2016-10-30 09:46:26 +00:00
msgid "Remove and return an item from the queue."
msgstr "Supprime et donne un élément de la queue."
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:68
2016-10-30 09:46:26 +00:00
msgid ""
"Return an item if one is immediately available, else raise :exc:`QueueEmpty`."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:73
2016-10-30 09:46:26 +00:00
msgid "Block until all items in the queue have been gotten and processed."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:75
2016-10-30 09:46:26 +00:00
msgid ""
"The count of unfinished tasks goes up whenever an item is added to the "
"queue. The count goes down whenever a consumer thread calls :meth:"
"`task_done` to indicate that the item was retrieved and all work on it is "
"complete. When the count of unfinished tasks drops to zero, :meth:`join` "
"unblocks."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:87
2016-10-30 09:46:26 +00:00
msgid ""
"Put an item into the queue. If the queue is full, wait until a free slot is "
"available before adding item."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:94
2016-10-30 09:46:26 +00:00
msgid "The :meth:`full` method."
msgstr "La méthode :meth:`full`."
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:98
2016-10-30 09:46:26 +00:00
msgid "Put an item into the queue without blocking."
msgstr "Ajoute un élément dans la queue sans bloquer."
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:100
2016-10-30 09:46:26 +00:00
msgid "If no free slot is immediately available, raise :exc:`QueueFull`."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:104
2016-10-30 09:46:26 +00:00
msgid "Number of items in the queue."
msgstr "Nombre d'éléments dans la queue."
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:108
2016-10-30 09:46:26 +00:00
msgid "Indicate that a formerly enqueued task is complete."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:110
2016-10-30 09:46:26 +00:00
msgid ""
"Used by queue consumers. For each :meth:`~Queue.get` used to fetch a task, a "
"subsequent call to :meth:`task_done` tells the queue that the processing on "
"the task is complete."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:114
2016-10-30 09:46:26 +00:00
msgid ""
"If a :meth:`join` is currently blocking, it will resume when all items have "
"been processed (meaning that a :meth:`task_done` call was received for every "
"item that had been :meth:`~Queue.put` into the queue)."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:118
2016-10-30 09:46:26 +00:00
msgid ""
"Raises :exc:`ValueError` if called more times than there were items placed "
"in the queue."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:125
2016-10-30 09:46:26 +00:00
msgid "Number of items allowed in the queue."
msgstr "Nombre d'éléments autorisés dans la queue."
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:129
2016-10-30 09:46:26 +00:00
msgid "PriorityQueue"
msgstr "PriorityQueue"
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:133
2016-10-30 09:46:26 +00:00
msgid ""
"A subclass of :class:`Queue`; retrieves entries in priority order (lowest "
"first)."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:136
2016-10-30 09:46:26 +00:00
msgid "Entries are typically tuples of the form: (priority number, data)."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:140
2016-10-30 09:46:26 +00:00
msgid "LifoQueue"
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:144
2016-10-30 09:46:26 +00:00
msgid ""
"A subclass of :class:`Queue` that retrieves most recently added entries "
"first."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:149
2016-10-30 09:46:26 +00:00
msgid "Exceptions"
msgstr "Les exceptions"
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:153
2016-10-30 09:46:26 +00:00
msgid ""
"Exception raised when the :meth:`~Queue.get_nowait` method is called on a :"
"class:`Queue` object which is empty."
msgstr ""
2017-08-01 11:29:09 +00:00
#: ../Doc/library/asyncio-queue.rst:159
2016-10-30 09:46:26 +00:00
msgid ""
"Exception raised when the :meth:`~Queue.put_nowait` method is called on a :"
"class:`Queue` object which is full."
msgstr ""