Serhiy Storchaka added the comment:

There are other functions that returns null terminated data: 
PyByteArray_AsString(), PyBytes_AsStringAndSize(), PyUnicode_AS_UNICODE(), 
PyUnicode_AsUCS4Copy() PyUnicode_AsUnicode(), PyUnicode_AsUnicodeAndSize(), 
PyUnicode_AsWideCharString() and may be more. See also examples of notes about 
embedded null characters.

And for consistency with all other documentation this should be written as 
"null byte/character", not NUL.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23088>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to