[Python-Dev] [Python-ideas] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

Antoine Pitrou solipsis at pitrou.net
Sun Apr 19 21:35:56 CEST 2009


Bill Janssen <janssen <at> parc.com> writes:
> 
> Or even better, stop trying to use a mapping, and just make the "params"
> value a list of (name, value) pairs.

You can even accept both a list of (name, value) pairs /and/ some **kwargs, like
the dict constructor does. It would be a pity to drop the user-friendliness of
kwargs just to satisfy some rare and obscure requirement.

Regards

Antoine.




More information about the Python-Dev mailing list