diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-07 07:57:45 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2018-09-07 07:57:45 (GMT) |
commit | 3ee07432f2e607cc6e7e6ea2d3695b672ceb1cea (patch) | |
tree | 0bd1a4dfc04054bacba67708fde1263a7a37c9a1 /Python/future.c | |
parent | 1a3eb125dc07a28a5af62446778ed7cca95ed3da (diff) | |
download | cpython-3ee07432f2e607cc6e7e6ea2d3695b672ceb1cea.zip cpython-3ee07432f2e607cc6e7e6ea2d3695b672ceb1cea.tar.gz cpython-3ee07432f2e607cc6e7e6ea2d3695b672ceb1cea.tar.bz2 |
bpo-25750: fix refcounts in type_getattro() (GH-6118) (GH-9088)
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 'Python/future.c')
0 files changed, 0 insertions, 0 deletions