J
Jiba
Hi all,
is the following behaviour normal :
File "<stdin>", line 1, in ?
KeyError: u'\xe9'
it seems that "é" and u"é" are not considered as the same key (in Python
2.3.3). Though they have the same hash code (returned by hash()).
And "e" and u"e" (non accentuated characters) are considered as the same
!
Jiba
is the following behaviour normal :
Traceback (most recent call last):d = {"é" : 1}
d["é"] 1
d[u"é"]
File "<stdin>", line 1, in ?
KeyError: u'\xe9'
it seems that "é" and u"é" are not considered as the same key (in Python
2.3.3). Though they have the same hash code (returned by hash()).
And "e" and u"e" (non accentuated characters) are considered as the same
!
Jiba