[Python-Dev] removing nested tuple function parameters (original) (raw)

Florian Weimer fw at deneb.enyo.de
Sun Sep 18 21:15:47 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.

Will

def fxn((a,b,),): print a,b

continue to work? (I'm not sure if the problems are syntax or representation of the parse tree; I don't know what's going on on that AST branch.)



More information about the Python-Dev mailing list