extremely vague Python debug question Show more
I understand this is super vague, but if I have a Python script that I want to run 24/7, but every so often it just stops working (but doesn't error out)...
anything I should check that I might not have thought of?
@schlink check where it's stuck by sending it a SIGINT, which translates to a KeyboardInterrupt exception that will give you a backtrace
And when you have time, consider rewriting it in Rust 😃
@schlink (don't get me wrong, Python is a very nice language for a lot of things, but maybe not for writing robust, reliable software that you want running 24/7)
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!