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

## Description Adds a new target 'pybind11::static' that allows compiling pybind11 as a static library and linking against it. @Skylion007 @giactra This consists of the following changes: 1. CMake infrastructure...

EDIT(eric): Adding a tracking list. - Enumerate possible solutions and drawbacks, e.g. - [ ] #2757 Using `py::wrapper` and GC ressurrection - [ ] Others... - Identify best path forward,...

holders

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

help wanted

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

enhancement
help wanted

## Description Answered a GIL/pybind11 question on [stack overflow](https://stackoverflow.com/questions/72876146/handling-gil-when-calling-python-lambda-from-c-function/72933328#72933328), and it seemed like it would be useful to put some of that information into the documentation. ## Suggested changelog entry:...

I am aware of the `pybind11::metaclass` option that can be passed to `pybind11::class_`, but I can't find any documentation on how it is supposed to be used. There is 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...

bug
help wanted

## Description Expose Python exception cause (`raise ... from ...`) to C++ via `std::nested_exception`. Inverse of #3608. Useful after #3605 etc. Does not set std::nested_exception base if a C++ exception...

## Issue description I'm trying to wrap a complicated library (that I have no control over). For one reason or another some (base)classes have a protected `operator delete`. Trying to...

My environment: ``` Ubuntu 20.04 Python 3.8.10 ``` When I run compile a program use pybind11, it raise a error: ``` /usr/bin/ld: ../scripting/libscripting.a(python_scripting.cpp.o): in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const*...