Skip to content

fix: support forkserver multiprocessing start method (Python 3.14+)#396

Open
LittleLightLittleFire wants to merge 1 commit intocs50:mainfrom
LittleLightLittleFire:main
Open

fix: support forkserver multiprocessing start method (Python 3.14+)#396
LittleLightLittleFire wants to merge 1 commit intocs50:mainfrom
LittleLightLittleFire:main

Conversation

@LittleLightLittleFire
Copy link

Python 3.14 changed the default multiprocessing start method on Linux from "fork" to "forkserver". The _store_attributes guard only passed cross-process state for "spawn", leaving "forkserver" children with None for run_root_dir and other attributes.

Invert the condition to only skip for "fork", which is the only method that inherits full parent memory.

Python 3.14 changed the default multiprocessing start method on Linux
from "fork" to "forkserver". The _store_attributes guard only passed
cross-process state for "spawn", leaving "forkserver" children with
None for run_root_dir and other attributes.

Invert the condition to only skip for "fork", which is the only method
that inherits full parent memory.
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.

1 participant