summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-11-11 13:27:32 (GMT)
committerGitHub <noreply@github.com>2020-11-11 13:27:32 (GMT)
commitba2958ed40d284228836735cbed4a155190e0998 (patch)
tree8266560eea9bd2d980e9f19196703d0dfcfb8513 /Lib/imaplib.py
parentf9a8386e44a695551a1e54e709969e90e9b96bc4 (diff)
downloadcpython-ba2958ed40d284228836735cbed4a155190e0998.zip
cpython-ba2958ed40d284228836735cbed4a155190e0998.tar.gz
cpython-ba2958ed40d284228836735cbed4a155190e0998.tar.bz2
bpo-40170: Fix PyType_Ready() refleak on static type (GH-23236)
bpo-1635741, bpo-40170: When called on a static type with NULL tp_base, PyType_Ready() no longer increments the reference count of the PyBaseObject_Type ("object). PyTypeObject.tp_base is a strong reference on a heap type, but it is borrowed reference on a static type. Fix 99 reference leaks at Python exit (showrefcount 18623 => 18524).
Diffstat (limited to 'Lib/imaplib.py')
0 files changed, 0 insertions, 0 deletions