summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-12-09 19:05:39 (GMT)
committerGitHub <noreply@github.com>2019-12-09 19:05:39 (GMT)
commitb8cbe74c3498c617f0e73fd0cdc5c07f2c532092 (patch)
treeab78352644177312c0902ea36122c324b510919b /Python/sysmodule.c
parentac229116a34a679511c20bfeca167cc6a9df9807 (diff)
downloadcpython-b8cbe74c3498c617f0e73fd0cdc5c07f2c532092.zip
cpython-b8cbe74c3498c617f0e73fd0cdc5c07f2c532092.tar.gz
cpython-b8cbe74c3498c617f0e73fd0cdc5c07f2c532092.tar.bz2
bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index b6bdf51..9f866a2 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -181,7 +181,7 @@ PySys_Audit(const char *event, const char *argFormat, ...)
if (argFormat && argFormat[0]) {
va_list args;
va_start(args, argFormat);
- eventArgs = Py_VaBuildValue(argFormat, args);
+ eventArgs = _Py_VaBuildValue_SizeT(argFormat, args);
va_end(args);
if (eventArgs && !PyTuple_Check(eventArgs)) {
PyObject *argTuple = PyTuple_Pack(1, eventArgs);