STINNER Victor added the comment:

code_richcompare.patch: fix code_richcompare() to not consider that constants 
(1,) and (1.0,) are equal.

The patch lacks an unit test.

We may use the new _PyCode_ConstantKey() function to compare other code 
attributes?

----------
keywords: +patch
Added file: http://bugs.python.org/file41307/code_richcompare.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25843>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to