Skip to content
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

Create a "holder" object to fix stale reference to array #534

Merged
merged 2 commits into from
Aug 27, 2019

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Aug 24, 2019

we were creating a reference to an int array, but then that object no
longer was existing, so was being deleted, but we are still trying to
use it. This uses the python capsule mechanism to stash off the array
and then clean it up

Signed-off-by: Kimball Thurston kdt3rd@gmail.com

we were creating a reference to an int array, but then that object no
longer was existing, so was being deleted, but we are still trying to
use it. This uses the python capsule mechanism to stash off the array
and then clean it up

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
@cary-ilm
Copy link
Member

LGTM

@kdt3rd kdt3rd merged commit 6d5b23a into AcademySoftwareFoundation:master Aug 27, 2019
@kdt3rd kdt3rd deleted the fix_numpy_test branch August 27, 2019 08:53
@cary-ilm cary-ilm added this to the v2.4.0 milestone Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants