classification
Title: Deprecate "#" argument format without PY_SSIZE_T_CLEAN
Type: Stage: resolved
Components: Extension Modules Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: inada.naoki, serhiy.storchaka, vstinner
Priority: normal Keywords: patch

Created on 2019-03-20 12:58 by inada.naoki, last changed 2019-03-23 12:05 by inada.naoki. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12473 merged inada.naoki, 2019-03-20 13:00
Messages (3)
msg338466 - (view) Author: Inada Naoki (inada.naoki) * (Python committer) Date: 2019-03-20 12:58
Raise warning for # use without PY_SSIZE_T_CLEAN.

* 3.8: PendingDeprecationWarning
* 3.9: DeprecationWarning
* 3.10 (or 4.0): Remove PY_SSIZE_T_CLEAN and use Py_ssize_t always
msg338474 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-03-20 14:21
> * 3.8: PendingDeprecationWarning

... Or maybe use directly DeprecationWarning? :-)
https://discuss.python.org/t/pendingdeprecationwarning-is-really-useful/1038
msg338672 - (view) Author: Inada Naoki (inada.naoki) * (Python committer) Date: 2019-03-23 12:04
New changeset d3c72a223a5f771f964fc34557c55eb5bfa0f5a0 by Inada Naoki in branch 'master':
bpo-36381: warn when no PY_SSIZE_T_CLEAN defined (GH-12473)
https://github.com/python/cpython/commit/d3c72a223a5f771f964fc34557c55eb5bfa0f5a0
History
Date User Action Args
2019-03-23 12:05:28inada.naokisetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-03-23 12:04:43inada.naokisetmessages: + msg338672
2019-03-20 15:13:22vstinnersettitle: Preapre for mandatory PY_SSIZE_T_CLEAN -> Deprecate "#" argument format without PY_SSIZE_T_CLEAN
2019-03-20 14:21:51vstinnersetmessages: + msg338474
2019-03-20 13:00:19inada.naokisetkeywords: + patch
stage: patch review
pull_requests: + pull_request12426
2019-03-20 12:58:55inada.naokicreate