Skip to content

[3.14] gh-133489: Remove size restrictions on getrandbits() and randbytes() (GH-133658) - #134964

Merged
gpshead merged 1 commit into
python:3.14from
miss-islington:backport-68784fe-3.14
Jun 1, 2025
Merged

gpshead merged 1 commit into
python:3.14from
miss-islington:backport-68784fe-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented May 31, 2025 •

Copy link
Copy Markdown
Contributor

random.getrandbits() can now generate more that 2**31 bits.
random.randbytes() can now generate more that 256 MiB.
(cherry picked from commit 68784fe)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…tes() (pythonGH-133658)

random.getrandbits() can now generate more that 2**31 bits.
random.randbytes() can now generate more that 256 MiB.
(cherry picked from commit 68784fe)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @gpshead for commit 03f34ed 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F134964%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 31, 2025
@gpshead
gpshead merged commit 7c1dfd9 into python:3.14 Jun 1, 2025
@miss-islington
miss-islington deleted the backport-68784fe-3.14 branch January 2, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants