[Python-Dev] Another approach for the import mechanism
Greg Ewing
greg@cosc.canterbury.ac.nz
Fri, 06 Dec 2002 16:09:24 +1300 (NZDT)
Brian Quinlan <brian@sweetapp.com>:
> When the import hook returns a stream, every stream hook is given a
> chance to transform that stream. If a stream hook returns a transformed
> stream then every other hook is called again. This continues until no
> stream hook is interested in transforming the stream anymore.
How is a stream hook to know what kind of stream it's
been given?
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+