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

Ethan Furman ethan at stoneleaf.us
Tue Feb 24 19:00:07 CET 2015


On 02/24/2015 09:44 AM, Guido van Rossum wrote:
>
> TBH I think this will be a tough sell. I worry that an meme will emerge to make all
> string literals use raw mode, or worse, to deprecate non-raw string literals. I'm
> not sure how we'll get out of the whole conundrum, and I'm not in a hurry to see
> this in 3.5.

So should we move forward with just the better error messages?  It's a good first step, and even if it ends up being the
only step it would be a huge improvement.

--
~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/20150224/284bee47/attachment.sig>


More information about the Python-Dev mailing list