[Pyrex] precedence differences - GOTCHA!
David McNab
david at rebirthing.co.nz
Mon Oct 1 04:36:21 CEST 2007
On Mon, 2007-10-01 at 14:18 +1300, Greg Ewing wrote:
> David McNab wrote:
> > The reason why the Pyrex version worked, and the C version didn't, was
> > because of differences in operator precedence between C and Python.
>
> I'll put a warning about this in the docs. I think
> that's about the best that can be done, short of
> refusing to compile anything with ambiguous precedence,
> which would be annoying.
Would it also be possible to have pyrexc spit a warning as well, when it
translates the .pyx to .c?
Cheers
David
More information about the Pyrex
mailing list