Skip to content

runtime: Wrong implementation with range #41

Closed
@corona10

Description

@corona10

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions