Message292123
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 |
|
Date |
User |
Action |
Args |
2017-04-22 16:09:18 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, vstinner, benjamin.peterson, Arfrever, docs@python, martin.panter, serhiy.storchaka, Rostyslav.Dzinko, Winterflower |
2017-04-22 16:09:17 | terry.reedy | set | messageid: <1492877357.95.0.137775687598.issue15718@psf.upfronthosting.co.za> |
2017-04-22 16:09:17 | terry.reedy | link | issue15718 messages |
2017-04-22 16:09:17 | terry.reedy | create | |
|