[issue33721] os.path.exists() ought to return False if pathname contains NUL

Serhiy Storchaka report at bugs.python.org
Tue Sep 18 04:34:24 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

os.path.exists() and similar functions will return now False for invalid paths (non-encodable paths on Unix, non-decodable bytes paths on Windows, and paths containing null characters or bytes).

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list