[docs] [issue24823] ctypes.create_string_buffer does not add NUL if len(init) == size

eryksun report at bugs.python.org
Fri Aug 7 19:54:04 CEST 2015


eryksun added the comment:

Not every buffer is null-terminated. That's just the assumption used if the size isn't specified. The documentation can possibly be reworded to make this clearer, but the function itself shouldn't be changed.

----------
assignee:  -> docs at python
components: +Documentation
keywords: +easy
nosy: +docs at python, eryksun
priority: normal -> low
stage:  -> needs patch
versions: +Python 2.7, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24823>
_______________________________________


More information about the docs mailing list