[Zope-Checkins] CVS: Zope/lib/python/RestrictedPython -
Guards.py:1.10
Casey Duncan
cvs-admin at zope.org
Wed Nov 5 20:11:54 EST 2003
Update of /cvs-repository/Zope/lib/python/RestrictedPython
In directory cvs.zope.org:/tmp/cvs-serv30753
Modified Files:
Guards.py
Log Message:
Make True/False builtins available to untrusted code
=== Zope/lib/python/RestrictedPython/Guards.py 1.9 => 1.10 ===
--- Zope/lib/python/RestrictedPython/Guards.py:1.9 Wed Jun 11 13:29:26 2003
+++ Zope/lib/python/RestrictedPython/Guards.py Wed Nov 5 20:11:54 2003
@@ -22,7 +22,7 @@
'apply', 'callable', 'cmp', 'complex', 'isinstance',
'issubclass', 'long', 'repr', 'range', 'list', 'tuple',
'unichr', 'unicode',
- 'Exception',
+ 'Exception', 'True', 'False', 'bool',
'ArithmeticError', 'AssertionError', 'AttributeError',
'EOFError', 'EnvironmentError', 'FloatingPointError',
'IOError', 'ImportError', 'IndexError', 'KeyError',
More information about the Zope-Checkins
mailing list