[Python-Dev] Assignment to class of module? (Autoloading? (Making Queue.Queue easier to use)) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Oct 14 02:49:44 CEST 2005
- Previous message: [Python-Dev] Assignment to __class__ of module? (Autoloading? (Making Queue.Queue easier to use))
- Next message: [Python-Dev] Assignment to __class__ of module? (Autoloading? (Making Queue.Queue easier to use))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 +--------------------------------------+
- Previous message: [Python-Dev] Assignment to __class__ of module? (Autoloading? (Making Queue.Queue easier to use))
- Next message: [Python-Dev] Assignment to __class__ of module? (Autoloading? (Making Queue.Queue easier to use))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]