[Zope-dev] Trying to design a PythonMethod Product

Brian Lloyd Brian@digicool.com
Thu, 12 Aug 1999 09:38:13 -0400


> <noodling about a Python Method object...>

> > 3. Disallow "del" and "exec" entirely.
> 
> Why disallow 'del'?

Because:

  import sys
  del sys.path
  del sys.modules['__builtin__']
  del __builtins__
  del sys.modules
  del something_else_important

...would be a pretty good way to attack a system :^)


Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com