[Zope-dev] from Globals import Persistent
Roger Espinosa
roger@umich.edu
Thu, 15 Nov 2001 09:30:58 -0500 (EST)
It works, but at least for me, that was _really slow_.
import ZODB
seemed to do the job, and quicker to boot.
Roger
On Thu, 15 Nov 2001, R. David Murray wrote:
> On Wed, 14 Nov 2001, Benjamin Buffereau wrote:
> > I'm using the binary version of Zope 2.4.3 for Windows. I'm trying to run the
> > PollProduct example of the Zope Developper's Guide, and it seems to me that
> > there is a big problem with the import of the name "Persistent". Here is what I
> > get trying to import "Persistent" from the Python interpreter:
>
> Persistent is magic. Don't ask me how and I can't remember why, but
> Zope does some magic with regards to the Persistent module. If you
> do:
>
> import Zope
> from Globals import Persistent
>
> I believe you will find that it works. At least, it does for me.
>
> --RDM
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>