> BTW, in Py3, "print" will simply call the print function. The tricky thing is > to generate the cleanup code correctly for the two code branches that the C > preprocessor selects in Py2 and Py3...
I'm probably missing something. But it appears that one could simply provide an implementation of the "print" function for Py2 (as verbatim C code pasted in) with the same signature and call it in the same way... -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
