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 3e9a5b0 commit aac6d94Copy full SHA for aac6d94
1 file changed
Lib/multiprocessing/managers.py
@@ -909,9 +909,7 @@ def _after_fork(self):
909
util.info('incref failed: %s' % e)
910
911
def __reduce__(self):
912
- kwds = {}
913
- if get_spawning_popen() is not None:
914
- kwds['authkey'] = self._authkey
+ kwds = {"authkey": self._authkey}
915
916
if getattr(self, '_isauto', False):
917
kwds['exposed'] = self._exposed_
0 commit comments