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 stutzbach
Recipients stutzbach
Date 2010-07-09.19:03:34
SpamBayes Score 0.04224086
Marked as misclassified No
Message-id <1278702217.69.0.69895367614.issue9212@psf.upfronthosting.co.za>
In-reply-to
Content
>>> isinstance({}.keys(), collections.Set)
True
>>> [method for method in set(dir(collections.Set)) - set(dir({}.keys()))
...  if not method.startswith('_')]
['isdisjoint']

(in Python 2.7, use "viewkeys()" instead of "keys")

dict_items has the same problem.
History
Date User Action Args
2010-07-09 19:03:37stutzbachsetrecipients: + stutzbach
2010-07-09 19:03:37stutzbachsetmessageid: <1278702217.69.0.69895367614.issue9212@psf.upfronthosting.co.za>
2010-07-09 19:03:35stutzbachlinkissue9212 messages
2010-07-09 19:03:34stutzbachcreate