Skip to content

Conversation

franzpoeschel
Copy link
Contributor

This seems to be the same thing as described in this comment.
TLDR: Correctly using refcounting in Pybind11 is not possible for mortals, py::object is an owning handle, use that instead.

Factored out of #1644 where I first noticed this. Will push the fix once the CI shows the failure.

@franzpoeschel franzpoeschel mentioned this pull request Aug 6, 2025
7 tasks
@franzpoeschel franzpoeschel enabled auto-merge (squash) August 6, 2025 14:03
@franzpoeschel franzpoeschel merged commit fc44123 into openPMD:dev Aug 6, 2025
30 checks passed
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.

1 participant