Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09415ff commit 359bd4fCopy full SHA for 359bd4f
2 files changed
Misc/NEWS.d/next/Core and Builtins/2018-12-08-03-40-43.bpo-18372.DT1nR0.rst
@@ -0,0 +1,2 @@
1
+Add missing :c:func:`PyObject_GC_Track` calls in the :mod:`pickle` module.
2
+Patch by Zackery Spytz.
Modules/_pickle.c
@@ -1119,6 +1119,8 @@ _Pickler_New(void)
1119
Py_DECREF(self);
1120
return NULL;
1121
}
1122
+
1123
+ PyObject_GC_Track(self);
1124
return self;
1125
1126
@@ -1496,6 +1498,7 @@ _Unpickler_New(void)
1496
1498
1497
1499
1500
1501
1502
1503
1504
0 commit comments