Guido van Rossum added the comment: Here's an attempt at fixing the ValueError.
I don't like the exhaustive search much, but the alternative is to maintain an inverse dict. What do you think? ---------- Added file: http://bugs.python.org/file33015/unregister4.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19876> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com