diff --git a/Lib/asyncio/base_subprocess.py b/Lib/asyncio/base_subprocess.py index cc4f8cb7592..b7cdbceffad 100644 --- a/Lib/asyncio/base_subprocess.py +++ b/Lib/asyncio/base_subprocess.py @@ -150,8 +150,11 @@ class WriteSubprocessPipeProto(protocols.BaseProtocol): self.disconnected = True self.proc._pipe_connection_lost(self.fd, exc) - def eof_received(self): - pass + def pause_writing(self): + self.proc._protocol.pause_writing() + + def resume_writing(self): + self.proc._protocol.resume_writing() class ReadSubprocessPipeProto(WriteSubprocessPipeProto,