News for hackers. Stuff that matters.
Re:Python 3.11: “Zero cost” exception handling by jamincan on Wednesday October 06, 2021 @11:42AM (#28774485)
Doesn't Python pretty much guarantee that since it's single-threaded?
Re:Python 3.11: “Zero cost” exception handling by detaro on Wednesday October 06, 2021 @12:13PM (#28774852)
No, you can have multiple threads in a python app. And while it promises to keep many things atomic, code like that can be interrupted between each line at minium.