[Cython] Fwd: Re: [cython-users] checking for "None" in nogil function

Greg Ewing greg.ewing at canterbury.ac.nz
Tue May 8 02:05:16 CEST 2012


Stefan Behnel wrote:

> The main reason we didn't change this behaviour back then was that it would
> clearly break user code and we thought we could do without that. That's
> different from considering it "right" and "good".

I changed the None-checking behaviour in Pyrex because I *wanted*
to break user code. Or rather, I didn't think it would be a
bad thing to make people revisit their code and think properly
about whether they really wanted to allow None in each case.

-- 
Greg


More information about the cython-devel mailing list