[issue39729] stat.S_ISXXX can raise OverflowError for remote file modes

Ammar Askar report at bugs.python.org
Sun Feb 23 06:08:37 EST 2020


Ammar Askar <ammar at ammaraskar.com> added the comment:

Size of the mode aside, isn't this approach problematic anyway? One platform could have an entirely different way of signalling ISDIR vs another. In this case using the host's S_ISDIR for the remote's mode would result in possibly incorrect values.

----------
nosy: +ammar2

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


More information about the Python-bugs-list mailing list