mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
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.
This commit is contained in:
commit
093c8e4bf0
4 changed files with 27 additions and 1 deletions
|
|
@ -785,6 +785,7 @@ Armin Rigo
|
|||
Nicholas Riley
|
||||
Jean-Claude Rimbault
|
||||
Juan M. Bello Rivas
|
||||
Davide Rizzo
|
||||
Anthony Roach
|
||||
Mark Roberts
|
||||
Jim Robinson
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue