vsergeev/u-msgpack-python

use xrange for python2

ThomasWaldmann opened this issue · 1 comments

you use range(length) at some places where length could be 2^32-1.

in python2 that call returns a LIST with that number of elements. rather use xrange for python2.
for python3, "range" behaves like "xrange" in python2, thus no problem there.

Thanks for the heads up!