id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 29006 DecimalField.clean() crashes on sNaN values Tim Graham Tim Graham "{{{ >>> from django.forms import DecimalField >>> DecimalField(max_digits=4, decimal_places=2) >>> f.clean('sNan') .... File ""django/django/forms/fields.py"", line 148, in clean self.validate(value) File ""django/django/forms/fields.py"", line 354, in validate if not math.isfinite(value): ValueError: cannot convert signaling NaN to float }}}" Bug closed Forms 2.0 Normal fixed Accepted 1 0 0 0 0 0