Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The use of range/xrange is confusing #3

Open
SylvainDe opened this issue Oct 25, 2015 · 4 comments
Open

The use of range/xrange is confusing #3

SylvainDe opened this issue Oct 25, 2015 · 4 comments

Comments

@SylvainDe
Copy link

Not sure if it really matters but it might fit huge numbers : both range and xrange are used making things a bit confusing.
Is there any particular reason for this?

@kamalmarhubi
Copy link
Owner

Unlikely!

@kamalmarhubi
Copy link
Owner

(It's also unlikely it makes a huge difference, but things would be better if they were consistent.)

@kamalmarhubi
Copy link
Owner

(I will check if it makes a difference though!)

@jpivarski
Copy link

I found this in 2023 and the use of xrange seemed archaic. I thought that you were just trying to emphasize the point that it isn't creating a list and then iterating over it (as Python 2 range did).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants