sys.exit() and SystemExit #99

Open
pyjsorg opened this Issue Apr 27, 2012 · 0 comments

Projects

None yet

1 participant

Contributor
pyjsorg commented Apr 27, 2012

sys.exit() should raise SystemExit exception, which should allow to terminate pyjs execution.

http://docs.python.org/library/exceptions.html#exceptions.SystemExit

Tricky issue - this exception should be caught at top-level, since it should NOT be interpreted as error by environment (browser, pyv8, etc)

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=624 (June 27, 2011 11:51:39)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment