From: Colin Evans <report@bu...> - 2009-04-07 23:48:13
New submission from Colin Evans <colinhevans@...>:
Calling sys.exit() in a thread spawned through the thread module causes
the thread to exit, but doesn't cause the interpreter to exit.
The problem appears to be in org.python.core.FunctionThread - the
Py.SystemExit exception is caught and identified here, but nothing is
done. Perhaps it should call java.lang.System.exit() with the
appropriate exit code? Maybe it should call the Python atexit functions
title: Calling sys.exit() in a spawned thread fails to exit.
Jython tracker <report@...>
Get latest updates about Open Source Projects, Conferences and News.