This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Document of PyOS_(v)snprintf is wrong.
Type: Stage:
Components: Documentation Versions: Python 3.1, Python 3.2, Python 2.7, Python 2.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, methane
Priority: normal Keywords:

Created on 2010-12-02 16:24 by methane, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg123080 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2010-12-02 16:24
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.
msg123084 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2010-12-02 17:33
Sorry, I've misreaded the sentence.
History
Date User Action Args
2022-04-11 14:57:09adminsetgithub: 54816
2010-12-02 17:33:58methanesetstatus: open -> closed
resolution: not a bug
messages: + msg123084
2010-12-02 16:24:18methanecreate