Hi, Dag Sverre Seljebotn wrote: > Are there any real reasons for leaving the Cython compiler (not talking > about generated or supported code of course) at Python 2.3, rather than > a small bump to 2.4? Reason: I'd like decorators. > > The rationale: Notice that parse tree visitors can currently be written > like this: > > class AnalyseControlFlow(VisitorTransform): > def pre_FuncDefNode(self, node): > node.body.analyse_control_flow(node.scope) > return False # do not recurse beyond first function level
If this way of doing it is accepted, I'm actually for accepting 2.4 code. I don't know any important platform that doesn't come with at least Py2.4. And note that most people won't even need to run Cython themselves, even if they use software implemented in Cython. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
