On Mar 12, 2010, at 3:02 AM, Greg Ewing wrote:

> Robert Bradshaw wrote:
>
>> Hmm... I thought that "except X" would catch all exceptions that were
>> subclasses of X, but it turns out that it doesn't check inheritance
>> unless X is an exception type... I'll fix this.
>
> Also remember that before 2.5, exceptions were old-style
> classes, which are *not* subclasses of object. So this would
> never have worked in any version of Python.

Yep. In any case, a better fix is in now.

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to