Jeffrey Kintscher <websur...@surf2c.net> added the comment:

Since tempfile.TemporaryDirectory() already returns some exceptions to the 
caller when it can't figure out how to delete a directory item, I don't see a 
problem with throwing PermissionError when encountering a mount point. This 
would preserve the 'rm -rf' semantics of the underlying shutil.rmtree() calls.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36422>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to