[issue9390] Error in sys.excepthook on windows when redirecting output of the script

2011-04-05 Thread Michal Molhanec
Michal Molhanec 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

[issue9390] Error in sys.excepthook on windows when redirecting output of the script

2011-04-25 Thread Michal Molhanec
Michal Molhanec added the comment: Running it without redirecting output, like c:\p\test.py works OK -- ___ Python tracker <http://bugs.python.org/issue9

[issue9390] Error in sys.excepthook on windows when redirecting output of the script

2011-04-26 Thread Michal Molhanec
Michal Molhanec 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

[issue11972] input does not strip a trailing newline correctly on Windows

2011-05-01 Thread Michal Molhanec
New submission from Michal Molhanec : 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