[issue9155] Reserve COMPARE_OP for rich comparisons
Demur Rumed
report at bugs.python.org
Mon Jul 5 16:07:41 CEST 2010
Demur Rumed <junkmute at hotmail.com> added the comment:
I've fixed the segfaulting in IN and NOT_IN, though the code requires cleaning due to the obtusely cargo culted nature of those opcodes
I'm also including an incrementation which completely removes COMPARE_OP, using the opcode to determine the comparison type. As a result, I found it safe to remove the PyCmp_ enum, though cpickle seems to disagree. It's also lacking performance wise
----------
Added file: http://bugs.python.org/file17866/cmpoprotdupalluny.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9155>
_______________________________________
More information about the Python-bugs-list
mailing list