Issue1450919
Created on 2006-03-16.03:40:17 by anonymous, last changed 2006-04-05.08:41:15 by aehrenfels.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2006-03-16 03:40:17 | anonymous | create | |
Created on 2006-03-16.03:40:17 by anonymous, last changed 2006-04-05.08:41:15 by aehrenfels.
| Messages | |||
|---|---|---|---|
| msg1113 (view) | Author: Nobody/Anonymous (nobody) | Date: 2006-03-16.03:40:17 | |
Using jython 2.2a1 sys.exit() raise an error. It works before using 2.1a3. Now using jython 2.2a1, I got the error below: sys.exit(1) Traceback (innermost last): File "<input>", line 1, in ? SystemExit: 1 |
|||
| msg1114 (view) | Author: Armin Ehrenfels (aehrenfels) | Date: 2006-04-05.08:41:15 | |
Logged In: YES
user_id=889629
This is not a bug, but expected behaviour. Excerpt from the
CPython docs:
"exception SystemExit
This exception is raised by the sys.exit() function.
When it is not handled, the Python interpreter exits; no
stack traceback is printed. If the associated value is a
plain integer, it specifies the system exit status (passed
to C's exit() function); if it is None, the exit status is
zero; if it has another type (such as a string), the
object's value is printed and the exit status is one."
|
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2006-03-16 03:40:17 | anonymous | create | |
Supported by Python Software Foundation,
Powered by Roundup