FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-90622: Prevent max_tasks_per_child use with a fork mp_context. by gpshead · Pull Request #91587 · python/cpython · GitHub

/ cpython Public

gh-90622: Prevent max_tasks_per_child use with a fork mp_context. - #91587

Merged
gpshead merged 5 commits into
python:mainfrom
gpshead:disallow-dynamic-process-spawn-with-fork
May 6, 2022
Merged

gh-90622: Prevent max_tasks_per_child use with a fork mp_context.#91587
gpshead merged 5 commits into
python:mainfrom
gpshead:disallow-dynamic-process-spawn-with-fork

Conversation

gpshead commented Apr 16, 2022

Copy link
Copy Markdown
Member

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 added type-bug An unexpected behavior, bug, or error 3.11 only security fixes labels Apr 16, 2022
gpshead requested review from methane and pitrou April 17, 2022 05:52
gpshead added the stdlib Standard Library Python modules in the Lib/ directory label Apr 17, 2022
gpshead marked this pull request as ready for review May 6, 2022 06:29
gpshead self-assigned this May 6, 2022
gpshead merged commit fa4f0a1 into python:main May 6, 2022
gpshead deleted the disallow-dynamic-process-spawn-with-fork branch May 6, 2022 07:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL