[New-bugs-announce] [issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

Steve Dower report at bugs.python.org
Mon Dec 9 13:34:13 EST 2019


New submission from Steve Dower <steve.dower at python.org>:

Currently, calls to PySys_Audit() that use "#" format strings will raise a deprecation warning because Python/sysmodule.c is not PY_SSIZE_T_CLEAN

Since PySys_Audit is a new API, we should just define it as always requiring Py_ssize_t.

(Discovered while implementing issue39007).

----------
assignee: steve.dower
messages: 358125
nosy: steve.dower
priority: normal
severity: normal
stage: needs patch
status: open
title: PySys_Audit should require PY_SSIZE_T_CLEAN
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39008>
_______________________________________


More information about the New-bugs-announce mailing list