diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-12 21:58:39 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-12 21:58:39 +0200 |
commit | 093c8e4bf053dfe5a9b46945cca2113e80809dfc (patch) | |
tree | 10b0b6f5406dc6f603a74444191d5b4504ebb57b /Python/Python-ast.c | |
parent | 126edb56074371c1751f19770854b2fdf3dd4706 (diff) | |
parent | 84f1b1718da7fcbb8b8d255c166ef1ec0e03cd21 (diff) | |
download | cpython-git-093c8e4bf053dfe5a9b46945cca2113e80809dfc.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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions