A fix is available here:
https://github.com/Legrandin/pycrypto/commit/7a720a6cd9254930ea4aa334610393dc9a420213
Now it reads:
allow_wraparound (boolean) If *True*, the counter will automatically restart from zero after reaching the maximum value (``2**nbits-1``). If *False* (default), the object will raise an *OverflowError*.
A fix is available here:
https:/ /github. com/Legrandin/ pycrypto/ commit/ 7a720a6cd925493 0ea4aa334610393 dc9a420213
Now it reads:
allow_wraparound (boolean)
If *True*, the counter will automatically restart from zero after
reaching the maximum value (``2**nbits-1``).
If *False* (default), the object will raise an *OverflowError*.