Re: PyPy 1.4.1 and the ZTK

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20101223092254.GB5577@platonas>
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk0TFO4ACgkQkVdEXeem14+9tQCcDaFVnjBKowfiR363InXj/W4Q
zU0AoIiz7EpH/KOwWwM0t5eiFOqqfR6t
=Q7I1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.