[Python-ideas] Normalized Python

random832 at fastmail.us random832 at fastmail.us
Thu Jan 30 17:38:07 CET 2014


On Wed, Jan 29, 2014, at 12:24, Andrew Barnert wrote:
> Fitting this into a Python 2-style io model as Anatoly suggests is
> completely impossible. Instead, every single program would have to either
> check that stdout.isatty

As a sidenote, isatty is broken on windows: it considers NUL to be a
tty. This is because it wraps a C function which in MSVC has the same
flaw.


More information about the Python-ideas mailing list