Message 292123 - Python tracker
Has or will builtin classes be modified to follow advice to include a separate __bool__? In 3.6.1,
>>> r = range(19**100)
>>> bool(r)
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
bool(r)
OverflowError: Python int too large to convert to C ssize_t