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 eryksun
Recipients Eugene Viktorov, SilentGhost, eryksun, martin.panter, terry.reedy, vstinner
Date 2016-02-20.14:00:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> By your explanation, it sounds like it would be better 
> to call unlink() before close().

Sorry, I was responding in general, because I thought you meant unlink would fail like it would for most open files on Windows, because the CRT normally doesn't open files with delete sharing. But I see what you meant now. Yes, the order needs to be reversed as unlink() and then close() for this to work. Doing the close first does raise a FileNotFoundError.
Date User Action Args
2016-02-20 14:00:46eryksunsetrecipients: + eryksun, terry.reedy, vstinner, SilentGhost, martin.panter, Eugene Viktorov
2016-02-20 14:00:46eryksunsetmessageid: <>
2016-02-20 14:00:46eryksunlinkissue26385 messages
2016-02-20 14:00:46eryksuncreate