[Python-ideas] Thoughts on lambda expressions

Abe Dillon abedillon at gmail.com
Wed Mar 2 19:02:33 EST 2016



> I don't know if that is a contrived example or not, but python also 
> already provides a more efficient and readable way of pulling attributes 
> off of an object (a very common misuse of lambda/anonymous functions).  
> operator.attrgetter
>

My examples are fairly contrived. I know about the operator module and 
functools.partial 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160302/f5534f8c/attachment.html>


More information about the Python-ideas mailing list