Skip to content
Snippets Groups Projects
Forked from Social Cognitive Systems / ipaaca
137 commits behind the upstream repository.
Ramin Yaghoubzadeh's avatar
Ramin Yaghoubzadeh Torky authored
It will call the teardown stuff then os._exit(...). Later, when the
backends are fixed, we could simply alias it to sys.exit again.

Usage:
 - use ipaaca.exit() at the end of every python script
 - do not forget to catch errors as well as KeyboardInterrupt and
   SystemExit (or their default handlers will hang at exit time, too)
 - you can call ipaaca.exit with ant int argument (like sys.exit etc.)
fad0742b
History