diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-12 22:04:20 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-12 22:04:20 +0200 |
commit | 1616645a0032b45c935ec6bdbb1d46b3febf0827 (patch) | |
tree | 402f294b56e32dbc6066a176d5f609a18bc125dc /Python/formatter_string.c | |
parent | 0504532c39ffdf6cb8e4b7b283da60027473a4a5 (diff) | |
download | cpython-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/formatter_string.c')
0 files changed, 0 insertions, 0 deletions