On Sat, Feb 09, 2013 at 12:31:27PM +0200, Marius Gedminas wrote: > On Sat, Feb 09, 2013 at 01:00:02AM +0000, Zope tests summarizer wrote: > >  FAILED winbot / zope.tal_py_265_32 > > https://mail.zope.org/pipermail/zope-tests/2013-February/072020.html > > Oh dear, http://zope3.pov.lt/trac/changeset/129235 was not enough to make > all of the problem go away. I get the impression that using tal:repeat > somehow produces a \r\r\n on one of the lines.
Yes, it's a \r\r\n. > The least bad thing about this is that I can reproduce the bug if I use > wine c:/python27/python27.exe to bootstrap a buildout, and convert the > test files to DOS line endings. No need for wine, this reproduces nicely on Linux, as long as I convert the files to DOS line endings. > People who care about Windows are invited to help out figure out what's > the sensible thing for zope.tal to do. I'm guessing \r\r\n in the output is undesirable. > Complication: the XML parser used by zope.tal only works with byte > strings on Python 3, and open(filename 'rb') doesn't do newline > conversions. Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development
Description: Digital signature
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )