Author bwanamarko
Recipients Arfrever, Piotr.Lopusiewicz, amaury.forgeotdarc, brian.curtin, bwanamarko, loewis, meador.inge, plynch76, r.david.murray, tim.golden
Date 2016-02-15.20:12:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think I have this issue even after interpreter exits. My creates a .dll then later loads the dll for testing using ctypes. Subsequent runs of 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.

Windos 7 x64
Python 2.7.10

Sorry if this is by design, a Windows feature, unrelated or the wrong issue. I search SO and these bugs, and only found answers related to unloading dll during script.
Date User Action Args
2016-02-15 20:12:31bwanamarkosetrecipients: + bwanamarko, loewis, amaury.forgeotdarc, tim.golden, Arfrever, r.david.murray, brian.curtin, meador.inge, plynch76, Piotr.Lopusiewicz
2016-02-15 20:12:31bwanamarkosetmessageid: <>
2016-02-15 20:12:31bwanamarkolinkissue14597 messages
2016-02-15 20:12:30bwanamarkocreate