[pypy-dev] cpyext reference counting and other gc's
exarkun at twistedmatrix.com
exarkun at twistedmatrix.com
Tue May 3 00:51:26 CEST 2011
On 07:09 pm, amauryfa at gmail.com wrote:
>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)
Do fdopen(3) and fileno(3) not help here? I can understand how there
might be synchronization issues if it were implemented this way... I've
never used these CPython APIs myself.
You didn't have the memoryview APIs on your list. Does that mean
they're easy? Then can you implement them? ;)
Jean-Paul
More information about the pypy-dev
mailing list