Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: remove unnecessary call to PyArray_UpdateFlags #28144

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 3 commits into from
Jan 10, 2025

Conversation

ngoldbaum
Copy link
Member

Fixes #28042

c.f. #28042 (comment)

Also I took the opportunity to add a test and refactor the multithreaded tests to share more code.

@ngoldbaum ngoldbaum changed the title Rm update flags BUG: remove unnecessary call to PyArray_UpdateFlags Jan 10, 2025
@ngoldbaum ngoldbaum added 00 - Bug 39 - free-threading PRs and issues related to support for free-threading CPython (a.k.a. no-GIL, PEP 703) labels Jan 10, 2025
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Jan 10, 2025
@charris charris merged commit bbf4836 into numpy:main Jan 10, 2025
68 checks passed
@charris
Copy link
Member

charris commented Jan 10, 2025

Thanks Nathan.

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 39 - free-threading PRs and issues related to support for free-threading CPython (a.k.a. no-GIL, PEP 703)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Race in PyArray_UpdateFlags under free threading
2 participants