[Python-3000] stdlib reorganization

Talin talin at acm.org
Wed May 31 10:48:24 CEST 2006


Greg Ewing wrote:
> Fred L. Drake, Jr. wrote:
> 
>> > Stuffing site- 
>> > packages in another toplevel package seems wrong to me. If I
>> > understand you correctly I'd have to do 'import site.wx' to import
>> > wxPython and that doesn't feel right.
>>
>>Agreed.  That would be nothing but pain.
> 
> 
> Also it would seem to mean that there would only ever
> be two top-level packages, stdlib and site. That seems
> like a poor use of a naming level.

Absolutely. What I would like to see is a namespace that has a fan-out 
factor of around, say, 20-50 names per namespace on average, a small 
enough number that collisions aren't a problem, but large enough that 
the tree doesn't have to be very deep.

-- Talin


More information about the Python-3000 mailing list