[issue30203] AttributeError in Popen.communicate()

Luke Campagnola report at bugs.python.org
Sat Apr 29 04:24:46 EDT 2017


Luke Campagnola added the comment:

Update:  this appears to be the prior exception that causes _communication_started and _fileobj2ouput to be out of sync:

  File "/usr/lib/python3.5/subprocess.py", line 1072, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/usr/lib/python3.5/subprocess.py", line 1672, in _communicate
    self.stdin.flush()
ValueError: flush of closed file

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30203>
_______________________________________


More information about the Python-bugs-list mailing list