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 daniel.urban
Recipients daniel.urban, eric.araujo, rhettinger, stutzbach
Date 2010-07-23.16:47:34
SpamBayes Score 0.0001164474
Marked as misclassified No
Message-id <1279903656.19.0.363254084293.issue9212@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch adds the isdisjoint method to dict_keys and dict_items.
Pseudocode for the method:

def isdisjoint(self, other):
    if self is other:
        if len(self) == 0:
            return True
        else:
            return False
    else:
        for item in other:
            if item in self:
                return False
        return True
History
Date User Action Args
2010-07-23 16:47:36daniel.urbansetrecipients: + daniel.urban, rhettinger, stutzbach, eric.araujo
2010-07-23 16:47:36daniel.urbansetmessageid: <1279903656.19.0.363254084293.issue9212@psf.upfronthosting.co.za>
2010-07-23 16:47:34daniel.urbanlinkissue9212 messages
2010-07-23 16:47:34daniel.urbancreate