[stdlib-sig] Choosing one of two options for url* in the stdlib reorg

Fred Drake fdrake at acm.org
Fri Feb 29 04:30:11 CET 2008


On Feb 28, 2008, at 10:23 PM, Steven Bethard wrote:
>>  urlparse -> url.parse
>>  urllib -> GONE
>>  urllib's utility functions -> url.quote
>>  urllib2 -> url.request
>
> +1 for the second option.  I'd also be happy if there were fewer than
> 3 modules in the package, but mainly I'd like to see urllib gone with
> urllib2 in its place.

Agreed.

As far asl urllib's useful utility functions, they're all about  
quoting and unquoting, which is related to parsing.  I'd be happy to  
see them in url.parse; the current urlparse contains both parsing and  
re-assembly functions, and I think it reasonable for the quote- 
handling functions to co-habit with those.


   -Fred

-- 
Fred Drake   <fdrake at acm.org>






More information about the stdlib-sig mailing list