New submission from lormuc <[email protected]>:
For example, Lib/random.py/Random._randbelow_with_getrandbits(1) should always return 0, as per docstring, but it asks for 1 random bit from getrandbits(). ---------- components: Library (Lib) messages: 397219 nosy: lormuc priority: normal severity: normal status: open title: _randbelow_with_getrandbits may request an unnecessary random bit type: resource usage versions: Python 3.11 _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue44593> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
