This is generally a good idea, and the tempfile is already instructed to not auto-delete on close. It also fixes a bug on PyPy, where the file isn't valid because it's not explicitly closed. This is probably due to the garbage collection modes -- in CPython, the object goes out of scope and gets automatically closed before we actually attempt to unpack it. Fixes #11246pull/11391/head
parent
e0b63d539e
commit
7ab2892eb0
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue