On Sun, 22 Apr 2007 at 13:23, Jorge Godoy wrote:
> It is True for Python so why should the validator change that behavior?
>
>>>> bool('0')
> True
>>>> bool('')
> False
>>>> bool('False')
> True
>>>>Hmm. All right, I guess I'll accept that logic. But given how the other validators effectively do round trip conversion, I found it counter intuitive. Nor would it be intuitive to have False rendered as '' as a string. Sometimes, I don't want to use checkboxes. Maybe it's a bug in Python :) :) :) --David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

