[issue26828] Implement __length_hint__() on map() and filter() to optimize list(map) and list(filter)
Raymond Hettinger
report at bugs.python.org
Sun Apr 16 18:16:16 EDT 2017
Raymond Hettinger added the comment:
[STINNER Victor]
> Oh, there is no slot for __length_hint__().
> Maybe we should also try to add a new slot for it?
+1
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26828>
_______________________________________
More information about the Python-bugs-list
mailing list