In console
l = [ "A", "B" ]
n = [ i for i in l if i.startswith("A") ]
print(n)
is expanded as
l =["A","B"]
n =$list_comp([["i","l"]],"i","i.startswith("A")")
$print(n)
conditional expression is not properly escaped.
By extension, the absence of proper escaping causes also:
In console:
d = { "Marc Seberg" : "L'éclaircie" }
print(d)
Result in:
{'Marc Seberg':'L'éclaircie'}
Original issue reported on code.google.com by pedro.ro...@gmail.com on 30 Dec 2012 at 8:26
Original issue reported on code.google.com by
pedro.ro...@gmail.com
on 30 Dec 2012 at 8:26