[Zope-Coders] Changes to ZPublisher

Donovan Baarda abo at minkirri.apana.org.au
Wed Oct 6 21:19:19 EDT 2004


On Thu, 2004-10-07 at 11:13, Sidnei da Silva wrote:
> On Thu, Oct 07, 2004 at 11:10:05AM +1000, Donovan Baarda wrote:
> Returning None gives a 'object cannot be published because doesn't
> have a docstring.' which is even worse.

Hmm... didn't notice that... nasty.

So what is the current way for a __bobo_traverse__ to indicate "object
does not exist" and result in a 404?

Perhaps AttributeError = 404 is a good idea after all...

-- 
Donovan Baarda <abo at minkirri.apana.org.au>
http://minkirri.apana.org.au/~abo/



More information about the Zope-Coders mailing list