Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ Lazarus
Class
Lazarus
Lib/test/test_gc.py:652–654 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
650
651
storage = []
652
class
Lazarus:
653
def
__del__(self):
654
storage.append(self)
655
656
lazarus = Lazarus()
657
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