This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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