[Web-SIG] Dealing with urllib, urllib2, and urlparse
Robert Brewer
fumanchu at aminus.org
Wed Feb 20 23:02:53 CET 2008
Brett Cannon wrote:
> So the conundrum here is that urllib and urllib2 are both used
> extensively and both have their key function named urlopen(). MAL has
> suggested:
>
> urllib -> url.fetch
> urllib2 -> url.request
> urlparser -> url.parse
>
> which I am liking. But I figured I would ask if there is any remote
> chance the this SIG has plans to either merge urllib and urllib2 or
> come up with a new module, or something before 3.0 comes out.
> Otherwise MAL's names will probably be the suggested new names and one
> can hope at some point one of the urllib* modules can go away.
I like the above too, and I can't recall anyone talking about merging or
replacing urllib(2) in the multiple years I've been on this list. :) So
+1.
Robert Brewer
fumanchu at aminus.org
More information about the Web-SIG
mailing list