Skip to content

Conversation

gpshead
Copy link
Member

@gpshead gpshead commented Apr 16, 2022

Also defaults to a spawn context when no mp_context is supplied for
safe convenience as that is what most people would otherwise need to
manually specify.

This PR is 1 of 2. The next PR will be the back-portable bugfix one that disables dynamic process spawning when a fork mp_context is in use. (see #90622).

Also defaults to a spawn context when no mp_context is supplied for
safe convenience.
@gpshead gpshead added type-bug An unexpected behavior, bug, or error 3.11 only security fixes labels Apr 16, 2022
@gpshead gpshead requested review from methane and pitrou April 17, 2022 05:52
@gpshead gpshead added the stdlib Standard Library Python modules in the Lib/ directory label Apr 17, 2022
@gpshead gpshead marked this pull request as ready for review May 6, 2022 06:29
@gpshead gpshead self-assigned this May 6, 2022
@gpshead gpshead merged commit fa4f0a1 into python:main May 6, 2022
@gpshead gpshead deleted the disallow-dynamic-process-spawn-with-fork branch May 6, 2022 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes stdlib Standard Library Python modules in the Lib/ directory type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants