pybind11
pybind11 copied to clipboard
Seamless operability between C++11 and Python
## Issue description There appears to be some missing error checking around Python int to C++ long casts that may overflow. In the example below, since the Python -> C++...
Hi, my project builds fine in dev environment, but when I throw it into a drone CI docker image it gives me the following error: ``` -- pybind11 v2.6.2 dev1...
### 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 am migrating from boost::python to pybind11 and have just faced some pointer member behavior issue: ```c++ class SomeClass { }; struct SomeStruct { public: SomeClass* scPtr; }; void...
### 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...
Hi. Working on some glue code between Python and V8. I just ported quite non-trivial [boost::python project](https://github.com/darwin/naga) under pybind11. And my mission was successful. I'm still amazed how much effort...
Could `pybind11` support default arguments for constructors without having to repeat the defaults, using something like this: ```cpp py::class_ c(m, "Foo"); c.def(py::init< const std::shared_ptr&, const std::array&, py::optional< const double, const...
I have C++ functions, one accept `std::vector` and the other accept `std::vector` as param. I tried to call with numpy array, the first one will success while the second one...