]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40941: Fix fold_tuple_on_constants() compiler warnings (GH-22378)
authorVictor Stinner <vstinner@python.org>
Wed, 23 Sep 2020 12:06:55 +0000 (14:06 +0200)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 12:06:55 +0000 (14:06 +0200)
commit71f2ff4ccf4ff8bdb56cc30d115ca2ddc602b12f
tree0c7f83c058836bd2533992142c2b4692f6c70ce6
parent7f413a5d95e6d7ddddd6e2c9844c33594d6288f4
bpo-40941: Fix fold_tuple_on_constants() compiler warnings (GH-22378)

Add explicit casts to fix compiler warnings in
fold_tuple_on_constants().

The limit of constants per code is now INT_MAX, rather than UINT_MAX.
Python/compile.c