[issue41737] Improper NotADirectoryError when opening a file in a fake directory

Danny Lin report at bugs.python.org
Fri Jul 30 11:53:39 EDT 2021


Danny Lin <danny0838 at gmail.com> added the comment:

@Andrei Kulakov: I was commenting on the previous version. The revised version (f2ae30b0de3c4ba1f16fc2a430cf22b447c062ed) seems ok to me.

Another question: would it be better if we add "on some platforms" for the part that the error may raise on a file operation?

----------

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


More information about the Python-bugs-list mailing list