[issue22107] tempfile module misinterprets access denied error on Windows
Erik Aronesty
report at bugs.python.org
Wed Nov 20 09:05:42 EST 2019
Erik Aronesty <erik at q32.com> added the comment:
This is the fist of what I'm using:
https://gist.github.com/earonesty/a052ce176e99d5a659472d0dab6ea361
Seems OK for my use cases. There's probably issues with relying on __del__ this way. But it solves the Windows close/reopen problem, too.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22107>
_______________________________________
More information about the Python-bugs-list
mailing list