Is it safe to call print in a Python signal handler? | Dark Hacker News