pybind11
pybind11 copied to clipboard
Seamless operability between C++11 and Python
## Description The def_property family blindly ignore the keep_alive and call_guard arguments passed to them making them confusing to use. This adds a static_assert if either is passed to make...
### 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...
New (failing) unit test illustrating the issue discussed in https://github.com/pybind/pybind11/discussions/5524: Returning a class instance from an external module fails with `TypeError`.
[BUG]: The main repository and submodule both have source code dependencies on the usage of pybind11
### 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...
## Issue description Objects of classes created with pybind11 can't be pretty printed with the pprint module if the result is larger than the given width. This only happens with...
### 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...
Added 'bind_set(...)' to stl_binds ## Description Based off the existing `bind_vector(...)` impl., proposal is to add binding code for sets to `stl_bind.h`. Basic functionality to add/clear/remove from the set, query...
### 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...
## Issue description I have a string-enum converter that works using v2.2.4. This breaks starting from v2.3.0 due to the enum_ rewrite. In v2.2.4, it was possible to support this...