Skip to content

Modernization of asyncio infrastructure / Deprecate Tornado #6047

Open

Description

@fjetter

This is an issue to track efforts towards some modernization efforts of our asyncio infrastructure.

Very roughly this is about

  • Addressing all warnings triggered by py3.10
  • Slowly migrating away from tornado
  • Deal with anti-patterns around our usage of futures, tasks and callbacks, e.g. for better exception handling

Related issues

Activity

  1. added
    stability
    deprecation
    on Apr 1, 2022
  2. Zac-HD commented on Aug 8, 2025

    @Zac-HD

    I'd strongly recommend migrating to anyio, which can be done incrementally. Here's a page listing some of the productivity and correctness benefits!

    Once you're fully migrated, it would also be easy to add Trio support - at that point, it's purely a "turn on the tests" exercise. See also discussion in #6201.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecationnetworkingstability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions