[Zope-Checkins] SVN: Zope/trunk/utilities/mkzopeinstance.py Make the SHA usage in mkzopeinstance a conditional import. Re-adds Python2.4 compatibility

2008-10-27 Thread Matthew Wilkes
Log message for revision 92606: Make the SHA usage in mkzopeinstance a conditional import. Re-adds Python2.4 compatibility Changed: U Zope/trunk/utilities/mkzopeinstance.py -=- Modified: Zope/trunk/utilities/mkzopeinstance.py

[Zope-Checkins] SVN: Zope/branches/2.10/doc/CHANGES.txt update

2008-10-27 Thread Andreas Jung
Log message for revision 92613: update Changed: U Zope/branches/2.10/doc/CHANGES.txt -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === --- Zope/branches/2.10/doc/CHANGES.txt 2008-10-27 15:11:27 UTC (rev 92612) +++

[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt update

2008-10-27 Thread Andreas Jung
Log message for revision 92614: update Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2008-10-27 15:12:07 UTC (rev 92613) +++

[Zope-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
Log message for revision 92621: 'any' and 'all' are not builtins in Python 2.4. Changed: U Zope/trunk/lib/python/AccessControl/tests/actual_python.py -=- Modified: Zope/trunk/lib/python/AccessControl/tests/actual_python.py ===

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py Clean up imports; skip testing 'key' argument to min/max in Python 2.5.

2008-10-27 Thread Tres Seaver
Log message for revision 92622: Clean up imports; skip testing 'key' argument to min/max in Python 2.5. Changed: U Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py -=- Modified: Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/DocumentTemplate/DT_Raise.py Import cleanup

2008-10-27 Thread Tres Seaver
Log message for revision 92624: Import cleanup Changed: U Zope/trunk/lib/python/DocumentTemplate/DT_Raise.py -=- Modified: Zope/trunk/lib/python/DocumentTemplate/DT_Raise.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/ Actually land the CRLF response header fix.

2008-10-27 Thread Tres Seaver
Log message for revision 92625: Actually land the CRLF response header fix. Changed: U Zope/trunk/lib/python/ZPublisher/HTTPResponse.py U Zope/trunk/lib/python/ZPublisher/tests/testHTTPResponse.py -=- Modified: Zope/trunk/lib/python/ZPublisher/HTTPResponse.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/tests/actual_python.py Typo.

2008-10-27 Thread Tres Seaver
Log message for revision 92628: Typo. Changed: U Zope/trunk/lib/python/AccessControl/tests/actual_python.py -=- Modified: Zope/trunk/lib/python/AccessControl/tests/actual_python.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py Pass key as positional, rather than keyword, to get passing on 2.5.

2008-10-27 Thread Tres Seaver
Log message for revision 92629: Pass key as positional, rather than keyword, to get passing on 2.5. Changed: U Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py -=- Modified: Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py Make test actually exercise guards in Python 2.5.

2008-10-27 Thread Tres Seaver
Log message for revision 92632: Make test actually exercise guards in Python 2.5. Changed: U Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py -=- Modified: Zope/trunk/lib/python/AccessControl/tests/testZopeGuards.py

[Zope-Checkins] SVN: Zope/trunk/doc/CHANGES.txt Note change

2008-10-27 Thread Tres Seaver
Log message for revision 92633: Note change Changed: U Zope/trunk/doc/CHANGES.txt -=- Modified: Zope/trunk/doc/CHANGES.txt === --- Zope/trunk/doc/CHANGES.txt 2008-10-27 20:34:06 UTC (rev 92632) +++ Zope/trunk/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/Testing/ZopeTestCase/doc/ Reverted r89899 (version bump).

2008-10-27 Thread Stefan H. Holek
Log message for revision 92640: Reverted r89899 (version bump). Changed: U Zope/branches/2.11/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt U Zope/branches/2.11/lib/python/Testing/ZopeTestCase/doc/VERSION.txt -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.11/ Repair changelog faux pas.

2008-10-27 Thread Stefan H. Holek
Log message for revision 92641: Repair changelog faux pas. Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt -=- Modified: Zope/branches/2.11/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/trunk/ Repair changelog mishap.

2008-10-27 Thread Stefan H. Holek
Log message for revision 92643: Repair changelog mishap. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt -=- Modified: Zope/trunk/doc/CHANGES.txt === ---

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/testing

[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

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 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: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 a

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: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: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 the

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 do it

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

[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.

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] 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

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 it

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

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 Silva

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] [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([False,

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, thanks for

[Zope] unknown IndexError 41

2008-10-27 Thread PeaceLove
hello! everything was working fine until a couple of days ago and now.. Obviously I have no exact traceback of what was done on the machine, but I updated my gentoo box by emerging some apps (nothing apparently involving plone/zope/python/mysql...) :-( Now I really do not know where to bang

Re: [Zope] unknown IndexError 41

2008-10-27 Thread Andreas Jung
The traceback tells you where the error occurs: On 27.10.2008 14:04 Uhr, PeaceLove wrote: 37 while fieldpos fieldmax[0][col_count]: 38 cabi_data_field = cabi_data_record[fieldpos] Further investigations are up to you - we have no idea what's in your

[Zope] unknown IndexError 41

2008-10-27 Thread PeaceLove
hello! everything was working fine until a couple of days ago and now.. Obviously I have no exact traceback of what was done on the machine, but I updated my gentoo box by emerging some apps (nothing apparently involving plone/zope/python/mysql...) :-( Now I really do not know where to bang

Re: [Zope] find zodb object sizes

2008-10-27 Thread Markus Bleicher
Hi Yuri and Andreas! Andreas Jung wrote: On 20.10.2008 17:46 Uhr, Yuri wrote: Hi! I would like to run a script to see what objects size is, printing the zodb path. analize.py gives me a floating point division error, so I would like to ask if there's a simpler way to see what there's

[Zope] zope's clipboard

2008-10-27 Thread Garry Saddington
Is there a way to programmatically remove items from the clipboard. Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] zope's clipboard

2008-10-27 Thread Andreas Jung
On 27.10.2008 18:05 Uhr, Garry Saddington wrote: Is there a way to programmatically remove items from the clipboard. There nothing like a clipboard. The information you consider as clipboard is stored as __cp cookie on the client side. -aj begin:vcard fn:Andreas Jung n:Jung;Andreas

Re: [Zope] zope's clipboard

2008-10-27 Thread Garry Saddington
On Monday 27 October 2008 17:37, Andreas Jung wrote: On 27.10.2008 18:05 Uhr, Garry Saddington wrote: Is there a way to programmatically remove items from the clipboard. There nothing like a clipboard. The information you consider as clipboard is stored as __cp cookie on the client side. OK,

Re: [Zope] zope's clipboard(solved)

2008-10-27 Thread Garry Saddington
On Monday 27 October 2008 18:35, Garry Saddington wrote: On Monday 27 October 2008 17:37, Andreas Jung wrote: On 27.10.2008 18:05 Uhr, Garry Saddington wrote: Is there a way to programmatically remove items from the clipboard. There nothing like a clipboard. The information you consider