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

Bugfix in setting error state in Capsule's pointer methods #3261

Merged
merged 1 commit into from
Sep 10, 2021

Conversation

Skylion007
Copy link
Collaborator

Description

Fixes bug identified in #3253 where the Python Error is not cleared before calling pybind11_fail leading to an invalid error state and a failed assertion.

Suggested changelog entry:

* Fixes bug in setting error state in Capsule's pointer methods

@Skylion007 Skylion007 added the bug label Sep 10, 2021
@Skylion007 Skylion007 requested review from rwgk and henryiii September 10, 2021 14:48
@rwgk rwgk merged commit 9978ed5 into pybind:master Sep 10, 2021
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Sep 10, 2021
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Sep 16, 2021
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.

3 participants