[issue36467] IDLE to help with invisible characters

2019-03-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: The isprintable() method on str objects may be of help. -- ___ Python tracker ___ ___ Python-b

[issue36467] IDLE to help with invisible characters

2019-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: With respect to Shell, this is a request that IDLE move further away from strictly imitating Python running in a dumb terminal and better help users with intelligent action and information. I want both to improve editing and make entry of a statement in Sh

[issue36467] IDLE to help with invisible characters

2019-03-29 Thread Raymond Hettinger
New submission from Raymond Hettinger : When teaching Python, it is common to have someone encounter as code issue where the code looks fine, but it raising a SyntaxError. Usually, the problem is solved by deleting the line and retyping it. I would think that IDLE would be able to detect un