mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 09:25:51 +00:00
93e3eac6f9
Many of our `is_none()` checks in type caster loading return true, but this should really be considered a deferral so that, for example, an overload with a `py::none` argument would win over one that takes `py::none` as a null option. This keeps None-accepting for the `!convert` pass only for std::optional and void casters. (The `char` caster already deferred None; this just extends that behaviour to other casters). |
||
---|---|---|
.. | ||
pybind11 |