This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients abarry, ezio.melotti, gvanrossum, martin.panter, r.david.murray, serhiy.storchaka, vstinner, ztane
Date 2016-06-27.01:42:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466991772.33.0.552452819215.issue27364@psf.upfronthosting.co.za>
In-reply-to
Content
Hello Emanual, I think I have fixed your problem with -Werror, by handling the exception returned by PyErr_WarnFormat() (see my patch). Thanks for separating the actual change from the escape violation fixes; it made it easier to spot the real problem :)

Also, I like the general idea of the change. It would be good to update the documentation as well (e.g. What’s New, and <https://docs.python.org/3.6/reference/lexical_analysis.html#string-and-bytes-literals>).

It would be good to do the same for byte string literals, at least to keep things consistent. What did you try so far? Do you have a partial patch for it?
History
Date User Action Args
2016-06-27 01:42:52martin.pantersetrecipients: + martin.panter, gvanrossum, vstinner, ezio.melotti, r.david.murray, serhiy.storchaka, ztane, abarry
2016-06-27 01:42:52martin.pantersetmessageid: <1466991772.33.0.552452819215.issue27364@psf.upfronthosting.co.za>
2016-06-27 01:42:52martin.panterlinkissue27364 messages
2016-06-27 01:42:51martin.pantercreate