[Python-checkins] bpo-39378: partial of PickleState struct should be traversed. (GH-18046)
Miss Islington (bot)
webhook-mailer at python.org
Mon Mar 2 01:47:03 EST 2020
https://github.com/python/cpython/commit/d3c24350892b55b4ea6fb81b84e577968c1f2f91
commit: d3c24350892b55b4ea6fb81b84e577968c1f2f91
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-03-01T22:46:59-08:00
summary:
bpo-39378: partial of PickleState struct should be traversed. (GH-18046)
(cherry picked from commit 1f577ce363121d590b51abf5c41d1bcf3d751436)
Co-authored-by: Hai Shi <shihai1992 at gmail.com>
files:
M Modules/_pickle.c
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index dd45772595bc9..ef83da02e2e41 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -7436,6 +7436,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;
}
More information about the Python-checkins
mailing list