diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-29 22:32:20 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-29 22:32:20 (GMT) |
commit | 73f10fd2f1f7b74745e835eae4bd13b625598974 (patch) | |
tree | 7b6689a525822e9a62dcf14224cfa3b1cbb73793 /Lib | |
parent | 48c66c3dd82e0f345350f99d0c8713cc1e686939 (diff) | |
download | cpython-73f10fd2f1f7b74745e835eae4bd13b625598974.zip cpython-73f10fd2f1f7b74745e835eae4bd13b625598974.tar.gz cpython-73f10fd2f1f7b74745e835eae4bd13b625598974.tar.bz2 |
asyncio: Fix _make_subprocess_transport(): pass extra value to the constructor.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/asyncio/unix_events.py | 2 | ||||
-rw-r--r-- | Lib/asyncio/windows_events.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py index 05aa272..ac764f8 100644 --- a/Lib/asyncio/unix_events.py +++ b/Lib/asyncio/unix_events.py @@ -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) diff --git a/Lib/asyncio/windows_events.py b/Lib/asyncio/windows_events.py index 3c21e43..d01de2f 100644 --- a/Lib/asyncio/windows_events.py +++ b/Lib/asyncio/windows_events.py @@ -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 |