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 Jimbofbx
Recipients Jimbofbx, amaury.forgeotdarc
Date 2011-05-16.18:48:55
SpamBayes Score 4.307593e-07
Marked as misclassified No
Message-id <1305571736.65.0.339393883211.issue11990@psf.upfronthosting.co.za>
In-reply-to
Content
I would like to add in windows, "input" now adds a \r at the end which wasn't in 3.1. It doesn't do it in idle. This is using just the regular console window that opens up when you double click. I'm guessing this is related to the issue I saw earlier:

code:
from time import sleep

item = input("Input something\n");
print("%s %i" % (item, len(item)));
sleep(15);

in Idle:
Input something
something
something 9

in console window:
Input something
something
 10ething

ouch
History
Date User Action Args
2011-05-16 18:48:56Jimbofbxsetrecipients: + Jimbofbx, amaury.forgeotdarc
2011-05-16 18:48:56Jimbofbxsetmessageid: <1305571736.65.0.339393883211.issue11990@psf.upfronthosting.co.za>
2011-05-16 18:48:56Jimbofbxlinkissue11990 messages
2011-05-16 18:48:56Jimbofbxcreate