[issue28876] bool of large range raises OverflowError

Mark Dickinson report at bugs.python.org
Tue Dec 13 14:46:41 EST 2016


Mark Dickinson added the comment:

Patch LGTM. You could safely drop the initialisers beyond `nb_bool` in the `range_as_number` struct (per C99 6.7.8p21), but it's fine as it is.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28876>
_______________________________________


More information about the Python-bugs-list mailing list