Uploaded image for project: 'PyLucene'
  1. PyLucene
  2. PYLUCENE-30

JCC: Through-Layer Python Exception Support

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Linux 3.11.0-19-generic #33-Ubuntu SMP x86_64 GNU/Linux
      JCC version 2.20 (svn trunk)

    Description

      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.

      Attachments

        1. feature-thru-exception-3.patch
          12 kB
          Lee Skillen
        2. jccthrutest.tgz
          5 kB
          Lee Skillen

        Activity

          People

            Unassigned Unassigned
            lskillen Lee Skillen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: