The current implementation of PythonPlugin relies on the features and behavior of the Python reference implementation CPython.
To be more flexible, it could be valuable to also support other interpreters like pypy.
Pypy offers a CPython compatibility layer, but unfortunately it is rather incomplete and misses some headers and functions offered in CPython, like:
Py_NewInterpreter()
#include <pytypedefs.h>
Py_EndInterpreter()
This issue is about replacing these and make sure that the library implementation works with pypy.
The current implementation of
PythonPluginrelies on the features and behavior of the Python reference implementation CPython.To be more flexible, it could be valuable to also support other interpreters like pypy.
Pypy offers a CPython compatibility layer, but unfortunately it is rather incomplete and misses some headers and functions offered in CPython, like:
Py_NewInterpreter()#include <pytypedefs.h>Py_EndInterpreter()This issue is about replacing these and make sure that the library implementation works with pypy.