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

Andreas Jung andreas at andreas-jung.com
Wed Oct 15 06:38:38 EDT 2003


Please provide a testcase!

-aj

--On Mittwoch, 15. Oktober 2003 12:45 Uhr +0200 Gilles Lenfant 
<gilles at pilotsystems.net> wrote:

> ----- 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
>
>
>
> _______________________________________________
> 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 )







More information about the Zope mailing list