[Zope-Checkins] CVS: Zope/lib/python/RestrictedPython - Guards.py:1.9.24.1

Casey Duncan cvs-admin at zope.org
Wed Nov 5 19:41:11 EST 2003


Update of /cvs-repository/Zope/lib/python/RestrictedPython
In directory cvs.zope.org:/tmp/cvs-serv26051

Modified Files:
      Tag: casey-add-tf-builtins-branch
	Guards.py 
Log Message:
Make True/False builtins available to untrusted code


=== Zope/lib/python/RestrictedPython/Guards.py 1.9 => 1.9.24.1 ===
--- Zope/lib/python/RestrictedPython/Guards.py:1.9	Wed Jun 11 13:29:26 2003
+++ Zope/lib/python/RestrictedPython/Guards.py	Wed Nov  5 19:41:10 2003
@@ -22,7 +22,7 @@
              'apply', 'callable', 'cmp', 'complex', 'isinstance',
              'issubclass', 'long', 'repr', 'range', 'list', 'tuple',
              'unichr', 'unicode',
-             'Exception',
+             'Exception', 'True', 'False',
              'ArithmeticError', 'AssertionError', 'AttributeError',
              'EOFError', 'EnvironmentError', 'FloatingPointError',
              'IOError', 'ImportError', 'IndexError', 'KeyError',




More information about the Zope-Checkins mailing list