2 ms·
I don't know about all of those, but Python's context managers and built in constructs handle most of those, I think?
by robertlagrant 3y ago
I don't know about all of those, but Python's context managers and built in constructs handle most of those, I think?
- Too 3y agoOnly in the most basic cases. If your handle has to be passed into another function or outlive the current scope of your function, the guardrails end.