[issue7104] test_descr uses __cmp__ which will never be called

2009-10-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for nitpicking! Fixed in r75362. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue7104] test_descr uses __cmp__ which will never be called

2009-10-11 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : The following is from Lib/test/test_descr.py. It's trying to test if looking up a special method on an object leaks references. It tests it by using __cmp__. The test will always pass because Python 3 is trying to look up __eq__, not __cmp__. Hence, __cm