[New-bugs-announce] [issue10607] Document of PyOS_(v)snprintf is wrong.
INADA Naoki
report at bugs.python.org
Thu Dec 2 17:24:20 CET 2010
New submission from INADA Naoki <songofacandy at gmail.com>:
http://docs.python.org/c-api/conversion.html#PyOS_vsnprintf
"the buffer size needed to avoid truncation exceeds size by more than 512 bytes, Python aborts with a Py_FatalError."
I think ":cfunc:`vsprintf`'s output exeeds the buffer need to truncation that have *size* + 512byte length," is correct.
----------
assignee: docs at python
components: Documentation
messages: 123080
nosy: docs at python, naoki
priority: normal
severity: normal
status: open
title: Document of PyOS_(v)snprintf is wrong.
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10607>
_______________________________________
More information about the New-bugs-announce
mailing list