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"
>
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
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
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