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

Nick Coghlan ncoghlan at gmail.com
Thu Apr 13 00:04:07 CEST 2006


Phillip J. Eby wrote:
> 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...  :)
> 
> 
Details, details. . .

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-Dev mailing list