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

Martin Panter report at bugs.python.org
Fri Aug 19 20:15:46 EDT 2016


Martin Panter added the comment:

The origin of this seems to be r68835 and Issue 5008. Victor mentioned imitating the Gnu C library. Maybe there is a better way that also supports non-seekable files better, perhaps handle ESPIPE without failing.

This also affects Python 2, if you consider io.open() or io.FileIO directly.

----------
nosy: +haypo, martin.panter
versions: +Python 2.7

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


More information about the Python-bugs-list mailing list