April 22, 2017
4:09 p.m.
Terry J. Reedy added the comment: 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
---------- nosy: +serhiy.storchaka versions: +Python 3.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue15718> _______________________________________