The future of Python immutability

Adam Skutt askutt at
Sun Sep 6 15:21:12 CEST 2009

On Sep 5, 10:34 pm, Terry Reedy <tjre... at> wrote:
> Adam Skutt wrote:
> > On Sep 5, 11:29 am, Terry Reedy <tjre... at> wrote:
> >> This is a pointless replacement for 'def b(x): return x+a'
> > And?  That has nothing to do with anything I was saying whatsoever.
> Agreed.  However, posts are read by newbies.
> Posts that promote bad habits are fair game for comment.
There's nothing inappropriate about using a lambda for a function I
don't care to give a name.  That's the entire reason they exist.

> The idea that Python has 'lambda objects' had caused no end of mischief
> over the years.
As near as I can tell, this is because you're insisting on creating a
semantic distinction where there just isn't one.


More information about the Python-list mailing list