News for hackers. Stuff that matters.
Re:Is it safe to call print in a Python signal handler? by IgorPartola on Saturday August 29, 2026 @09:33PM (#49494869)
What’s really fun is mixing signal handling and threads, especially on Linux. There is a simple way to do it and about a thousand ways that include at least one gotcha.
Re:Is it safe to call print in a Python signal handler? by zbentley on Sunday August 30, 2026 @12:11AM (#49495624)
What’s the simple way? Self-pipe?