Please provide a testcase! -aj --On Mittwoch, 15. Oktober 2003 12:45 Uhr +0200 Gilles Lenfant <gilles@pilotsystems.net> wrote:
----- Original Message ----- From: "Chris Beaven" <chris@d-designz.co.nz> To: "Gilles Lenfant" <gilles@pilotsystems.net> Cc: <zope@zope.org> Sent: Wednesday, October 15, 2003 5:57 AM Subject: Re: [Zope] Using builtin "type" function in a Python FS product
if you're talking about using it in a Python Script, you want to use same_type - type is supposedly a security risk for some reason... http://www.zopelabs.com/cookbook/995873707
Thanks Chris,
But as mentioned in the title this sample is in a Python Product (in file system).
Neither "type(x)" or "same_type(x, y)" work !!??
--Gilles
_______________________________________________ Zope maillist - Zope@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 )