[issue37436] os.path.isfile() with big number cause OverflowError: fd is greater than maximum

STINNER Victor report at bugs.python.org
Mon Nov 4 11:56:01 EST 2019


STINNER Victor <vstinner at python.org> added the comment:

This issue reminds me bpo-33721:

"os.path functions that return a boolean result like exists(), lexists(), isdir(), isfile(), islink(), and ismount() now return False instead of raising ValueError or its subclasses UnicodeEncodeError and UnicodeDecodeError for paths that contain characters or bytes unrepresentable at the OS level. (Contributed by Serhiy Storchaka in bpo-33721.)"

https://docs.python.org/dev/whatsnew/3.8.html#os-path

----------
nosy: +serhiy.storchaka, vstinner

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


More information about the Python-bugs-list mailing list