[issue40943] PEP 353: Drop support for PyArg_ParseTuple() format when PY_SSIZE_T_CLEAN is not defined

2020-06-10 Thread STINNER Victor
STINNER Victor added the comment: I started to write a long rationale to explain why "#" variants of formats must be deprecated, before I noticed that they are already deprecated! To not lost it, here is my rationale :-) The C code base of Python switched from int to Py_ssize_t with PEP

[issue40943] PEP 353: Drop support for PyArg_ParseTuple() format when PY_SSIZE_T_CLEAN is not defined

2020-06-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19980 pull_request: https://github.com/python/cpython/pull/20784 ___ Python tracker ___

[issue40943] PEP 353: Drop support for PyArg_ParseTuple() format when PY_SSIZE_T_CLEAN is not defined

2020-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset d36cf5f1d20ce9f111a8fc997104785086e8eee6 by Victor Stinner in branch 'master': bpo-40943: Replace PY_FORMAT_SIZE_T with "z" (GH-20781) https://github.com/python/cpython/commit/d36cf5f1d20ce9f111a8fc997104785086e8eee6 --

[issue40943] PEP 353: Drop support for PyArg_ParseTuple() format when PY_SSIZE_T_CLEAN is not defined

2020-06-10 Thread STINNER Victor
Change by STINNER Victor : -- title: Drop support for PyArg_ParseTuple() format when PY_SSIZE_T_CLEAN is not defined -> PEP 353: Drop support for PyArg_ParseTuple() format when PY_SSIZE_T_CLEAN is not defined ___ Python tracker