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 rhettinger
Recipients Dennis Sweeney, rhettinger, serhiy.storchaka
Date 2020-06-08.04:52:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591591964.63.0.136662162619.issue40889@roundup.psfhosted.org>
In-reply-to
Content
> What about returning another dict_items instead of a set?

That API ship has already sailed.  The published API guarantees that a set is returned — there is no changing that.

The question is whether we care enough to provide an optimized implementation that doesn't call __hash__() when the hash value has already been computed and stored.
History
Date User Action Args
2020-06-08 04:52:44rhettingersetrecipients: + rhettinger, serhiy.storchaka, Dennis Sweeney
2020-06-08 04:52:44rhettingersetmessageid: <1591591964.63.0.136662162619.issue40889@roundup.psfhosted.org>
2020-06-08 04:52:44rhettingerlinkissue40889 messages
2020-06-08 04:52:44rhettingercreate