SIGN IN SIGN UP

gh-81057: Add PyInterpreterState.static_objects (gh-99397)

As we consolidate global variables, we find some objects that are almost suitable to add to _PyRuntimeState.global_objects, but have some small/sneaky bit of per-interpreter state (e.g. a weakref list). We're adding PyInterpreterState.static_objects so we can move such objects there. (We'll removed the _not_used field once we've added others.)

https://github.com/python/cpython/issues/81057
E
Eric Snow committed
f531b6879b530515b009ac79767702829848cf07
Parent: dd36b71
Committed by GitHub <noreply@github.com> on 11/11/2022, 9:24:18 PM