Embedded python is not 100% stable
Dieter Maurer
dieter at handshake.de
Thu Apr 13 10:21:36 EDT 2023
Guenther Sohler wrote at 2023-4-13 09:40 +0200:
> ...
>I have been working on adding embedded python into OpenSCAD (
>www.openscad.org)
>for some time already. For that i coded/added an additional Python Type
>Object
>which means to hold openscad geometric data.
>
>It works quite well but unfortunately its not 100% stable and i have been
>heavily checking
>all the functions which are referenced in the PyType Object and tried to
>match
>them with the documentation which i found in the python web site
The Python C/C++ interface is complex: it is easy to make
mistakes which may lead to crashes.
Often, `cython` (--> PyPI) can help you to define extension types
in a much safer way. Maybe, you check its documentation?
More information about the Python-list
mailing list