[issue16094] Tuple extraction in lambda isn't supported with more than one argument

2012-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The issue is in lib2to3. tuple_params does not work with lambdas. I confirm the bug. $ ./python -m lib2to3 -f tuple_params lambda_tuple_params.py RefactoringTool: Refactored lambda_tuple_params.py --- lambda_tuple_params.py (original) +++ lambda_tuple_p

[issue16094] Tuple extraction in lambda isn't supported with more than one argument

2012-09-30 Thread Mark Dickinson
Mark Dickinson added the comment: Works for me (Python 2.7.3): >>> x = lambda (a, b), c: a + b + c >>> x((2, 3), 4) 9 What issue are you seeing? -- nosy: +mark.dickinson ___ Python tracker ___

[issue16094] Tuple extraction in lambda isn't supported with more than one argument

2012-09-30 Thread Ramchandra Apte
Ramchandra Apte added the comment: Python 2.7 and earlier are in bug-fix mode (means no new features) Tuple unpacking is not there in Python 3. Please close this bug as invalid. -- nosy: +ramchandra.apte type: -> enhancement ___ Python tracker

[issue16094] Tuple extraction in lambda isn't supported with more than one argument

2012-09-30 Thread GlitchMr
New submission from GlitchMr: Tuple extraction in lambda isn't supported with more than one argument. -- components: 2to3 (2.x to 3.x conversion tool) files: lambda.py messages: 171627 nosy: GlitchMr priority: normal severity: normal status: open title: Tuple extraction in lambda isn't s