[issue32912] Raise non-silent warning for invalid escape sequences

Gregory P. Smith report at bugs.python.org
Fri Aug 9 20:15:00 EDT 2019


Gregory P. Smith <greg at krypto.org> added the comment:

I haven't looked, so not that i'm aware of.  I suggest filing one for each of those.

The warning not pointing to the right line in a multiline literal sounds like a bug to me so that one, if fixed, seems reasonable for 3.8.  The release manager gets to decide.

Making the syntax warnings happen upon import of an already compiled pyc is more feature-ish, likely to be 3.9+.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32912>
_______________________________________


More information about the Python-bugs-list mailing list