Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ do_work
Method
do_work
Lib/test/test_gc.py:710–715 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
708
self.attr = None
709
710
def
do_work():
711
a = A()
712
b = B(A())
713
714
a.attr = b
715
b.attr = a
716
717
do_work()
718
gc.collect()
# this blows up (bad C pointer) when it fails
Callers
nothing calls this directly
Calls
2
A
Class · 0.70
B
Class · 0.70
Tested by
no test coverage detected