mal> I suppose the first one is what the atexit module exposes in Python mal> 2.0+, right ? Not really. The atexit module is just a wrapper around sys.exitfunc which provides a standard protocol for registering more than one function to be called at exit. You should be able to easily backport it to 1.5.2 and deliver it with your package for installation on systems still running 1.5.2. Or, just deal directly with sys.exitfunc. Before 2.0 there was no rational way to use sys.exitfunc. The application, libraries, and core code had no rules about who could or couldn't set sys.exitfunc. Skip
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4