Re: [Python-Dev] Internal namespace proposal
28 Jul
2006
28 Jul
'06
7:25 a.m.
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
6475
Age (days ago)
6475
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Hopwood