Skip to content
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-91090: Make started multiprocessing.Process instances and started multiprocessing.managers.BaseManager instances serialisable #31701

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d628fc1
Update popen_spawn_posix.py
geryogam Mar 5, 2022
e369d5e
Update popen_fork.py
geryogam Mar 5, 2022
590f446
Update popen_forkserver.py
geryogam Mar 5, 2022
941e4c0
Update popen_spawn_win32.py
geryogam Mar 5, 2022
e2a93dc
Update managers.py
geryogam Mar 5, 2022
2513628
Update popen_spawn_win32.py
geryogam Mar 5, 2022
c55302b
Update popen_fork.py
geryogam Mar 5, 2022
409349f
Update popen_forkserver.py
geryogam Mar 5, 2022
2eeeeb6
Update popen_spawn_posix.py
geryogam Mar 5, 2022
ade0b2a
Add unit tests
geryogam Nov 29, 2022
71eb4e1
Add a NEWS entry
geryogam Nov 30, 2022
1419e0d
Make State instances pickable with the old text protocol
geryogam Nov 30, 2022
1e53631
Add restoration of spawning_popen
geryogam Nov 30, 2022
56f0bb8
Revert "Update popen_spawn_posix.py"
geryogam Nov 30, 2022
9f76108
Revert "Update popen_forkserver.py"
geryogam Nov 30, 2022
5c7719d
Revert "Update popen_fork.py"
geryogam Nov 30, 2022
24b53f1
Revert "Update popen_spawn_win32.py"
geryogam Nov 30, 2022
04eac3c
Revert "Update managers.py"
geryogam Nov 30, 2022
9638a36
Revert "Update popen_spawn_win32.py"
geryogam Nov 30, 2022
242d027
Revert "Update popen_forkserver.py"
geryogam Nov 30, 2022
dbbbe1b
Revert "Update popen_fork.py"
geryogam Nov 30, 2022
88056fe
Revert "Update popen_spawn_posix.py"
geryogam Nov 30, 2022
f055d11
Use a simpler implementation of serialisability based on __getstate__…
geryogam Nov 30, 2022
3c6f5da
Restore finalizer attribute names
geryogam Nov 30, 2022
fe89f2d
Move __getstate__/__setstate__ to the right Popen classes
geryogam Nov 30, 2022
c2ab61e
Remove an empty line introduced by mistake in the last commit
geryogam Nov 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove an empty line introduced by mistake in the last commit
geryogam committed Nov 30, 2022

Verified

This commit was signed with the committer’s verified signature.
commit c2ab61e80c26bf86fb801e50e38cc115d17997d3
1 change: 0 additions & 1 deletion Lib/multiprocessing/popen_spawn_win32.py
Original file line number Diff line number Diff line change
@@ -138,4 +138,3 @@ def __getstate__(self):
def __setstate__(self, state):
vars(self).update(state)
self.finalizer = util._finalizer_registry[self.finalizer]