diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-15 22:54:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 22:54:44 (GMT) |
commit | 7ab92d54b5d4440d84f6c02b4bc5a70103eff915 (patch) | |
tree | c21f01c5fc74889ba3143dee26cb88b3da025f2f /Doc/whatsnew | |
parent | e822e37946f27c09953bb5733acf3b07c2db690f (diff) | |
download | cpython-7ab92d54b5d4440d84f6c02b4bc5a70103eff915.zip cpython-7ab92d54b5d4440d84f6c02b4bc5a70103eff915.tar.gz cpython-7ab92d54b5d4440d84f6c02b4bc5a70103eff915.tar.bz2 |
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().
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 629909b..9878f7f 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -123,6 +123,10 @@ that may require changes to your code. Build Changes ============= +* The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` are now required + to build Python. + (Contributed by Victor Stinner in :issue:`36020`.) + C API Changes ============= |