Wolfgang Maier <wolfgang.ma...@biologie.uni-freiburg.de> added the comment:
In addition, I took the opportunity to fix a bug in the original _randbelow in that it would only raise the advertised ValueError on n=0 in the getrandbits-dependent branch, but ZeroDivisionError in the pure random branch. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33144> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com