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 rhettinger
Recipients aa1371, rhettinger, sarf, steven.daprano
Date 2021-04-24.23:03:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619305422.22.0.298404976001.issue43929@roundup.psfhosted.org>
In-reply-to
Content
Steven is right that this would be a behavior change.  It is also out of line with Python norms where all objects are born true and have to learn to be false with either __len__ or __bool__.  It is not a norm for bool(obj) to raise an exception.

Following Steven's suggestion, I'll mark this a closed.

Thank for the suggestion.
History
Date User Action Args
2021-04-24 23:03:42rhettingersetrecipients: + rhettinger, steven.daprano, sarf, aa1371
2021-04-24 23:03:42rhettingersetmessageid: <1619305422.22.0.298404976001.issue43929@roundup.psfhosted.org>
2021-04-24 23:03:42rhettingerlinkissue43929 messages
2021-04-24 23:03:42rhettingercreate