[Python-Dev] Autoloading? (Making Queue.Queue easier to use) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Oct 13 05:44:25 CEST 2005
- Previous message: [Python-Dev] Autoloading? (Making Queue.Queue easier to use)
- Next message: [Python-Dev] Autoloading? (Making Queue.Queue easier to use)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
john.m.camara at comcast.net wrote:
I guess from Greg’s comments I’m not sure if he wants to
import threading and as a result ‘Queue’ becomes available in the local namespace
No!!!
Queue becomes part of the threading namespace and bound/loaded when it is first needed. Queue then becomes accessible through ‘threading.Queue’
Yes.
-- 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] Autoloading? (Making Queue.Queue easier to use)
- Next message: [Python-Dev] Autoloading? (Making Queue.Queue easier to use)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]