Closed konghui closed 5 years ago
Hey there, Just to let you know, this change breaks the compatibility with python3. I've had to revert it for my code to work.
My apologies, i was not aware of the subtle differences between the two and didn't know that Python3 does no longer support xrange
.
I think it's ok to expect people to use Python3 at this point (py2 EOL is in about 5 minutes or so) so I'll revert this.
I am sorry. I will add the compatible code for python3.
It's alright guys, thanks for answering so quickly! :)
Range will cause use too much memory even cause kill by oomkiller, use xrange instead