Jeff Watkins wrote:
Alberto, as I understand the __nonzero__ method, it should return True
if the object should be considered True and False if the object should
be considered False. The eval_with_object method has the exact same
semantics.
Perhaps one of the other conditions (for which I'm too lame to write
unit tests) has its condition inverted...
It sure sounds reasonable... I'll need to investigate more tomorrow
then, maybe I'll write a couple of tests as my app really needs to get
this working... thanks
Alberto
- [TurboGears] Re: Identity now supports richer requiremen... Alberto Valverde
-