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

Georg Brandl g.brandl at gmx.net
Tue Jul 1 22:28:45 CEST 2008


Fred Drake schrieb:
> On Jul 1, 2008, at 3:56 PM, georg.brandl wrote:
>> Author: georg.brandl
> ....
>> Also directly import names from the various urllib submodules,
>> saves attribute lookup and is much cleaner.
> 
> This is highly subjective.  Do we want to be doing this in the  
> standard library?

While I'm opposed to sweeping stdlib refactorings, this is an
exception because a) the urllib package was only recently created,
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.

> I'd certainly suggest that such style changes should be made in  
> separate commits than bugfixes.

You're right, I should have done this.

Georg



More information about the Python-3000-checkins mailing list