Author serhiy.storchaka
Recipients Anthony Sottile, georg.brandl, maurosr, ncoghlan, pitrou, r.david.murray, serhiy.storchaka
Date 2020-03-17.17:56:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:02serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, ncoghlan, pitrou, r.david.murray, maurosr, Anthony Sottile
2020-03-17 17:56:02serhiy.storchakasetmessageid: <>
2020-03-17 17:56:02serhiy.storchakalinkissue25024 messages
2020-03-17 17:56:02serhiy.storchakacreate