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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee='https://github.com/pablogsal'closed_at=<Date2020-01-14.12:07:15.641>created_at=<Date2020-01-13.15:17:08.618>labels= ['interpreter-core', 'type-feature', '3.9']
title='Add gc.is_finalized to check if an object has been finalised by the gc'updated_at=<Date2020-01-14.17:38:22.557>user='https://github.com/pablogsal'
Right now is not possible to check from the Python layer if an object with gc support has been already finalized by the GC (but has been resurrected). When implementing some callbacks for the gc in order to add advanced statistics, I have greatly missed a function like this to check if a certain object has been resurrected / the finalizer has been called.