This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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: methane, serhiy.storchaka, vstinner
Priority: normal Keywords: patch

Created on 2019-03-20 12:58 by methane, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12473 merged methane, 2019-03-20 13:00
Messages (3)
msg338466 - (view) Author: Inada Naoki (methane) * (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 (methane) * (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
2022-04-11 14:59:12adminsetgithub: 80562
2019-03-23 12:05:28methanesetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-03-23 12:04:43methanesetmessages: + 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:19methanesetkeywords: + patch
stage: patch review
pull_requests: + pull_request12426
2019-03-20 12:58:55methanecreate