New submission from Jean Brouwers: Python 3.0a1 on Linux and MacOS X 10.4.10 exits differently than Python 2.4 and 2.5.
With previous Python binaries the destructor** function of any pre- loaded shared library is called prior to exit. With Python 3.0a1 it is not, neither when exiting Python from the command line with Ctrl-D nor when using exit(). A workaround is to install a SIGABRT signal handler from the library and exit Python with os.abort(). Python 3.0a1 was built from source using the standard build sequence without any ./configure options except --prefix. --- **) defined with GNU __attribute__((destructor)). The shared library is loaded through environment variable LD_PRELOAD on Linux and DYLD_INSERT_LIBRARIES on MacOS X. ---------- components: Interpreter Core messages: 56761 nosy: MrJean1 severity: normal status: open title: Different 3.0a1 exit behavior versions: Python 3.0 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1329> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com