Message260565
> 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:46 | eryksun | set | recipients:
+ eryksun, terry.reedy, vstinner, SilentGhost, martin.panter, Eugene Viktorov |
2016-02-20 14:00:46 | eryksun | set | messageid: <1455976846.59.0.0876817555184.issue26385@psf.upfronthosting.co.za> |
2016-02-20 14:00:46 | eryksun | link | issue26385 messages |
2016-02-20 14:00:46 | eryksun | create | |
|