[Python-ideas] python3: subtle change to new input()

Christian Heimes lists at cheimes.de
Wed Nov 14 18:29:52 CET 2007

Mark Summerfield wrote:
> And the docs are perfectly okay... well, apart from "stripping a
> trailing newline". On Unices that's fine but I don't know if Windows
> consoles actually send \r\n or whatever, in which case, assuming input()
> does the right cross-platform thing, maybe "stripping the trailing line
> termination character(s)" would be more accurate.

Microsoft's stdio lib is using \n as newline for stdin, stdout and
stderr. Does it answer your question?


More information about the Python-ideas mailing list