[Python-Dev] Emit SyntaxWarning on unrecognized backslash escapes?

Serhiy Storchaka storchaka at gmail.com
Mon Feb 23 21:32:41 CET 2015


On 23.02.15 17:54, Chris Angelico wrote:
> If it's never going to happen in 2.x, I'll raise this as yet another
> reason to get the course and all our students migrated to 3.x, but on
> the flip side, it means that we absolutely can't get the benefit until
> that jump is made.

You can use third-party checkers. And if you use an editor with syntax 
highlighting, it is likely that unrecognized backslash escapes will be 
marked as suspicious.



More information about the Python-Dev mailing list