Skip to content

Support pypy for python plugins #5

@taminob

Description

@taminob

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpythonRelated to python plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions