mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-07 08:15:22 +00:00
When attempting to get a raw array pointer we return nullptr if given a nullptr, which triggers an error_already_set(), but we haven't set an exception message, which results in "Unknown internal error". Callers that want explicit allowing of a nullptr here already handle it (by clearing the exception after the call).
14 KiB
14 KiB