[issue35144] TemporaryDirectory clean-up fails with unsearchable directories
Vidar Fauske
report at bugs.python.org
Tue Sep 22 10:39:10 EDT 2020
Vidar Fauske <vidartf at gmail.com> added the comment:
A somewhat easy repro:
Create the temporary directory, add a subdir (not sure if subdir truly necessary at this point), use `os.chdir()` to set the cwd to that subdir. Clean up the temp dir. The cwd should prevent the deletion because it will be "in use".
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35144>
_______________________________________
More information about the Python-bugs-list
mailing list