[pypy-dev] pythonapi
Matti Picus
matti.picus at gmail.com
Wed Jun 25 14:47:06 CEST 2014
(previous subject mistakenly included reference to "PyPy on Windows")
I created a branch disable_pythonapi that copletely removes pythonapi
and PyDLL from ctypes,
removes sys.dllhandle on windows, and documents these differences to
cpython.
Should I merge it to default?
Matti
On 23/06/2014 10:34 AM, Armin Rigo wrote:
> Hi Matti,
>
> First question, what is the relationship of this mail and "PyPy on Windows"?
>
> On 21 June 2014 22:24, Matti Picus <matti.picus at gmail.com> wrote:
>> ``ctypes.pythonapi`` lets you access the CPython C API
>> emulation layer. It does not work on PyPy at the moment, we are missing
>> a
>> ``getfunc`` method for CDLL. Work was begun
>> to refactor the rpython implementation of _rawffi (in
>> pypy/modules/_rawffi/alt) but that project has stalled.
> I thought we simply didn't provide ``ctypes.pythonapi``. Seems we do,
> but I don't want to know what nonsense it does. Just remove it? As
> Alex says, I don't think it's as simple as adding some method on some
> CDLL.
>
>
> A bientôt,
>
> Armin.
More information about the pypy-dev
mailing list