What steps will reproduce the problem?
assert 'top' in {'top':True}, 'top was mangled: %s'%{'top':True}
assert 'top' in dict(top=True), 'top was mangled: %s'%dict(top=True)
print('Ok')
What is the expected output? What do you see instead?
OK
instead:
AssertionError: top was mangled: {"$$top":True}
module '__main__' line 2
assert 'top' in dict(top=True), 'top was mangled: %s'%dict(top=True)
keyword 'top' gets mangled with two preceeding '$'
What version of the product are you using? On what operating system?
Brython version 1.1.20130307-202952
Linux Mint 14
Please provide any additional information below.
used in css positioning: dict(position='absolute', top= '100px')
Original issue reported on code.google.com by ca...@nce.ufrj.br on 9 Mar 2013 at 5:58
Original issue reported on code.google.com by
ca...@nce.ufrj.br
on 9 Mar 2013 at 5:58