[New-bugs-announce] [issue41107] Running a generator in a map-like manner
Natsumi H.
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
messages: 372275
nosy: natsuwumi
priority: normal
severity: normal
status: open
title: Running a generator in a map-like manner
type: enhancement
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41107>
_______________________________________
More information about the New-bugs-announce
mailing list