]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36020: Require vsnprintf() to build Python (GH-20899)
authorVictor Stinner <vstinner@python.org>
Mon, 15 Jun 2020 22:54:44 +0000 (00:54 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Jun 2020 22:54:44 +0000 (00:54 +0200)
commit7ab92d54b5d4440d84f6c02b4bc5a70103eff915
treec21f01c5fc74889ba3143dee26cb88b3da025f2f
parente822e37946f27c09953bb5733acf3b07c2db690f
bpo-36020: Require vsnprintf() to build Python (GH-20899)

The C99 functions snprintf() and vsnprintf() are now required
to build Python.

PyOS_snprintf() and PyOS_vsnprintf() no longer call Py_FatalError().
Previously, they called Py_FatalError() on a buffer overflow on platforms
which don't provide vsnprintf().
Doc/c-api/conversion.rst
Doc/whatsnew/3.10.rst
Misc/NEWS.d/next/Build/2020-06-15-22-14-25.bpo-36020.wbiv0P.rst [new file with mode: 0644]
Python/mysnprintf.c