[z3-five] Re: Traversal issue [was: 0.2 release]
Sidnei da Silva
sidnei at awkly.org
Mon Oct 4 18:01:28 MEST 2004
On Mon, Oct 04, 2004 at 11:58:16AM -0400, Tres Seaver wrote:
| Sidnei da Silva wrote:
| >| Ok, going to make a patch and put in the collector then.
| >
| >Before posting to the collector, could someone proof-read it? It makes
| >the tests pass on my branch. Will also add tests to Zope itself if it
| >looks good.
|
| The patch looks pretty much right to me; it just makes
| __bobo_traverse__ behave like getattr and getitem. With tests, I'm +1
| for adding it to Zope 2.7 and 2.8.
I'm a bit worried that in the case __bobo_traverse__ raises a
AttributeError, __getitem__ will be tried, which is different from the
previous behavior. Do you see that as a problem?
--
Sidnei da Silva <sidnei at awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://www.enfoldsystems.com
http://plone.org/about/team#dreamcatcher
The only thing worse than X Windows: (X Windows) - X
More information about the z3-five
mailing list