[issue39322] Add gc.is_finalized to check if an object has been finalised by the gc

2020-01-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b6791375b2ff86ea07f068fb53d9575c337eaa5b by Pablo Galindo in branch 'master': bpo-39322: Add gc.is_finalized to the gc module docstring (GH-18000) https://github.com/python/cpython/commit/b6791375b2ff86ea07f068fb53d9575c337eaa5b ---

[issue39322] Add gc.is_finalized to check if an object has been finalised by the gc

2020-01-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +17404 pull_request: https://github.com/python/cpython/pull/18000 ___ Python tracker ___ ___

[issue39322] Add gc.is_finalized to check if an object has been finalised by the gc

2020-01-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39322] Add gc.is_finalized to check if an object has been finalised by the gc

2020-01-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a2ec3f07f7f028ff6229d6be2a7cfbda1f4efaeb by Pablo Galindo in branch 'master': bpo-39322: Add gc.is_finalized to check if an object has been finalised by the gc (GH-17989) https://github.com/python/cpython/commit/a2ec3f07f7f028ff6229d6be2

[issue39322] Add gc.is_finalized to check if an object has been finalised by the gc

2020-01-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +17392 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17989 ___ Python tracker __

[issue39322] Add gc.is_finalized to check if an object has been finalised by the gc

2020-01-13 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : 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 mi