[issue27805] In Python 3, open('/dev/stdout', 'a') raises OSError with errno=ESPIPE

Shane Hathaway report at bugs.python.org
Sat Aug 20 12:35:13 EDT 2016


Shane Hathaway added the comment:

Thanks for the analysis. I have already started a pull request to fix this in Supervisor, but I also thought this change to Python might be gratuitous and accidental. It seems like open('/dev/stdout', 'a') ought to work the same as Python 2. If not, the Python documentation should warn people that using 'a' with character devices and FIFOs will cause an OSError.

----------

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


More information about the Python-bugs-list mailing list