Skip to content

Prepared python wrappers to Py_LIMITED_API enabling (stage 1)#14120

Closed
mshabunin wants to merge 2 commits intoopencv:3.4from
mshabunin:minimal-python-1
Closed

Prepared python wrappers to Py_LIMITED_API enabling (stage 1)#14120
mshabunin wants to merge 2 commits intoopencv:3.4from
mshabunin:minimal-python-1

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

@mshabunin mshabunin commented Mar 21, 2019

This pullrequest changes

Enabling Py_LIMITED_API macro will allow us to build single binary for all Python 3 versions. In this PR I've updated all manually written code to use only limited set of Python API.

In following PRs I'm going to update code generator and introduce corresponding cmake option.

See also: PEP 384

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