Comment 2 for bug 251848

Revision history for this message
Ignas Mikalaj┼źnas (ignas) wrote :

Apparently - all the exceptions ins python2.4 were of <type 'instance'> , and were using _instanceChecker (as defined by

In python2.5 - exceptions have types of their own like: <class 'zope.publisher.interfaces.NotFound'> and _checkers dict
has no entries for these kinds of exceptions so it's as if none of the exceptions have any checkers defined for them.

Thus C implementation of selecChecker returns None for all the Exceptions in python2.5