[issue9212] dict_keys purports to implement the Set ABC, but is missing the isdisjoint method

Terry J. Reedy report at bugs.python.org
Fri Jul 23 21:36:52 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Titles that fit in the box, like 'Dict.keys lacks .isjoint method.' are easier to read and keep track of.

Unless there is a reason I have missed, I would iterate through the smaller set, which might even be empty or nearly so, rather than either in particular.

----------
nosy: +tjreedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9212>
_______________________________________


More information about the Python-bugs-list mailing list