good way to do side effects on lists?

danny danny_shevitz at
Thu Sep 23 17:02:42 CEST 2004

Michael Hoffman < at> wrote in message news:<cit221$a33$1 at>...
> But with all that set-up it's not really a one-liner. And what's wrong with
> your first proposal anyway?

Nothing is really wrong with it. I assume it runs a little slower than
something native, and since it's inside a Monte Carlo code it may
matter a little. Mostly it just feels like there should be a way to do
it better.


More information about the Python-list mailing list