pybind11 icon indicating copy to clipboard operation
pybind11 copied to clipboard

Seamless operability between C++11 and Python

Results 368 pybind11 issues
Sort by recently updated
recently updated
newest added

## 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++...

bug

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...

triage

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...

triage

### 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...

triage

### 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...

triage

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...