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
gh-118293: Suppress mouse cursor change in multiprocessing #118315
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
68945e5
to
47b4180
Compare
527f7cd
to
bcde233
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, Henrik.
bcde233
to
1024149
Compare
1024149
to
8b30bdd
Compare
Looks good to me. If CI agrees, it should merge automatically. |
This PR modifies multiprocessing's spawn implementation on Windows to pass the STARTF_FORCEOFFFEEDBACK flag in
STARTUPINFO
when callingCreateProcess
, which tells Windows that the worker processes are not GUI applications being launched and to suppress the mouse cursor change that goes along with launching applications. See issue #118293.