*.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>
Mon, 25 Nov 2019 17:31:23 +0000 (17:31 +0000)
commitb17bbe3b35b75635dbce8e1ffe766f9cd8fb4ecf
treee05cf8ea97e5ad8447041563803b5568407c573d
parent0ac046f695ce229ffb6220b2db7d04d78c730cc5
*.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