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

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Feb 24 20:54:08 CET 2015


Chris Angelico wrote:
> Then he changed the code over to use his
> own file instead of the provided sample, and at the same time,
> switched from using open() to using csv.reader(open()), and moved all
> the code into a function, and fixed three other bugs, and now it isn't
> working. And he can't figure out why.

There's probably a useful meta-lesson in there:
test after making every change!

-- 
Greg


More information about the Python-Dev mailing list