Skip to content
  • Benjamin Berg's avatar
    hashtable: Fix refcount of key/value in error case when marshalling · bab52da8
    Benjamin Berg authored
    PyList_GET_ITEM only returns a borrowed reference. In the unlikely event
    of an error converting the key or value, the reference would be
    unintentionally decremented. This could cause random failures later on
    (and was indeed causing the PyPy test to fail randomly later on).
    bab52da8