[New-bugs-announce] [issue41107] Running a generator in a map-like manner
report at bugs.python.org
Wed Jun 24 15:44:38 EDT 2020
New submission from Natsumi H. <natsuwuuumi at gmail.com>:
I suggest adding a function which behaves like map but without returning anything to iterate over a generator.
This is useful in cases where you need to run a function on every element in a list without unnecessarily creating a generator object like map would.
I think given the existence of the map function that this should be added to Python.
components: Interpreter Core
title: Running a generator in a map-like manner
versions: Python 3.10
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce