[issue41107] Running a generator in a map-like manner

2020-06-24 Thread Natsumi H.
Natsumi H. added the comment: If it won't be added do you reckon creating a library to solve this issue would be appropriate? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41107] Running a generator in a map-like manner

2020-06-24 Thread Natsumi H.
Natsumi H. added the comment: Exactly that was the plan! -- ___ Python tracker <https://bugs.python.org/issue41107> ___ ___ Python-bugs-list mailing list Unsub

[issue41107] Running a generator in a map-like manner

2020-06-24 Thread Natsumi H.
New submission from Natsumi H. : 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