Message292123
| Author |
terry.reedy |
| Recipients |
Arfrever, Rostyslav.Dzinko, Winterflower, benjamin.peterson, docs@python, georg.brandl, martin.panter, serhiy.storchaka, terry.reedy, vstinner |
| Date |
2017年04月22日.16:09:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1492877357.95.0.137775687598.issue15718@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|