Skip to content

Navigation Menu

Sign in
Appearance settings

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 asyncio.graph, updates to asyncio.futures (3.14) #14003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
May 12, 2025

Conversation

max-muoto
Copy link
Contributor

@max-muoto max-muoto commented May 11, 2025

Add new asyncio.graph module and made updates for asyncio.futures

Didn't fix all issues because surprisingly (at least to me) some private functions were added to asyncio.events.__all__, take _get_event_loop_policy to accomadate deprecations, see this PR as an example: python/cpython#128218. Once we tackle adding these, I don't think it necessarily makes sense to add them considering they'll be both private and deprecated on addition. Perhaps this is something to change in cpython itself.

@max-muoto max-muoto changed the title Asyncio future/graph updates (3.14) Add asyncio.graph, updates to asyncio.futures (3.14) May 11, 2025

This comment has been minimized.

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, remarks below.

stdlib/asyncio/__init__.pyi Outdated Show resolved Hide resolved
stdlib/asyncio/futures.pyi Show resolved Hide resolved
stdlib/asyncio/graph.pyi Outdated Show resolved Hide resolved
stdlib/asyncio/graph.pyi Outdated Show resolved Hide resolved
stdlib/asyncio/graph.pyi Outdated Show resolved Hide resolved
stdlib/asyncio/futures.pyi Show resolved Hide resolved
stdlib/asyncio/futures.pyi Show resolved Hide resolved
stdlib/asyncio/graph.pyi Outdated Show resolved Hide resolved
stdlib/asyncio/graph.pyi Outdated Show resolved Hide resolved
Copy link
Contributor

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

@srittau srittau merged commit 06f3fc9 into python:main May 12, 2025
64 checks passed
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
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.

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