Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-772

Close handle cleanup in Python API

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.1.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Similar to WT-485, use the handle close callback to deal with open handles in Python.

      Our Python interface already deals with this well:

         c.close()
         c.next()
      

      But this will crash python hard:

        cursor = session.open_cursor(...)
        session.close()
        c.next()
      

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: