bpo-39378: partial of PickleState struct should be traversed. (GH-18046)

This commit is contained in:
Hai Shi 2020-03-02 14:28:44 +08:00 committed by GitHub
parent 114081f8ad
commit 1f577ce363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -7965,6 +7965,7 @@ pickle_traverse(PyObject *m, visitproc visit, void *arg)
Py_VISIT(st->import_mapping_3to2);
Py_VISIT(st->codecs_encode);
Py_VISIT(st->getattr);
Py_VISIT(st->partial);
return 0;
}