Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ foo
Function
foo
src/15/diagnosing_segmentation_faults/example.py:4–6 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
import
sample
3
4
def
foo():
5
print(
'About to die'
)
6
sample.die()
7
8
def
bar():
9
print(
'About to call the function that dies'
)
Callers
1
bar
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected