Skip to content

Question: "RAII approach without context managers" => free on finalization? #5

@vladidobro

Description

@vladidobro

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions