I think sys.exit() is implemented as throwing a "SystemExit" exception:
http://www.python.org/doc/current/lib/module-sys.html

On 8/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Traceback (most recent call last):
  File "C:\Program Files\Python\pygame_test.pyw", line 15, in -toplevel-
    sys.exit()
SystemExit

looks like maybe IDLE has a top level exception handler that is
catching the SystemExit, and printing a traceback, rather than just
exiting cleanly... I'm not sure why it would do that though... (can
you see what the IDLE source is doing?)

you are calling sys.exit() with no parameters right?

Reply via email to