catacomb/__init__.py (_HashBase): Check that integers are within bounds.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 22:57:47 +0000 (22:57 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 25 Nov 2019 17:31:22 +0000 (17:31 +0000)
commit05868a05b95fb30a7adbe33f310f1d6c894fcec7
tree4cd4f4d6917c7ca1996a94b94141a62389446c48
parent6a8392c3473fb923ce72f26153d9aa7aa7de4e06
catacomb/__init__.py (_HashBase): Check that integers are within bounds.

The version of the `struct' module included with Python 2.5 writes a
warning to `stderr' and truncates rather than raising an exception.  Do
the work ourselves.
catacomb/__init__.py