[Zope] Checking variable types in Python Script

tomas@fabula.de tomas@fabula.de
Tue, 10 Sep 2002 10:12:15 +0200


On Mon, Sep 09, 2002 at 08:41:02PM +0200, Dieter Maurer wrote:
> Johan Carlsson [Torped] writes:
>  > How do I use type() in Python scripts.
> You do not, it is private.
>  > It seems that type() is restricted code (why?)
> It would confuse many users.

Er... sorry, I don't buy that (actually, your answer has got me
all confused myself ;-)

I'd expect that there be a security thing involved somewhere
(I don't see it right now, but who knows what you can do with
a type object...)

Thanks
-- tomas