mirror of
https://github.com/python/cpython.git
synced 2026-05-08 21:50:40 -04:00
84f1b1718d
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.