[issue11972] input does not strip a trailing newline correctly on Windows
New submission from Michal Molhanec molha...@gmail.com: input() returns string including trailing '\r'. IMHO the problem is not directly in the input() function which just expects that the input string was read in text mode so all of the platform specific newlines were normalized into single '\n'. -- components: IO, Library (Lib), Windows messages: 134911 nosy: Michal.Molhanec priority: normal severity: normal status: open title: input does not strip a trailing newline correctly on Windows type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11972 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9390] Error in sys.excepthook on windows when redirecting output of the script
Michal Molhanec molha...@gmail.com added the comment: Thanks, the fix looks working. The questions are: a) can this situation be detected at runtime to provide better error message? b) can it be detected during the installation so that the installation program can offer to the user to set the flag (or it could be set always? are there any disadvantages in doing so?} -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9390 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9390] Error in sys.excepthook on windows when redirecting output of the script
Michal Molhanec molha...@gmail.com added the comment: Running it without redirecting output, like c:\p\test.py works OK -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9390 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9390] Error in sys.excepthook on windows when redirecting output of the script
Michal Molhanec molha...@gmail.com added the comment: I've got the same problem with 2.7.1 (both 32bit and 64bit versions) under W7 SP1 64bit. Under WXP SP3 32bit it works OK. What's worse the output file is empty. 3.2 (tested 64bit version) behaves even worse -- it does not print the error like 2.7 but the resulting file is empty as well! -- nosy: +Michal.Molhanec ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9390 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com