Author mieczyslaw.torchala
Recipients StillSubjectToChange, mieczyslaw.torchala
Date 2021-01-29.07:54:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611906881.89.0.47395673274.issue42830@roundup.psfhosted.org>
In-reply-to
Content
Yes, having it written explicitly in docs (that remove means not only a file removal with unlink/remove and warn about lacking file descriptors), or/and providing a remove function in tempfile which will both unlink and close, would be valuable.

The use case is that when the process crashes during some scientific computations, I still want to keep the file to investigate. Of course, one can argue that try/except could copy the file somewhere else, but having it still in /tmp (and pointing to this file in the log) is pretty useful.
History
Date User Action Args
2021-01-29 07:54:41mieczyslaw.torchalasetrecipients: + mieczyslaw.torchala, StillSubjectToChange
2021-01-29 07:54:41mieczyslaw.torchalasetmessageid: <1611906881.89.0.47395673274.issue42830@roundup.psfhosted.org>
2021-01-29 07:54:41mieczyslaw.torchalalinkissue42830 messages
2021-01-29 07:54:41mieczyslaw.torchalacreate