[New-bugs-announce] [issue13959] Re-implement parts of imp in pure Python

Brett Cannon report at bugs.python.org
Tue Feb 7 01:51:30 CET 2012

New submission from Brett Cannon <brett at python.org>:

A bunch of code in Python/import.c exists purely for the imp module, but a large chunk of it does not need to be implemented in C but instead can be implemented in Python code.

Once importlib is bootstrapped in then an attempt to scale back the C code should be done by re-implementing parts of imp in pure Python (either in some _imp module or directly in _importlib itself).

components: Library (Lib)
messages: 152800
nosy: brett.cannon
priority: normal
severity: normal
status: open
title: Re-implement parts of imp in pure Python
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list