[Python-Dev] Assignment to __class__ of module? (Autoloading? (Making Queue.Queue easier to use))
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Oct 14 02:49:44 CEST 2005
Josiah Carlson wrote:
> The earlier portion of this discussion came from...
>
> import module
> #module.foo does not reference a module
> module.foo
> #now module.foo references a module
Or more generally, module.foo now references *something*,
not necessarily a module. (In my use case it's a class.)
--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg.ewing at canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list