English
Ask Your Question
0

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

asked 2011-09-27 04:32:03 +0000

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 22:30:54.834968

1 answer

Sort by ยป oldest newest most voted
2

answered 2011-09-28 17:18:12 +0000

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.

-> http://morepypy.blogspot.com/2010/04/using-cpython-extension-modules-with.html

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

Also see:

-> http://codespeak.net/pypy/dist/pypy/doc/faq.html

edit flag offensive delete link more

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2011-09-27 04:32:03 +0000

Seen: 524 times

Last updated: Sep 28 '11