[Python-Dev] difficulty of implementing phase 2 of PEP 302 in Python source (original) (raw)

Armin Rigo arigo at tunes.org
Sun Oct 1 23:09:24 CEST 2006


Hi Brett,

On Wed, Sep 27, 2006 at 02:11:30PM -0700, Brett Cannon wrote:

is so bad that it is worth trying to re-implement the import semantics in pure Python or if in the name of time to just work with the C code.

In the name of time, sanity and usefulness, rewriting the expected semantics in Python would be a major good idea IMHO. I can cite many projects that have reimplemented half of the semantics in Python (runpy.py, the 'py' lib, PyPy...), but none that completed them. Having such a complete implementation available in the first place would be helpful.

A bientot,

Armin



More information about the Python-Dev mailing list