This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sheppard
Recipients benjamin.peterson, ezio.melotti, r.david.murray, sheppard, vstinner
Date 2014-12-20.05:10:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419052210.17.0.592347644505.issue23091@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-12-20 05:10:10sheppardsetrecipients: + sheppard, vstinner, benjamin.peterson, ezio.melotti, r.david.murray
2014-12-20 05:10:10sheppardsetmessageid: <1419052210.17.0.592347644505.issue23091@psf.upfronthosting.co.za>
2014-12-20 05:10:10sheppardlinkissue23091 messages
2014-12-20 05:10:10sheppardcreate