[Python-checkins] r51755 - python/branches/bcannon-objcap/securing_python.txt

Nick Coghlan ncoghlan at gmail.com
Wed Sep 6 10:17:01 CEST 2006


brett.cannon wrote:
> +    - exit() (XXX verify if it kills the interpreter or the process;
> +      should also check raising SystemExit)

exit() just raises SystemExit. An unhandled SystemExit then causes the
interpreter to call the C-level abort().

(This is why the -i switch doesn't work when the program uses sys.exit() to
terminate itself)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-checkins mailing list