Commit Graph

10 Commits

Author SHA1 Message Date
Brett Cannon 72044f05a8 Fix an accidental re-typing of a word. 2007-11-21 01:06:39 +00:00
Guido van Rossum ae09ad1797 Change when lines are translated on input (only if newline=None),
and clarify language around translation.
Also remark that SocketIO lives in the socket module, and drop
reference to MemIO.
2007-08-18 21:17:04 +00:00
Guido van Rossum 911566c261 New spec for newline= parameter to open() and TextIOBase(). 2007-08-16 21:21:30 +00:00
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