Message278716
| Author |
lelit |
| Recipients |
docs@python, lelit |
| Date |
2016年10月15日.11:00:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1476529213.17.0.132534478532.issue28450@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Python 3.6+ is stricter about escaped sequences in string literals.
The documentation need some improvement to clarify the change: for example https://docs.python.org/3.6/library/re.html#re.sub first says that "Unknown escapes such as \& are left alone" then, in the "Changed in" section below, states that "[in Py3.6] Unknown escapes consisting of '\' and an ASCII letter now are errors".
When such changes are made, usually the documentation reports the "new"/"current" behaviour, and the history section mention when and how some detail changed.
See this thread for details: https://mail.python.org/pipermail/python-list/2016-October/715462.html |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年10月15日 11:00:13 | lelit | set | recipients:
+ lelit, docs@python |
| 2016年10月15日 11:00:13 | lelit | set | messageid: <1476529213.17.0.132534478532.issue28450@psf.upfronthosting.co.za> |
| 2016年10月15日 11:00:13 | lelit | link | issue28450 messages |
| 2016年10月15日 11:00:13 | lelit | create |
|