[z3-five] Re: 0.2 release
Martijn Faassen
faassen at infrae.com
Fri Sep 24 15:10:02 MEST 2004
Philipp von Weitershausen wrote:
> Sidnei da Silva wrote:
>> 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 ;)
Right, we need a test for this *and* for the weird error message that we
get now. I'm releasing 0.2b now. 0.2 final can come when we fix this bad
behavior, but I really can't do it on my own; Sidnei will have to assist
here by at least writing some tests that demonstrate the behavior (or
pointing out which tests currently do so).
Regards,
Martijn
More information about the z3-five
mailing list