Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lixy
ceph-ceph-16.2.15
2034-src-pybind-rbd-rbd.pyx.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2034-src-pybind-rbd-rbd.pyx.patch of Package ceph-ceph-16.2.15
diff --git a/src/pybind/rbd/rbd.pyx b/src/pybind/rbd/rbd.pyx index 5a11723df0f..700ffecc974 100644 --- a/src/pybind/rbd/rbd.pyx +++ b/src/pybind/rbd/rbd.pyx @@ -370,10 +370,10 @@ ELSE: cdef rados_ioctx_t convert_ioctx(rados.Ioctx ioctx) except? NULL: return <rados_ioctx_t>ioctx.io -cdef int progress_callback(uint64_t offset, uint64_t total, void* ptr) with gil: +cdef int progress_callback(uint64_t offset, uint64_t total, void* ptr) noexcept with gil: return (<object>ptr)(offset, total) -cdef int no_op_progress_callback(uint64_t offset, uint64_t total, void* ptr): +cdef int no_op_progress_callback(uint64_t offset, uint64_t total, void* ptr) noexcept: return 0 def cstr(val, name, encoding="utf-8", opt=False): @@ -425,7 +425,7 @@ RBD_MIRROR_PEER_ATTRIBUTE_NAME_KEY = decode_cstr(_RBD_MIRROR_PEER_ATTRIBUTE_NAME cdef class Completion -cdef void __aio_complete_cb(rbd_completion_t completion, void *args) with gil: +cdef void __aio_complete_cb(rbd_completion_t completion, void *args) noexcept with gil: """ Callback to oncomplete() for asynchronous operations """
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor