Skip to content

Commit 5f2ade2

Browse files
bpo-39378: partial of PickleState struct should be traversed. (GH-18046)
(cherry picked from commit 1f577ce) Co-authored-by: Hai Shi <[email protected]>
1 parent 12b7143 commit 5f2ade2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_pickle.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7961,6 +7961,7 @@ pickle_traverse(PyObject *m, visitproc visit, void *arg)
79617961
Py_VISIT(st->import_mapping_3to2);
79627962
Py_VISIT(st->codecs_encode);
79637963
Py_VISIT(st->getattr);
7964+
Py_VISIT(st->partial);
79647965
return 0;
79657966
}
79667967

0 commit comments

Comments
 (0)