Message385898
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. |
|
Date |
User |
Action |
Args |
2021-01-29 07:54:41 | mieczyslaw.torchala | set | recipients:
+ mieczyslaw.torchala, StillSubjectToChange |
2021-01-29 07:54:41 | mieczyslaw.torchala | set | messageid: <1611906881.89.0.47395673274.issue42830@roundup.psfhosted.org> |
2021-01-29 07:54:41 | mieczyslaw.torchala | link | issue42830 messages |
2021-01-29 07:54:41 | mieczyslaw.torchala | create | |
|