New submission from INADA Naoki <songofaca...@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: d...@python
components: Documentation
messages: 123080
nosy: d...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10607>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to