[Zope3-dev] porting ZPT fixes to Zope 3
Godefroid Chapelle
gotcha@swing.be
Tue, 17 Dec 2002 11:38:32 +0100
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 =3D """<p tal:content=3D"python:u'd=E9j=E0-vu'">para</p>"""
EXPECTED =3D u"""<p>d=E9j=E0-vu</p>""" "\n"
self.compare(INPUT, EXPECTED)
def check_unicode_structure(self):
INPUT =3D """<p tal:replace=3D"structure=
python:u'd=E9j=E0-vu'">para</p>"""
EXPECTED =3D u"""d=E9j=E0-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