[Python-ideas] Calling a function of a list without accumulating results

Terry Jones terry at jon.es
Thu Sep 27 23:48:47 CEST 2007


Hi Greg

| The way things are, there is only one coding style for when you don't want
| the results. You're suggesting the addition of another one. That *would* be
| un-Pythonic.

But the same remark could be made about using a list and writing explicit
loops to accumulate results, and the later addition of list comprehensions.
Wasn't that un-Pythonic for the same reason?

Terry



More information about the Python-ideas mailing list