Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Lazarus
Class
Lazarus
Lib/test/test_gc.py:648–650 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
646
647
storage = []
648
class
Lazarus:
649
def
__del__(self):
650
storage.append(self)
651
652
lazarus = Lazarus()
653
self.assertFalse(gc.is_finalized(lazarus))
Callers
3
test_is_finalized
Method · 0.85
test_resurrection_only_happens_once_per_object
Method · 0.85
test_resurrection_is_transitive
Method · 0.85
Calls
no outgoing calls
Tested by
3
test_is_finalized
Method · 0.68
test_resurrection_only_happens_once_per_object
Method · 0.68
test_resurrection_is_transitive
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…