[Python-Dev] Generalizing *args and **kwargs

Gustavo Niemeyer gustavo at niemeyer.net
Wed Feb 15 13:35:52 CET 2006


> I've been thinking about generalization of the *args/**kwargs syntax for
> quite a while, and even though I'm pretty sure Guido (and many people) will
> consider it overgeneralization, I am finally going to suggest it. This whole
> idea is not something dear to my heart, although I obviously would like to
> see it happen. If the general vote is 'no', I'll write a small PEP or add it
> to PEP 13 and be done with it.

A PEP would be great, even if not accepted. At least we'll have it discussed
in a single place and avoid rediscussing it everytime someone figures
out it's a nice idea. Have a look for the subject "Extending tuple unpacking"
in the mailing list for a recent discussion on the topic.

-- 
Gustavo Niemeyer
http://niemeyer.net


More information about the Python-Dev mailing list