Kenneth Lim added the comment: 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 <rep...@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 <rep...@bugs.python.org> > <http://bugs.python.org/issue27160> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27160> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com