Skip to content

gh-148461: use arc4random_buf() on CYGWIN - #148462

Merged
vstinner merged 1 commit into
python:mainfrom
carlo-bramini:fix-cygwin-warning-3
May 13, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
carlo-bramini:fix-cygwin-warning-3

Conversation

@carlo-bramini

@carlo-bramini carlo-bramini commented Apr 12, 2026 •

Copy link
Copy Markdown
Contributor
@bedevere-app

bedevere-app Bot commented Apr 12, 2026

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@vstinner
vstinner merged commit fdf064c into python:main May 13, 2026
51 checks passed
@vstinner

Copy link
Copy Markdown
Member

LGTM. On Cygwin, I confirm that I got the "unable to use secure randomness" warning without this change, and I no longer get the warning with this change.

@vstinner

Copy link
Copy Markdown
Member

I merged your fix. Thanks @carlo-bramini.

@vstinner

Copy link
Copy Markdown
Member

@carlo-bramini: Can you please also propose a fix to upstream https://github.com/microsoft/mimalloc/ ?

@carlo-bramini
carlo-bramini deleted the fix-cygwin-warning-3 branch May 14, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants