[stdlib-sig] Any ideas on how to handle urllib, urllib2, and urlparse?

Fred Drake fdrake at acm.org
Wed Feb 20 23:23:44 CET 2008


On Feb 20, 2008, at 5:11 PM, Quentin Gallet-Gilles wrote:
> I'm fine with it, if both packages are kept.
> But since it looks like urllib is considered inferior to urllib2,  
> shouldn't it be possible to improve the latter (integrating whatever  
> can be salvaged from urllib) and removing the former, in the spirit  
> of Christian's suggestion ?


I'd go so far as to say that any use case for urllib that can't be  
supported by urllib2 suggests a bug in urllib2.  :-)  I don't think  
I've encountered a situation that I couldn't solve easily with urllib2  
where I'd have used urllib in the past (pre-urllib2 days).


   -Fred

-- 
Fred Drake   <fdrake at acm.org>






More information about the stdlib-sig mailing list