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

BUG: Fix small issues found with pytest-leaks by seberg · Pull Request #18671 · numpy/numpy · GitHub

/ numpy Public

BUG: Fix small issues found with pytest-leaks - #18671

Merged
charris merged 1 commit into
numpy:maintenance/1.20.xfrom
seberg:backport-small-pytest-leaks-fixes
Mar 24, 2021
Merged

charris merged 1 commit into
numpy:maintenance/1.20.xfrom
seberg:backport-small-pytest-leaks-fixes

Conversation

seberg commented Mar 23, 2021
edited by charris
Loading

Copy link
Copy Markdown
Member

Backport of gh-18670 (with two small differences)

None of these are particularly worrying as they either usually only
leak reference (and not memory) or appear in rare or almost impossible
error-paths, or are limited to the tests.

Unfortunately, this PR will not apply to 1.20.x, due to small changes
in the overrides.

None of these are particularly worrying as they either usually only
leak reference (and not memory) or appear in rare or almost impossible
error-paths, or are limited to the tests.

Unfortunately, this PR will not apply to 1.20.x, due to small changes
in the overrides.

Backport of numpygh-18670 (with two small differences)
seberg added 00 - Bug 08 - Backport Used to tag backport PRs labels Mar 23, 2021
"The `like` argument must be an array-like that "
"implements the `__array_function__` protocol.");
}
Py_DECREF(tmp_has_override);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This is the larger difference. The code path looks different on main. This is much like the diff just above.

array_function_result = array_implement_c_array_function_creation(
"fromstring", args, keywds);
if (array_function_result != Py_NotImplemented) {
Py_XDECREF(descr);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I had already fixed that in the larger argument parsing, so this was also not part of the initial PR.

charris added this to the 1.20.2 release milestone Mar 23, 2021
charris merged commit e687165 into numpy:maintenance/1.20.x Mar 24, 2021

charris commented Mar 24, 2021

Copy link
Copy Markdown
Member

Thanks Sebastian.

seberg deleted the backport-small-pytest-leaks-fixes branch March 24, 2021 00:39
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

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL