Antoine Pitrou added the comment: What are you suggesting? Something like: KeyError: key 'foobar' not found in dict ? If so, +1 from me. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue2651> _______________________________________