Ben Finney a écrit : (snip)
Yes, just about any ‘map()’ operation has a corresponding list comprehension.
Right AFAICT, but:
(Does anyone know of a counter-example, a ‘map()’ operation that doesn't have a correspondingly simple list comprehension?)
... depends on your definition of "simple". There are things I'd rather not write as a list comprehension...
-- http://mail.python.org/mailman/listinfo/python-list