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/1999-September/000955.html below:

[Python-Dev] Towards a Python based import scheme

[Python-Dev] Towards a Python based import scheme [Python-Dev] Towards a Python based import schemeGreg Stein gstein@lyra.org
Thu, 16 Sep 1999 05:00:06 -0700
Gordon McMillan wrote:
>...
>   def _reload_hook(self, module):
>     # gmcm - Hmmm, reloading of a module may or may not
> be impossible,
>     # (depending on the importer),  but at least we can
>     # look to see if it's ours to reload:
>     if hasattr(module, '__importer__'):
>       if getattr(module, '__importer__') == self:
>         raise SystemError, "reload not yet implemented"
>     return self.__chain_reload(module)

I've folded this in (finally).

New imputil.py to be published in a bit...

thx!
-g

--
Greg Stein, http://www.lyra.org/



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