commit | 05d68a8bd84cb141be9f9335f5b3540f15a989c4 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Jan 18 11:15:25 2018 +0100 |
committer | GitHub <noreply@github.com> | Thu Jan 18 11:15:25 2018 +0100 |
tree | a4e48a3b3c5b46422f83ffb9b4314eb8ea344325 | |
parent | ab74504346a6e2569b3255b7b621c589716888c4 [diff] |
bpo-9566: Fix size_t=>int downcast warnings (#5230) * Use wider types (int => Py_ssize_t) to avoid integer overflows. * Fix gc.get_freeze_count(): use Py_ssize_t type rather than int, since gc_list_size() returns a Py_ssize_t.