[Python-Dev] PEP 8 modernisation (original) (raw)
Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Aug 1 17:35:54 CEST 2013
- Previous message: [Python-Dev] PEP 8 modernisation
- Next message: [Python-Dev] PEP 8 modernisation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Aug 1, 2013 at 11:03 AM, Alexander Shorin <kxepal at gmail.com> wrote:
...and, if so, why lambda's?(: Without backward compatibility point I see that they are getting "unofficially" deprecated and their usage is dishonored.
Here is one use-case where .. = lambda .. cannot be replaced with def ..
op['add'] = lambda x,y: x+y op['mul'] = lambda x, y: x*y .. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130801/513f8af4/attachment.html>
- Previous message: [Python-Dev] PEP 8 modernisation
- Next message: [Python-Dev] PEP 8 modernisation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]