Re: Changes to ZPublisher

Sidnei da Silva <[email protected]>
Newsgroups gmane.comp.web.zope.coders
Message-ID <[email protected]>
On Wed, Oct 06, 2004 at 01:30:40PM -0400, Chris McDonough wrote:
| > - Tres said that NotFound should not be raised by application code,
| >   but only by ZPublisher.
| 
| Agreed.  Although, maybe in the case of __bt__, you could bend this
| rule?  I really don't know what the right answer is.

I could, but then it breaks PageTemplates path expressions. :(

| > So, just to clarify, are you ok with converting the
| > AttributeError/KeyError to NotFound on ZPublisher and not trying to
| > fallback to __getattr__/__getitem__?
| 
| I guess I'd be -0 on it given this explanation of the problem you're
| trying to solve.

That's good enough for me :)

-- 
Sidnei da Silva <[email protected]>
http://awkly.org - dreamcatching :: making your dreams come true
http://www.enfoldsystems.com
http://plone.org/about/team#dreamcatcher

<allexpro> discovering twisted is probably the best thing that has happened in my life
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.