# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-10-30 10:42+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/asyncio-eventloops.rst:4 msgid "Event loops" msgstr "Boucles d'évènements" #: ../Doc/library/asyncio-eventloops.rst:7 msgid "Event loop functions" msgstr "Fonctions des boucles d'évènements" #: ../Doc/library/asyncio-eventloops.rst:9 msgid "" "The following functions are convenient shortcuts to accessing the methods of " "the global policy. Note that this provides access to the default policy, " "unless an alternative policy was set by calling :func:" "`set_event_loop_policy` earlier in the execution of the process." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:16 msgid "Equivalent to calling ``get_event_loop_policy().get_event_loop()``." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:20 msgid "Equivalent to calling ``get_event_loop_policy().set_event_loop(loop)``." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:24 msgid "Equivalent to calling ``get_event_loop_policy().new_event_loop()``." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:30 msgid "Available event loops" msgstr "Boucles d'évènements disponibles" #: ../Doc/library/asyncio-eventloops.rst:32 msgid "" "asyncio currently provides two implementations of event loops: :class:" "`SelectorEventLoop` and :class:`ProactorEventLoop`." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:37 msgid "" "Event loop based on the :mod:`selectors` module. Subclass of :class:" "`AbstractEventLoop`." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:40 msgid "Use the most efficient selector available on the platform." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:42 msgid "" "On Windows, only sockets are supported (ex: pipes are not supported): see " "the `MSDN documentation of select `_." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:48 msgid "" "Proactor event loop for Windows using \"I/O Completion Ports\" aka IOCP. " "Subclass of :class:`AbstractEventLoop`." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:51 msgid "Availability: Windows." msgstr "Disponibilité : Windows." #: ../Doc/library/asyncio-eventloops.rst:55 msgid "" "`MSDN documentation on I/O Completion Ports `_." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:58 msgid "Example to use a :class:`ProactorEventLoop` on Windows::" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:69 msgid "Platform support" msgstr "Support des plateformes" #: ../Doc/library/asyncio-eventloops.rst:71 msgid "" "The :mod:`asyncio` module has been designed to be portable, but each " "platform still has subtle differences and may not support all :mod:`asyncio` " "features." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:75 msgid "Windows" msgstr "Windows" #: ../Doc/library/asyncio-eventloops.rst:77 msgid "Common limits of Windows event loops:" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:79 msgid "" ":meth:`~AbstractEventLoop.create_unix_connection` and :meth:" "`~AbstractEventLoop.create_unix_server` are not supported: the socket " "family :data:`socket.AF_UNIX` is specific to UNIX" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:82 msgid "" ":meth:`~AbstractEventLoop.add_signal_handler` and :meth:`~AbstractEventLoop." "remove_signal_handler` are not supported" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:84 msgid "" ":meth:`EventLoopPolicy.set_child_watcher` is not supported. :class:" "`ProactorEventLoop` supports subprocesses. It has only one implementation to " "watch child processes, there is no need to configure it." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:88 msgid ":class:`SelectorEventLoop` specific limits:" msgstr "Limites spécifiques à :class:`SelectorEventLoop` :" #: ../Doc/library/asyncio-eventloops.rst:90 msgid "" ":class:`~selectors.SelectSelector` is used which only supports sockets and " "is limited to 512 sockets." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:92 msgid "" ":meth:`~AbstractEventLoop.add_reader` and :meth:`~AbstractEventLoop." "add_writer` only accept file descriptors of sockets" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:94 msgid "" "Pipes are not supported (ex: :meth:`~AbstractEventLoop.connect_read_pipe`, :" "meth:`~AbstractEventLoop.connect_write_pipe`)" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:97 msgid "" ":ref:`Subprocesses ` are not supported (ex: :meth:" "`~AbstractEventLoop.subprocess_exec`, :meth:`~AbstractEventLoop." "subprocess_shell`)" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:101 msgid ":class:`ProactorEventLoop` specific limits:" msgstr "Limites spécifiques à :class:`ProactorEventLoop` :" #: ../Doc/library/asyncio-eventloops.rst:103 msgid "" ":meth:`~AbstractEventLoop.create_datagram_endpoint` (UDP) is not supported" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:104 msgid "" ":meth:`~AbstractEventLoop.add_reader` and :meth:`~AbstractEventLoop." "add_writer` are not supported" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:107 msgid "" "The resolution of the monotonic clock on Windows is usually around 15.6 " "msec. The best resolution is 0.5 msec. The resolution depends on the " "hardware (availability of `HPET `_) and on the Windows configuration. See :ref:" "`asyncio delayed calls `." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:115 msgid ":class:`ProactorEventLoop` now supports SSL." msgstr "La classe :class:`ProactorEventLoop` gère maintenant le SSL." #: ../Doc/library/asyncio-eventloops.rst:119 msgid "Mac OS X" msgstr "Mac OS X" #: ../Doc/library/asyncio-eventloops.rst:121 msgid "" "Character devices like PTY are only well supported since Mavericks (Mac OS " "10.9). They are not supported at all on Mac OS 10.5 and older." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:124 msgid "" "On Mac OS 10.6, 10.7 and 10.8, the default event loop is :class:" "`SelectorEventLoop` which uses :class:`selectors.KqueueSelector`. :class:" "`selectors.KqueueSelector` does not support character devices on these " "versions. The :class:`SelectorEventLoop` can be used with :class:" "`~selectors.SelectSelector` or :class:`~selectors.PollSelector` to support " "character devices on these versions of Mac OS X. Example::" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:140 msgid "Event loop policies and the default policy" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:142 msgid "" "Event loop management is abstracted with a *policy* pattern, to provide " "maximal flexibility for custom platforms and frameworks. Throughout the " "execution of a process, a single global policy object manages the event " "loops available to the process based on the calling context. A policy is an " "object implementing the :class:`AbstractEventLoopPolicy` interface." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:148 msgid "" "For most users of :mod:`asyncio`, policies never have to be dealt with " "explicitly, since the default global policy is sufficient." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:151 msgid "" "The default policy defines context as the current thread, and manages an " "event loop per thread that interacts with :mod:`asyncio`. The module-level " "functions :func:`get_event_loop` and :func:`set_event_loop` provide " "convenient access to event loops managed by the default policy." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:158 msgid "Event loop policy interface" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:160 msgid "An event loop policy must implement the following interface:" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:164 msgid "Event loop policy." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:168 msgid "Get the event loop for the current context." msgstr "Récupère la boucle d'évènements pour le contexte actuel." #: ../Doc/library/asyncio-eventloops.rst:170 msgid "" "Returns an event loop object implementing the :class:`AbstractEventLoop` " "interface." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:173 msgid "" "Raises an exception in case no event loop has been set for the current " "context and the current policy does not specify to create one. It must never " "return ``None``." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:179 msgid "Set the event loop for the current context to *loop*." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:183 msgid "" "Create and return a new event loop object according to this policy's rules." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:186 msgid "" "If there's need to set this loop as the event loop for the current context, :" "meth:`set_event_loop` must be called explicitly." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:191 msgid "Access to the global loop policy" msgstr "" #: ../Doc/library/asyncio-eventloops.rst:195 msgid "Get the current event loop policy." msgstr "" #: ../Doc/library/asyncio-eventloops.rst:199 msgid "" "Set the current event loop policy. If *policy* is ``None``, the default " "policy is restored." msgstr ""