summaryrefslogtreecommitdiff
path: root/Python/dynload_next.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-07-12 22:04:20 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2011-07-12 22:04:20 +0200
commit1616645a0032b45c935ec6bdbb1d46b3febf0827 (patch)
tree402f294b56e32dbc6066a176d5f609a18bc125dc /Python/dynload_next.c
parent0504532c39ffdf6cb8e4b7b283da60027473a4a5 (diff)
downloadcpython-git-1616645a0032b45c935ec6bdbb1d46b3febf0827.tar.gz
Issue #12149: Update the method cache after a type's dictionnary gets
cleared by the garbage collector. This fixes a segfault when an instance and its type get caught in a reference cycle, and the instance's deallocator calls one of the methods on the type (e.g. when subclassing IOBase). Diagnosis and patch by Davide Rizzo.
Diffstat (limited to 'Python/dynload_next.c')
0 files changed, 0 insertions, 0 deletions