Chris Angelico added the comment: This sounds like a feature enhancement, which means it (almost certainly) won't be applied to Python 2.7. Does the same question come up in Python 3?
Also (FWIW) if you can confidently assume that all the keys are strings. then type.lower() is better than string.lower(type). ---------- nosy: +Rosuav _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25068> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com