Richard Jones wrote: > On 27/07/2006, at 12:19 PM, David Hopwood wrote: > >> A restricted interpreter refuses access to any object attribute or >> method with a name beginning with '_' (by throwing a new exception type >> 'InternalAccessException'), unless the access is from a method and its >> static target is that method's first argument variable. >> >> Also, a restricted interpreter refuses access to any module-global >> variable or module-global function with a name beginning with '_' (by >> throwing 'InternalAccessException'), unless the access is statically >> from the same module. > > Note that this is a rule that Zope enforces in its restricted environment.
Is that documented anywhere? -- David Hopwood <[EMAIL PROTECTED]> _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com