diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-02-22 13:34:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 13:34:06 (GMT) |
commit | 0c1827e70c1c05ce1982a34380cea7d391904293 (patch) | |
tree | e253ef69b53e82c3838142390fcaf054dff0fc8e /Python/initconfig.c | |
parent | d6965ff026f35498e554bc964ef2be8f4d80eb7f (diff) | |
download | cpython-0c1827e70c1c05ce1982a34380cea7d391904293.zip cpython-0c1827e70c1c05ce1982a34380cea7d391904293.tar.gz cpython-0c1827e70c1c05ce1982a34380cea7d391904293.tar.bz2 |
bpo-39382: Avoid dangling object use in abstract_issubclass() (GH-18530)
Hold reference of __bases__ tuple until tuple item is done with, because by
dropping the reference the item may be destroyed.
(cherry picked from commit 1c56f8ffad44478b4214a2bf8eb7cf51c28a347a)
Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com>
Diffstat (limited to 'Python/initconfig.c')
0 files changed, 0 insertions, 0 deletions