mirror of
https://github.com/pybind/pybind11.git
synced 2026-07-16 08:41:31 +00:00
Arithmetic and complex casters now only do a converting cast when `convert=true`; previously they would convert always (e.g. when passing an int to a float-accepting function, or a float to complex-accepting function).