canonicalise should transform dict keys to strings
rkuhn opened this issue · comments
Roland Kuhn commented
This way it will work just like JS: the keys "0"
and 0
refer to the same slot. Using byte strings (i.e. those that do not contain valid utf-8) as keys is still illegal.