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

Bill Janssen janssen at parc.com
Sun Apr 19 22:21:05 CEST 2009

Antoine Pitrou <solipsis at pitrou.net> wrote:

> 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.

This whole discussion seems a bit "rare and obscure" to me.  I've built
URLs for years without this method, and never felt the lack.  What bugs me
is the lack of a way to build multipart-formdata payloads, the only standard
way to send non-Latin1 strings as part of a request.

I'd like to suggest we move this off python-dev, and to either the
Web-SIG or stdlib-sig mailing lists, which are probably more interested
in all of this.


More information about the Python-Dev mailing list