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 mark.dickinson
Recipients francois-durand, mark.dickinson, rhettinger
Date 2020-01-09.13:14:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578575660.97.0.7909841678.issue39274@roundup.psfhosted.org>
In-reply-to
Content
Agreed that __bool__ should return an actual bool.
``return bool(a._numerator)`` does seem like the obvious way to do this.
History
Date User Action Args
2020-01-09 13:14:21mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, francois-durand
2020-01-09 13:14:20mark.dickinsonsetmessageid: <1578575660.97.0.7909841678.issue39274@roundup.psfhosted.org>
2020-01-09 13:14:20mark.dickinsonlinkissue39274 messages
2020-01-09 13:14:20mark.dickinsoncreate