CryptoIdentifier.getSegmentData() xrange overflows

Issue #3 resolved
Daniel Plohmann repo owner created an issue

xrange on 32bit Python is not suited for iterating "large" (>MAXINT) numbers, see http://bugs.python.org/issue1003935. Th reason for this is speed optimization by using native C for backend implementation.

However, it's possible to use an alternative iterator that allows iterating over any numbers, as proposed here: http://stackoverflow.com/questions/2187135/range-and-xrange-for-13-digit-numbers-in-python.

Comments (1)

  1. Log in to comment