[Python-Dev] New and Improved Import Hooks (original) (raw)

Gordon McMillan gmcm@hypernet.com
Thu, 5 Dec 2002 07:45:50 -0500


On 5 Dec 2002 at 4:11, Guido van Rossum wrote:

Note that I've seen people write

sys.path = ...

That works with iu.py.

I still think I'd like sys.path to be a real list of real strings (not necessarily representing files or directories though), with a configurable set of handlers that are given a chance to deal with each string in turn.

Which is what iu.py does.

(Or was this already rejected? ... )

Evidently, but I've never heard the rationale.

-- Gordon http://www.mcmillan-inc.com/