Mark Florisson <markflorisso...@gmail.com> added the comment: > Ok. This would only be done in buffered mode, though, so your fwrite.py > example would have to be changed slightly (drop the ",0" in fdopen()).
Indeed, good catch. So apparently file.write (in buffered mode) is also "incorrect" in Python 3. ---------- Added file: http://bugs.python.org/file20464/fwrite.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10956> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com