pybind / pybind11

Seamless operability between C++11 and Python
https://pybind11.readthedocs.io/
Other
15.1k stars 2.05k forks source link

Add `py::nullptr_default_arg` (intended for `PyObject *` arguments) #4959

Closed rwgk closed 7 months ago

rwgk commented 7 months ago

Description

Continued under google/pywrapcc#30081

This feature was added mainly to support PyCLIF-pybind11 developments (automatic pybind11 bindings generator). The value for manually written bindings is limited (overloads can be used instead).

Leave a comment here if there is an interest in back-porting the feature to pybind11 master.

Suggested changelog entry: