[Python-Dev] Internal namespace proposal (original) (raw)
David Hopwood david.nospam.hopwood at blueyonder.co.uk
Fri Jul 28 03:55:58 CEST 2006
- Previous message: [Python-Dev] uuid test suite failing
- Next message: [Python-Dev] how about adding ping's uuid module to the standard lib ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <david.nospam.hopwood at blueyonder.co.uk>
- Previous message: [Python-Dev] uuid test suite failing
- Next message: [Python-Dev] how about adding ping's uuid module to the standard lib ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]