This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients
Date 2003-03-21.16:30:33
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

Why do you call this a bug?  -u forces stdin into binary mode, 
and the Python grammar does not allow \r\n line endings in 
program text (it never has, BTW).  Program text has to come 
from a file opened in text mode on Windows, and what you're 
seeing here is the same as what you'd see if you did

f = open('some_python_program.py', 'rb')
exec f.read()

on Windows.
History
Date User Action Args
2007-08-23 14:12:01adminlinkissue707576 messages
2007-08-23 14:12:01admincreate