Constraining to min_value and max_value range only occurs in the obscure
condition where the default value is used in place of a non-numeric value. In
other words, it doesn't really happen.
eg get_range("a", 10, 20)
where "/?a=4"
expect 10
get 4
The block starting "if value is not None:" needs to be unindented to take it
out of the exception clause.
Original issue reported on code.google.com by jul...@bitrivers.com on 3 Feb 2012 at 4:06
Original issue reported on code.google.com by
jul...@bitrivers.com
on 3 Feb 2012 at 4:06