Skip to content

Add annotations for asyncio.base_tasks._task_repr function signature#15558

Open
jonathandung wants to merge 5 commits intopython:mainfrom
jonathandung:patch-1
Open

Add annotations for asyncio.base_tasks._task_repr function signature#15558
jonathandung wants to merge 5 commits intopython:mainfrom
jonathandung:patch-1

Conversation

@jonathandung
Copy link
Contributor

Closes #15557.

@github-actions

This comment has been minimized.

@jonathandung jonathandung requested a review from srittau March 26, 2026 10:50
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@jonathandung
Copy link
Contributor Author

@srittau Thank you for pointing out the version when this helper was added. I have included an additional if branch to account for this; see the new source. I could not directly accept your changes since I found that would fail the stub tests.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_task_repr missing from stdlib/asyncio/base_tasks.pyi

2 participants