[Zope] Re: adding a python library
David Bear
David.Bear at asu.edu
Tue Nov 14 12:52:31 EST 2006
On Tue, Nov 14, 2006 at 05:50:36PM +0100, Andreas Jung wrote:
>
>
> --On 14. November 2006 09:32:38 -0700 David Bear <David.Bear at asu.edu> wrote:
>
> >
> >What if I created a zope script and just pasted the feedparser.py
> >modules contents into it.
>
> That would be a stupid idea.
>
> >Do python scripts that live inside zodb
> >become importatable?
> >
> Zope PythonScripts are *objects* that are callable through acquisition.
thanks for all the replies.
I am now looking at the modules feedparser imports. These include
sgmllib
re
sys
copy
urlparse
time
rfc822
types
cgi
urllib
urllib2
cStringIO
xml.sax
It seems that sys would be a bad one to allow zope to import.
Are there others in this list that I should not allow?
>
> -aj
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
--
David Bear
phone: 602-496-0424
fax: 602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
"Beware the IP portfolio, everyone will be suspect of trespassing"
More information about the Zope
mailing list