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 loewis
Recipients janssen, loewis, ssoria
Date 2010-01-11.00:10:52
SpamBayes Score 0.0005093273
Marked as misclassified No
Message-id <1263168654.75.0.526466813286.issue7672@psf.upfronthosting.co.za>
In-reply-to
Content
So how do you do cleanup on Linux, or on OSX, in a shared library?

I'd claim that the bug is in your application. It shouldn't unload a DLL that is still in use (by having a function pointer into it stored globally).

Testing for a prior pointer value may fix it for you. It won't fix it in the general case, i.e. when you unload the ssl module and *didn't* install your own callbacks, OpenSSl would still call Python's callback.
History
Date User Action Args
2010-01-11 00:10:54loewissetrecipients: + loewis, janssen, ssoria
2010-01-11 00:10:54loewissetmessageid: <1263168654.75.0.526466813286.issue7672@psf.upfronthosting.co.za>
2010-01-11 00:10:52loewislinkissue7672 messages
2010-01-11 00:10:52loewiscreate