projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d62d0b
)
asyncio: Pass through pause/resume from subprocess pipe proto to subprocess proto...
author
Guido van Rossum
<guido@python.org>
Wed, 29 Jan 2014 22:28:15 +0000
(14:28 -0800)
committer
Guido van Rossum
<guido@python.org>
Wed, 29 Jan 2014 22:28:15 +0000
(14:28 -0800)
Lib/asyncio/base_subprocess.py
patch
|
blob
|
history
diff --git
a/Lib/asyncio/base_subprocess.py
b/Lib/asyncio/base_subprocess.py
index cc4f8cb7592d580f27a1fbdd473cccade7d4834b..b7cdbceffad7ac822e09b593eb96ba2f419041f7 100644
(file)
--- 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,