Commit 73f10fd2 authored by Victor Stinner's avatar Victor Stinner

asyncio: Fix _make_subprocess_transport(): pass extra value to the constructor.

parent 48c66c3d
......@@ -159,7 +159,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):
with events.get_child_watcher() as watcher:
transp = _UnixSubprocessTransport(self, protocol, args, shell,
stdin, stdout, stderr, bufsize,
extra=None, **kwargs)
extra=extra, **kwargs)
yield from transp._post_init()
watcher.add_child_handler(transp.get_pid(),
self._child_watcher_callback, transp)
......
......@@ -174,7 +174,7 @@ class ProactorEventLoop(proactor_events.BaseProactorEventLoop):
extra=None, **kwargs):
transp = _WindowsSubprocessTransport(self, protocol, args, shell,
stdin, stdout, stderr, bufsize,
extra=None, **kwargs)
extra=extra, **kwargs)
yield from transp._post_init()
return transp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment