Re: [Zope-dev] zope.interface versions, ZTK 1.0 and later
On Sat, Aug 13, 2011 at 3:55 AM, Stephan Richter wrote: > On Friday, August 12, 2011, Tres Seaver wrote: >> Thoughts? > > +1. Sounds like a good plan. +2 :) Hanno ___ 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 - FAILED: 2, OK: 37, UNKNOWN: 2
This is the summary for test reports received on the zope-tests list between 2011-08-11 00:00:00 UTC and 2011-08-12 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the builders is also available in our buildbot documentation: http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds Reports received Bluebream / Python2.4.6 64bit linux Bluebream / Python2.5.5 64bit linux Bluebream / Python2.6.5 64bit linux [1]FAILED (errors=1) : Zope-2.13-alltests Python-2.6.6 : Linux [2]UNKNOWN : winbot / ZODB_dev py_270_win32 ZTK 1.0 / Python2.4.6 Linux 64bit ZTK 1.0 / Python2.5.5 Linux 64bit ZTK 1.0 / Python2.6.5 Linux 64bit [3]ZTK 1.0dev / Python2.4.6 Linux 64bit [4]ZTK 1.0dev / Python2.5.5 Linux 64bit ZTK 1.0dev / Python2.6.5 Linux 64bit Zope 3.4 KGS / Python2.4.6 64bit linux Zope 3.4 KGS / Python2.5.5 64bit linux Zope 3.4 Known Good Set / py2.4-32bit-linux Zope 3.4 Known Good Set / py2.4-64bit-linux Zope 3.4 Known Good Set / py2.5-32bit-linux Zope 3.4 Known Good Set / py2.5-64bit-linux Zope-2.10 Python-2.4.6 : Linux Zope-2.11 Python-2.4.6 : Linux Zope-2.12 Python-2.6.6 : Linux Zope-2.12-alltests Python-2.6.6 : Linux Zope-2.13 Python-2.6.6 : Linux Zope-trunk Python-2.6.6 : Linux Zope-trunk-alltests Python-2.6.6 : Linux winbot / ZODB_dev py_254_win32 winbot / ZODB_dev py_265_win32 winbot / ZODB_dev py_265_win64 winbot / ZODB_dev py_270_win64 winbot / ztk_10 py_254_win32 winbot / ztk_10 py_265_win32 winbot / ztk_10 py_265_win64 winbot / ztk_11 py_254_win32 winbot / ztk_11 py_265_win32 winbot / ztk_11 py_265_win64 winbot / ztk_11 py_270_win32 winbot / ztk_11 py_270_win64 winbot / ztk_dev py_254_win32 winbot / ztk_dev py_265_win32 winbot / ztk_dev py_265_win64 winbot / ztk_dev py_270_win32 winbot / ztk_dev py_270_win64 Non-OK results -- [1]UNKNOWN FAILED (errors=1) : Zope-2.13-alltests Python-2.6.6 : Linux https://mail.zope.org/pipermail/zope-tests/2011-August/048064.html [2]UNKNOWN UNKNOWN : winbot / ZODB_dev py_270_win32 https://mail.zope.org/pipermail/zope-tests/2011-August/048045.html [3]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2011-August/048053.html [4]FAILED ZTK 1.0dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2011-August/048055.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] zope.interface versions, ZTK 1.0 and later
On Friday, August 12, 2011, Tres Seaver wrote: > Thoughts? +1. Sounds like a good plan. 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 )
[Zope-dev] zope.interface versions, ZTK 1.0 and later
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been wrestling with Launchpad bugs for zope.interface lately, and would like to hear from folks about the issues involved. - %< Overview - - - - Version 3.6.1 was the original ZTK 1.0 version. The substantial changes since then have been mostly due to issues which showed up while working on Python3 compatibility: o LP # 675064: Specify return value type for C optimizations module init under Python 3 (fixed in zope.interface 3.6.2). o LP 804951: InterfaceClass instances were unhashable under Python 3.x. (fixed in zope.interface 3.6.4). The fix here actually provoked the following bugs / fixes: o LP #811792: work around buggy behavior in some subclasses of 'zope.interface.interface.InterfaceClass', which invoke '__hash__' before initializing '__module__' and '__name__'. o Fix Python 2.5 incompatibility introduced in new tests of '__hash__'. o LP #825249: Fix test failure (only under 'python setup.py test') in those same new tests. At this point, the tests for the trunk (but not the main module itself) are not Python 2.4 compatible, because they try to test that a UserWarning is emitted using a 'with' statement. - - This fix is for non-CPython platforms: o LP #804832: Do not build C extension under PyPy or Jython. - - There is one issue not directly related to porting: o LP #570942: Now correctly compare interfaces from different modules but with the same names (fixed in 3.6.3). This fix is in two parts: it corrects extracting the '__module__' attribute, and adds the missing "rich comparison" operators ('__eq__', '__ne__', '__le__', '__ge__') The real "slippery slope" was adding '__eq__': it then required adding '__hash__', because Python's dictionary semantics require that objects which compare equal also hash equal, which then provokes the issues with subclasses which stash the instances in a dict before initializing the '__module__' and '__name__' attributes. - - The ZTK 1.0 branch was bumped to include zope.interface 3.6.3, which contained a number of the higer-risk changes, mostly made for porting purposes. Proposal - - - Revert ZTK 1.0 to use zope.interface 3.6.1. (We can skip this part if the next step goes quickly). - - Create a 3.6 branch in SVN, and revert all the post-3.6.1 changes on it. Release a new 3.6.6 from this branch, possibly after applying a new, more minimal fix for LP #570942. - - Bump ZTK 1.0 to use the zope.interface 3.6.6. - - Freeze development on the 3.6 branch. - - Release a 3.7.0 version from the trunk, with all the porting changes intact. Update ZTK 1.1 to use 3.7.0, - %< Thoughts? Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5FdRAACgkQ+gerLs4ltQ5dnACfRSDauatZn1iMmefLsIQABcDJ nSgAoNyJu8AS3M9ndEWveo/pbIVEfSRU =gSl/ -END PGP 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 )
[Zope-dev] pagination in bluebream
Hello all, I am trying to list out items in a container, as the number of objects in the container may be large I am trying to paginate them. Basically I am trying to implement something like 'LIMIT' and 'OFFSET' option available in SQL. I found z3c.batching package that does this. For this to work it needs the full list. IMHO, loading the entire list of objects on to the memory doesn't seem to be a good choice. I tried to use zope.catalog to get the object list. But, it has just the _limit option to control the output size. And again manipulating the _limit value to [offset + limit] and then trimming the results doesn't seem to be a clean approach. Is there any other better way of doing this? -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ 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 )