[issue4337] Iteration over a map object with list()

Terry J. Reedy report at bugs.python.org
Sat Nov 22 02:25:34 CET 2008


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

Dict views and range objects are *iterables* because they are based on
reusable information.  Map, filter, and similar objects are *iterators*
because they are based on iterables that could be once-through
iterators. The built-in function entries carefully specific which is which.

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

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


More information about the Python-bugs-list mailing list