Python 2 or 3? #23

jabagawee opened this Issue Sep 29, 2012 · 2 comments


None yet

2 participants


Is this module in Python 2 or 3? I ask because I've been changing all instances of range to xrange for speed purposes, but I may be totally mistaken anyways.


xrange is a Python 2 built-in function. It should be used in a lot of cases as it is faster and saves more memory then range. For reference:

I intended the module to be Python 2, however, I would not be opposed to updating it eventually to use Python 3. I do think it would be best to create a separate repo for that purpose though.


Thanks, I knew already about the whole xrange:range::generator:list stuff and the related speed improvements, I was just wondering if this project was meant to be in Python 2, which it is. :)

@jabagawee jabagawee closed this Oct 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment