summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-07 08:15:31 (GMT)
committerGitHub <noreply@github.com>2018-09-07 08:15:31 (GMT)
commitbf2bd8f8a1d88de60c114de957f50fe2433e3937 (patch)
treedc873ddf65e8e83967d8634378abcdea139b8e6a /Python/pythonrun.c
parent9734024ec65311e33936faa83fb1cb249ef0de9d (diff)
downloadcpython-bf2bd8f8a1d88de60c114de957f50fe2433e3937.zip
cpython-bf2bd8f8a1d88de60c114de957f50fe2433e3937.tar.gz
cpython-bf2bd8f8a1d88de60c114de957f50fe2433e3937.tar.bz2
bpo-25750: fix refcounts in type_getattro() (GH-6118) (GH-9091)
When calling tp_descr_get(self, obj, type), make sure that we own a strong reference to "self". (cherry picked from commit 8f735485acf2e35a75d2fa019feb8f905598c4e5)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions