[Python-Dev] Unload a module written in C
"Martin v. Löwis"
martin at v.loewis.de
Fri Mar 25 21:11:03 CET 2011
Am 25.03.2011 10:24, schrieb Stefan Behnel:
> "Martin v. Löwis", 25.03.2011 07:59:
>>> Is there a bug somewhere, or do I misunderstood something important?
>>
>> Module unloading is simply not implemented, and would be very difficult
>> to implement.
>
> Are you saying that because objects instantiated from a module do not
> normally keep a reference to it to keep it alive?
No, I'm saying that there is no support whatsoever to unload the shared
library of the extension module when the extension module would no
longer be used.
Regards,
Martin
More information about the Python-Dev
mailing list