News for hackers. Stuff that matters.
Re:What's New in Python 3.11? by papito on Monday June 27, 2022 @11:29AM (#31895951)
That should be cleanly handled in a language like Python and others, where the context managers clean up the resources when exiting a scope, normally or after an exception.

It's like stack unwinding is a new concept or something.

Re:What's New in Python 3.11? by robertlagrant on Monday July 04, 2022 @04:36AM (#31974863)
You're missing the point. The OS resources might clean up, but that doesn't mean the application's world (some of which may be a file on a server on another continent) has been left in a known good state.