Aahz <[EMAIL PROTECTED]> wrote:
   ...
> >>>> object.__subclasses__()
   ...
> One thing my company has done is written a ``safe_eval()`` that uses a
> regex to disable double-underscore access.

will the regex catch getattr(object, 'subclasses'.join(['_'*2]*2)...?-)


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to