What steps will reproduce the problem?
assert dict(x=1, y=2) == {'x':1,'y':2}
print('OK')
What is the expected output? What do you see instead?
OK
Instead fails:
--
[07:54:51.181] TypeError: iterable.__len__ is not a function @
http://www.brython.info/py_classes.js:74
What version of the product are you using? On what operating system?
Brython version 1.1.20130217-084411
Linux Mint 14
Please provide any additional information below.
cleaner dict initialization, can use parameter unpacking
Original issue reported on code.google.com by ca...@nce.ufrj.br on 17 Feb 2013 at 11:01
Original issue reported on code.google.com by
ca...@nce.ufrj.br
on 17 Feb 2013 at 11:01