[z3-five] Re: 0.2 release

Philipp von Weitershausen philipp at weitershausen.de
Fri Sep 17 12:00:00 MEST 2004


Sidnei da Silva wrote:
> On Wed, Sep 15, 2004 at 02:58:53PM +0200, Martijn Faassen wrote:
> | Weird, yesterday this mail didn't show up, I replied to it saying what I 
> | wanted to say, but today it's there again. Yesterday my brain wasn't 
> | properly functioning so that might be the cause..
> | 
> | Anyway, another thing to do with our release is fix the 'docstring 
> | missing' bug in case what you're looking for is not found. Sidnei was 
> | saying something about doing this for a reason (path expressions in 
> | ZPT?). I'm unclear about the reason; could we have details? He also said 
> | this only appears in some setups of Zope. What does that mean?
> | 
> | I might still do a Five 0.2 beta release today, but I don't want to do a 
> | proper 0.2 release until this bug is resolved.
> 
> I dont have all the details, but i remember it was something in the
> terms of:
> 
> tal:define="bla foo/bar|foo/baz|nothing"
> 
> if foo/bar raised a NotFoundError, zpt doesn't catch it and then the
> template breaks. Now I think it should raise a AttributeError or
> KeyError instead of returning None. This is probably the right thing
> *wink*.

Whatever it is, we would need a test for it. Failing tests are ok, too ;)

Philipp



More information about the z3-five mailing list