New submission from Nicholas Musolino :
The builtin `map` function takes one or more user-supplied iterators, and
returns an iterator.
When all the user-supplied iterator arguments to `map` provide a valid length
hint (according to the PEP 424 length hint protocol), the iterator returned by
Change by Nicholas Musolino :
--
keywords: +patch
pull_requests: +14248
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/14432
___
Python tracker
<https://bugs.python.org/issu
Nicholas Musolino added the comment:
Thanks, Serihy. I can close this issue.
I actually have been looking at this problem for some time, and created a
patch, but don't what the "length transparency issues" that led to #26828 being
closed.
Do you think I should close this
Change by Nicholas Musolino :
--
pull_requests: +14249
pull_request: https://github.com/python/cpython/pull/14432
___
Python tracker
<https://bugs.python.org/issue26
Change by Nicholas Musolino :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue37435>
___
___
Pyth
Nicholas Musolino added the comment:
Before seeing this issue and its closed status, I created PR 14432, which adds
`__length_hint__()` to the iterator returned by builtin `map`.
This PR differs from the original 2017 PR by MSeifert in that the code can
distinguish between the cases where a
Change by Nicholas Musolino :
--
pull_requests: +14316
pull_request: https://github.com/python/cpython/pull/14432
___
Python tracker
<https://bugs.python.org/issue33