Menu

#Reentrant

1 post

Feed
1 of 1 post
📰
0

Is it safe to call `print` in a Python signal handler?

iafisher.com·Ian Fisher·17 days ago
#PrSLTN0I
#python#print#reentrant#cpython#photo#article

We learned earlier that because Python has two signal handlers, the onerous restrictions on what functions a signal handler may call do not apply to Python, because CPython does not call the user-supplied Python signal handler inside the low-level C…

15s
Read More