From bbb21ee89eac65d353d1eb86c16274307e2793f7 Mon Sep 17 00:00:00 2001 From: yohanchatelain Date: Fri, 19 Jan 2024 15:28:16 -0500 Subject: [PATCH] Add noexcept attribute to compile with python3.10.12 --- mpfr.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpfr.pyx b/mpfr.pyx index 878152d..7be23c7 100644 --- a/mpfr.pyx +++ b/mpfr.pyx @@ -37,7 +37,7 @@ cdef extern from "limits.h": # Mpz_t type and functions ############################################################################### -ctypedef void (*free_func) (void *, size_t) +ctypedef void (*free_func) (void *, size_t) noexcept cdef class Mpz_t: