Message269333
| 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? |
|