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 4c72918 commit db4061cCopy full SHA for db4061c
2 files changed
Misc/NEWS
@@ -25,6 +25,8 @@ Library
25
26
- Issue #24362: Simplify the C OrderedDict fast nodes resize logic.
27
28
+- Issue #24377: Fix a ref leak in OrderedDict.__repr__.
29
+
30
31
What's New in Python 3.5.0 beta 2?
32
==================================
Objects/odictobject.c
@@ -1578,7 +1578,7 @@ odict_repr(PyODictObject *self)
1578
if (value == NULL) {
1579
if (!PyErr_Occurred())
1580
PyErr_SetObject(PyExc_KeyError, key);
1581
- return NULL;
+ goto Done;
1582
}
1583
pair = PyTuple_Pack(2, key, value);
1584
if (pair == NULL)
0 commit comments