On Mar 9, 11:57 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Fri, 09 Mar 2007 07:30:20 -0300, Gerard Flanagan
> <[EMAIL PROTECTED]> escribió:
>
> >> There is a serious flaw on this approach, the function can't return any
> >> false value (it would be treated as a failure).
>
> > I was teaching myself decorators more than anything, so it's not
> > thought out to any extent, but even so I don't think it's a "serious
> > flaw", rather it would be programmer error to use @onfailFalse on a
> > function that may return False. Don't you think?
>
> I thought this was on response to the original problem, not for your own
> problem.
>

Mea culpa.

Gerard



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to