Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPy support #40

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 5 comments
Closed

PyPy support #40

GoogleCodeExporter opened this issue Mar 15, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

PyPy 1.3 has (alpha) support for CPython extension modules. It would be nice if 
gmpy ran in PyPy.

Original issue reported on code.google.com by fredrik....@gmail.com on 26 Jun 2010 at 12:45

@GoogleCodeExporter
Copy link
Author

I read that in the announcement, too. I will give it a try.

Original comment by casevh on 27 Jun 2010 at 2:37

  • Changed state: Accepted
  • Added labels: Type-Enhancement, Priority-Low
  • Removed labels: Type-Defect, Priority-Medium

@GoogleCodeExporter
Copy link
Author

As a test, I wrote a very small RPython module to access a simple function in 
the mpfr library. It was faster, but the translation (compile) step took a long 
time and there doesn't appear to be a way to develop an RPython module without 
including it directly into PyPy. This would probably cause licensing issues, 
too. The cpyext (sp?) approach won't work at all unless I remove many of the 
optimizations I've added and it supposedly adds quite a bit of overhead.

Original comment by casevh on 11 Mar 2011 at 3:24

@GoogleCodeExporter
Copy link
Author

Closing. Not practical at the moment.

Original comment by casevh on 17 Jul 2011 at 6:26

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

How hard would it be to use CFFI?  That would enable PyPy integration, as an 
alternative to using the CPython support of PyPy.

Original comment by bjmg...@gmail.com on 20 Aug 2013 at 3:18

@GoogleCodeExporter
Copy link
Author

Someone has started a CFFI wrapper. See 
https://code.google.com/p/gmpy/issues/detail?id=60&can=1

Original comment by casevh on 4 Nov 2013 at 3:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant