forked from AFPy/python-docs-fr
1011 lines
26 KiB
Plaintext
1011 lines
26 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-llapi-index.rst:6
|
|
msgid "Low-level API Index"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:8
|
|
msgid "This page lists all low-level asyncio APIs."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:12
|
|
msgid "Obtaining the Event Loop"
|
|
msgstr "Obtenir une boucle d'évènements"
|
|
|
|
#: library/asyncio-llapi-index.rst:18
|
|
msgid ":func:`asyncio.get_running_loop`"
|
|
msgstr ":func:`asyncio.get_running_loop`"
|
|
|
|
#: library/asyncio-llapi-index.rst:19
|
|
msgid "The **preferred** function to get the running event loop."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:21
|
|
msgid ":func:`asyncio.get_event_loop`"
|
|
msgstr ":func:`asyncio.get_event_loop`"
|
|
|
|
#: library/asyncio-llapi-index.rst:22
|
|
msgid "Get an event loop instance (current or via the policy)."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:24
|
|
msgid ":func:`asyncio.set_event_loop`"
|
|
msgstr ":func:`asyncio.set_event_loop`"
|
|
|
|
#: library/asyncio-llapi-index.rst:25
|
|
msgid "Set the event loop as current via the current policy."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:27
|
|
msgid ":func:`asyncio.new_event_loop`"
|
|
msgstr ":func:`asyncio.new_event_loop`"
|
|
|
|
#: library/asyncio-llapi-index.rst:28
|
|
msgid "Create a new event loop."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:32 library/asyncio-llapi-index.rst:269
|
|
msgid "Examples"
|
|
msgstr "Exemples"
|
|
|
|
#: library/asyncio-llapi-index.rst:33
|
|
msgid ":ref:`Using asyncio.get_running_loop() <asyncio_example_future>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:37
|
|
msgid "Event Loop Methods"
|
|
msgstr "Méthodes de la boucle d'évènements"
|
|
|
|
#: library/asyncio-llapi-index.rst:39
|
|
msgid ""
|
|
"See also the main documentation section about the :ref:`event loop methods "
|
|
"<asyncio-event-loop>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:42
|
|
msgid "Lifecycle"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:47
|
|
msgid ":meth:`loop.run_until_complete`"
|
|
msgstr ":meth:`loop.run_until_complete`"
|
|
|
|
#: library/asyncio-llapi-index.rst:48
|
|
msgid "Run a Future/Task/awaitable until complete."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:50
|
|
msgid ":meth:`loop.run_forever`"
|
|
msgstr ":meth:`loop.run_forever`"
|
|
|
|
#: library/asyncio-llapi-index.rst:51
|
|
msgid "Run the event loop forever."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:53
|
|
msgid ":meth:`loop.stop`"
|
|
msgstr ":meth:`loop.stop`"
|
|
|
|
#: library/asyncio-llapi-index.rst:54
|
|
msgid "Stop the event loop."
|
|
msgstr "Arrête l'exécution de la boucle d'évènements."
|
|
|
|
#: library/asyncio-llapi-index.rst:56
|
|
msgid ":meth:`loop.close`"
|
|
msgstr ":meth:`loop.close`"
|
|
|
|
#: library/asyncio-llapi-index.rst:57
|
|
msgid "Close the event loop."
|
|
msgstr "Arrête la boucle d'évènements."
|
|
|
|
#: library/asyncio-llapi-index.rst:59
|
|
msgid ":meth:`loop.is_running()`"
|
|
msgstr ":meth:`loop.is_running()`"
|
|
|
|
#: library/asyncio-llapi-index.rst:60
|
|
msgid "Return ``True`` if the event loop is running."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:62
|
|
msgid ":meth:`loop.is_closed()`"
|
|
msgstr ":meth:`loop.is_closed()`"
|
|
|
|
#: library/asyncio-llapi-index.rst:63
|
|
#, fuzzy
|
|
msgid "Return ``True`` if the event loop is closed."
|
|
msgstr "Renvoie ``True`` si la boucle d'évènements est arrêtée."
|
|
|
|
#: library/asyncio-llapi-index.rst:65
|
|
msgid "``await`` :meth:`loop.shutdown_asyncgens`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:66
|
|
msgid "Close asynchronous generators."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:69
|
|
msgid "Debugging"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:74
|
|
msgid ":meth:`loop.set_debug`"
|
|
msgstr ":meth:`loop.set_debug`"
|
|
|
|
#: library/asyncio-llapi-index.rst:75
|
|
msgid "Enable or disable the debug mode."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:77
|
|
msgid ":meth:`loop.get_debug`"
|
|
msgstr ":meth:`loop.get_debug`"
|
|
|
|
#: library/asyncio-llapi-index.rst:78
|
|
msgid "Get the current debug mode."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:81
|
|
msgid "Scheduling Callbacks"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:86
|
|
msgid ":meth:`loop.call_soon`"
|
|
msgstr ":meth:`loop.call_soon`"
|
|
|
|
#: library/asyncio-llapi-index.rst:87
|
|
msgid "Invoke a callback soon."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:89
|
|
msgid ":meth:`loop.call_soon_threadsafe`"
|
|
msgstr ":meth:`loop.call_soon_threadsafe`"
|
|
|
|
#: library/asyncio-llapi-index.rst:90
|
|
msgid "A thread-safe variant of :meth:`loop.call_soon`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:92
|
|
msgid ":meth:`loop.call_later`"
|
|
msgstr ":meth:`loop.call_later`"
|
|
|
|
#: library/asyncio-llapi-index.rst:93
|
|
msgid "Invoke a callback *after* the given time."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:95
|
|
msgid ":meth:`loop.call_at`"
|
|
msgstr ":meth:`loop.call_at`"
|
|
|
|
#: library/asyncio-llapi-index.rst:96
|
|
msgid "Invoke a callback *at* the given time."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:99
|
|
msgid "Thread/Process Pool"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:104
|
|
msgid "``await`` :meth:`loop.run_in_executor`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:105
|
|
msgid ""
|
|
"Run a CPU-bound or other blocking function in a :mod:`concurrent.futures` "
|
|
"executor."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:108
|
|
msgid ":meth:`loop.set_default_executor`"
|
|
msgstr ":meth:`loop.set_default_executor`"
|
|
|
|
#: library/asyncio-llapi-index.rst:109
|
|
msgid "Set the default executor for :meth:`loop.run_in_executor`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:112
|
|
msgid "Tasks and Futures"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:117
|
|
msgid ":meth:`loop.create_future`"
|
|
msgstr ":meth:`loop.create_future`"
|
|
|
|
#: library/asyncio-llapi-index.rst:118
|
|
msgid "Create a :class:`Future` object."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:120
|
|
msgid ":meth:`loop.create_task`"
|
|
msgstr ":meth:`loop.create_task`"
|
|
|
|
#: library/asyncio-llapi-index.rst:121
|
|
msgid "Schedule coroutine as a :class:`Task`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:123
|
|
msgid ":meth:`loop.set_task_factory`"
|
|
msgstr ":meth:`loop.set_task_factory`"
|
|
|
|
#: library/asyncio-llapi-index.rst:124
|
|
msgid ""
|
|
"Set a factory used by :meth:`loop.create_task` to create :class:`Tasks "
|
|
"<Task>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:127
|
|
msgid ":meth:`loop.get_task_factory`"
|
|
msgstr ":meth:`loop.get_task_factory`"
|
|
|
|
#: library/asyncio-llapi-index.rst:128
|
|
msgid ""
|
|
"Get the factory :meth:`loop.create_task` uses to create :class:`Tasks "
|
|
"<Task>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:132
|
|
msgid "DNS"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:137
|
|
msgid "``await`` :meth:`loop.getaddrinfo`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:138
|
|
msgid "Asynchronous version of :meth:`socket.getaddrinfo`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:140
|
|
msgid "``await`` :meth:`loop.getnameinfo`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:141
|
|
msgid "Asynchronous version of :meth:`socket.getnameinfo`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:144
|
|
msgid "Networking and IPC"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:149
|
|
msgid "``await`` :meth:`loop.create_connection`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:150
|
|
msgid "Open a TCP connection."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:152
|
|
msgid "``await`` :meth:`loop.create_server`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:153
|
|
msgid "Create a TCP server."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:155
|
|
msgid "``await`` :meth:`loop.create_unix_connection`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:156
|
|
msgid "Open a Unix socket connection."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:158
|
|
msgid "``await`` :meth:`loop.create_unix_server`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:159
|
|
msgid "Create a Unix socket server."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:161
|
|
msgid "``await`` :meth:`loop.connect_accepted_socket`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:162
|
|
msgid "Wrap a :class:`~socket.socket` into a ``(transport, protocol)`` pair."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:165
|
|
msgid "``await`` :meth:`loop.create_datagram_endpoint`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:166
|
|
msgid "Open a datagram (UDP) connection."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:168
|
|
msgid "``await`` :meth:`loop.sendfile`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:169
|
|
msgid "Send a file over a transport."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:171
|
|
msgid "``await`` :meth:`loop.start_tls`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:172
|
|
msgid "Upgrade an existing connection to TLS."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:174
|
|
msgid "``await`` :meth:`loop.connect_read_pipe`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:175
|
|
msgid "Wrap a read end of a pipe into a ``(transport, protocol)`` pair."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:177
|
|
msgid "``await`` :meth:`loop.connect_write_pipe`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:178
|
|
msgid "Wrap a write end of a pipe into a ``(transport, protocol)`` pair."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:181
|
|
msgid "Sockets"
|
|
msgstr "Interfaces de connexion (*sockets*)"
|
|
|
|
#: library/asyncio-llapi-index.rst:186
|
|
msgid "``await`` :meth:`loop.sock_recv`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:187
|
|
msgid "Receive data from the :class:`~socket.socket`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:189
|
|
msgid "``await`` :meth:`loop.sock_recv_into`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:190
|
|
msgid "Receive data from the :class:`~socket.socket` into a buffer."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:192
|
|
msgid "``await`` :meth:`loop.sock_recvfrom`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:193
|
|
msgid "Receive a datagram from the :class:`~socket.socket`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:195
|
|
msgid "``await`` :meth:`loop.sock_recvfrom_into`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:196
|
|
msgid "Receive a datagram from the :class:`~socket.socket` into a buffer."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:198
|
|
msgid "``await`` :meth:`loop.sock_sendall`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:199
|
|
msgid "Send data to the :class:`~socket.socket`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:201
|
|
msgid "``await`` :meth:`loop.sock_sendto`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:202
|
|
msgid "Send a datagram via the :class:`~socket.socket` to the given address."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:204
|
|
msgid "``await`` :meth:`loop.sock_connect`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:205
|
|
msgid "Connect the :class:`~socket.socket`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:207
|
|
msgid "``await`` :meth:`loop.sock_accept`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:208
|
|
msgid "Accept a :class:`~socket.socket` connection."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:210
|
|
msgid "``await`` :meth:`loop.sock_sendfile`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:211
|
|
msgid "Send a file over the :class:`~socket.socket`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:213
|
|
msgid ":meth:`loop.add_reader`"
|
|
msgstr ":meth:`loop.add_reader`"
|
|
|
|
#: library/asyncio-llapi-index.rst:214
|
|
msgid "Start watching a file descriptor for read availability."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:216
|
|
msgid ":meth:`loop.remove_reader`"
|
|
msgstr ":meth:`loop.remove_reader`"
|
|
|
|
#: library/asyncio-llapi-index.rst:217
|
|
msgid "Stop watching a file descriptor for read availability."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:219
|
|
msgid ":meth:`loop.add_writer`"
|
|
msgstr ":meth:`loop.add_writer`"
|
|
|
|
#: library/asyncio-llapi-index.rst:220
|
|
msgid "Start watching a file descriptor for write availability."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:222
|
|
msgid ":meth:`loop.remove_writer`"
|
|
msgstr ":meth:`loop.remove_writer`"
|
|
|
|
#: library/asyncio-llapi-index.rst:223
|
|
msgid "Stop watching a file descriptor for write availability."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:226
|
|
#, fuzzy
|
|
msgid "Unix Signals"
|
|
msgstr "Signaux Unix"
|
|
|
|
#: library/asyncio-llapi-index.rst:231
|
|
msgid ":meth:`loop.add_signal_handler`"
|
|
msgstr ":meth:`loop.add_signal_handler`"
|
|
|
|
#: library/asyncio-llapi-index.rst:232
|
|
msgid "Add a handler for a :mod:`signal`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:234
|
|
msgid ":meth:`loop.remove_signal_handler`"
|
|
msgstr ":meth:`loop.remove_signal_handler`"
|
|
|
|
#: library/asyncio-llapi-index.rst:235
|
|
msgid "Remove a handler for a :mod:`signal`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:238
|
|
msgid "Subprocesses"
|
|
msgstr "Sous-processus"
|
|
|
|
#: library/asyncio-llapi-index.rst:243
|
|
msgid ":meth:`loop.subprocess_exec`"
|
|
msgstr ":meth:`loop.subprocess_exec`"
|
|
|
|
#: library/asyncio-llapi-index.rst:244
|
|
msgid "Spawn a subprocess."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:246
|
|
msgid ":meth:`loop.subprocess_shell`"
|
|
msgstr ":meth:`loop.subprocess_shell`"
|
|
|
|
#: library/asyncio-llapi-index.rst:247
|
|
msgid "Spawn a subprocess from a shell command."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:250
|
|
msgid "Error Handling"
|
|
msgstr "Gestion des erreurs"
|
|
|
|
#: library/asyncio-llapi-index.rst:255
|
|
msgid ":meth:`loop.call_exception_handler`"
|
|
msgstr ":meth:`loop.call_exception_handler`"
|
|
|
|
#: library/asyncio-llapi-index.rst:256
|
|
msgid "Call the exception handler."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:258
|
|
msgid ":meth:`loop.set_exception_handler`"
|
|
msgstr ":meth:`loop.set_exception_handler`"
|
|
|
|
#: library/asyncio-llapi-index.rst:259
|
|
msgid "Set a new exception handler."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:261
|
|
msgid ":meth:`loop.get_exception_handler`"
|
|
msgstr ":meth:`loop.get_exception_handler`"
|
|
|
|
#: library/asyncio-llapi-index.rst:262
|
|
msgid "Get the current exception handler."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:264
|
|
msgid ":meth:`loop.default_exception_handler`"
|
|
msgstr ":meth:`loop.default_exception_handler`"
|
|
|
|
#: library/asyncio-llapi-index.rst:265
|
|
msgid "The default exception handler implementation."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:270
|
|
msgid ""
|
|
":ref:`Using asyncio.get_event_loop() and loop.run_forever() "
|
|
"<asyncio_example_lowlevel_helloworld>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:273
|
|
msgid ":ref:`Using loop.call_later() <asyncio_example_call_later>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:275
|
|
msgid ""
|
|
"Using ``loop.create_connection()`` to implement :ref:`an echo-client "
|
|
"<asyncio_example_tcp_echo_client_protocol>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:278
|
|
msgid ""
|
|
"Using ``loop.create_connection()`` to :ref:`connect a socket "
|
|
"<asyncio_example_create_connection>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:281
|
|
msgid ""
|
|
":ref:`Using add_reader() to watch an FD for read events "
|
|
"<asyncio_example_watch_fd>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:284
|
|
msgid ":ref:`Using loop.add_signal_handler() <asyncio_example_unix_signals>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:286
|
|
msgid ":ref:`Using loop.subprocess_exec() <asyncio_example_subprocess_proto>`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:290
|
|
msgid "Transports"
|
|
msgstr "Transports"
|
|
|
|
#: library/asyncio-llapi-index.rst:292
|
|
msgid "All transports implement the following methods:"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:298
|
|
msgid ":meth:`transport.close() <BaseTransport.close>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:299
|
|
msgid "Close the transport."
|
|
msgstr "Ferme le transport."
|
|
|
|
#: library/asyncio-llapi-index.rst:301
|
|
msgid ":meth:`transport.is_closing() <BaseTransport.is_closing>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:302
|
|
msgid "Return ``True`` if the transport is closing or is closed."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:304
|
|
msgid ":meth:`transport.get_extra_info() <BaseTransport.get_extra_info>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:305
|
|
msgid "Request for information about the transport."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:307
|
|
msgid ":meth:`transport.set_protocol() <BaseTransport.set_protocol>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:308
|
|
msgid "Set a new protocol."
|
|
msgstr "Change le protocole."
|
|
|
|
#: library/asyncio-llapi-index.rst:310
|
|
msgid ":meth:`transport.get_protocol() <BaseTransport.get_protocol>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:311
|
|
msgid "Return the current protocol."
|
|
msgstr "Renvoie le protocole courant."
|
|
|
|
#: library/asyncio-llapi-index.rst:314
|
|
msgid ""
|
|
"Transports that can receive data (TCP and Unix connections, pipes, etc). "
|
|
"Returned from methods like :meth:`loop.create_connection`, :meth:`loop."
|
|
"create_unix_connection`, :meth:`loop.connect_read_pipe`, etc:"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:319
|
|
msgid "Read Transports"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:324
|
|
msgid ":meth:`transport.is_reading() <ReadTransport.is_reading>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:325
|
|
msgid "Return ``True`` if the transport is receiving."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:327
|
|
msgid ":meth:`transport.pause_reading() <ReadTransport.pause_reading>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:328
|
|
msgid "Pause receiving."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:330
|
|
msgid ":meth:`transport.resume_reading() <ReadTransport.resume_reading>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:331
|
|
msgid "Resume receiving."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:334
|
|
msgid ""
|
|
"Transports that can Send data (TCP and Unix connections, pipes, etc). "
|
|
"Returned from methods like :meth:`loop.create_connection`, :meth:`loop."
|
|
"create_unix_connection`, :meth:`loop.connect_write_pipe`, etc:"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:339
|
|
msgid "Write Transports"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:344
|
|
msgid ":meth:`transport.write() <WriteTransport.write>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:345
|
|
msgid "Write data to the transport."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:347
|
|
msgid ":meth:`transport.writelines() <WriteTransport.writelines>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:348
|
|
msgid "Write buffers to the transport."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:350
|
|
msgid ":meth:`transport.can_write_eof() <WriteTransport.can_write_eof>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:351
|
|
msgid "Return :const:`True` if the transport supports sending EOF."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:353
|
|
msgid ":meth:`transport.write_eof() <WriteTransport.write_eof>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:354
|
|
msgid "Close and send EOF after flushing buffered data."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:356
|
|
msgid ":meth:`transport.abort() <WriteTransport.abort>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:357 library/asyncio-llapi-index.rst:379
|
|
msgid "Close the transport immediately."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:359
|
|
msgid ""
|
|
":meth:`transport.get_write_buffer_size() <WriteTransport."
|
|
"get_write_buffer_size>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:361
|
|
msgid "Return high and low water marks for write flow control."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:363
|
|
msgid ""
|
|
":meth:`transport.set_write_buffer_limits() <WriteTransport."
|
|
"set_write_buffer_limits>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:365
|
|
msgid "Set new high and low water marks for write flow control."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:368
|
|
msgid "Transports returned by :meth:`loop.create_datagram_endpoint`:"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:370
|
|
msgid "Datagram Transports"
|
|
msgstr "Transports de datagrammes"
|
|
|
|
#: library/asyncio-llapi-index.rst:375
|
|
msgid ":meth:`transport.sendto() <DatagramTransport.sendto>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:376
|
|
msgid "Send data to the remote peer."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:378
|
|
msgid ":meth:`transport.abort() <DatagramTransport.abort>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:382
|
|
msgid ""
|
|
"Low-level transport abstraction over subprocesses. Returned by :meth:`loop."
|
|
"subprocess_exec` and :meth:`loop.subprocess_shell`:"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:386
|
|
msgid "Subprocess Transports"
|
|
msgstr "Transports vers des sous-processus"
|
|
|
|
#: library/asyncio-llapi-index.rst:391
|
|
msgid ":meth:`transport.get_pid() <SubprocessTransport.get_pid>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:392
|
|
msgid "Return the subprocess process id."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:394
|
|
msgid ""
|
|
":meth:`transport.get_pipe_transport() <SubprocessTransport."
|
|
"get_pipe_transport>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:396
|
|
msgid ""
|
|
"Return the transport for the requested communication pipe (*stdin*, "
|
|
"*stdout*, or *stderr*)."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:399
|
|
msgid ":meth:`transport.get_returncode() <SubprocessTransport.get_returncode>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:400
|
|
msgid "Return the subprocess return code."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:402
|
|
msgid ":meth:`transport.kill() <SubprocessTransport.kill>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:403
|
|
msgid "Kill the subprocess."
|
|
msgstr "Tue le sous-processus."
|
|
|
|
#: library/asyncio-llapi-index.rst:405
|
|
msgid ":meth:`transport.send_signal() <SubprocessTransport.send_signal>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:406
|
|
msgid "Send a signal to the subprocess."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:408
|
|
msgid ":meth:`transport.terminate() <SubprocessTransport.terminate>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:409
|
|
msgid "Stop the subprocess."
|
|
msgstr "Termine le sous-processus."
|
|
|
|
#: library/asyncio-llapi-index.rst:411
|
|
msgid ":meth:`transport.close() <SubprocessTransport.close>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:412
|
|
msgid "Kill the subprocess and close all pipes."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:416
|
|
msgid "Protocols"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:418
|
|
msgid "Protocol classes can implement the following **callback methods**:"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:424
|
|
msgid "``callback`` :meth:`connection_made() <BaseProtocol.connection_made>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:425
|
|
msgid "Called when a connection is made."
|
|
msgstr "Appelé lorsqu'une connexion est établie."
|
|
|
|
#: library/asyncio-llapi-index.rst:427
|
|
msgid "``callback`` :meth:`connection_lost() <BaseProtocol.connection_lost>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:428
|
|
msgid "Called when the connection is lost or closed."
|
|
msgstr "Appelé lorsqu'une connexion est perdue ou fermée."
|
|
|
|
#: library/asyncio-llapi-index.rst:430
|
|
msgid "``callback`` :meth:`pause_writing() <BaseProtocol.pause_writing>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:431
|
|
msgid "Called when the transport's buffer goes over the high water mark."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:433
|
|
msgid "``callback`` :meth:`resume_writing() <BaseProtocol.resume_writing>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:434
|
|
msgid "Called when the transport's buffer drains below the low water mark."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:437
|
|
msgid "Streaming Protocols (TCP, Unix Sockets, Pipes)"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:442
|
|
msgid "``callback`` :meth:`data_received() <Protocol.data_received>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:443
|
|
msgid "Called when some data is received."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:445
|
|
msgid "``callback`` :meth:`eof_received() <Protocol.eof_received>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:446 library/asyncio-llapi-index.rst:461
|
|
msgid "Called when an EOF is received."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:449
|
|
msgid "Buffered Streaming Protocols"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:454
|
|
msgid "``callback`` :meth:`get_buffer() <BufferedProtocol.get_buffer>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:455
|
|
msgid "Called to allocate a new receive buffer."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:457
|
|
msgid "``callback`` :meth:`buffer_updated() <BufferedProtocol.buffer_updated>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:458
|
|
msgid "Called when the buffer was updated with the received data."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:460
|
|
msgid "``callback`` :meth:`eof_received() <BufferedProtocol.eof_received>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:464
|
|
msgid "Datagram Protocols"
|
|
msgstr "Protocoles non-connectés"
|
|
|
|
#: library/asyncio-llapi-index.rst:469
|
|
msgid ""
|
|
"``callback`` :meth:`datagram_received() <DatagramProtocol.datagram_received>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:471
|
|
msgid "Called when a datagram is received."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:473
|
|
msgid "``callback`` :meth:`error_received() <DatagramProtocol.error_received>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:474
|
|
msgid ""
|
|
"Called when a previous send or receive operation raises an :class:`OSError`."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:478
|
|
msgid "Subprocess Protocols"
|
|
msgstr "Protocoles liés aux sous-processus"
|
|
|
|
#: library/asyncio-llapi-index.rst:483
|
|
msgid ""
|
|
"``callback`` :meth:`pipe_data_received() <SubprocessProtocol."
|
|
"pipe_data_received>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:485
|
|
#, fuzzy
|
|
msgid ""
|
|
"Called when the child process writes data into its *stdout* or *stderr* pipe."
|
|
msgstr ""
|
|
"Appelé lorsqu'un processus enfant écrit sur sa sortie d'erreur ou sa sortie "
|
|
"standard."
|
|
|
|
#: library/asyncio-llapi-index.rst:488
|
|
msgid ""
|
|
"``callback`` :meth:`pipe_connection_lost() <SubprocessProtocol."
|
|
"pipe_connection_lost>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:490
|
|
msgid ""
|
|
"Called when one of the pipes communicating with the child process is closed."
|
|
msgstr ""
|
|
"Appelé lorsqu'une des *pipe*\\ s de communication avec un sous-processus est "
|
|
"fermée."
|
|
|
|
#: library/asyncio-llapi-index.rst:493
|
|
msgid ""
|
|
"``callback`` :meth:`process_exited() <SubprocessProtocol.process_exited>`"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:495
|
|
msgid "Called when the child process has exited."
|
|
msgstr "Appelé lorsqu'un processus enfant se termine."
|
|
|
|
#: library/asyncio-llapi-index.rst:499
|
|
msgid "Event Loop Policies"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:501
|
|
msgid ""
|
|
"Policies is a low-level mechanism to alter the behavior of functions like :"
|
|
"func:`asyncio.get_event_loop`. See also the main :ref:`policies section "
|
|
"<asyncio-policies>` for more details."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:507
|
|
msgid "Accessing Policies"
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:512
|
|
msgid ":meth:`asyncio.get_event_loop_policy`"
|
|
msgstr ":meth:`asyncio.get_event_loop_policy`"
|
|
|
|
#: library/asyncio-llapi-index.rst:513
|
|
msgid "Return the current process-wide policy."
|
|
msgstr "Renvoie la stratégie actuelle à l'échelle du processus."
|
|
|
|
#: library/asyncio-llapi-index.rst:515
|
|
msgid ":meth:`asyncio.set_event_loop_policy`"
|
|
msgstr ":meth:`asyncio.set_event_loop_policy`"
|
|
|
|
#: library/asyncio-llapi-index.rst:516
|
|
msgid "Set a new process-wide policy."
|
|
msgstr ""
|
|
|
|
#: library/asyncio-llapi-index.rst:518
|
|
msgid ":class:`AbstractEventLoopPolicy`"
|
|
msgstr ":class:`AbstractEventLoopPolicy`"
|
|
|
|
#: library/asyncio-llapi-index.rst:519
|
|
msgid "Base class for policy objects."
|
|
msgstr ""
|