Author r.david.murray
Recipients plynch76, r.david.murray
Date 2012-04-16.13:30:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334583006.05.0.521688586738.issue14597@psf.upfronthosting.co.za>
In-reply-to
Content
In general it is difficult to impossible to get Python2 to unload modules before the interpreter shuts down.  See issue 9072.  I'm not savvy enough with the C stuff to know if the fact that you loaded it via ctypes changes anything, but I doubt it.

Note that the implication of that issue is that if you could move to Python3 there might be a way to do it, but that would indeed be an enhancement as there is no direct support for it yet.
History
Date User Action Args
2012-04-16 13:30:06r.david.murraysetrecipients: + r.david.murray, plynch76
2012-04-16 13:30:06r.david.murraysetmessageid: <1334583006.05.0.521688586738.issue14597@psf.upfronthosting.co.za>
2012-04-16 13:30:05r.david.murraylinkissue14597 messages
2012-04-16 13:30:05r.david.murraycreate