[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

Eryk Sun report at bugs.python.org
Wed Sep 11 23:18:54 EDT 2019


Eryk Sun <eryksun at gmail.com> added the comment:

In addition to ERROR_INVALID_FUNCTION (1), ERROR_INVALID_PARAMETER (87),  and ERROR_NOT_SUPPORTED (50) for an unsupported device, and ERROR_BAD_NET_NAME (67) for a missing server or share, it should also allow common permission errors:

    ERROR_ACCESS_DENIED (5)
        C:/Users/someone_else
        C:/Temp/deleted_but_still_linked_file
        E:/locked_volume

    ERROR_NOT_READY (21)
        D:/no_media

    ERROR_SHARING_VIOLATION (32)
        C:/pagefile.sys

----------

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


More information about the Python-bugs-list mailing list