Author eric.smith
Recipients Ben.Wolfson, eric.araujo, eric.smith, mark.dickinson, petri.lehtinen, r.david.murray
Date 2011-06-03.19:47:48
SpamBayes Score 6.71771e-05
Marked as misclassified No
Message-id <>
PEP 3101 defines format strings as intermingled character data and markup. Markup defines replacement fields and is delimited by braces. Only after markup is extracted does the PEP talk about interpreting the contents of the markup.

So, given "{0[a}b]}" the parser first parses out the character data and the markup. The first piece of markup is "{0[a}". That gives a syntax error because it's missing a right bracket.

I realize you'd like the parser to find the markup as the entire string, but that's not how I read the PEP.
Date User Action Args
2011-06-03 19:47:49eric.smithsetrecipients: + eric.smith, mark.dickinson, eric.araujo, r.david.murray, Ben.Wolfson, petri.lehtinen
2011-06-03 19:47:49eric.smithsetmessageid: <>
2011-06-03 19:47:48eric.smithlinkissue12014 messages
2011-06-03 19:47:48eric.smithcreate