commit | 17061a99b03dc101e7ab7a20ab23411f077b3efe | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Aug 16 23:39:42 2016 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Aug 16 23:39:42 2016 +0200 |
tree | 7d25f1002c1c4b1117de41bf7ce171df4d6bd42f | |
parent | c70200165c4199e50201148d5971798342a86b5a [diff] |
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.