Description: Support Python 3.15
Author: Maximiliano Curia <maxy@debian.org>
Bug-Debian: https://bugs.debian.org/1146356
Forwarded: no
Last-Update: 2026-09-02

--- python-yappi-1.7.3.orig/yappi/_yappi.c
+++ python-yappi-1.7.3/yappi/_yappi.c
@@ -227,7 +227,7 @@ IS_SUSPENDED(PyFrameObject *frame) {
     if (gen == NULL) {
         return 0;
     }
-#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION == 14
+#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION >= 14
     unsigned char curr_op_code = (*frame->f_frame->instr_ptr).op.code;
     return curr_op_code == YIELD_VALUE || curr_op_code == INSTRUMENTED_YIELD_VALUE;
 #elif PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION == 13
