Message321965
If you press Ctrl+C at the wrong moment, NamedTemporaryFile won't delete the
temporary file. To reproduce, you can try this script:
import tempfile
while True:
with tempfile.NamedTemporaryFile(dir='.'):
pass
I get a stray temporary file when I press Ctrl+C about 40% of the time. |
|
| Date |
User |
Action |
Args |
| 2018-07-19 19:29:32 | jwilk | set | recipients:
+ jwilk |
| 2018-07-19 19:29:32 | jwilk | set | messageid: <1532028572.02.0.56676864532.issue34157@psf.upfronthosting.co.za> |
| 2018-07-19 19:29:31 | jwilk | link | issue34157 messages |
| 2018-07-19 19:29:31 | jwilk | create | |
|