FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

BUG: fix refcount leak in PyArray_AdaptFlexibleDType by charris · Pull Request #11987 · numpy/numpy · GitHub

/ numpy Public

BUG: fix refcount leak in PyArray_AdaptFlexibleDType - #11987

Merged
charris merged 2 commits into
numpy:maintenance/1.14.xfrom
charris:backport-11967
Sep 19, 2018
Merged

charris merged 2 commits into
numpy:maintenance/1.14.xfrom
charris:backport-11967

Conversation

charris commented Sep 19, 2018

Copy link
Copy Markdown
Member

Backport of #11967.

Fixes #11951. Variable were initialized but never decrefed. I am not sure how to write a test since they are new instances that never escape out of the local function, so sys.get_refcount cannot see them. Do they somehow show up in the gc module on CPython?

charris added this to the 1.14.6 release milestone Sep 19, 2018
charris merged commit 514eeb4 into numpy:maintenance/1.14.x Sep 19, 2018
charris deleted the backport-11967 branch September 19, 2018 14:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL