[Zope-dev] PyPy 1.4.1 and the ZTK

Marius Gedminas marius at gedmin.as
Thu Dec 23 04:22:54 EST 2010


On Wed, Dec 22, 2010 at 03:56:11PM -0500, Chris McDonough wrote:
> On Wed, 2010-12-22 at 09:43 -0500, Jim Fulton wrote:
> > > This makes it possible to start testing some of the ZTK with PyPy. There
> > > are challenges of course: certain packages, such as zope.interface, use
> > > C extensions and would need to be installed in "plain-python" mode (if
> > > available).
> 
> > It is available. The setup script could, presumably, detect if it is running
> > under PyPy and not even try building extensions.
> 
> It already does.  zope.interface falls back to using its Python
> implementation if it's installed on a platform that doesn't support C
> compilation.  As does zope.i18nmessageid.

Incidentally, PyPy has some source-level support for C extensions:
http://morepypy.blogspot.com/2010/04/using-cpython-extension-modules-with.html

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20101223/0fba8da7/attachment.bin 


More information about the Zope-Dev mailing list