summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-07 07:50:35 (GMT)
committerGitHub <noreply@github.com>2018-09-07 07:50:35 (GMT)
commitf862f3abaed59b83763707ae529f0fe487961ba9 (patch)
treec07880917084809afff2099595c4d05b7a696f01 /Lib/enum.py
parent2d3f2dc9f8376415a31a6de260ccbe6a86f2816d (diff)
downloadcpython-f862f3abaed59b83763707ae529f0fe487961ba9.zip
cpython-f862f3abaed59b83763707ae529f0fe487961ba9.tar.gz
cpython-f862f3abaed59b83763707ae529f0fe487961ba9.tar.bz2
bpo-25750: fix refcounts in type_getattro() (GH-6118)
When calling tp_descr_get(self, obj, type), make sure that we own a strong reference to "self". (cherry picked from commit 8f735485acf2e35a75d2fa019feb8f905598c4e5) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be>
Diffstat (limited to 'Lib/enum.py')
0 files changed, 0 insertions, 0 deletions