Re: decorating validators, CompoundValidator
"W-Mark Kubacki" <wmark-/[email protected]> Tue, 20 May 2008 20:17:25 +0200
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <!&!AAAAAAAAAAAYAAAAAAAAAItLYclRiTNErRhDCQ03QLwigQAAEAAAALw62Y5x1xRIndMeVQ+fJmEBAAAAAA==@hurrikane.de> |
>W-Mark Kubacki wrote: >> >> Can we introduce a Consecutive/Stepper/Decorating validator or reanimate >> the CompoundValidator, so the developer can combine decorators? [...] >From: Ian Bicking [mailto:[email protected]] > >I'd like one, I just can't think of the name. Unfortunately, and not >quite intentionally, All ended up being in this kind of reversed-order, >and fixing it would cause problematic compatibility problems elsewhere. > Maybe And()? Pipe() seems intuitive from the point of view of a BASH user. Chain() sounds similar to chained_validators, which might be misleading. Sequence(), Consecution()? The very first is my favorite. The validator should be rather trivial to write. If nobody volunteers I can implement it. -- Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ FormEncode-discuss mailing list FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/formencode-discuss
smime.p7s
(application/x-pkcs7-signature, 4.3 KB) - not displayed