[Zope] Re:[Zope]Python Method question

Chris McDonough chrism@digicool.com
Tue, 8 Aug 2000 09:43:10 -0400


I'm still not sure what you mean (I'm sure this is my fault...)  

> -----Original Message-----
> From: entropia [mailto:entropiamax@jazzfree.com]
> Sent: Tuesday, August 08, 2000 7:34 AM
> To: zope@zope.org
> Subject: [Zope] Re:[Zope]Python Method question
> 
> 
> My question is this:
>  I have a Zope Product. I want that some modules from this product be
> configurable. I can use exec() but then I have a big security 
> hole. I am
> not
> a ZOBD expert, but I belive thet it doesn't save methods, only
> variables.
> Exits somo trick thet permits me:
> import aPythonMethod
> or
> x=PythonMethod.call(....)
> or something
> Is that posible?
> 
> Chris McDonough escribió:
> 
> > Do you mean you want to use a Python Method (in the sense of a
> methodish
> > object instantiated from Evan Simpson's Python Method 
> Product) from a
> > Python Product?  You *should* be able to call it by getting 
> a hold of
> it
> > through acquisition or by otherwise getting a hold of an 
> object in the
> 
> > ZODB and traversing from it.
> >
> > > -----Original Message-----
> > > From: entropia [mailto:entropiamax@jazzfree.com]
> > > Sent: Monday, August 07, 2000 3:20 AM
> > > To: zope@zope.org
> > > Subject: [Zope] Python Method question
> > >
> > >
> > > I hava a question regards Python Method: How can I
> > > import a Python Method from a Product module?
> > >
> > >
> > > _______________________________________________
> > > Zope maillist  -  Zope@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope
> > > **   No cross posts or HTML encoding!  **
> > > (Related lists -
> > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > >  http://lists.zope.org/mailman/listinfo/zope-dev )
> > >
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>