[Python-Dev] removing nested tuple function parameters
Brett Cannon
bcannon at gmail.com
Sun Sep 18 03:20:08 CEST 2005
Is anyone truly attached to nested tuple function parameters; ``def
fxn((a,b)): print a,b``? At one of the PyCon sprints Guido seemed
okay with just having them removed when Jeremy asked about ditching
them thanks to the pain they caused in the AST branch. I personally
don't see them being overly useful thanks to assignment unpacking.
Plus I don't think they are used very much (gut feeling, though, and
not based on any grepping).
Would anyone really throw a huge fit if they went away? I am willing
to write a PEP for their removal in 2.6 with a deprecation in 2.5 if
people are up for it. Otherwise I say they should definitely go in
Python 3.
-Brett
More information about the Python-Dev
mailing list