Pyrex bitten by the exception bug

Paul Sijben paul.sijben at xs4all.nl
Fri Feb 1 13:29:14 EST 2008


Stefan Behnel wrote:
> Paul Sijben wrote:
>> I am running into the (apparently) well-known issue with pyrex that
>> trying to raise an exception using python2.5 and pyrex will lead to a
>> TypeError, as "TypeError: exceptions must be strings, classes, or
>> instances, not exceptions.ImportError"
> 
> You should use a recent Pyrex version. 

I have :-( the most recent from their site


>But using Cython is a better idea anyway.
> 

I will look into that. Thanks,

Paul

> Stefan



More information about the Python-list mailing list