summaryrefslogtreecommitdiffstats
path: root/Modules/expat/xmlparse.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-16 21:39:42 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-08-16 21:39:42 (GMT)
commit17061a99b03dc101e7ab7a20ab23411f077b3efe (patch)
tree7d25f1002c1c4b1117de41bf7ce171df4d6bd42f /Modules/expat/xmlparse.c
parentc70200165c4199e50201148d5971798342a86b5a (diff)
downloadcpython-17061a99b03dc101e7ab7a20ab23411f077b3efe.zip
cpython-17061a99b03dc101e7ab7a20ab23411f077b3efe.tar.gz
cpython-17061a99b03dc101e7ab7a20ab23411f077b3efe.tar.bz2
Use Py_ssize_t in _PyEval_EvalCodeWithName()
Issue #27128, #18295: replace int type with Py_ssize_t for index variables used for positional arguments. It should help to avoid integer overflow and help to emit better machine code for "i++" (no trap needed for overflow). Make also the total_args variable constant.
Diffstat (limited to 'Modules/expat/xmlparse.c')
0 files changed, 0 insertions, 0 deletions