Re: [Zope-dev] ZCA proposal
On Thursday 03 December 2009, Marius Gedminas wrote: > > IFoo.adapt(...) > > > > IFoo.utility(...) > > +1 for this. > > -1 for IFoo((foo, bar)). > +1 from me on that too. (I'll join the bandwagon. :-) Regards, Stephan -- Entrepreneur and Software Geek Google me. "Zope Stephan Richter" ___ 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 )
Re: [Zope-dev] Get rid of doctest.py in zope.testing? (Was: Bootstrapping ZCA for Python 3.)
On Tue, Dec 8, 2009 at 12:55, Jim Fulton wrote: > On Tue, Dec 8, 2009 at 6:29 AM, Lennart Regebro wrote: >> On Mon, Dec 7, 2009 at 23:20, Lennart Regebro wrote: >>> OK, I'm going to try to remove doctest.py from my branch >> >> Done. There are two tests that still fail under Python 2.x: >> >> unicode.txt: >> >> "There was another unicode bug. When a function returned unicode some >> internal >> state switched. This broke any further test not returning unicode but a plain >> string with unicode characters. Make sure this works now::" >> >> Well, it doesn't. >> >> testrunner-repeat.txt: >> >> The second repetition of the test fails, it seems all local variables >> suddenly are gone. Loads of "NameError: name 'x' is not defined". No >> idea how that happened. >> >> >> I assume these are errors fixed in zope.testings copy of doctest, but >> never in stdlib. Maybe Jim knows? > > The unicode test relates to a feature that was added to both the > stdlib doctest and the zope.testing doctest. This was some time ago. I > don't remember any details. > > I don't recall any special changes in the zope.testing version of > doctest to support repetition. OK. I have no clue, it's clearly complex bugs, and I've spent two days on zope.testing already, so I'm taking a break from the Python 3 porting of the ZCA. If anyone wants to dig into these bugs the branch is http://svn.zope.org/zope.testing/branches/regebro-python3-reloaded/ -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 ___ 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 )
[Zope-dev] Zope Tests: 6 OK
Summary of messages to the zope-tests list. Period Mon Dec 7 12:00:00 2009 UTC to Tue Dec 8 12:00:00 2009 UTC. There were 6 messages: 6 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Mon Dec 7 20:38:21 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-December/013155.html Subject: OK : Zope-2.11 Python-2.4.6 : Linux From: Zope Tests Date: Mon Dec 7 20:40:21 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-December/013156.html Subject: OK : Zope-2.12 Python-2.6.4 : Linux From: Zope Tests Date: Mon Dec 7 20:42:21 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-December/013157.html Subject: OK : Zope-2.12-alltests Python-2.6.4 : Linux From: Zope Tests Date: Mon Dec 7 20:44:21 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-December/013158.html Subject: OK : Zope-trunk Python-2.6.4 : Linux From: Zope Tests Date: Mon Dec 7 20:46:21 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-December/013159.html Subject: OK : Zope-trunk-alltests Python-2.6.4 : Linux From: Zope Tests Date: Mon Dec 7 20:48:21 EST 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-December/013160.html ___ 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 )
Re: [Zope-dev] Get rid of doctest.py in zope.testing? (Was: Bootstrapping ZCA for Python 3.)
On Tue, Dec 8, 2009 at 6:29 AM, Lennart Regebro wrote: > On Mon, Dec 7, 2009 at 23:20, Lennart Regebro wrote: >> OK, I'm going to try to remove doctest.py from my branch > > Done. There are two tests that still fail under Python 2.x: > > unicode.txt: > > "There was another unicode bug. When a function returned unicode some internal > state switched. This broke any further test not returning unicode but a plain > string with unicode characters. Make sure this works now::" > > Well, it doesn't. > > testrunner-repeat.txt: > > The second repetition of the test fails, it seems all local variables > suddenly are gone. Loads of "NameError: name 'x' is not defined". No > idea how that happened. > > > I assume these are errors fixed in zope.testings copy of doctest, but > never in stdlib. Maybe Jim knows? The unicode test relates to a feature that was added to both the stdlib doctest and the zope.testing doctest. This was some time ago. I don't remember any details. I don't recall any special changes in the zope.testing version of doctest to support repetition. Jim -- Jim Fulton ___ 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 )
Re: [Zope-dev] Get rid of doctest.py in zope.testing? (Was: Bootstrapping ZCA for Python 3.)
On Mon, Dec 7, 2009 at 23:20, Lennart Regebro wrote: > OK, I'm going to try to remove doctest.py from my branch Done. There are two tests that still fail under Python 2.x: unicode.txt: "There was another unicode bug. When a function returned unicode some internal state switched. This broke any further test not returning unicode but a plain string with unicode characters. Make sure this works now::" Well, it doesn't. testrunner-repeat.txt: The second repetition of the test fails, it seems all local variables suddenly are gone. Loads of "NameError: name 'x' is not defined". No idea how that happened. I assume these are errors fixed in zope.testings copy of doctest, but never in stdlib. Maybe Jim knows? -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 ___ 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 )