sgzwiz / brython

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

List comprehension #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. typing a = [i in range(10)]
log(a) in the console
2. Run the code

What is the expected output? What do you see instead?
Will output [false] expected [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] (list comprehension)

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

Online version on the website with latest version of safari(6.0.2) and mac 
os(10.8.2):

Please provide any additional information below.

I am ready to look into the code to see what I can do to fix it.
Please contact me for further information.

Original issue reported on code.google.com by L.Charig...@gmail.com on 16 Dec 2012 at 10:01

GoogleCodeExporter commented 9 years ago
I am sorry, I haven't seen that this was already mention in the "how to 
contribute" page.

Original comment by L.Charig...@gmail.com on 16 Dec 2012 at 10:06

GoogleCodeExporter commented 9 years ago
Thanks for the report. Implementing list comprehensions is on top of the todo 
list, hopefully before the end of the month

Original comment by pierre.q...@gmail.com on 16 Dec 2012 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by pierre.q...@gmail.com on 16 Dec 2012 at 9:35

GoogleCodeExporter commented 9 years ago
List comprehension was introduced in 20121220 version
More tests needed

Original comment by pierre.q...@gmail.com on 21 Dec 2012 at 7:39