[Zope3-checkins] CVS: Zope3/src/zope/security - builtins.py:1.3
Philipp von Weitershausen
philikon at philikon.de
Sun Mar 21 11:57:10 EST 2004
Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv16093/src/zope/security
Modified Files:
builtins.py
Log Message:
Allow bool() and boolean values True, False in secure python code, such
as page templates.
=== Zope3/src/zope/security/builtins.py 1.2 => 1.3 ===
--- Zope3/src/zope/security/builtins.py:1.2 Fri Feb 20 15:42:12 2004
+++ Zope3/src/zope/security/builtins.py Sun Mar 21 11:57:09 2004
@@ -35,16 +35,17 @@
'SystemExit', 'TabError', 'TypeError', 'UnboundLocalError',
'UnicodeError', 'UserWarning', 'ValueError', 'Warning',
'ZeroDivisionError',
- '__debug__', '__doc__', '__name__', 'abs', 'apply', 'buffer',
- 'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile',
- 'complex', 'copyright', 'credits', 'delattr', 'dict',
- 'divmod', 'eval', 'filter', 'float', 'getattr', 'globals',
- 'hasattr', 'hash', 'hex', 'id', 'int', 'isinstance',
+ '__debug__', '__doc__', '__name__', 'abs', 'apply', 'bool',
+ 'buffer', 'callable', 'chr', 'classmethod', 'cmp', 'coerce',
+ 'compile', 'complex', 'copyright', 'credits', 'delattr',
+ 'dict', 'divmod', 'eval', 'filter', 'float', 'getattr',
+ 'globals', 'hasattr', 'hash', 'hex', 'id', 'int', 'isinstance',
'issubclass', 'iter', 'len', 'license', 'list', 'locals',
'long', 'map', 'max', 'min', 'object', 'oct', 'ord', 'pow',
'property', 'quit', 'range', 'reduce', 'repr', 'round',
'setattr', 'slice', 'staticmethod', 'str', 'super', 'tuple',
'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip',
+ 'True', 'False'
]
# XXX dir segfaults with a seg fault due to a bas tuple check in
More information about the Zope3-Checkins
mailing list