[Python-Dev] Emit SyntaxWarning on unrecognized backslash escapes?
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Feb 24 21:16:43 CET 2015
Thomas Wouters wrote:
> Trying to make the
> error messages more similar, or more identifying, may be a good idea (as
> long as they aren't misleading when people *meant* to use escape
> sequences in a string)
It seems that Windows won't let you use control
characters in filenames, so there is room for a
more pointed error message from functions that
take pathnames on Windows.
--
Greg
More information about the Python-Dev
mailing list