Using a closed {Cursor,Session,Connection} handle in Python

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • WT2.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      will not crash the VM on use. ref WT-485

      Uses the event callback for close to give notification on close
      of a handle. For explicit calls to close(), we set the SWIG 'this'
      attribute on the containing object to None.

      On uses of a handle as an input argument, we check to see if it is
      None, or if its 'this' attribute is None, and issue the
      appropriate exception.

      Includes a set of test cases that parallel Java test cases for the same.

              Assignee:
              Donald Anderson
              Reporter:
              Michael Cahill (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: