[issue19808] IDLE applies syntax highlighting to user input in its shell

2017-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Still a problem in 3.6. -- assignee: -> terry.reedy stage: -> test needed versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___

[issue19808] IDLE applies syntax highlighting to user input in its shell

2013-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 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 pur

[issue19808] IDLE applies syntax highlighting to user input in its shell

2013-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue19808] IDLE applies syntax highlighting to user input in its shell

2013-11-30 Thread Peter Otten
Peter Otten added the comment: I think the prompt can easily be treated differently because it is written to stderr. I don't see a difference for user input between input() and raw_input() on Linux with Python 2.7.2+ -- syntax-highlighting is applied to both. -- _

[issue19808] IDLE applies syntax highlighting to user input in its shell

2013-11-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I checked and Idle does not color code the prompt. In 2.7, it only color-codes the response to input(prompt), which is eval-ed as Python code, but not the response to raw_input(prompt). (In 2.7, the code and input displayed raises SyntaxError.) So the bug in 3

[issue19808] IDLE applies syntax highlighting to user input in its shell

2013-11-27 Thread Peter Otten
Changes by Peter Otten <__pete...@web.de>: -- title: IDLE applys syntax highlighting to user input in its shell -> IDLE applies syntax highlighting to user input in its shell ___ Python tracker ___