[Cython] pyregr testsuite regression
robertwb at math.washington.edu
Tue Aug 23 07:15:38 CEST 2011
On Mon, Aug 22, 2011 at 9:41 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Vitja Makarov, 23.08.2011 06:26:
>> Hudson shows regression for last 4 pyregr builds.
> Yes, I enabled the "always_allow_keywords" option for better Python
> compatibility, which disables the signature optimisation into METH_O &
> friends for def functions. That helped in a couple of cases but broke
> others. The regression appears to be mostly because generator expressions do
> not work with this option:
> CyFunction may or may not drop the need for that option eventually, but for
> now, it would be good to fix it.
> I also wouldn't object to switching it off again, in case it's not an easy
> fix (I tried but didn't find the right place to fix it).
IIRC, it is a significant performance penalty to turn that off (which
is why it's disabled by default). We should at least allow one to
More information about the cython-devel