Re: [Zope-dev] Zope Tests: 4 OK, 1 Failed

2008-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: >> Subject: FAILED (failures=3, errors=4) : Zope-trunk Python-2.4.4 : Linux >> From: Zope Tests >> Date: Sun Oct 26 22:03:25 EDT 2008 >> URL: http://mail.zope.org/pipermail/zope-tests/2008-October/010375.html > > Sidnei, > > First,

Re: [Zope-dev] [Checkins] SVN: Zope/trunk/lib/python/AccessControl/tests/actual_python.py 'any' and 'all' are not builtins in Python 2.4.

2008-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zvezdan Petkovic wrote: > Is this a typo? Yes, thanks for the catch. > On Oct 27, 2008, at 1:57 PM, Tres Seaver wrote: > >> def f13(): >> -assert any([True, True, True]) == True >> -assert any([True, False, True]) == True >> -assert any(

Re: [Zope-dev] Zope Tests: 4 OK, 1 Failed

2008-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Subject: FAILED (failures=3, errors=4) : Zope-trunk Python-2.4.4 : Linux > From: Zope Tests > Date: Sun Oct 26 22:03:25 EDT 2008 > URL: http://mail.zope.org/pipermail/zope-tests/2008-October/010375.html Sidnei, First, thanks for working to get the

Re: [Zope-dev] Proposal: Backporting some Python 2.5/2.6 fixes

2008-10-27 Thread Sidnei da Silva
On Mon, Oct 27, 2008 at 4:06 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: > Please create branches first and then lets review the changes. Great. > What is the > state of the compatability of Z3 modules with Python 2.5/2.6 as used in Zope > 2.10/2.11? Hard to tell at this point. -- Sidnei da Si

Re: [Zope-dev] Proposal: Backporting some Python 2.5/2.6 fixes

2008-10-27 Thread Andreas Jung
On 27.10.2008 18:55 Uhr, Sidnei da Silva wrote: On Mon, Oct 27, 2008 at 3:42 PM, Andreas Jung<[EMAIL PROTECTED]> wrote: Why do we need these backports on the current maintenance branches? They are small cleanups that could potentially allow someone to run Python 2.5 or 2.6 if they really real

Re: [Zope-dev] Proposal: Backporting some Python 2.5/2.6 fixes

2008-10-27 Thread Sidnei da Silva
On Mon, Oct 27, 2008 at 3:42 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: > Why do we need these backports on the current maintenance branches? They are small cleanups that could potentially allow someone to run Python 2.5 or 2.6 if they really really really wanted to, but note should be made that

[Zope-dev] Proposal: Backporting some Python 2.5/2.6 fixes

2008-10-27 Thread Sidnei da Silva
Hi all, I would like to propose backporting some of the fixes needed for Python 2.5 and 2.6 all the way down to Zope 2.10. The fixes that would be backported would only be those that deal with syntax changes (eg: 'with' and 'as' keyword being used as variables, relative imports) and some C-level c

Re: [Zope-dev] Proposal: Backporting some Python 2.5/2.6 fixes

2008-10-27 Thread Andreas Jung
On 27.10.2008 18:36 Uhr, Sidnei da Silva wrote: Hi all, I would like to propose backporting some of the fixes needed for Python 2.5 and 2.6 all the way down to Zope 2.10. The fixes that would be backported would only be those that deal with syntax changes (eg: 'with' and 'as' keyword being used

[Zope-dev] catalog performance: query plan

2008-10-27 Thread Alan Runyan
I agree with Tres. A lot more can be done with Indexes and Catalog without caching. The most exiciting development in Catalog optimizations comes out Jarn. Helge Tesdal (iirc) did a buncha work at a RDBMS company when he was in college. He has a protoype of a query plan for ZCatalog. http://w

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roché Compaan wrote: > On Sun, 2008-10-26 at 14:07 -0400, Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Roché Compaan wrote: >>> On Sat, 2008-10-25 at 09:20 +0200, Hedley Roos wrote: > Have you measures the time needs

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Andreas Jung
On 27.10.2008 17:18 Uhr, Rudá Porto Filgueiras wrote: On Mon, Oct 27, 2008 at 12:33 PM, Andreas Jung<[EMAIL PROTECTED]> wrote: On 27.10.2008 16:28 Uhr, Rudá Porto Filgueiras wrote: I will sugest a package called zope.memcached (like zope.sqlalchemy does for SQLAlchemy integration). That way a

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Rudá Porto Filgueiras
On Mon, Oct 27, 2008 at 12:33 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: > On 27.10.2008 16:28 Uhr, Rudá Porto Filgueiras wrote: > >> I will sugest a package called zope.memcached (like zope.sqlalchemy >> does for SQLAlchemy integration). >> That way any application who need to talk memcached can

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Andreas Jung
On 27.10.2008 16:28 Uhr, Rudá Porto Filgueiras wrote: I will sugest a package called zope.memcached (like zope.sqlalchemy does for SQLAlchemy integration). That way any application who need to talk memcached can do it with out loose atomicit. I don't see a particular reason for creating a new

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Rudá Porto Filgueiras
Roché, On Mon, Oct 27, 2008 at 9:08 AM, Roché Compaan <[EMAIL PROTECTED]> wrote: > I agree that one should look at improving performance without caching as > well. But this is a lot harder and takes significantly more development > and debugging time than introducing some form caching. So I'm not

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Russ Ferriday
On 27 Oct 2008, at 13:10, Roché Compaan wrote: Improving the performance of indexes is really really hard. In this case I really don't think caching is a band-aid, it is a good solution. Even with optimised indexes, you will find that you need caching to get reasonable performance i

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Roché Compaan
On Mon, 2008-10-27 at 13:41 +0100, Jens Vagelpohl wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On Oct 27, 2008, at 13:32 , Roché Compaan wrote: > > > On Mon, 2008-10-27 at 13:23 +0100, Jens Vagelpohl wrote: > >> When it comes to integrating anything in Zope itself I'd choose th

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Roché Compaan
On Mon, 2008-10-27 at 12:42 +, Russ Ferriday wrote: > Have you looked at whether you are overflowing the zeocache and having > to fetch your catalog from disk too often? The timing mentioned in > this thread seems about right for that to be the case. > > I have a client with about a 300k small

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Russ Ferriday
Have you looked at whether you are overflowing the zeocache and having to fetch your catalog from disk too often? The timing mentioned in this thread seems about right for that to be the case. I have a client with about a 300k small documents, for whom I have separated the catalog from the

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Oct 27, 2008, at 13:32 , Roché Compaan wrote: > On Mon, 2008-10-27 at 13:23 +0100, Jens Vagelpohl wrote: >> When it comes to integrating anything in Zope itself I'd choose the >> latter. > > Sure, we're not trying to get this into Zope, we're just

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Roché Compaan
On Mon, 2008-10-27 at 13:23 +0100, Jens Vagelpohl wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On Oct 27, 2008, at 13:08 , Roché Compaan wrote: > > > On Sun, 2008-10-26 at 14:07 -0400, Tres Seaver wrote: > >> - Plone uses too many indexes, and in particular, uses multiple text

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Oct 27, 2008, at 13:08 , Roché Compaan wrote: > On Sun, 2008-10-26 at 14:07 -0400, Tres Seaver wrote: >> - Plone uses too many indexes, and in particular, uses multiple text >> indexes. Having extra indexes around "just in case" is a sure lose

Re: [Zope-dev] ZCatalog caching with memcached

2008-10-27 Thread Roché Compaan
On Sun, 2008-10-26 at 14:07 -0400, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Roché Compaan wrote: > > On Sat, 2008-10-25 at 09:20 +0200, Hedley Roos wrote: > >>> Have you measures the time needs for some "standard" ZCatalog queries > >>> used with a Plone site with t

[Zope-dev] Zope Tests: 4 OK, 1 Failed

2008-10-27 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Sun Oct 26 12:00:00 2008 UTC to Mon Oct 27 12:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Test failures - Subject: FAILED (failures=3, errors=4) : Zope-trunk Python-2.4.4 : Linux From: Zope Tests Date: Sun Oct 26 22:03:

Re: [Zope-dev] SVN: Zope/trunk/lib/python/zope/ - Revert to an older zope.testing. New one is way too new

2008-10-27 Thread Marius Gedminas
On Sun, Oct 26, 2008 at 11:35:09AM -0400, Tres Seaver wrote: > Sidnei da Silva wrote: > > Log message for revision 92597: > >- Revert to an older zope.testing. New one is way too new > > Before: > > > testing > > svn://svn.zope.org/repos/main/zope.testing/tags/3.5.3/src/zope/tes