On Sat, 29 Jul 2006 12:29:13 +0200
Alberto Valverde <[EMAIL PROTECTED]> wrote:

> I think the best solution for this would be to avoid guessing  
> altogether as it'll will follow the "In the face of ambiguity, avoid  
> the temptation to guess" PyZen principle and make this validator  
> default to a String if no one is given. However, it would break some  
> existing code until it's fixed with an explicit validator. Opinions?
> 
> Hope I've made it clearer,
> Alberto

It's only the case where options are a callable that things are
ambiguous.  If I create a SelectField with a list of ints as the
options, I'm pretty sure I want the validator to be for a list of
ints.  Is that really ambiguous?

It's only because callables are automatically executed that we run into
this problem.

Jason

Attachment: signature.asc
Description: PGP signature

Reply via email to