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 Piotr.Lopusiewicz
Recipients Arfrever, Piotr.Lopusiewicz, brian.curtin, loewis, meador.inge, plynch76, r.david.murray, tim.golden
Date 2013-08-28.17:45:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377711933.86.0.531527745465.issue14597@psf.upfronthosting.co.za>
In-reply-to
Content
>>For most ctypes uses, closing is irrelevant, since people typically access system libraries that are independently loaded anyway, so closing them would not have any effect.

My use case is this: I test some things, then I need to recompile my .dll without closing the interpreter (as building stuff to begin tests is quiet expensive) then reload it. I can't recompile it because Windows blocks the .dll file and gcc can't overwrite it. Deleting the reference and running gc.collect() doesn't work.
It would be very nice to have a way to do this.
History
Date User Action Args
2013-08-28 17:45:33Piotr.Lopusiewiczsetrecipients: + Piotr.Lopusiewicz, loewis, tim.golden, Arfrever, r.david.murray, brian.curtin, meador.inge, plynch76
2013-08-28 17:45:33Piotr.Lopusiewiczsetmessageid: <1377711933.86.0.531527745465.issue14597@psf.upfronthosting.co.za>
2013-08-28 17:45:33Piotr.Lopusiewiczlinkissue14597 messages
2013-08-28 17:45:33Piotr.Lopusiewiczcreate