Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ run
Method
run
Lib/test/test_interpreters/utils.py:608–614 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
606
""
")
607
failed = None
608
def
run():
609
nonlocal failed
610
try
:
611
run_interp(script)
612
except
Exception
as
exc:
613
failed = exc
614
close()
615
t = threading.Thread(target=run)
616
t.start()
617
Callers
1
run_python
Method · 0.45
Calls
2
run_interp
Function · 0.85
close
Function · 0.50
Tested by
no test coverage detected