Ronald Oussoren <ronaldousso...@mac.com> added the comment: <http://www.opengroup.org/onlinepubs/9699919799/functions/printf.html> claims fprintf should return a negative value when there is an output error (the same claims is in the manpage of fprintf on OSX 10.6).
Neither document refers to the error indicator. I'm afraid Martin is right that that the return value of all calls to fprintf (and fwrite) need to be explicitly checked, which is a very large patch. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1653416> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com