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 Kenneth Lim
Recipients Kenneth Lim, abarry, vstinner
Date 2016-05-30.16:19:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CA+6qxE2+_ThS8-1LSkCgvCOcC3pQ_y3o6DBHegng9jRtO01bdA@mail.gmail.com>
In-reply-to <1464620556.57.0.438090732121.issue27160@psf.upfronthosting.co.za>
Content
Hi Barry,

I was aware of that. However, I was alluding to the KeyError produced, and
the silent truncation of the text. Rather than failing at the colon step
(SyntaxError when on run), truncated arguments pass this step, causing
errors downstream.

On Mon, May 30, 2016 at 11:02 PM, Emanuel Barry <report@bugs.python.org>
wrote:

>
> Emanuel Barry added the comment:
>
> In other words, you cannot use keys containing a colon in str.format -
> you'll need to replace the colons by something else (for example an
> underscore, that works fine).
>
> ----------
> nosy: +ebarry
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue27160>
> _______________________________________
>
History
Date User Action Args
2016-05-30 16:19:54Kenneth Limsetrecipients: + Kenneth Lim, vstinner, abarry
2016-05-30 16:19:54Kenneth Limlinkissue27160 messages
2016-05-30 16:19:54Kenneth Limcreate