2009/1/8 Nick Coghlan <ncogh...@gmail.com>: >> Well, it's not part of the interpreter yet. That can be viewed as a >> separate step. > > True, but what you're doing here can be viewed as the continuation of > the original implementation plan for PEP 302 - it was always intended > that every module would eventually get a __loader__ attribute, and > that's one of the things an import system based on your importlib would > provide.
FWIW, this is certainly the ultimate direction *I* intended PEP 302 to take. At the time the key deliverable (which was provided by Just) was the zip importer - but we intended the mechanism to be applicable for everything, and ultimately to be *used* for eveything. Sadly, neither Just nor I ever took that extra step - and I'm extremely happy that Brett has now done so. Paul. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com