
29 Feb
2008
29 Feb
'08
3:30 a.m.
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>