Message364466
If you want the conditional cleanup, then TemporaryDirectory is obviously a wrong tool. mkdtemp looks more appropriate.
If you remove directory in process of working with temporary directory, would it help if you create a subdirectory in the temporary directory and work with it (including conditionally removing)?
As for the readonly files, was not this problem solved by PR 10320? |
|
| Date |
User |
Action |
Args |
| 2020-03-17 17:56:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, ncoghlan, pitrou, r.david.murray, maurosr, Anthony Sottile |
| 2020-03-17 17:56:02 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2020-03-17 17:56:02 | serhiy.storchaka | link | issue25024 messages |
| 2020-03-17 17:56:02 | serhiy.storchaka | create | |
|