[Zope] Re: About XXX and not XXX

Evan Simpson evan@4-am.com
Sat, 21 Jul 2001 18:47:27 -0400


From: "Peter Bengtsson" <mail@peterbe.com>
> Why do you think type() and urllib() are unauthorized for Python
Scripts?

Because they weren't in DTML ;-)  Seriously, I think the lack of urllib
access was an oversight.  The 'type' function, on the other hand, causes
a security hole when used with ExtensionClasses.  Fortunately, you can
almost always use the same_type() function instead.

Cheers,

Evan @ digicool & 4-am