This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author craigcitro
Recipients Brent.Payne, alexandre.vassalotti, bsilverthorn, craigcitro, dalleyg, daniel.urban, eric.araujo, fbissey, jackdied, ncoghlan, nlhepler, pitrou
Date 2011-10-04.06:57:20
SpamBayes Score 0.09133495
Marked as misclassified No
Message-id <1317711441.65.0.305999199855.issue7689@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine -- why do you want to switch "if r" for "if not r"? 

If we did, the test would just confirm that the unpicked object was of the same type as the original; if we were going to do that, we might as well just replace the whole `__cmp__` function with just `return cmp(type(self), type(other))`. On the flipside, I could see an argument for adding *more* content to the test, but that seemed like overkill.
History
Date User Action Args
2011-10-04 06:57:21craigcitrosetrecipients: + craigcitro, ncoghlan, pitrou, jackdied, alexandre.vassalotti, bsilverthorn, eric.araujo, daniel.urban, dalleyg, fbissey, nlhepler, Brent.Payne
2011-10-04 06:57:21craigcitrosetmessageid: <1317711441.65.0.305999199855.issue7689@psf.upfronthosting.co.za>
2011-10-04 06:57:21craigcitrolinkissue7689 messages
2011-10-04 06:57:20craigcitrocreate