|
cython v3.0.0 introduced a breaking change to exception propagation
through cdef (and ctypedef) functions, creating a type error when trying
to assign &no_op_progress_callback = librbd_progress_fn_t, and similar
for __aio_complete_cb = rbd_callback_t
This fixes those. Surprisingly these are the only compile errors I found
for this pattern, because there are many more ctypedef'd fptrs in the
pybind stuff.
References: https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html#exception-values-and-noexcept
|