From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 2 Mar 2020 06:47:23 +0000 (-0800) Subject: bpo-39378: partial of PickleState struct should be traversed. (GH-18046) X-Git-Tag: v3.8.3rc1~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f2ade20a556f8c20555c7032436477d6dc86d4f;p=thirdparty%2FPython%2Fcpython.git bpo-39378: partial of PickleState struct should be traversed. (GH-18046) (cherry picked from commit 1f577ce363121d590b51abf5c41d1bcf3d751436) Co-authored-by: Hai Shi --- diff --git a/Modules/_pickle.c b/Modules/_pickle.c index 55e2734ca2f3..55affb2c7c47 100644 --- a/Modules/_pickle.c +++ b/Modules/_pickle.c @@ -7961,6 +7961,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; }