Drop needless tuple unpack

forkserver_singleton
Tyler Goodlet 2018-08-02 22:37:41 -04:00
parent 4fc7edf466
commit e7c7391497
1 changed files with 2 additions and 3 deletions

View File

@ -59,11 +59,10 @@ class ActorNursery:
not self._actor._forkserver_info not self._actor._forkserver_info
): ):
# if we're the "main" process start the forkserver only once # if we're the "main" process start the forkserver only once
# and pass it's ipc info to downstream children # and pass its ipc info to downstream children
# forkserver.set_forkserver_preload(rpc_module_paths) # forkserver.set_forkserver_preload(rpc_module_paths)
forkserver.ensure_running() forkserver.ensure_running()
fs_info = addr, alive_fd, pid, st_pid, st_fd = ( fs_info = (
fs._forkserver_address, fs._forkserver_address,
fs._forkserver_alive_fd, fs._forkserver_alive_fd,
getattr(fs, '_forkserver_pid', None), getattr(fs, '_forkserver_pid', None),