[Python-Dev] sys.exit and PYTHONINSPECT

Kevin Altis altis@semi-retired.com
Fri, 17 Jan 2003 11:35:36 -0800


> From: Guido van Rossum
>
> > So should the sys.exit behavior with the -i command-line option be
> > considered a bug or a feature? ;-) I'm happy to enter a report
> to get the
> > behavior changed if possible.
>
> I'd like a patch.

I've been grepping the .py sources and haven't found where an unhandled
SystemExit exception is dealt with that relates to this issue. I'm guessing
that is the place that needs the change, but if the change is in C source
I'm not your man. Plus I know nothing of the Python internals. I'll enter a
bug report if nobody else steps up to the plate.

ka