commit | 8742977b33f2af9b92265c1b332af0f6798bf2b6 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Apr 10 21:06:59 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Apr 10 21:06:59 2007 +0000 |
tree | 938cba4969aa85a38eaaf096b33c3a743b1bda2a | |
parent | 34d69e57e31763bdfcff77dc3689ec42a5228814 [diff] |
truncate() returns the new size and position. write() returns the number of bytes/characters written/buffered. FileIO.close() calls self.flush(). Implement readinto() for buffered readers. Tests th check all these. Test proper behavior of __enter__/__exit__.