Re: Can Plone run properly with zope.tal 3.6.1?
Ruslan Makhmatkhanov <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
Luca Fabbri wrote on 10.10.2013 11:07: > On Wed, Oct 9, 2013 at 6:29 PM, David Glick (Plone) > <david.glick-z4DKO/[email protected]> wrote: >> On 10/9/13 3:40 AM, Luca Fabbri wrote: >>> I found an issue on one of our add-ons. Sometimes we get an >>> "zope.tal.htmltalparser.NestingError:" >>> >>> It seems related to the Python version (Python 2.6 only). >>> >>> On Python 2.7 (at least python 2.7.5) this error will not be triggered >>> because something has been fixed on Python core (see >>> http://bugs.python.org/issue670664). >>> >>> zope.tal 3.6.1 has a fix for this bug. Using version 3.6.1 and Python >>> 2.6 will fix the error! >>> >>> I'm wondering if Plone can work properly with this version of >>> zope.tal. Loogin at changes it not seems very different. >>> >>> >> zope.tal 3.6.1 is not backwards-compatible, because it changes how tags >> within script tags are interpreted. So I guess we can switch to it for >> Plone 5, but not Plone 4. (But you can pin it for a particular project >> if you want.) >> David Do you mean messages like that that I see when installing some packages? """ Extracting Products.CMFCore-2.2.7-py2.7.egg to /usr/local/lib/python2.7/site-packages File "/usr/local/lib/python2.7/site-packages/Products.CMFCore-2.2.7-py2.7.egg/Products/CMFCore/tests/fake_skins/fake_skin/test1.py", line 1 return 'test1' SyntaxError: 'return' outside function """ I seems have no problems with zope.tal 3.6.1... -- Regards, Ruslan T.O.S. Of Reality ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk