sgzwiz / brython

Automatically exported from code.google.com/p/brython
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

range() should return a generator #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. range(10)

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
In Python3, range() does not return a list but a generator.

Original issue reported on code.google.com by d...@famillepinault.fr on 12 Feb 2013 at 8:56