[pypy-dev] Does/will pypy support cpython's c extension modules?

Tristan Seligmann mithrandi at mithrandi.za.net
Tue Jan 30 15:44:50 CET 2007


* Neal Becker <ndbecker2 at gmail.com> [2007-01-29 14:56:27 -0500]:

> Sean Lynch wrote:
> 
> > Please no. Porting modules to ctypes is well worth the effort because
> > then they will work with Jython and IronPython as well as CPython and
> > PyPy. IMHO the CPython extension API is the "wrong" way to extend Python
> > and has been since the beginning, not least because it assumes
> > implementation details of the interpreter like reference counting,
> > object layout, etc.
> 
> I have tons of code using boost::python.  Wouldn't it be a lot of work to
> port to ctypes?  I'm guessing, it's basically a complete rewrite.

Is it even feasible to wrap a C++ library with ctypes?
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20070130/d3fdc12e/attachment.pgp>


More information about the Pypy-dev mailing list