summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-03-23 12:04:40 (GMT)
committerGitHub <noreply@github.com>2019-03-23 12:04:40 (GMT)
commitd3c72a223a5f771f964fc34557c55eb5bfa0f5a0 (patch)
treec0dec4fc435af520724b012b1d7b7b9bc8a0466a /Doc/whatsnew
parentd60f658fc0278f3fcdadec8ddcab35b8ae03e1d1 (diff)
downloadcpython-d3c72a223a5f771f964fc34557c55eb5bfa0f5a0.zip
cpython-d3c72a223a5f771f964fc34557c55eb5bfa0f5a0.tar.gz
cpython-d3c72a223a5f771f964fc34557c55eb5bfa0f5a0.tar.bz2
bpo-36381: warn when no PY_SSIZE_T_CLEAN defined (GH-12473)
We will remove int support from 3.10 or 4.0.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 18ec2c2..3855d36 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -708,6 +708,16 @@ Changes in the Python API
set for regular user accounts.
+Changes in the C API
+--------------------
+
+* Use of ``#`` variants of formats in parsing or building value (e.g.
+ :c:func:`PyArg_ParseTuple`, :c:func:`Py_BuildValue`, :c:func:`PyObject_CallFunction`,
+ etc.) without ``PY_SSIZE_T_CLEAN`` defined raises ``DeprecationWarning`` now.
+ It will be removed in 3.10 or 4.0. Read :ref:`arg-parsing` for detail.
+ (Contributed by Inada Naoki in :issue:`36381`.)
+
+
CPython bytecode changes
------------------------