Message274079
See https://mail.python.org/pipermail/python-dev/2016-August/145979.html for details.
PEP 498 is going to be changed to disallow backslashes inside braces (the expression portions of an f-string).
However, I can't get that change done in time for 3.6 beta 1. So, this bug will disallow any backslashes in f-strings. Before the next beta, I'll implement the correct behavior.
This is a breaking change: f-strings like f'\\t{3}' which worked in 3.6 alphas will not work in 3.6 beta 1, but will work in beta 2. f-strings like f'{\'x\'}' which worked in 3.6 alphas, will not work in any beta or release version of 3.6. |
|
| Date |
User |
Action |
Args |
| 2016-08-31 23:49:40 | eric.smith | set | recipients:
+ eric.smith, ned.deily |
| 2016-08-31 23:49:40 | eric.smith | set | messageid: <1472687380.69.0.18258745604.issue27921@psf.upfronthosting.co.za> |
| 2016-08-31 23:49:40 | eric.smith | link | issue27921 messages |
| 2016-08-31 23:49:40 | eric.smith | create | |
|