[Psyco-devel] Re: [Zope-Coders] Zope nightly test results and Psyco

Andreas Jung Andreas Jung" <andreas@zope.com
Tue, 26 Feb 2002 14:17:29 -0500


psyco fails to run with Python2.2 and Zope 3 because some PageTemplate
code uses sys._getframe() which seems to be disallowed with psyco.

Andreas
----- Original Message -----
From: "Guido van Rossum" <guido@python.org>
To: "Armin Rigo" <arigo@ulb.ac.be>
Cc: "Andreas Jung" <andreas@andreas-jung.com>; "Morten W. Petersen"
<morten@thingamy.net>; <zope-coders@zope.org>;
<psyco-devel@lists.sourceforge.net>
Sent: Tuesday, February 26, 2002 14:11
Subject: Re: [Psyco-devel] Re: [Zope-Coders] Zope nightly test results and
Psyco


> > Please note however that Psyco is expected to perform better with Python
> > 2.2, in particular with instances of classes that are built-in types and
not
> > legacy class instances. What kind of class are Persistent&co in Zope 3 ?
If
> > they are extension classes as in Zope 2, as opposed to regular types,
they
> > would require specific support for better performance.
>
> They are (or at least will be) new-style classes defined in C and
> subclassed in Python.
>
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders
>