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 rhettinger, stutzbach
Date 2010-05-18.19:50:51
SpamBayes Score 0.002847085
Marked as misclassified No
Message-id <1274212253.92.0.600619819561.issue8752@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think the set methods can make assumptions about whether instances of the Set API can be made frozen.  It is okay to restrict this to just instances of "set" where we know its internal structure and know that its elements are hashable (see the collections docs for an example of a non-hashable set).

Also, the collections.Set methods are supposed to be minimal.  They are not intended to mimic every aspect of regular set objects.
History
Date User Action Args
2010-05-18 19:50:54rhettingersetrecipients: + rhettinger, stutzbach
2010-05-18 19:50:53rhettingersetmessageid: <1274212253.92.0.600619819561.issue8752@psf.upfronthosting.co.za>
2010-05-18 19:50:52rhettingerlinkissue8752 messages
2010-05-18 19:50:52rhettingercreate