cext: make parsers.c PY_SSIZE_T_CLEAN

Authored by indygreg.

Description

cext: make parsers.c PY_SSIZE_T_CLEAN

This is needed to avoid a deprecation warning in Python 3.8. I believe
the conversion of int to Py_ssize_t is harmless in the changed
locations. But this being C code, it should be audited with care.

Differential Revision: https://phab.mercurial-scm.org/D6197

Details

Committed
indygregApr 4 2019, 6:21 PM
Differential Revision
D6197: cext: make parsers.c PY_SSIZE_T_CLEAN
Parents
rHGb01bbb8ff1f2: cext: make revlog.c PY_SSIZE_T_CLEAN
Branches
Unknown
Tags
Unknown