GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add eager_start parameter to loop.create_task · Issue #128307 · python/cpython

add eager_start parameter to loop.create_task #128307

New issue
Copy link
New issue
Copy link
Closed
Closed
add eager_start parameter to loop.create_task#128307
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-asynciotype-featureA feature request or enhancementA feature request or enhancement

Description

@graingert
graingert
opened on Dec 28, 2024
Issue body actions

Feature or enhancement

Proposal:

We want to be able to opt in and opt out of eager tasks anywhere in the asyncio call stack, eg in some asyncio library, and not rely on some other asyncio framework setting the default.

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

  • gh-128307: support eager_start kwarg in create_eager_task_factory, and pass kwargs from asyncio.create_task and TaskGroup.create_task #128306
  • gh-128307: Update docs for asyncio.create_task, TaskGroup.create_task, asyncio.create_task #134202
  • gh-128307: Update what's new in 3.13 and 3.14 with create_task changes #134304
  • [3.14] gh-128307: Update what's new in 3.13 and 3.14 with create_task changes of asyncio (GH-134304) #134319
  • [3.13] gh-128307: Update what's new in 3.13 with create_task changes of asyncio (#134304) #134335
  • [3.14] gh-128307: Update docs for asyncio.create_task, TaskGroup.create_task, asyncio.create_task (GH-134202) #134553

Activity

  1. graingert
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Dec 28, 2024
  2. graingert
    changed the title [-]add start_eager parameter to create_task[/-] [+]add start_eager parameter to asyncio.create_task[/+] on Dec 28, 2024
  3. picnixz
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    topic-asyncio
    on Dec 28, 2024
  4. github-project-automation
    added this to asyncioon Dec 28, 2024
  5. github-project-automation
    moved this to Todo in asyncioon Dec 28, 2024
  6. graingert
    changed the title [-]add start_eager parameter to asyncio.create_task[/-] [+]add eager_start parameter to asyncio.create_task[/+] on Dec 29, 2024
  7. graingert
    changed the title [-]add eager_start parameter to asyncio.create_task[/-] [+]add eager_start parameter to asyncio.create_task, TaskGroup.create_task, and loop.create_task[/+] on Dec 29, 2024
  8. graingert
    changed the title [-]add eager_start parameter to asyncio.create_task, TaskGroup.create_task, and loop.create_task[/-] [+]add eager_start parameter to loop.create_task[/+] on Jan 21, 2025
  9. gvanrossum
    added a commit that references this issue on May 5, 2025

    gh-128307: Support eager_start=<bool> in create_eager_task_factory an…

    08d7687
  10. gvanrossum commented on May 5, 2025

    @gvanrossum
    gvanrossum
    on May 5, 2025
    Member
    More actions

    Closed by gh-128307.

  11. gvanrossum
    closed this as completedon May 5, 2025
  12. github-project-automation
    moved this from Todo to Done in asyncioon May 5, 2025
  13. graingert
    added a commit that references this issue on May 19, 2025

    pythongh-128307: update docs to TaskGroup.create_task and asyncio.cre…

    fc37061
  14. kumaraditya303
    added a commit that references this issue on May 20, 2025

    gh-128307: Update what's new in 3.13 and 3.14 with create_task change…

    28625d4
  15. miss-islington
    added a commit that references this issue on May 20, 2025

    pythongh-128307: Update what's new in 3.13 and 3.14 with create_task …

    49cabff
  16. gvanrossum
    added 5 commits that reference this issue on May 20, 2025

    [3.14] gh-128307: Update what's new in 3.13 and 3.14 with create_task…

    b9a7e79

    pythongh-128307: Update what's new in 3.13 and 3.14 with create_task …

    5e89f98

    [3.13] pythongh-128307: Update what's new in 3.13 with create_task ch…

    37a73a9

    [3.13] gh-128307: Update what's new in 3.13 with create_task changes …

    eca8ff1

    gh-128307: Update docs for asyncio.create_task, TaskGroup.create_task…

    a3d0306
  17. miss-islington
    added a commit that references this issue on May 22, 2025

    pythongh-128307: Update docs for asyncio.create_task, TaskGroup.creat…

    cd5c579
  18. kumaraditya303
    added a commit that references this issue on May 23, 2025

    [3.14] gh-128307: Update docs for asyncio.create_task, TaskGroup.crea…

    1cdbb33
  19. Pranjal095
    added 3 commits that reference this issue on Jul 12, 2025

    pythongh-128307: Support eager_start=<bool> in create_eager_task_fact…

    17986c3

    pythongh-128307: Update what's new in 3.13 and 3.14 with create_task …

    ee62813

    pythongh-128307: Update docs for asyncio.create_task, TaskGroup.creat…

    2cfbdab
  20. taegyunkim
    added 2 commits that reference this issue on Aug 4, 2025

    pythongh-128307: Update what's new in 3.13 and 3.14 with create_task …

    41fd249

    pythongh-128307: Update docs for asyncio.create_task, TaskGroup.creat…

    c2dab71
  21. gostak-dd
    added a commit that references this issue on Jun 2, 2026

    pythongh-128307: Update docs for asyncio.create_task, TaskGroup.creat…

    e7f23d0
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

    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-asynciotype-featureA feature request or enhancementA feature request or enhancement

    Projects

    • asyncio
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.