Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f660ec3 commit 654b8d9Copy full SHA for 654b8d9
1 file changed
Python/gc.c
@@ -882,7 +882,7 @@ move_legacy_finalizer_reachable(PyGC_Head *finalizers)
882
* to invalidate caches (e.g. by PyType_Modified), that clearing has created
883
* a bug. If the weakref to the subclass is cleared before a finalizer is
884
* called, the cache may not be correctly invalidated. That can lead to
885
- * segfaults since the caches can refer to deallocated objects (GH-91636
+ * segfaults since the caches can refer to deallocated objects (GH-135552
886
* is an example). Now, we delay the clear of weakrefs without callbacks
887
* until *after* finalizers have been executed. That means weakrefs without
888
* callbacks are still usable while finalizers are being executed.
0 commit comments