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).

Reply via email to