]> granicus.if.org Git - python/commitdiff
Merge latest Tulip into asyncio
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Sun, 26 Jan 2014 16:36:01 +0000 (18:36 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Sun, 26 Jan 2014 16:36:01 +0000 (18:36 +0200)
Lib/asyncio/base_subprocess.py
Lib/asyncio/unix_events.py
Lib/asyncio/windows_events.py

index d15fb159d90a4c1f715c525c95c931e97caebc40..c5efda79b1575a1e2aa6ddeee82ab9916cb4150f 100644 (file)
@@ -114,7 +114,6 @@ class BaseSubprocessTransport(transports.SubprocessTransport):
         assert returncode is not None, returncode
         assert self._returncode is None, self._returncode
         self._returncode = returncode
-        self._loop._subprocess_closed(self)
         self._call(self._protocol.process_exited)
         self._try_finish()
 
index 24186420872f68f96cb59eb99de435dce7c13a9e..219c88a0ff9c3799765905ac985444dd2926d0e3 100644 (file)
@@ -169,9 +169,6 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):
     def _child_watcher_callback(self, pid, returncode, transp):
         self.call_soon_threadsafe(transp._process_exited, returncode)
 
-    def _subprocess_closed(self, transp):
-        pass
-
 
 def _set_nonblocking(fd):
     flags = fcntl.fcntl(fd, fcntl.F_GETFL)
index 2e9ec69734675e653bf4a8b3f92317fbee610832..3c21e43bd69e4b2c4d8a57c6d86d3307ae2d424b 100644 (file)
@@ -178,9 +178,6 @@ class ProactorEventLoop(proactor_events.BaseProactorEventLoop):
         yield from transp._post_init()
         return transp
 
-    def _subprocess_closed(self, transport):
-        pass
-
 
 class IocpProactor:
     """Proactor implementation using IOCP."""