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

BUG: Fix build of third-party extensions with Py_LIMITED_API by charris · Pull Request #20843 · numpy/numpy · GitHub

/ numpy Public

BUG: Fix build of third-party extensions with Py_LIMITED_API - #20843

Merged
charris merged 3 commits into
numpy:maintenance/1.22.xfrom
charris:backport-20818
Jan 17, 2022
Merged

charris merged 3 commits into
numpy:maintenance/1.22.xfrom
charris:backport-20818

Conversation

charris commented Jan 17, 2022

Copy link
Copy Markdown
Member

Backport of #20818.

Fixes #13784.

This PR consists of two commits:

The type `vectorcallfunc` is not defined by Python's limited API.
Guard its use with a `#ifdef` so that third-party extensions that
use the Numpy C API will build with Py_LIMITED_API defined.

This fixes a regression introduced in numpy#20315.
charris added this to the 1.22.2 release milestone Jan 17, 2022
charris merged commit 7cdbae0 into numpy:maintenance/1.22.x Jan 17, 2022
charris deleted the backport-20818 branch January 17, 2022 20:17
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL