[Zope-dev] Zope Tests: 5 OK

2007-03-28 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Tue Mar 27 12:00:00 2007 UTC to Wed Mar 28 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Tue Mar 27 20:49:52 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007503.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Tue Mar 27 20:51:22 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007504.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Tue Mar 27 20:52:52 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007505.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Tue Mar 27 20:54:22 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007506.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Tue Mar 27 20:55:52 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007507.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Bug in Traversable.py

2007-03-28 Thread Lennart Regebro

On 3/23/07, Roché Compaan [EMAIL PROTECTED] wrote:

Thus, often string attributes will fail with this check.


I don't understand how you reach that conclusion.


In my opinion the code should read:

if not ok:
if (container is not None or
guarded_getattr(obj, name, _marker)
!= next):
raise Unauthorized(name)


No, we are checking for identity there, because that's what we want to
check. The question is why guarded_getattr(obj, name, _marker) and
bobo_traverse(REQUEST, name) doesn't return the same object in this
case.


If you agree that his is a bug, I'll log it.


I suspect that the bug is something different than this.

--
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )