summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-22 13:45:16 (GMT)
committerGitHub <noreply@github.com>2018-11-22 13:45:16 (GMT)
commit4d73ae776140a583fdfe8f016d88cc767791e481 (patch)
tree9cd76db8c15c8f760f5ad5bda224161182952d89 /Modules/posixmodule.c
parentc48ff73dd60bec5dcbe64bedeff91e6db26d98bc (diff)
downloadcpython-4d73ae776140a583fdfe8f016d88cc767791e481.zip
cpython-4d73ae776140a583fdfe8f016d88cc767791e481.tar.gz
cpython-4d73ae776140a583fdfe8f016d88cc767791e481.tar.bz2
bpo-18407: ast.c uses Py_ssize_t for asdl_seq_LEN() iterator (GH-10655)
When iterating using asdl_seq_LEN(), use 'Py_ssize_t' type instead of 'int' for the iterator variable, to avoid downcast on 64-bit platforms. _Py_asdl_int_seq_new() now also ensures that the index is greater than or equal to 0.
Diffstat (limited to 'Modules/posixmodule.c')
0 files changed, 0 insertions, 0 deletions