mirror of
https://github.com/pybind/pybind11.git
synced 2026-07-17 09:08:14 +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).