Author eryksun
Recipients Arfrever, Piotr.Lopusiewicz, amaury.forgeotdarc, bwanamarko, docs@python, eric.snow, eryksun, loewis, meador.inge, mloskot, plynch76, r.david.murray, tim.golden
Date 2021-03-01.13:25:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Automatically decrementing the reference count of a shared library (e.g. via WinAPI FreeLibrary or POSIX dlclose) when a CDLL instance is finalized would require significant design changes to ensure that all ctypes pointers, scalars, and aggregates that reference memory in the DLL also always reference the CDLL instance in their _objects attribute. I don't think this feature request is worth the work that involves, or the risk of crashing if some case is overlooked in the implementation. Nothing prevents a script from implementing this manually on a case by case basis.
Date User Action Args
2021-03-01 13:25:57eryksunsetrecipients: + eryksun, loewis, amaury.forgeotdarc, tim.golden, Arfrever, r.david.murray, meador.inge, docs@python, eric.snow, plynch76, mloskot, bwanamarko, Piotr.Lopusiewicz
2021-03-01 13:25:57eryksunsetmessageid: <>
2021-03-01 13:25:57eryksunlinkissue14597 messages
2021-03-01 13:25:55eryksuncreate