|
|
|
|
|
by rhaps0dy
3347 days ago
|
|
PEP 3113 -- Removal of Tuple Parameter Unpacking
http://legacy.python.org/dev/peps/pep-3113/ These seem like OK reasons, but I find myself continuously needing the destructuring idiom in lambdas, while these introspection and documentation concerns are just not there for me. However tuple-parameters being an exception to rules (such as args and kwargs not being usable with them) is more compelling. And allowing destructuring only in lambdas would be weird, because they wouldn't be normal function objects any more. Unless the destructuring was only syntactic sugar for the translation in the PEP? But that's again inconsistent. |
|