[Python-Dev] Proposal: expose PEP 302 facilities via 'imp' and 'pkgutil'

Phillip J. Eby pje at telecommunity.com
Wed Apr 12 18:58:29 CEST 2006


At 08:39 PM 4/12/2006 +1000, Nick Coghlan wrote:
>In this particular case, it would be a Python module "imp.py" that 
>included the line "from _imp import *" (where _imp is the current C-only 
>module with a different name).

I don't think that's going to work, since importing won't work until _imp 
itself is imported...  :)



More information about the Python-Dev mailing list