import bug

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Nov 2 06:11:58 CET 2009


En Sun, 01 Nov 2009 19:51:04 -0300, Steven D'Aprano  
<steve at remove-this-cybersource.com.au> escribió:
> On Sun, 01 Nov 2009 17:34:19 -0300, Gabriel Genellina wrote:
>> En Sun, 01 Nov 2009 02:54:15 -0300, Steven D'Aprano escribió:

>>> Shadowing a standard library module
>>> is no different.
>>
>> But that's what namespaces are for; if the standard library had its own
>> namespace, such collisions would not occur.
>
> Sure. But that's not a bug in the import system. If it's a bug, it's a
> bug in the layout of the standard library.

Half and half? The standard library cannot have a different structure  
because the import system cannot handle it in a backgwards compatible way?

-- 
Gabriel Genellina




More information about the Python-list mailing list