[Python-3000-checkins] r64624 - in python/branches/py3k/Lib/urllib: parse.py request.py

Fred Drake fdrake at acm.org
Tue Jul 1 22:41:35 CEST 2008

On Jul 1, 2008, at 4:28 PM, Georg Brandl wrote:
> While I'm opposed to sweeping stdlib refactorings, this is an
> exception because a) the urllib package was only recently created,

I'm not objecting to a refactoring; that would work just fine for the  
new package.

> b) the imports are from other urllib submodules and therefore
> should be easy to understand and c) it mirrors what was done
> in urllib2.py.

What I am objecting to is the assertion that importing names directly  
into the global namespace for a module is in any way "cleaner".   
That's a style issue, and I don't think there's anything approximating  
consensus on the matter.


Fred Drake   <fdrake at acm.org>

More information about the Python-3000-checkins mailing list