Thanks Armin, On Friday, April 1, 2011 6:31:48 AM UTC+7, Armin Ronacher wrote: > > The debug functionality is currently a crude hack but the best we can > accomplish for Python versions older 2.6. >
Just to confirm, I'm experiencing this problem with Python 2.6 as well (although I suppose you mean that, in order for jinja to be compatible with python 2.5, it uses the crude hack across the board, for all versions. Is that right?). As a fix for the moment: make sure the c extension is compiled and in > use by the Python you are running in Komodo. > I've tried using MarkupSafe with speedups (my markupsafe module has _speedups defined), but still experience the incorrect line reporting. Is that what you mean, or are you talking about a different c extension? Over the summer I will > hopefully write a new compiler for Jinja that no longer needs to fall > back to Python code generation which will get line numbers wrong. > That would be fantastic :) Thanks, -t -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
