PyCtxtHandle.Detach

long = Detach()

Disassociates object from handle and returns integer value of handle

Comments

Use when the security context needs to persist beyond the lifetime of the Python object