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 serhiy.storchaka
Recipients mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, vstinner, wbolster
Date 2017-07-21.15:53:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500652421.54.0.492772931579.issue30907@psf.upfronthosting.co.za>
In-reply-to
Content
I don't have any objections to closing this. The net benefit is contradictory, the maintenance cost is not zero. In many performance important cases (dictionary lookup, searching in sequences) the identity already is checked before calling the comparison method.

Maybe it is worth to remove the fast patch from slice_richcompare() or speed up the general case, but this is a different issue.
History
Date User Action Args
2017-07-21 15:53:41serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, vstinner, wbolster
2017-07-21 15:53:41serhiy.storchakasetmessageid: <1500652421.54.0.492772931579.issue30907@psf.upfronthosting.co.za>
2017-07-21 15:53:41serhiy.storchakalinkissue30907 messages
2017-07-21 15:53:41serhiy.storchakacreate