[issue10042] total_ordering stack overflow

Francesco Ricciardi report at bugs.python.org
Thu Oct 7 10:29:15 CEST 2010


Francesco Ricciardi <francesco.ricciardi at hp.com> added the comment:

Attached there is a solution of the problem, by implementing each comparison only with the class __xx__ and __eq__ operators.

Also in the file there is a complete test suite for it.

----------
Added file: http://bugs.python.org/file19145/new_total_ordering.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10042>
_______________________________________


More information about the Python-bugs-list mailing list