mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
gh-104922: Make PY_SSIZE_T_CLEAN
not mandatory again (#105051)
This commit is contained in:
parent
f90d3f68db
commit
adccff3b3f
15 changed files with 105 additions and 397 deletions
|
@ -211,7 +211,7 @@ sys_audit_tstate(PyThreadState *ts, const char *event,
|
|||
|
||||
/* Initialize event args now */
|
||||
if (argFormat && argFormat[0]) {
|
||||
eventArgs = _Py_VaBuildValue_SizeT(argFormat, vargs);
|
||||
eventArgs = Py_VaBuildValue(argFormat, vargs);
|
||||
if (eventArgs && !PyTuple_Check(eventArgs)) {
|
||||
PyObject *argTuple = PyTuple_Pack(1, eventArgs);
|
||||
Py_SETREF(eventArgs, argTuple);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue