[Pyrex] Reraise not inside except clause
Robert Kern
robert.kern at gmail.com
Tue Oct 16 09:19:06 CEST 2007
Robert Kern wrote:
> Robert Kern wrote:
>
>> It looks like every time he "raise"s, he's already grabbing the current
>> exception object. Most likely, that can be changed to "raise err".
>
> I wish I could test this, but the swig_sources() problem described in "pyrex
> imcompatibility with SWIG/setuptools" is preventing me.
Got it. With the attached patch for the SVN trunk of setuptools, I can get
PyProtocols to build with the other attached patch (I regenerated _speedups.c
manually). All of the tests pass, but I'm not entirely sure if the changes are
exercised; I'd have to take a closer look. The setuptools patch is likely just a
5 minute hack not a solution, but it worked for this case.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setuptools.patch
Url: http://lists.copyleft.no/pipermail/pyrex/attachments/20071016/4eb1b831/attachment.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pyprotocols.patch
Url: http://lists.copyleft.no/pipermail/pyrex/attachments/20071016/4eb1b831/attachment-0001.ksh
More information about the Pyrex
mailing list