Re: Pyrex bitten by the exception bug

2008-02-01 Thread Paul Sijben
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" >

Re: Pyrex bitten by the exception bug

2008-02-01 Thread Stefan Behnel
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 Pyre

Re: Pyrex bitten by the exception bug

2008-02-01 Thread bearophileHUGS
Paul Sijben: > Is there a fixc for this issue? At the moment I think it's better to drop Pyrex and to use Cython. Maybe you can try that, or ask to their developers. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

Pyrex bitten by the exception bug

2008-02-01 Thread Paul Sijben
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" Is there a fixc for this issue? best regards, Paul Si