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 I find myself often checking whether a particular py::object wraps this or that c++ class, and if it does, extract the result. This can be done with...

**OS**: Windows 10 **Compiler**: MSVC 2017 x64 **Python**: Python 3.6.4 (x64) I'm trying to bind repeated fields generated by google protocol buffers. The binding code uses a custom `type_caster` to...

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

The `compare_buffer_info` template will reject buffer formats of `

With pybind11 and nanobind considering changes to the platform ABI tag, there is a nice opportunity to make them consistent with each other. This would make it potentially possible to...

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

To reproduce, create the following C++ extension: ```c++ #include #include #include #include void take_bytes(const std::vector &raw) {} PYBIND11_MODULE(my_ext, m) { m.def("take_bytes", &take_bytes); } ``` And invoke it from a Python...