[Python-3000] PEP 3113 (Removal of Tuple Parameter Unpacking) (original) (raw)

Guido van Rossum guido at python.org
Sun Mar 4 20:14:11 CET 2007


On 3/3/07, Brett Cannon <brett at python.org> wrote:

On 3/3/07, Jim Jewett <jimjjewett at gmail.com> wrote: > I have mixed feelings; I won't go so far as to say I oppose removing > tuple-arguments, but some of the problems do have other solutions.

Sure some of them have other solutions, but that does not mean that they should be fixed just to save this feature.

I see lukewarm support for keeping these at most, and probably lukewarm support for removing them at well. That means I get to decide and nobody will care much (for once :-). So my decision is to get rid of them.

> > Consider PEP 3102 (keyword-only arguments) and PEP 3107 (function > > annotations) [#pep-3102] [#pep-3107]. Both PEPs have been accepted and > > introduce new functionality within a function's signature. And yet > > for both PEPs the new feature cannot be applied to tuple parameters. > > I hadn't realized that they couldn't be annotated. That could be fixed.

Actually they can be annotated. But that's no reason to keep them either. :-)

Though the PEP might be fixed.

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-3000 mailing list