Re: zope-tests - FAILED: 3, OK: 21

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20130209170812.GA23690@platonas>
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:
> > [3]    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

_______________________________________________
Zope-Dev maillist  -  [email protected]
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 )
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFRFoJ8kVdEXeem148RAuGEAJ9twZffEqsfcme8Jr5SkjLXNV2f1ACcD/C9
fcxa46VXihgfct8HDeKqh5c=
=RVlo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.