Ask Your Question

How to use Python C extensions in pypy ? [closed]

asked 2011-09-26 23:32:03 -0600

kushaldas gravatar image

How to use Python C extensions in pypy in Fedora ? say any existing python module , if we want to use it in pypy, what should be the steps ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by zoltanh721
close date 2014-06-27 17:30:54.834968

1 Answer

Sort by ยป oldest newest most voted

answered 2011-09-28 12:18:12 -0600

pjp gravatar image

There's limited support for the CPython extension in PyPy. The only prerequisite is that the necessary functions of the C API of CPython are already implemented in PyPy.


So, if the APIs are defined, the extensions should work out of the box, or a recompiling the extension should help.

Also see:


edit flag offensive delete link more

Question Tools


Asked: 2011-09-26 23:32:03 -0600

Seen: 1,022 times

Last updated: Sep 28 '11