Message125595
On Thu, Jan 6, 2011 at 1:20 PM, STINNER Victor <report@bugs.python.org> wrote:
> I don't know the effect of _setmode(stderr, O_BINARY) on calls to fputs(stderr, ...) in Py_FatalError().
On Windows it will write lines ending in LF only instead of CRLF. Most
tools to read text files should be able deal with that by now,
conditioned as they are by many years of Unix developers doing Windows
stuff on the side. (Somebody should test what Notepad does though. :-)
I don't know any other supported platforms where O_BINARY exists and
is not a no-op (but I haven't really looked :-). |
|
Date |
User |
Action |
Args |
2011-01-06 22:20:53 | gvanrossum | set | recipients:
+ gvanrossum, amaury.forgeotdarc, pitrou, vstinner, benjamin.peterson, v+python, brian.curtin |
2011-01-06 22:20:43 | gvanrossum | link | issue10841 messages |
2011-01-06 22:20:43 | gvanrossum | create | |
|