https://cerwinvegassalee.blogspot.com/2023/12/stdbadalloc-after-replacing-boostpython.html
Std::bad_alloc After Replacing Boost:python Function Wrapper With Python/c Api