2 ms·
I think the point was that Python has no general tools to resource management, even if it provided ad-hoc access to the filesystem and threads.
by nerdponx 7y ago
I think the point was that Python has no general tools to resource management, even if it provided ad-hoc access to the filesystem and threads.
- jhayward 7y agoI would claim that Python's context protocol [1] is exactly a general tool for resource management. [1] https://docs.python.org/3/reference/datamodel.html#with-statement-context-managers https://docs.python.org/3/reference/datamodel.html#with-stat...