[issue27160] str.format: Silent truncation of kwargs when passing keywords containing colons

2016-05-30 Thread Kenneth Lim
Kenneth Lim added the comment: Ah, so the truncation is fully intended behavior. As for the name, a touch too many comic-books in the past might be the reason I latched onto "Barry" as a first name. Thanks for the clarification. On Tue, May 31, 2016 at 12:37 AM, Emanuel Ba

[issue27160] str.format: Silent truncation of kwargs when passing keywords containing colons

2016-05-30 Thread Kenneth Lim
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

[issue27160] Silent truncation of kwargs when passing keywords containing colons

2016-05-30 Thread Kenneth Lim
New submission from Kenneth Lim: Passing a dict with colon-containing keys as kwargs to a function results in a KeyError stemming from a silent truncation of the keys. Error does not clearly describe the issue in this case. -- components: Interpreter Core files: poc.py messages