[issue1717] Get rid of more refercenes to __cmp__
Mark Dickinson
report at bugs.python.org
Thu Oct 16 09:20:29 CEST 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
> Guido's patch breaks these tests:
>
> test_descr test_hash test_long test_richcmp test_set
It looks like all these are easily fixed: all these tests were making
outdated assumptions and needed updating.
Here's a patch that fixes these tests.
One other detail:
In test_descr.py, there are tests for 'overridden behavior for static
classes' and 'overridden behavior for dynamic classes', using test classes
'Proxy' and 'DProxy'; apart from the name change, the 'dynamic' code is
identical to the 'static' code, so I removed it. I guess this had to do
with the __dynamic__ class attribute, which is ancient history, no?
----------
nosy: +marketdickinson
Added file: http://bugs.python.org/file11807/nocmp_tests.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1717>
_______________________________________
More information about the Python-bugs-list
mailing list