[Pyrex] Pyrex generates broken code when calling a function
immediately on the result of a C function call
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Mar 29 05:46:13 CEST 2006
Stefan Behnel wrote:
> Hi,
>
> Pyrex 0.9.3.1 generates broken code for the following statement:
>
> -----------------------------
> return _parseMemoryDocument(text, __DEFAULT_HTML_PARSER).getroot()
> -----------------------------
Thanks, I'll look into this.
> The fix would be to replace the second and third call by __pyx_1, which is
> correctly calculated in the first line.
Yes, it seems to have the right idea in calculating
that value -- it just doesn't use it!
--
Greg
More information about the Pyrex
mailing list