Skip to content

Fix: add missing multiprocessing.popen_spawn_win32 #8428

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 9 commits into from
Jul 29, 2022
Merged

Fix: add missing multiprocessing.popen_spawn_win32 #8428

merged 9 commits into from
Jul 29, 2022

Conversation

kkirsche
Copy link
Contributor

Fixes: #6799
Requires: #8427 to be complete fix

Source:
https://github.com/python/cpython/blob/main/Lib/multiprocessing/popen_spawn_win32.py

This also follows the _winapi stubs to update the duplicate method based on how it behaves. Additional work can be done on that if desired

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

2 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

The stubs for multiprocessing.reduction were written (mostly autogenerated) before _typeshed.Incomplete was a thing. We should change the Any usages to Incomplete, while we're here.

@github-actions
Copy link
Contributor

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

@AlexWaygood AlexWaygood merged commit f550c24 into python:master Jul 29, 2022
@kkirsche kkirsche deleted the multiprocessing/popen-win32 branch July 29, 2022 15:02
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.

multiprocessing is missing several files
2 participants