This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MrJean1
Recipients MrJean1
Date 2007-10-25.23:07:47
SpamBayes Score 0.00014491238
Marked as misclassified No
Message-id <1193353667.97.0.10282198755.issue1329@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2007-10-25 23:07:48MrJean1setspambayes_score: 0.000144912 -> 0.00014491238
recipients: + MrJean1
2007-10-25 23:07:48MrJean1setspambayes_score: 0.000144912 -> 0.000144912
messageid: <1193353667.97.0.10282198755.issue1329@psf.upfronthosting.co.za>
2007-10-25 23:07:47MrJean1linkissue1329 messages
2007-10-25 23:07:47MrJean1create