On 2/13/06, Simon Belak <[EMAIL PROTECTED]> wrote: > Where func is the method being called and izip, ifiler and repeat are > from itertools. > If you are validating only keyword arguments, first and last line can be > omited needed. > > I do think a more general solution is called for in form of a library > function. Any ideas?
Perhaps turbogears.validate() needs to grow a new parameter to specify the handling of errors. The question becomes: which is the default? clear out bad values or leave them in? Kevin

