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

Ethan Furman ethan at stoneleaf.us
Mon Feb 23 18:01:31 CET 2015


On 02/23/2015 08:12 AM, Brett Cannon wrote:
> On Mon Feb 23 2015 at 10:55:23 AM Chris Angelico wrote:

>> Is it at all possible for this to be introduced in the 2.x line [...]
> 
> Starts with a minor version.

Isn't there a -3 switch or something like that in 2.7.x to trigger warnings/errors to help port to 3.x?  Seems like this
kind of warning could go there.

--
~Ethan~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150223/89da515c/attachment.sig>


More information about the Python-Dev mailing list