We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c55302b commit 409349fCopy full SHA for 409349f
Lib/multiprocessing/popen_forkserver.py
@@ -52,8 +52,8 @@ def _launch(self, process_obj):
52
# Keep a duplicate of the data pipe's write end as a sentinel of the
53
# parent process used by the child process.
54
_parent_w = os.dup(w)
55
- self.finalizer = util.Finalize(self, util.close_fds,
56
- (_parent_w, self.sentinel))._key
+ self._finalizer = util.Finalize(self, util.close_fds,
+ (_parent_w, self.sentinel))._key
57
with open(w, 'wb', closefd=True) as f:
58
f.write(buf.getbuffer())
59
self.pid = forkserver.read_signed(self.sentinel)
0 commit comments