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 gvanrossum
Recipients gvanrossum, rhettinger, roippi, serhiy.storchaka
Date 2014-08-15.17:34:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408124053.43.0.0856287688761.issue22192@psf.upfronthosting.co.za>
In-reply-to
Content
It's clear that dict.values() shouldn't be hashable -- using the identity is plain wrong here. But shouldn't the fix be to implement rich comparisons for dict.values()?

I think just a a.keys() == set(a.keys()), a.values() should be == set(a.values()).

Let's move the question about whether generators and iterators should be hashable elsewhere.
History
Date User Action Args
2014-08-15 17:34:13gvanrossumsetrecipients: + gvanrossum, rhettinger, serhiy.storchaka, roippi
2014-08-15 17:34:13gvanrossumsetmessageid: <1408124053.43.0.0856287688761.issue22192@psf.upfronthosting.co.za>
2014-08-15 17:34:13gvanrossumlinkissue22192 messages
2014-08-15 17:34:13gvanrossumcreate