On Sep 23, 2008, at 11:41 AM, Aaron DeVore wrote:

> I'm really happy with the automatic isinstance ->  
> PyObject_TypeCheck change, but another question comes up. How do I  
> make my code backward compatible? Just having isinstance be slower  
> on older versions (pre 0.9.8.2) would work, but there would still  
> be a performance hit.
>
> My first thought is to use Lisandro's hack (http://codespeak.net/ 
> pipermail/cython-dev/2008-September/002358.html) in the immediate  
> future until Cython 0.9.8.2+ is more widely adopted. Does that  
> sound like the best option?

Yes, I think it is.

- Robert
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to