Commit 53ec4aa1 authored by Casey Duncan's avatar Casey Duncan

Make True/False builtins available to untrusted code

parent 666315e1
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
############################################################################## ##############################################################################
from __future__ import nested_scopes from __future__ import nested_scopes
__version__='$Revision: 1.9 $'[11:-2] __version__='$Revision: 1.10 $'[11:-2]
import new import new
...@@ -22,7 +22,7 @@ for name in ('None', 'abs', 'chr', 'divmod', 'float', 'hash', 'hex', 'int', ...@@ -22,7 +22,7 @@ for name in ('None', 'abs', 'chr', 'divmod', 'float', 'hash', 'hex', 'int',
'apply', 'callable', 'cmp', 'complex', 'isinstance', 'apply', 'callable', 'cmp', 'complex', 'isinstance',
'issubclass', 'long', 'repr', 'range', 'list', 'tuple', 'issubclass', 'long', 'repr', 'range', 'list', 'tuple',
'unichr', 'unicode', 'unichr', 'unicode',
'Exception', 'Exception', 'True', 'False', 'bool',
'ArithmeticError', 'AssertionError', 'AttributeError', 'ArithmeticError', 'AssertionError', 'AttributeError',
'EOFError', 'EnvironmentError', 'FloatingPointError', 'EOFError', 'EnvironmentError', 'FloatingPointError',
'IOError', 'ImportError', 'IndexError', 'KeyError', 'IOError', 'ImportError', 'IndexError', 'KeyError',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment