[pypy-dev] cpyext reference counting and other gc's

Amaury Forgeot d'Arc amauryfa at gmail.com
Mon May 2 21:09:31 CEST 2011


2011/5/2 Dima Tisnek <dimaqq at gmail.com>:
> Hi Amaury, thanks for a quick reply, btw, which api functions are hard
> to support in pypy or why some are?

Fortunately, there are not so many of them:
- PyFile_AsFile(), PyFile_FromFile, because files opened by pypy don't
use a FILE* (like python3)
- PyThreadState creation and suppression
- PyInterpreter creation and suppression
- Py_Initialize and Py_Finalize (to embed a python interpreter inside
an application)
- Some trace and Traceback management functions that are not even
documented (but used by Cython :-))

-- 
Amaury Forgeot d'Arc



More information about the pypy-dev mailing list