Mark Dickinson <[email protected]> added the comment:
> this could be avoided by directly returning 0 if n == 1 The other solution is to make `getrandbits(0)` valid, always returning `0`. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue37000> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
