ben+python at benfinney.id.au
Tue Feb 15 06:45:15 CET 2011
Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
> On Tue, 15 Feb 2011 14:10:38 +1100, Ben Finney wrote:
> > The ‘map’ builtin is deprecated;
> I don't believe it is. Do you have any evidence for this claim?
I was mis-remembering PEP 3100.
Anyway, I regard it as deprecated; list comprehensions are more flexible
and cleaner. I agree with the ‘pylint’ warning to that effect.
\ “Corporation, n. An ingenious device for obtaining individual |
`\ profit without individual responsibility.” —Ambrose Bierce, |
_o__) _The Devil's Dictionary_, 1906 |
More information about the Python-list