diff hgext/patchbomb.py @ 42068:896b19d12c08

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 04 Apr 2019 15:21:30 -0700
parents 943248e47864
children 2372284d9457
line wrap: on
line diff