Hello,
nice project, I would like to understand this line from docs if you could please clear it up
RAII approach without context managers
It is clear what RAII in rust does, because the object has a clear point where it is no longer valid.
But in python, there is not such notion I think, the only place where you can safely free the resources is during garbage collection,
which is not deterministic. Do you mean that the resources are freed when the object is collected?
Thank you!
Hello,
nice project, I would like to understand this line from docs if you could please clear it up
It is clear what RAII in rust does, because the object has a clear point where it is no longer valid.
But in python, there is not such notion I think, the only place where you can safely free the resources is during garbage collection,
which is not deterministic. Do you mean that the resources are freed when the object is collected?
Thank you!