S. Andrew Sheppard added the comment: Fair enough. For future reference by anyone coming across this issue, here's a simplified version of the workaround I used:
from unicodedata import normalize def normalize_keys(data): return { normalize('NFKC', key): value for key, value in data.items() } def test(μ): print(μ) >>> test(**normalize_keys({'µ': "test4"})) test4 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23091> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com