sgzwiz / brython

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

== doesn't work like CPython on dict (on keys that are present only on one side) #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Brython version from revision 183 (last uptodate on web site right now, 
containing correction for issue #10)

a = {'poide':7,'praf':10}
b = {'poide':7,'praf':10,'mank':23}
log(a == b)

CPython :
a == b # False

Brython :
a == b # True

Original issue reported on code.google.com by gissehel@gmail.com on 21 Dec 2012 at 7:50

GoogleCodeExporter commented 9 years ago
Ok, bug fixed in latest version
Thanks

Original comment by pierre.q...@gmail.com on 22 Dec 2012 at 10:03