[
https://issues.apache.org/jira/browse/PYLUCENE-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lee Skillen updated PYLUCENE-30:
Attachment: jccthrutest.tgz
Separate test simulation of the through-layer exception problem (not really
needed now that a test case was added to the patch, but might still be useful
since it doesn't require pylucene building).
JCC: Through-Layer Python Exception Support
---
Key: PYLUCENE-30
URL: https://issues.apache.org/jira/browse/PYLUCENE-30
Project: PyLucene
Issue Type: Improvement
Environment: Linux 3.11.0-19-generic #33-Ubuntu SMP x86_64 GNU/Linux
JCC version 2.20 (svn trunk)
Reporter: Lee Skillen
Labels: exception, jcc, python
Attachments: feature-thru-exception-3.patch, jccthrutest.tgz
Add the capability to throw and re-capture the original Python exception when
thrown from the PythonVM layer (e.g. in an extension), passed through the
JavaVM, and re-caught within the host PythonVM. Informally entitled as
through-layer python exception support.
Work between myself and Andi Vajda has been conducted to add support for
this, with the original patch being submitted on the mailing list on Friday,
4th July 2014 - The latest patch which incorporates suggested code by Andi
was posted to the list on Thursday, 10th July (this patch will also be
attached to this issue).
See: JCC Project Extensions email thread on the mailing list for more details.
--
This message was sent by Atlassian JIRA
(v6.2#6252)