Comment 2 for bug 98479

Revision history for this message
Marius Gedminas (mgedmin) wrote :

I've looked briefly at this error. The error is raised because the defaults for min_value and max_value are both None. This fails type checking, because None is not an int or a long. When missing_value is None, type checking is skipped.

I have to admit that I do not understand the semantics of missing_value.

I think that Int should allow min_value and max_value to be None regardless of the missing_value setting. Nones should be treated as minus infinity and plus infinity respectively.