[Python-ideas] Make undefined escape sequences have SyntaxWarnings

Mike Graham mikegraham at gmail.com
Wed Oct 10 21:36:08 CEST 2012


The literal"\c" should be an error but in practice means "\\c". It's
probably too late to make this invalid syntax as it out to be, but I
wonder if a warning isn't in order, especially with the theoretical
potential of adding new string escapes in the future.



More information about the Python-ideas mailing list