Hi, Dag Sverre Seljebotn wrote: >> 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...
In any case, that would be a rewrite of the current implementation. Also, I don't think the Py2 version would work (not having looked at it) with the new I/O system. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
