[Python-Dev] Autoloading? (Making Queue.Queue easier to use)
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Oct 13 02:40:44 CEST 2005
Michael Chermside wrote:
> John, I think what Greg is suggesting is that we include Queue
> in the threading module, but that we use a Clever Trick(TM) to
> address Guido's point by not actually loading the Queue code
> until the first time (if ever) that it is used.
I wasn't actually going so far as to suggest doing this,
rather pointing out that, if we had an autoloading mechanism,
this would be an obvious use case for it.
> I'm not familiar with the clever trick Greg is proposing,
I'll see if I can cook up an example of it to show. Be
warned, it is very hackish...
--
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