A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030866.html below:

[Python-Dev] Another approach for the import mechanism

[Python-Dev] Another approach for the import mechanism [Python-Dev] Another approach for the import mechanismGreg 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	   +--------------------------------------+



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4