Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:

I'm pretty sure this is not a bug, but is working as designed.
The interpreter normalises unicode identifiers, but key lookup in the dict does 
not.

Sorry, I don't have time right now to give a more detailed answer, but there 
are two distinct mu characters:

    μ U+03BC
    µ U+00B5

and my prediction is that the identifier is normalised to the first, the actual 
Greek mu, but you are looking up the second, the micro sign.

(I'll be able to give a longer response in a couple of hours, if still needed.)

----------
nosy: +steven.daprano

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42680>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to