About 400 results
Open links in new tab
  1. Event Loop — Python 3.14.0 documentation

    The asyncio policy system is deprecated and will be removed in Python 3.16; from there on, this function will return the current running event loop if present else it will return the loop set by …

  2. Developing with asyncio — Python 3.14.0 documentation

    3 days ago · The Event Loop Methods section lists APIs that can read from pipes and watch file descriptors without blocking the event loop. In addition, asyncio’s Subprocess APIs provide a …

  3. A Conceptual Overview of asyncio — Python 3.14.0 documentation

    3 days ago · In more technical terms, the event loop contains a collection of jobs to be run. Some jobs are added directly by you, and some indirectly by asyncio. The event loop takes a job …

  4. Coroutines and Tasks — Python 3.14.0 documentation

    3 days ago · Event loops use cooperative scheduling: an event loop runs one Task at a time. While a Task awaits for the completion of a Future, the event loop runs other Tasks, callbacks, …

  5. Runners — Python 3.14.0 documentation

    3 days ago · This section outlines high-level asyncio primitives to run asyncio code. They are built on top of an event loop with the aim to simplify async code usage for common wide-spread …

  6. Policies — Python 3.14.0 documentation

    3 days ago · An event loop policy is a global object used to get and set the current event loop, as well as create new event loops. The default policy can be replaced with built-in alternatives to …

  7. Low-level API Index — Python 3.14.0 documentation

    3 days ago · This page lists all low-level asyncio APIs. Obtaining the Event Loop:,, asyncio.get_running_loop (), The preferred function to get the running event loop.,, …

  8. asyncio — Asynchronous I/O — Python 3.15.0a2 documentation

    create and manage event loops, which provide asynchronous APIs for networking, running subprocesses, handling OS signals, etc; implement efficient protocols using transports;

  9. Synchronization Primitives — Python 3.14.0 documentation

    3 days ago · An asyncio event can be used to notify multiple asyncio tasks that some event has happened. An Event object manages an internal flag that can be set to true with the set() …

  10. Transports and Protocols — Python 3.14.0 documentation

    3 days ago · Transports and Protocols ¶ Preface Transports and Protocols are used by the low-level event loop APIs such as loop.create_connection(). They use callback-based …