You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warn that gc.get_objects() can expose objects under construction #159730
The gc.get_objects() documentation does not mention that references created via the function may be partially initialized or allow access to uniquely referenced objects that are not observable by remote threads in any other way.
I'd like like to add a warning like the existing warning in the gc.get_referrers() docs.
Activity
gh-159730: Warn that gc.get_objects() can expose objects under constr…
[3.14] gh-159730: Warn that gc.get_objects() can expose objects under…
[3.15] gh-159730: Warn that gc.get_objects() can expose objects under…