Skip to content
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

asyncio: Fix type of add_child_handler callback #11548

Merged
merged 2 commits into from
Mar 9, 2024
Merged

Conversation

JelleZijlstra
Copy link
Member

It takes two int arguments (the pid and return code) and only then takes the unpacked *args passed to add_child_handler(). See the docstring: https://github.com/python/cpython/blob/3cdfdc07a9dd39bcd6855b8c104584f9c34624f2/Lib/asyncio/unix_events.py#L901

Copy link
Contributor

github-actions bot commented Mar 8, 2024

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

@srittau srittau merged commit 5b1fd12 into main Mar 9, 2024
55 checks passed
@srittau srittau deleted the JelleZijlstra-patch-1 branch March 9, 2024 16:02
allisonkarlitskaya pushed a commit to cockpit-project/cockpit that referenced this pull request Apr 30, 2024
This brings in a buggy definition in the version of the typeshed
included in the new container image.  Add an #ignore.

See python/typeshed#11548

Closes #20372
allisonkarlitskaya added a commit to cockpit-project/cockpit that referenced this pull request Apr 30, 2024
This brings in a buggy definition in the version of the typeshed
included in the new container image.  Add an #ignore.

See python/typeshed#11548

Closes #20372
allisonkarlitskaya added a commit to cockpit-project/cockpit that referenced this pull request Apr 30, 2024
This brings in a buggy definition in the version of the typeshed
included in the new container image.  Add an #ignore.

See python/typeshed#11548

Closes #20372
allisonkarlitskaya added a commit to cockpit-project/cockpit that referenced this pull request Apr 30, 2024
This brings in a buggy definition in the version of the typeshed
included in the new container image.  Add an #ignore.

See python/typeshed#11548

Closes #20372
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.

2 participants