diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-16 21:39:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-16 21:39:42 (GMT) |
commit | 17061a99b03dc101e7ab7a20ab23411f077b3efe (patch) | |
tree | 7d25f1002c1c4b1117de41bf7ce171df4d6bd42f /Modules/expat/xmlparse.c | |
parent | c70200165c4199e50201148d5971798342a86b5a (diff) | |
download | cpython-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