[Zope3-dev] porting ZPT fixes to Zope 3

Florent Guillaume fg@nuxeo.com
19 Dec 2002 16:18:36 +0100


I'll try to port those fixes, as I've been working a bit with the code
for page templates.

Florent

On Tue, 2002-12-17 at 11:38, Godefroid Chapelle wrote:
> At 10:12 17/12/2002, Steve Alexander wrote:
> >Hi folks,
> >
> >Evan has recently fixed various bugs in page templates for Zope 2.
> >
> >These fixes should be ported to Zope 3. Any volunteers?
> >
> >
> >http://collector.zope.org/Zope/451
> >
> >http://collector.zope.org/Zope/468 (possibly the same as 451)
> 
> done
> 
> 
> >http://collector.zope.org/Zope/326 (the code pertaining to this one can
> >                                      be simplified for Zope 3, as we are
> >                                      only supporting Python 2.2.2 and
> >                                      above.)
> 
> not enough understanding of generators
> 
> >http://collector.zope.org/Zope/721
> 
> done
> 
> >There may be more that I have missed.
> 
> I found two unicode tests in test_talinterpreter.py
> 
>      def check_unicode_content(self):
>          INPUT = """<p tal:content="python:u'déjà-vu'">para</p>"""
>          EXPECTED = u"""<p>déjà-vu</p>""" "\n"
>          self.compare(INPUT, EXPECTED)
> 
>      def check_unicode_structure(self):
>          INPUT = """<p tal:replace="structure python:u'déjà-vu'">para</p>"""
>          EXPECTED = u"""déjà-vu""" "\n"
>          self.compare(INPUT, EXPECTED)
> 
> 
> Do they have also to be added ?
> 
> I found out that  #372 has not been ported either.
> 
> But did not find related tests.
> >--
> >Steve Alexander
> 
> --
> 
> Godefroid Chapelle
> 
> BubbleNet sprl
> rue Victor Horta, 18 / 202
> 1348 Louvain-la-Neuve
> Belgium
> 
> Tel + 32 (10) 459901
> Mob + 32 (477) 363942
> 
> TVA 467 093 008
> RC Niv 49849
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com