Message259473
In Python 2.7.6 and 3.2.3:
>>> "{ {{ 0} }}".format(**{' {{ 0} }': 'X'})
'X'
In Python 3.4.3:
>>> "{ {{ 0} }}".format(**{' {{ 0} }': 'X'})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: unexpected '{' in field name
I think the problem is that PEP 3101 is under specified w.r.t. to non identifier characters in format units. |
|
Date |
User |
Action |
Args |
2016-02-03 11:39:10 | deleted0524 | set | recipients:
+ deleted0524 |
2016-02-03 11:39:10 | deleted0524 | set | messageid: <1454499550.19.0.0724839464997.issue26276@psf.upfronthosting.co.za> |
2016-02-03 11:39:10 | deleted0524 | link | issue26276 messages |
2016-02-03 11:39:10 | deleted0524 | create | |
|