[issue25843] code_richcompare() don't use constant type when comparing code constants
STINNER Victor
report at bugs.python.org
Fri Jan 22 10:54:05 EST 2016
STINNER Victor added the comment:
Ok, the fix is now pushed to Python 2.7, 3.5 and 3.6.
Thanks Tijs Van Oevelen for your bug report ;-)
A workaround look to define the two lambda functions on two different lines. Or maybe cast explicitly to float? I don't think that it's a common bug so you should be able to survive with it until the next bugfix version is released :-)
----------
resolution: -> fixed
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25843>
_______________________________________
More information about the Python-bugs-list
mailing list