[issue26803] syslog logging handler fails with address in unix abstract namespace

STINNER Victor report at bugs.python.org
Wed Apr 20 09:49:01 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue26803>
_______________________________________


More information about the Python-bugs-list mailing list