Commit Graph

7 Commits

Author SHA1 Message Date
Guido van Rossum bade1caa8e Add support for newline='\r', for some Mac apps that still write those. 2007-07-30 18:11:00 +00:00
Brett Cannon cdf5d3ce68 Fix the headers so that they are in the right order and no required headers are
missing.
2007-06-19 04:20:07 +00:00
Guido van Rossum 9cbb5f0731 Add newline arg to open(). 2007-04-11 01:09:33 +00:00
Guido van Rossum 4109356d29 Like seek(), truncate() always returns the new current position.
All write() methods return the number of bytes/characters written
(for buffered and text files, this is always the lenth of the input).
2007-04-10 20:58:53 +00:00
Guido van Rossum 8765102b9b seek() returns an int everywhere. 2007-04-10 18:37:53 +00:00
Guido van Rossum 799cd54779 Update by Mark Russell -- clarify readinto(), and qualify tell()/seek() on
textio buffers.
2007-04-05 18:25:11 +00:00
Guido van Rossum 4b14e34f00 PEP 3116 - new I/O, by Mike Verdone and Daniel Stutzbach;
converted from HTML by Jason Orendorff.
2007-03-15 18:05:48 +00:00