Skip to content

runtime: Wrong implementation with range #41

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

Closed
corona10 opened this issue Dec 24, 2018 · 1 comment
Closed

runtime: Wrong implementation with range #41

corona10 opened this issue Dec 24, 2018 · 1 comment
Assignees

Comments

@corona10
Copy link
Collaborator

During I add a test for #40.
I found that this syntax does not work as I expected.

a = range(100, 0, -1)
len(a) <- 100
b = [a for e in a]
len(b) <- should be 100 but 0 in gpython
@corona10
Copy link
Collaborator Author

I will work on this issue after #40 is merged.

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

1 participant