GH-138355: Remove trash_delete_later and trash_delete_nesting from _gc_runtime_state#138767
Conversation
|
They are internal fields. |
|
🤖 New build scheduled with the buildbot fleet by @sobolevn for commit dff746f 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F138767%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
|
It seems OK for all buildbots. |
| unsigned long native_thread_id; | ||
|
|
||
| /* List of objects that still need to be cleaned up, singly linked | ||
| * via their gc headers' gc_next pointers. */ |
There was a problem hiding this comment.
You may mention _PyTrash_thread_deposit_object().
|
Merged, thank you. |
|
|
|
Thanks all! |
Both fields are not used anymore. Instead, trashcan mechanism uses
tstate->delete_later.trash_delete_laterandtrash_delete_nestingfields in_gc_runtime_state#138355