Skip to content

__del__ beside the __dealloc__ #3612

Description

@brightening-eyes

python3 uses del for uninitialization of classes, it would be good to have this as well, it can help to uninitialize python variables, while in dealloc we can uninitialize c variables.
this is useful for example when we are using a module that uses ctypes, or is dependent on some python initialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions