[Python-Dev] Re: Path hacking

Greg Stein gstein@lyra.org
Thu, 16 Sep 1999 10:47:56 -0700


Skip Montanaro wrote:
> 
>     Gordon> In the soon-to-be-published beta version of my installer, I've
>     Gordon> got that down to exceptions.py.
> 
> 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.
> 
> Greg, is there anything in exceptions.py Python2C couldn't handle?

Nah, shouldn't have any problem at all. P2C will even create true class
objects and expose them in the interface.

I think a person might want to consider hand-tuning the output, though
:-)

Cheers,
-g

--
Greg Stein, http://www.lyra.org/