BartlebyScrivener wrote:

> >> More accurately, it *does* import it twice, into two separate
> >> namespaces;
>
> If it's in two different namespaces, how can they have the same id
> number?

they're mixing up the terminology.  each loaded module has exactly one
namespace, no matter how many times you import it.

the modules you're importing to have their own namespaces, of course.

this link may help:

    http://effbot.org/zone/import-confusion.htm#what-does-python-do

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to