classification
Title: PySys_Audit should require PY_SSIZE_T_CLEAN
Type: behavior Stage: resolved
Components: Versions: Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: miss-islington, steve.dower
Priority: normal Keywords: patch

Created on 2019-12-09 18:34 by steve.dower, last changed 2019-12-09 19:22 by miss-islington. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 17540 merged steve.dower, 2019-12-09 18:39
PR 17542 merged miss-islington, 2019-12-09 19:05
Messages (3)
msg358125 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2019-12-09 18:34
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).
msg358130 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2019-12-09 19:05
New changeset b8cbe74c3498c617f0e73fd0cdc5c07f2c532092 by Steve Dower in branch 'master':
bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540)
https://github.com/python/cpython/commit/b8cbe74c3498c617f0e73fd0cdc5c07f2c532092
msg358132 - (view) Author: miss-islington (miss-islington) Date: 2019-12-09 19:22
New changeset c93d68bbb986ee0879f5627223e0bd2bb91f63dd by Miss Islington (bot) in branch '3.8':
bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540)
https://github.com/python/cpython/commit/c93d68bbb986ee0879f5627223e0bd2bb91f63dd
History
Date User Action Args
2019-12-09 19:22:36miss-islingtonsetnosy: + miss-islington
messages: + msg358132
2019-12-09 19:10:57steve.dowersetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.8, Python 3.9
2019-12-09 19:05:51miss-islingtonsetpull_requests: + pull_request17018
2019-12-09 19:05:46steve.dowersetmessages: + msg358130
2019-12-09 18:39:57steve.dowersetkeywords: + patch
stage: needs patch -> patch review
pull_requests: + pull_request17016
2019-12-09 18:34:13steve.dowercreate