Armin Rigo

Results 19 comments of Armin Rigo

I see that it creates and installs ``clr.pyd`` even on PyPy. This file name is wrong: it should be called ``clr.pypy-41.pyd``. The normal distutils creates files of the correct name,...

libpypy-c.dll exposes the symbols under names ``PyPy_Xxx`` instead of ``Py_Xxx``, to avoid conflicts in other situations. The normal header ``Python.h`` distributed with PyPy contains ``#define`` to do the renaming transparently....

Note, before going to lengths in that direction, that PyPy's emulation of the CPython C extension API is not 100% complete. For example, ``Py_Initialize()`` is not implemented (it does not...

Let me guess, if you don't read Python.h, then the .NET code also missed the fact that the base PyObject structure is different (and so, all others too). PyPy is...

I feel that I should note it here, but gitless seems to work fine on Windows after you install Python 2.7 (tested with the 32-bit version). Afterwards, just do: `python...

No, CPython will not call __del__ as soon as a scope completes. It calls __del__ as soon as the last reference to an object disappears, which is very different from...

Oh yes, implementing a custom garbage collector and plugging it inside an existing system with another very different garbage collector---that sounds easy to invent and exactly like what any library...

There is a good reason for why lists and dicts can't be passed, but as fijal's latest comment said, it would be possible to extend this simple hack to pass...

A ten-minutes demo: https://bitbucket.org/cffi/cffiembed/overview

Yes, it's possible to give a list or dict as read-only (i.e. make a copy for the other side). But at that point it is similar to using pickle or...