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
Michal Molhanec added the comment:
Running it without redirecting output, like
c:\p\test.py
works OK
--
___
Python tracker
<http://bugs.python.org/issue9
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
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