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

152 lines
4.5 KiB
Plaintext

# 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: 2022-03-23 18:39+0100\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/asyncio-platforms.rst:9
msgid "Platform Support"
msgstr ""
#: library/asyncio-platforms.rst:11
msgid ""
"The :mod:`asyncio` module is designed to be portable, but some platforms "
"have subtle differences and limitations due to the platforms' underlying "
"architecture and capabilities."
msgstr ""
#: library/asyncio-platforms.rst:17
msgid "All Platforms"
msgstr ""
#: library/asyncio-platforms.rst:19
msgid ""
":meth:`loop.add_reader` and :meth:`loop.add_writer` cannot be used to "
"monitor file I/O."
msgstr ""
#: library/asyncio-platforms.rst:24
msgid "Windows"
msgstr "Windows"
#: library/asyncio-platforms.rst:26
msgid ""
"**Source code:** :source:`Lib/asyncio/proactor_events.py`, :source:`Lib/"
"asyncio/windows_events.py`, :source:`Lib/asyncio/windows_utils.py`"
msgstr ""
#: library/asyncio-platforms.rst:34
msgid "On Windows, :class:`ProactorEventLoop` is now the default event loop."
msgstr ""
#: library/asyncio-platforms.rst:36
msgid "All event loops on Windows do not support the following methods:"
msgstr ""
#: library/asyncio-platforms.rst:38
msgid ""
":meth:`loop.create_unix_connection` and :meth:`loop.create_unix_server` are "
"not supported. The :data:`socket.AF_UNIX` socket family is specific to Unix."
msgstr ""
#: library/asyncio-platforms.rst:42
msgid ""
":meth:`loop.add_signal_handler` and :meth:`loop.remove_signal_handler` are "
"not supported."
msgstr ""
#: library/asyncio-platforms.rst:45
msgid ":class:`SelectorEventLoop` has the following limitations:"
msgstr ""
#: library/asyncio-platforms.rst:47
msgid ""
":class:`~selectors.SelectSelector` is used to wait on socket events: it "
"supports sockets and is limited to 512 sockets."
msgstr ""
#: library/asyncio-platforms.rst:50
msgid ""
":meth:`loop.add_reader` and :meth:`loop.add_writer` only accept socket "
"handles (e.g. pipe file descriptors are not supported)."
msgstr ""
#: library/asyncio-platforms.rst:53
msgid ""
"Pipes are not supported, so the :meth:`loop.connect_read_pipe` and :meth:"
"`loop.connect_write_pipe` methods are not implemented."
msgstr ""
#: library/asyncio-platforms.rst:56
msgid ""
":ref:`Subprocesses <asyncio-subprocess>` are not supported, i.e. :meth:`loop."
"subprocess_exec` and :meth:`loop.subprocess_shell` methods are not "
"implemented."
msgstr ""
#: library/asyncio-platforms.rst:60
msgid ":class:`ProactorEventLoop` has the following limitations:"
msgstr ""
#: library/asyncio-platforms.rst:62
msgid ""
"The :meth:`loop.add_reader` and :meth:`loop.add_writer` methods are not "
"supported."
msgstr ""
#: library/asyncio-platforms.rst:65
msgid ""
"The resolution of the monotonic clock on Windows is usually around 15.6 "
"milliseconds. The best resolution is 0.5 milliseconds. The resolution "
"depends on the hardware (availability of `HPET <https://en.wikipedia.org/"
"wiki/High_Precision_Event_Timer>`_) and on the Windows configuration."
msgstr ""
#: library/asyncio-platforms.rst:75
msgid "Subprocess Support on Windows"
msgstr ""
#: library/asyncio-platforms.rst:77
msgid ""
"On Windows, the default event loop :class:`ProactorEventLoop` supports "
"subprocesses, whereas :class:`SelectorEventLoop` does not."
msgstr ""
#: library/asyncio-platforms.rst:80
msgid ""
"The :meth:`policy.set_child_watcher() <AbstractEventLoopPolicy."
"set_child_watcher>` function is also not supported, as :class:"
"`ProactorEventLoop` has a different mechanism to watch child processes."
msgstr ""
#: library/asyncio-platforms.rst:87
msgid "macOS"
msgstr "macOS"
#: library/asyncio-platforms.rst:89
msgid "Modern macOS versions are fully supported."
msgstr ""
#: library/asyncio-platforms.rst:92
msgid "macOS <= 10.8"
msgstr ""
#: library/asyncio-platforms.rst:93
msgid ""
"On macOS 10.6, 10.7 and 10.8, the default event loop uses :class:`selectors."
"KqueueSelector`, which does not support character devices on these "
"versions. The :class:`SelectorEventLoop` can be manually configured to use :"
"class:`~selectors.SelectSelector` or :class:`~selectors.PollSelector` to "
"support character devices on these older versions of macOS. Example::"
msgstr ""