> what about substituing the built-in entirely for security reasons, > Zope3 does that with its wrapping versions: > > > def ri_exec(self, code): > # XXX What is the type of code? > self.globals['__builtins__'] = RestrictedBuiltins > exec code in self.globals > > regards. Restricted execution is a different case; possibly the compiler will need to know when it is compiling for restricted mode. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4