Alberto Berti wrote:
> maybe using import hooks?
> 
> http://www.python.org/dev/peps/pep-0302/

Well, as Lazlo reminded me, there are also plenty of builtins that are 
problematic... although hopefully providing a limited set of contents 
for the global and local namespaces could solve that?

But, regardless of those, how do you prevent someone "undoing" the 
hooks, regardless of which ones you use?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to