Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8839770
ENH add parent_process in multiprocessing contexts
tomMoral May 10, 2019
bcdba73
FIX avoid error in Process.__repr__
pierreglaser May 16, 2019
98de001
CLN more logical attribute naming
pierreglaser May 16, 2019
9b67034
ENH implement ParentProcess.is_alive
pierreglaser May 16, 2019
23a2f3d
FIX pass parent_name to ParentProcess
pierreglaser May 16, 2019
5630de5
do not use current_process to create ParentProcess
pierreglaser May 16, 2019
be73255
TST test parent_process use-cases
pierreglaser May 16, 2019
faa3fb8
FIX do not close parent_sentinel on windows
pierreglaser May 16, 2019
cd2f241
FIX implement ParentProcess on windows
pierreglaser May 16, 2019
3d71d3f
MNT news entry
pierreglaser May 16, 2019
0ceffc8
FIX _main for forkserver
pierreglaser May 16, 2019
9382659
TST better tests
pierreglaser May 16, 2019
95dfc61
ENH use narrower permissions on windows
pierreglaser May 20, 2019
29898b5
FIX duplicate sentinel when necessary
pierreglaser May 20, 2019
566db0e
ENH listen to read end of a pipe in fork
pierreglaser May 20, 2019
a2310a7
FIX duplicate the parent sentinel in forkserver
pierreglaser May 20, 2019
b3829f6
ENH access parent_process from multiprocessing
pierreglaser May 20, 2019
133df9c
TST improve test coverage and readability
pierreglaser May 20, 2019
3c5d241
FIX pass correct fd to spawn on windows
pierreglaser May 20, 2019
4fe8467
DOC docs
pierreglaser May 20, 2019
a9c987c
CLN duplicate fd instead of not closing it
pierreglaser May 20, 2019
e23cc08
address review comments
pierreglaser May 20, 2019
7293d4c
FIX pass timeout correctly
pierreglaser May 20, 2019
80dcabf
address review comments
pierreglaser May 20, 2019
32aa640
CLN unnecessary attribute
pierreglaser May 20, 2019
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
Next Next commit
do not use current_process to create ParentProcess
  • Loading branch information
pierreglaser committed May 16, 2019
commit 5630de589d4255a00c4fbf65dcedabb53b798471
4 changes: 2 additions & 2 deletions Lib/multiprocessing/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ def _bootstrap(self, parent_sentinel=None):
_children = set()
util._close_stdin()
old_process = _current_process
_parent_process = _ParentProcess(old_process.name, old_process.pid,
parent_sentinel)
_current_process = self
_parent_process = _ParentProcess(
self._parent_name, self._parent_pid, parent_sentinel)
try:
util._finalizer_registry.clear()
util._run_after_forkers()
Expand Down