At 10:32 PM 12/8/2007 +0100, Christian Heimes wrote: >The pre import hook can probably be implemented in pure Python with a >meta path hook as described in http://www.python.org/dev/peps/pep-0302/. >I see the pre import hook as a lightweight meta path hook with an easy >to use interface.
Which means it doesn't need a PEP and can be implemented as a library today for any version of Python 2.3+. The PEP is needed for a post-import (and laziness) hook due to interop issues, not to mention the difficulty of getting it right. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com