[issue32345] EIO from write() is only fatal if print() contains a newline

Antoine Pitrou report at bugs.python.org
Tue Dec 19 18:19:29 EST 2017


Antoine Pitrou <pitrou at free.fr> added the comment:

Python 2 doesn't call write(), it calls fwrite() and friends (i.e. it uses the libc's buffered I/O API).  Also we don't do anything special if the printed string has a newline in it.  So my guess is that it's a bug in the libc.

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32345>
_______________________________________


More information about the Python-bugs-list mailing list