Skip to content

Conversation

@charris
Copy link
Member

@charris charris commented Jan 6, 2026

Backport of #30580.

Fixes #30578

See https://cython.readthedocs.io/en/latest/src/userguide/fusedtypes.html#type-checking-specializations if you're unfamiliar with the fused types specialization syntax I'm using.

…#30580)

This avoids type unsafe function calls in cython random.
@charris charris added this to the 2.4.1 Release milestone Jan 6, 2026
@charris charris added 03 - Maintenance 08 - Backport Used to tag backport PRs labels Jan 6, 2026
@charris charris merged commit 32a62ad into numpy:maintenance/2.4.x Jan 7, 2026
73 of 74 checks passed
@charris
Copy link
Member Author

charris commented Jan 7, 2026

The test failures are unrelated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

03 - Maintenance 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants