[Python-Dev] Re: Path hacking

Guido van Rossum guido@CNRI.Reston.VA.US
Thu, 16 Sep 1999 14:08:01 -0400


> Why not just run exceptions.py through Python2C, visually and experimentally
> verify that it works, then ship an exceptions.c as an optional module?
> People wanting to ship self-contained packages could then toss exceptions.py
> and build the C version of the exceptions module.

Alternatively (and probably easier) it (and site.py) could be stored
as frozen modules.  All it takes is some edits to Python/frozen.c.

--Guido van Rossum (home page: http://www.python.org/~guido/)