On Sep 13, 2010, at 9:42 AM, mdipierro wrote: > > yes please. thanks.
http://web.me.com/jlundell/filechute/validators.zip also IS_INT_IN_RANGE. > > On Sep 13, 11:22 am, Jonathan Lundell <[email protected]> wrote: >> On Sep 13, 2010, at 8:34 AM, Jonathan Lundell wrote: >> >> >> >>> Massimo, I notice that there's no way to call >>> IS_DECIMAL_IN_RANGE(None,None): that is, to ask for a decimal number >>> without caring about min/max. That seems wrong to me. >> >> The comment says: >> >>> The minimum and maximum limits can be None, meaning no lower or upper >>> limit, >>> respectively. >> >> ...but this seems not to be true. >> >> Same for IS_FLOAT_IN_RANGE. >> >> Would you like a patch? I think we should also default min & max to None, so >> one can call eg IS_DECIMAL_IN_RANGE()(something), meaning >> IS_DECIMAL()(something).

