[Zope] Using builtin "type" function in a Python FS product

Gilles Lenfant gilles at pilotsystems.net
Wed Oct 15 06:45:08 EDT 2003


----- Original Message -----
From: "Chris Beaven" <chris at d-designz.co.nz>
To: "Gilles Lenfant" <gilles at pilotsystems.net>
Cc: <zope at 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





More information about the Zope mailing list