commit | ab3b0343b89b4683148dadaf89728ee1198ebee5 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Sep 18 20:38:53 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Sep 18 20:38:53 2001 +0000 |
tree | ce2bc61bcef280a23bbc326fd7ec755a72bf1baa | |
parent | eb9490526508dc643c2329771f95a925e5412049 [diff] |
Hopefully fix 3-way comparisons. This unfortunately adds yet another hack, and it's even more disgusting than a PyInstance_Check() call. If the tp_compare slot is the slot used for overrides in Python, it's always called. Add some tests that show what should work too.