STINNER Victor added the comment: > However it is possible that PyUnicode_DecodeFSDefault() fails for some file system encodings when the encoded address contains null bytes ?
No, it's not possible. Undecode bytes are escaped as surrogate characters using the surrogateescape error handler. See the PEP 393. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26803> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com