Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Refactor of sys.path swapping context manager, simplify multiprocessing contexts for parent and child process #75

Closed
wants to merge 4 commits into from

Conversation

Roulbac
Copy link
Contributor

@Roulbac Roulbac commented Aug 17, 2023

This PR simplifies the context manager for swapping the sys.path values between the child and parent processes.
Additionally, it removes the previous multiprocessing context manager that used multiprocessing.set_start_method, but uses instead multiprocessing.get_context("spawn") which is cleaner.

This is simply a refactor and introduces no modification in the functionality.

@Roulbac Roulbac closed this Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant