Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add eager_tasks parameter to asyncio Runner and run() #128289

Copy link
Copy link
Open
@asvetlov

Description

@asvetlov
Issue body actions

Feature or enhancement

Proposal:

We have an agreement that eager tasks should become defaults in asyncio eventually.

This issue implements the first step: it adds opt-in eager_tasks argument to run() function and Runner constructor.
Later we'll deprecate False value and enforce users to switch to eager tasks in their code.

See the linked discussion for details.

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

https://discuss.python.org/t/make-asyncio-eager-task-factory-default/75164/10

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.