Serhiy Storchaka added the comment: Dict iterators already have __length_hint__. Dict views have __len__. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28183> _______________________________________