*.c: Be more careful about `PySequence_Size'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 24 Nov 2019 16:36:24 +0000 (16:36 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 27 Nov 2019 15:10:44 +0000 (15:10 +0000)
commit4281a7ee8646165a39f03bcab908b30dee643dae
tree99f5b5ffb5aee5dfea32c3b6d2e4585b0153076d
parent5e68fc2a078997337ca62924cd3fd481d172e42b
*.c: Be more careful about `PySequence_Size'.

This can be implemented by Python, so it can throw exceptions.
Fortunately, Python checks that the result is nonnegative, so we don't
have to worry about that.
algorithms.c
catacomb.c
ec.c
mp.c