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 deleted0524
Recipients deleted0524
Date 2016-02-03.11:39:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454499550.19.0.0724839464997.issue26276@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-02-03 11:39:10deleted0524setrecipients: + deleted0524
2016-02-03 11:39:10deleted0524setmessageid: <1454499550.19.0.0724839464997.issue26276@psf.upfronthosting.co.za>
2016-02-03 11:39:10deleted0524linkissue26276 messages
2016-02-03 11:39:10deleted0524create