MagicStack / MagicStack/uvloop

(Feature request) `loop.create_task` to accept arbitrary `**kwargs`

Open
#718 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cython
Stars
11.9k
Forks
616
PR merge metrics
No merged PRs in 30d

Description

Hi I would like to make a feature request.

Is it possible to make uvloop to pass on arbitrary kwargs similar to [Python3.13 event loop](https://docs.python.org/3.13/library/asyncio-eventloop.html#asyncio.loop.create_task)?

I think this feature will have some uses e.g. for specifying whether a task should run eagerly.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate uvloop's loop.create_task implementation and its tests, then compare the accepted arguments with Python 3.13's asyncio.loop.create_task documentation. Done means arbitrary keyword arguments are accepted and forwarded, with tests covering the requested behavior such as eager task execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.