Message685

Author trondandersen
Recipients
Date 2007-02-11.00:40:00
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This code exists in PyObject:

} catch (PyException e) {
    if (e.value instanceof PyJavaInstance) {
        Object t = e.value.__tojava__(Throwable.class);
        if (t != null && t != Py.NoConversion) {
            throw (Throwable) t;
        }
    } else {
        ThreadState ts = Py.getThreadState();
    if (ts.frame == null) {
        Py.maybeSystemExit(e);
    }
    if (Options.showPythonProxyExceptions) {
        Py.stderr.println(
             "Exception in Python proxy returning to Java:");
        Py.printException(e);
    }
}

This calls the maybeSystemExit() method which probably is a bad thing for the PyObject class given that so many classes inherit from this class. Could this be related to this bug?
History
Date User Action Args
2008-02-20 17:17:07adminlinkissue580170 messages
2008-02-20 17:17:07admincreate