Mark Dickinson added the comment: +1 for this (for Python 3.5, now, I guess). I've just found another place where I'd use it.
Looking at the implementation, one thing surprises me a bit: I'd expect the KeyError from a 'del' or 'pop' operation to have the untransformed key rather than the transformed key in its .args. How about '_keys' and '_values' for the slot names, in place of '_original' and '_data'? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18986> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com