[Python-Dev] lambda (x, y): (original) (raw)
Ram Rachum ram at rachum.com
Fri Jan 24 16:50:22 CET 2014
- Previous message: [Python-Dev] Argument Clinic: what to do with builtins with non-standard signatures?
- Next message: [Python-Dev] lambda (x, y):
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I don't like how in Python 3.x, you can't do this:
lambda (x, y): whatever
It's quite useful in Python 2
if I understand correctly, it's a side effect of such packed arguments not being allowed in function definitions. (i.e. def instead of lambda)
Can you please refer me to the original discussion in which it was decided to remove this grammar in Python 3? I'd like to understand the arguments for it.
Thanks, Ram. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140124/4fe845c5/attachment.html>
- Previous message: [Python-Dev] Argument Clinic: what to do with builtins with non-standard signatures?
- Next message: [Python-Dev] lambda (x, y):
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]