[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/ Fix two snafus:

2007-03-21 Thread Martijn Pieters
Log message for revision 73418: Fix two snafus: - Python 2.3 doesn't support the @decorator syntax - Owner.py methods weren't protected Also, python 2.3's doctest module doesn't have any unittest integration, just remove the test_requestmethod.py glue. Changed: U

[Zope-Checkins] SVN: Zope/branches/2.9/ Issue #2294: 'requestmethod' protection for DOS-able ControlPanel methods.

2007-03-21 Thread Tres Seaver
Log message for revision 73422: Issue #2294: 'requestmethod' protection for DOS-able ControlPanel methods. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/2.9/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/trunk/ Issue #2294: 'requestmethod' protection for DOS-able ControlPanel methods.

2007-03-21 Thread Tres Seaver
Log message for revision 73424: Issue #2294: 'requestmethod' protection for DOS-able ControlPanel methods. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/App/ApplicationManager.py -=- Modified: Zope/trunk/doc/CHANGES.txt

[Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-21 Thread Stefan H. Holek
Python 2.3 does not support the @decorator syntax. Cheers, Stefan On 20. Mär 2007, at 10:05, Martijn Pieters wrote: Log message for revision 73390: - Backport a postonly decorator from Zope trunk's requestmethod decorator factory. - Protect various security-setting-mutators with this

Re: [Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-21 Thread Martijn Pieters
On 3/21/07, Stefan H. Holek [EMAIL PROTECTED] wrote: Python 2.3 does not support the @decorator syntax. My bad, I'll fix. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-21 Thread Martijn Pieters
On 3/21/07, Martijn Pieters [EMAIL PROTECTED] wrote: On 3/21/07, Stefan H. Holek [EMAIL PROTECTED] wrote: Python 2.3 does not support the @decorator syntax. My bad, I'll fix. Done. I hadn't even properly run the tests on the 2.8 branch, which would would also have shown that doctest on py

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

2007-03-21 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Mar 20 12:00:00 2007 UTC to Wed Mar 21 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Unknown --- Subject: UNKNOWN : Zope-2.8 Python-2.3.6 : Linux From: Zope Unit Tests Date: Tue Mar 20 21:42:36 EDT 2007 URL:

[Zope-dev] Licence of ZopeLDAP Product ?

2007-03-21 Thread Nicolas Delaby
Hi all, I can reach the author of ZopeLDAP Product ( http://www.zope.org/Members/jshell/ZopeLDAP). I'll like to know, which licence is used by ZopeLDAP Product, and how can we contribute to this Product ? Thanks for your help. -- Nicolas Delaby http://www.nexedi.com/

Re: [Zope-dev] Licence of ZopeLDAP Product ?

2007-03-21 Thread Andreas Jung
--On 21. März 2007 14:11:32 +0100 Nicolas Delaby [EMAIL PROTECTED] wrote: Hi all, I can reach the author of ZopeLDAP Product ( http://www.zope.org/Members/jshell/ZopeLDAP). I'll like to know, which licence is used by ZopeLDAP Product, and how can we contribute to this Product ? This

[Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-21 Thread Philipp von Weitershausen
Martijn Pieters wrote: On 3/21/07, Martijn Pieters [EMAIL PROTECTED] wrote: On 3/21/07, Stefan H. Holek [EMAIL PROTECTED] wrote: Python 2.3 does not support the @decorator syntax. My bad, I'll fix. Done. I hadn't even properly run the tests on the 2.8 branch, which would would also have

Re: [Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-21 Thread Martijn Pieters
On 3/21/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Done. I hadn't even properly run the tests on the 2.8 branch, which would would also have shown that doctest on py 2.3 doesn't have any unittest integration. But there's zope.testing.doctest which fixes that. It's a drop-in

Re: [Zope] Re: catalog aware not working.. help

2007-03-21 Thread Sascha Welter
(Tue, Mar 20, 2007 at 08:51:24AM +0100) Josef Meile wrote/schrieb/egrapse: You may also try to change the way you are sub classing. In my case, I put CatalogAware as the first sub class (left-most). Keep in mind that you really should be using CatalogPathAware not CatalogAware, or you will run

[Zope] Re: catalog aware not working.. help

2007-03-21 Thread Josef Meile
Hi, Keep in mind that you really should be using CatalogPathAware not CatalogAware, or you will run into trouble with absolute_url() and virtual hosting. Does it make a difference? If you go to Zope_home/lib/python/Products/ZCatalog/CatalogPathAwareness.py You will see that

Re: [Zope] Re: catalog aware not working.. help

2007-03-21 Thread Sascha Welter
(Wed, Mar 21, 2007 at 03:23:13PM +0100) Josef Meile wrote/schrieb/egrapse: Keep in mind that you really should be using CatalogPathAware not CatalogAware, or you will run into trouble with absolute_url() and virtual hosting. Does it make a difference? If you go to

[Zope] can I use incremental search without managable Indexes ?

2007-03-21 Thread joachim
Hi, I want to use Dieter Maurers incremental search. Can I do this without using his managable indexes ? -- Gruß Joachim ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope-DB] DCOracle2 with a Stored Procedure that Returns a ref_cur

2007-03-21 Thread Maan M. Hamze
The original issue with stored procedures that return a ref cursor has been resolved and it is working fine. As you mention, it was all along: c2 = c1.procedures.sp1(in1, in2, in3, in4) I was running into a problem with it, but the problem ended up being not with the stored procedure, but with

[Zope-DB] DCOracle2 TIMESTAMP DataType Issue

2007-03-21 Thread Maan M. Hamze
I checked dco2.c yesterday and I did notice that there is no converter for SQLT_TIMESTAMP: COVERTOUTF(SQLT_TIMESTAMP) I wanted to study the code further, so that I do not sound like an idiot :-D I noticed the following which discouraged me from making more comments about it: In struct

[Zope-DB] RE: DCOracle2 TIMESTAMP DataType Issue

2007-03-21 Thread Maan M. Hamze
This is the error I am getting with DCOracle2 on Win XP with a TIMESTAMP field fetched in a record set. r = c1.fetchone() Traceback (most recent call last): File stdin, line 1, in ? File C:\Python\lib\site-packages\DCOracle2\DCOracle2.py, line 1182, in fetch one v =