New submission from Pablo Galindo Salgado <pablog...@gmail.com>:

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.

----------
assignee: pablogsal
components: Interpreter Core
messages: 359914
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Add gc.is_finalized to check if an object has been finalised by the gc
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39322>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to