]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-25750: fix refcounts in type_getattro() (GH-6118)
authorjdemeyer <jdemeyer@cage.ugent.be>
Fri, 7 Sep 2018 07:37:00 +0000 (09:37 +0200)
committerVictor Stinner <vstinner@redhat.com>
Fri, 7 Sep 2018 07:37:00 +0000 (09:37 +0200)
commit8f735485acf2e35a75d2fa019feb8f905598c4e5
tree5c83af13e9684ef31260e332158ab5408cdbef02
parent593bb30e82eded7f2ec02f7d1aa49742e6962113
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".
Misc/NEWS.d/next/Core and Builtins/2018-03-14-21-42-17.bpo-25750.lxgkQz.rst [new file with mode: 0644]
Objects/typeobject.c