8000 BUG: fix cached allocations without the GIL by charris · Pull Request #11985 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: fix cached allocations without the GIL #11985

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 1 commit into from
Sep 19, 2018

Conversation

charris
Copy link
Member
@charris charris commented Sep 19, 2018

Backport of #11973

There currently only is a global cache for small allocations so the
functions must be called while the GIL is held.
Ensure this by checking the GIL state in debug mode (which is tested via
a ci configuration).
Closes gh-11942

There currently only is a global cache for small allocations so the
functions must be called while the GIL is held.
Ensure this by checking the GIL state in debug mode (which is tested via
a ci configuration).
Closes numpygh-11942
@charris charris added this to the 1.14.6 release milestone Sep 19, 2018
@charris charris merged commit 00d1249 into numpy:maintenance/1.14.x Sep 19, 2018
@charris charris deleted the backport-11973 branch September 19, 2018 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0