[issue44105] tempfile.TemporaryDirectory deleted after sleep in threads

Colas Le Guernic report at bugs.python.org
Tue May 11 03:44:44 EDT 2021


Colas Le Guernic <colas.le.guernic at gmail.com> added the comment:

Actually, it has nothing to do with subprocess.run, replacing that line with sleep(random()) exhibits the same behavior.

----------
title: tempfile.TemporaryDirectory deleted after call to subprocess.run in threads -> tempfile.TemporaryDirectory deleted after sleep in threads
Added file: https://bugs.python.org/file50036/mwe.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44105>
_______________________________________


More information about the Python-bugs-list mailing list