File boost-python-exception.patch of Package boost
from https://github.com/boostorg/python/pull/351
in the suse rpm's tar.bz2, file is at:
libs/python/src/module.cpp
From f5d14ef15e98838b3cf18692d46c481287ed50d0 Mon Sep 17 00:00:00 2001
From: Dmitry Bely <dmitry.bely@gmail.com>
Date: Wed, 3 Feb 2021 13:52:14 +0300
Subject: [PATCH] Fix issue #280
---
src/module.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/module.cpp b/src/module.cpp
index 9628481996..57675fa2df 100644
--- a/libs/python/src/module.cpp
+++ b/libs/python/src/module.cpp
@@ -21,7 +21,7 @@ namespace
object m_obj(((borrowed_reference_t*)m));
scope current_module(m_obj);
- handle_exception(init_function);
+ if (handle_exception(init_function)) return NULL;
}
return m;