[pypy-issue] Issue #2823: Marshal C API missing from Python/C emulation (pypy/pypy)

Hrvoje Nikšić issues-reply at bitbucket.org
Fri May 4 04:27:13 EDT 2018


New issue 2823: Marshal C API missing from Python/C emulation
https://bitbucket.org/pypy/pypy/issues/2823/marshal-c-api-missing-from-python-c

Hrvoje Nikšić:

While evaluating PyPy for in-house C extensions, we noticed that the `PyMarshal_ReadObjectFromString` is missing. We use the marshal API to implement a custom importer from C code.

It is fairly easy to work around the lack of this function by manually importing the `marshal` module and invoking its Python-level API. Since extensions relying on functions in `<marshal.h>` will not compile out-of-the-box under PyPy, I still reporting this as a minor issue. Feel free to close it if it is not generally useful.




More information about the pypy-issue mailing list