uninstall()
Stop guarding imports.
Usage
uninstall()This removes gilguard’s import hook and restores warnings.showwarning. Later imports can turn the GIL on without a report. Call install() to start guarding again.
Examples
import gilguard
gilguard.uninstall()
import legacy_thing # unguarded: if this flips the GIL, nothing is reported
gilguard.install()