Author eryksun
Recipients Arfrever, Piotr.Lopusiewicz, amaury.forgeotdarc, brian.curtin, bwanamarko, eryksun, loewis, meador.inge, plynch76, r.david.murray, tim.golden
Date 2016-02-16.08:09:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455610182.98.0.496275276625.issue14597@psf.upfronthosting.co.za>
In-reply-to
Content
> My setup.py creates a .dll then later loads the dll for testing 
> using ctypes. Subsequent runs of setup.py that would force 
> rebuilding the .dll attempt to delete the old dll first if it 
> exists, but I get permission denied.
>
> Oddly, if I put the load library call inside a function, then, 
> after exiting the interpreter the dll can be deleted.

I'm having trouble imagining what the problem could be here. Can you attach a minimal example script that reproduces the problem?
History
Date User Action Args
2016-02-16 08:09:43eryksunsetrecipients: + eryksun, loewis, amaury.forgeotdarc, tim.golden, Arfrever, r.david.murray, brian.curtin, meador.inge, plynch76, bwanamarko, Piotr.Lopusiewicz
2016-02-16 08:09:42eryksunsetmessageid: <1455610182.98.0.496275276625.issue14597@psf.upfronthosting.co.za>
2016-02-16 08:09:42eryksunlinkissue14597 messages
2016-02-16 08:09:42eryksuncreate