[issue2531] float compared to decimal is silently incorrect.

2009-03-17 Thread Imri Goldberg
Imri Goldberg added the comment: This behavior also exists in Python 2.6. However, in Python 3 an exception is raised instead, as these kinds of comparisons are considered incorrect. Because of that, I'd like Python 3's behavior of raising exceptions on float-decimal compari

[issue2283] lambda *a, **k: a, k # does not work

2008-03-13 Thread Imri Goldberg
Imri Goldberg <[EMAIL PROTECTED]> added the comment: This is not a bug, just missing parenthesis. >>> lambda x: x,x Traceback (most recent call last): File "", line 1, in NameError: name 'x' is not defined >>> lambda x: