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 terry.reedy
Recipients peter.otten, terry.reedy
Date 2013-11-30.19:29:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385839753.24.0.568231599451.issue19808@psf.upfronthosting.co.za>
In-reply-to
Content
On a freshly booted machine, I retried 2.7.6/Windows/raw_input() 'for all the' and indeed I now see 'for' and 'all' colored.

The colorizing is done char by char. 'fo' is black, 'for' turns orange, 'forr' turns black again. Similarly, 'al' is black, 'all is purple, and 'allo' is black again. It is not a critical bug, but certainly annoying, especially to a new user.

For editor windows, colorizing is only done for .py(wo) files. I do not know how the colorizing is switched on after the file name is checked. The shell window is an editor window. It should switch to .py mode after printing >>> and back to .txt mode when \n or \n\n is entered to complete a statement. I believe the edit will be in pyshell.py

I expect the prompt and echoed input are both written to stdout by the user process. Neither are errors and both are colored blue. Warnings and exception tracebacks on stderr are red. Both come into the idle process via the socket connection, which is different from the idle process stdin connected to the keyboard.
History
Date User Action Args
2013-11-30 19:29:13terry.reedysetrecipients: + terry.reedy, peter.otten
2013-11-30 19:29:13terry.reedysetmessageid: <1385839753.24.0.568231599451.issue19808@psf.upfronthosting.co.za>
2013-11-30 19:29:13terry.reedylinkissue19808 messages
2013-11-30 19:29:12terry.reedycreate