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 eric.smith
Recipients eric.smith, gvanrossum, larry, levkivskyi, ncoghlan
Date 2018-01-24.09:12:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516785132.14.0.467229070634.issue32513@psf.upfronthosting.co.za>
In-reply-to
Content
I'm working on a patch before beta 1. The only issue is whether to raise in the case that order=True and the user specifies one of the 4 ordering dunders. I think raising is okay, especially since order=False is the default: you'd have to go out of your way to cause the exception. I'll mention functools.total_ordering in the exception message.

I do think that the discussion in my long message about __hash__ is correct, although I'm not done thinking it through. I think it's already pretty well tested, but if not I'll make sure there are enough test cases for objects that I think should or shouldn't be hashable that I'll have all of the kinks worked about before beta 1.
History
Date User Action Args
2018-01-24 09:12:12eric.smithsetrecipients: + eric.smith, gvanrossum, ncoghlan, larry, levkivskyi
2018-01-24 09:12:12eric.smithsetmessageid: <1516785132.14.0.467229070634.issue32513@psf.upfronthosting.co.za>
2018-01-24 09:12:12eric.smithlinkissue32513 messages
2018-01-24 09:12:11eric.smithcreate