[Python-Dev] Next version of PEP278 - universal newline support - available

Bernhard Herzog bh@intevation.de
14 Mar 2002 15:06:19 +0100


Paul Svensson <paul@svensson.org> writes:

> Of course, this will break some unix code where the author forgot to add
> a "b" when opening a binary file, but I'd say they deserve to lose.

What would this mean for sys.stdin? The pep doesn't say anything about
it, but IIRC on Windows at least stdin is in text-mode by default.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                           http://www.mapit.de/