[Pythonmac-SIG] sys.exit() and Python IDE

Just van Rossum just@letterror.com
Sun, 22 Jul 2001 11:26:04 +0200


Dean Draayer wrote:

> Should something like this be done? 

Your proposal soulds reasonable. If you look at PyEdit.py: KeyboardInterrupt
errors are already silenced in much the same way.

> Or do people WANT to get the 
> traceback when sys.exit() is encountered in the IDE?

I guess the reason I've never fixed this is because I *never* use sys.exit() or
raise SystemExit: I simply consider it bad style...

Just