summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-11 22:56:25 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-07-11 22:56:25 +0200
commitf021a3e723a08a8259e980a2c44c4f4df265149a (patch)
treeaacfce3c61df89e2f4c0b8ae23af0b6ac72de51f /Python/errors.c
parent7826e75fb04035cdc04b9efe952ee3d92d4e69ca (diff)
downloadcpython-f021a3e723a08a8259e980a2c44c4f4df265149a.tar.gz
Issue #18408: Fix _Pickler_New() and _Unpickler_New(): initialize all
attributes before handling errors _Pickler_New() now calls PyObject_GC_Del() instead of Py_DECREF() on error, because the pickle object is created using PyObject_GC_New(). Fix a crash in the destructor when an attribute is not initiallized.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions