Skip to content

fix: add missing multiprocessing.forkserver type hints #8406

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 11 commits into from
Jul 27, 2022
Merged

fix: add missing multiprocessing.forkserver type hints #8406

merged 11 commits into from
Jul 27, 2022

Conversation

kkirsche
Copy link
Contributor

X-Ref: #6799

This adds best-effort types to multiprocessing.forkserver to begin to address issue #6799

The source file can be viewed here:
https://github.com/python/cpython/blob/main/Lib/multiprocessing/forkserver.py

This also adds a missing argument to spawn._main as seen here:
https://github.com/python/cpython/blob/main/Lib/multiprocessing/spawn.py#L124

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@AlexWaygood
Copy link
Member

Ah, the stubtest failures on 3.11 aren't anything you need to address in this PR; it's because there's a new 3.11 beta version that's been released.

@github-actions

This comment has been minimized.

3 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

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

@AlexWaygood AlexWaygood merged commit a0c1a2f into python:master Jul 27, 2022
@kkirsche kkirsche deleted the multiprocessing/forkserver branch July 27, 2022 16:16
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