Alexandre Vassalotti added the comment: Committed fix in r59832. Thanks! P.S. Guido, what this comment, in write(), is about? # XXX What if we were just reading? __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1753> __________________________________