Skip to content

Commit d3c2435

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 7c64726 commit d3c2435

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
@@ -7436,6 +7436,7 @@ pickle_traverse(PyObject *m, visitproc visit, void *arg)
74367436
Py_VISIT(st->import_mapping_3to2);
74377437
Py_VISIT(st->codecs_encode);
74387438
Py_VISIT(st->getattr);
7439+
Py_VISIT(st->partial);
74397440
return 0;
74407441
}
74417442

0 commit comments

Comments
 (0)