Mark Dickinson <dicki...@gmail.com> added the comment:
Agreed that __bool__ should return an actual bool. ``return bool(a._numerator)`` does seem like the obvious way to do this. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39274> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com