Hey all, When coding for the scikits.image project, we are making extensive use of Cython. It would be nice to have algorithms that work on multiple datatypes (numpy dtypes) without having to hand code everything. So, i've been toying around with how a simple templating syntax might look.
I've thrown this up on pastebin: http://pastebin.com/f1a49143d I would think (but really i have no idea) that this would be possible to have Cython do during cythonization. But I could implement a templating script that does it, just as proof of concept. What do you all think of that? Cheers, Chris
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
