Skip to content

gh-123789: secrets.randbits returns only non-negative int #123801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 8, 2024

Conversation

Wulian233
Copy link
Contributor

@Wulian233 Wulian233 commented Sep 7, 2024

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@picnixz picnixz self-requested a review September 7, 2024 10:09
@Eclips4 Eclips4 added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Sep 7, 2024
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
@hauntsaninja hauntsaninja merged commit beee91c into python:main Sep 8, 2024
25 checks passed
@miss-islington-app
Copy link

Thanks @Wulian233 for the PR, and @hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 8, 2024
…thonGH-123801)

(cherry picked from commit beee91c)

Co-authored-by: Wulian <1055917385@qq.com>
@bedevere-app
Copy link

bedevere-app bot commented Sep 8, 2024

GH-123830 is a backport of this pull request to the 3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 8, 2024
…thonGH-123801)

(cherry picked from commit beee91c)

Co-authored-by: Wulian <1055917385@qq.com>
@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Sep 8, 2024
@bedevere-app
Copy link

bedevere-app bot commented Sep 8, 2024

GH-123831 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Sep 8, 2024
hauntsaninja pushed a commit that referenced this pull request Sep 8, 2024
…H-123801) (#123831)

gh-123789: `secrets.randbits` returns only non-negative int (GH-123801)
(cherry picked from commit beee91c)

Co-authored-by: Wulian <1055917385@qq.com>
@Wulian233 Wulian233 deleted the randbits branch September 8, 2024 04:35
Yhg1s pushed a commit that referenced this pull request Sep 24, 2024
…H-123801) (#123830)

gh-123789: `secrets.randbits` returns only non-negative int (GH-123801)
(cherry picked from commit beee91c)

Co-authored-by: Wulian <1055917385@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants