Jorge Godoy wrote:
Simon Belak <[EMAIL PROTECTED]> writes:
what do you think is a better default for non-existing input fields, None or
string of length 0? I'm more inclined toward the latter since for some reason
formencode.validators.String.to_python does not convert None to "", therefore
one might not get what one expects.
I prefer None. With regards to the conversion, I believe that if you use
"if_empty" you can get the conversion done... It just isn't done by default.
Yes, but if_empty will raise an error on None.