Re: validators.All

Ian Bicking <[email protected]> Wed, 25 Jun 2008 11:05:58 -0500
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
Brian Bird wrote:
> Thanks - that looks like the same thread I found previously on
> sourceforge.
> 
> However, the conclusion was that there is "unnecessary cleverness" and
> further investigation seems to suggest this problem exists for all
> Compound Validators (including those used by the MultipleSelectionField
> in TurboGears) and for all attributes to do with empty cases (if_empty,
> empty_value, if_missing and not_empty)
> 
> Therefore is there anything likely to be done about this or is this
> behaviour supposed to happen?

Well, I was hoping there would be a reimplementation of All as Pipe. 
Though I suppose it could just be changed so that this particular 
exception isn't present.  Though I'm not really sure this is the right 
behavior there.  Anyway, I've made the change to the trunk for now.

-- 
Ian Bicking : [email protected] : http://blog.ianbicking.org

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php