pybind11
pybind11 copied to clipboard
Seamless operability between C++11 and Python
Using this to track things to look into when we start testing with Python 3.13: * https://github.com/python/cpython/pull/108763#issuecomment-1745262279 — Can/should we use `PyObject_VisitManagedDict()`, `PyObject_ClearManagedDict()` in `pybind11_traverse `, `pybind11_clear`?
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
Hello, I asked quickly on gitter (https://gitter.im/pybind/Lobby?at=5a7b7f1c6117191e610a8304), but I feel like this may take a bit longer to resolve. I'd like to bind a custom exception class to Python. This...
## Description (The equivalent of this PR was merged as https://github.com/google/pywrapcc/pull/30045 on July 17, 2023.) With this PR, it is no longer necessary to explicitly convert Python iterables to `tuple()`,...
include_guard seems to break all contained logic to handle use case of building for multiple Python versions. ## Description Use case: trying to create multiple targets for different Python versions...
I should mention that this is more a question than an issue. ## Issue description I want to generate source code docs with sphinx for the pybind11 interface of a...
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...