blob: 3201a2ea0e6b1132173a2a0cf0c0dc41c32ff52d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From af48a740070643549e76890fcc88276fe4ee1159 Mon Sep 17 00:00:00 2001
From: Thomas A Caswell <tcaswell@bnl.gov>
Date: Mon, 3 Apr 2023 14:55:18 -0400
Subject: [PATCH] BLD: fix for cython3 compatibility
---
h5py/_errors.pyx | 2 +-
pyproject.toml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx
index ca7b1c48..c3bd184e 100644
--- a/h5py/_errors.pyx
+++ b/h5py/_errors.pyx
@@ -94,7 +94,7 @@ cdef struct err_data_t:
H5E_error_t err
int n
-cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil:
+cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil noexcept:
cdef err_data_t *ee = <err_data_t*>e
--
2.40.1
|