Issue 10607: Document of PyOS_(v)snprintf is wrong. (original) (raw)

Issue10607

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:09 admin set github: 54816
2010-12-02 17:33:58 methane set status: open -> closedresolution: not a bugmessages: +
2010-12-02 16:24:18 methane create