On Tue, May 17, 2011 at 7:14 AM, dag.odenhall at gmail.com <dag.odenhall at gmail.com> wrote: > Excuse me if this has already been discussed, but couldn't > __instancecheck__ be used to add exception types that match with more > precision? Somewhat related bug: http://bugs.python.org/issue12029 Cheers, Chris