This API is provided by the Python stdlib, and can be used to help protect sensitive internal Python library states against misuse/memory attacks by other Python libraries.
TODO: Declare the public and private API, and enforce proper API usage via callstack inspection (for private functions or attributes, check that the calling frame is in the same module).
This API is provided by the Python stdlib, and can be used to help protect sensitive internal Python library states against misuse/memory attacks by other Python libraries.
TODO: Declare the public and private API, and enforce proper API usage via callstack inspection (for private functions or attributes, check that the calling frame is in the same module).