Benjamin Peterson added the comment:

Here is a patch, which fixes the issue. This brings up rather subtle issues. 
For example you can have "{[{}]}" but not "{[{]}" as a format string. I wonder 
if having braces in the field name at all should be an error.

----------
keywords: +patch
nosy: +benjamin.peterson
Added file: http://bugs.python.org/file29691/fix_format_spec.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17644>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to