rand.c: Cope with large `range' arguments.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 15 Nov 2019 18:26:57 +0000 (18:26 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:44:21 +0000 (12:44 +0100)
commite147daf097cd963c3d24fa4afeb74551653c96b2
tree986d9457c5a8268818cfd1a9d525db8691f1d9d9
parent95ba7bc6afb98c9337779b5d7ce5822bd90d3c31
rand.c: Cope with large `range' arguments.

Python 3 will report large numbers as being `int' values, and
`PyInt_AS_LONG' will return nonsense in this case.
rand.c