[Checkins] SVN: zope.security/trunk/ - Add `frozenset`, `set`,
`reversed`, and `sorted` to the list of safe
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Jun 4 21:01:03 EDT 2008
Log message for revision 87149:
- Add `frozenset`, `set`, `reversed`, and `sorted` to the list of safe
builtins.
Get ready for release.
Changed:
U zope.security/trunk/CHANGES.txt
U zope.security/trunk/setup.py
U zope.security/trunk/src/zope/security/untrustedpython/builtins.py
-=-
Modified: zope.security/trunk/CHANGES.txt
===================================================================
--- zope.security/trunk/CHANGES.txt 2008-06-05 00:59:22 UTC (rev 87148)
+++ zope.security/trunk/CHANGES.txt 2008-06-05 01:01:01 UTC (rev 87149)
@@ -3,6 +3,13 @@
=======
+3.5.1 - 2008-06-04
+-------------------
+
+- Add `frozenset`, `set`, `reversed`, and `sorted` to the list of safe
+ builtins.
+
+
3.5.0 - 2008-03-05
-------------------
Modified: zope.security/trunk/setup.py
===================================================================
--- zope.security/trunk/setup.py 2008-06-05 00:59:22 UTC (rev 87148)
+++ zope.security/trunk/setup.py 2008-06-05 01:01:01 UTC (rev 87149)
@@ -22,7 +22,7 @@
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(name='zope.security',
- version = '3.6.0dev',
+ version = '3.5.1',
author='Zope Corporation and Contributors',
author_email='zope3-dev at zope.org',
description='Zope3 Security Architecture',
Modified: zope.security/trunk/src/zope/security/untrustedpython/builtins.py
===================================================================
--- zope.security/trunk/src/zope/security/untrustedpython/builtins.py 2008-06-05 00:59:22 UTC (rev 87148)
+++ zope.security/trunk/src/zope/security/untrustedpython/builtins.py 2008-06-05 01:01:01 UTC (rev 87149)
@@ -49,16 +49,16 @@
'__debug__', '__name__', '__doc__', 'abs', 'apply', 'bool',
'buffer', 'callable', 'chr', 'classmethod', 'cmp', 'coerce',
'complex', 'copyright', 'credits', 'delattr',
- 'dict', 'divmod', 'filter', 'float', 'getattr',
+ 'dict', 'divmod', 'filter', 'float', 'frozenset', 'getattr',
'hasattr', 'hash', 'hex', 'id', 'int', 'isinstance',
'issubclass', 'iter', 'len', 'license', 'list',
'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',
+ 'property', 'quit', 'range', 'reduce', 'repr', 'reversed', 'round',
+ 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'super',
+ 'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip',
'True', 'False',
- # TODO: dir segfaults with a seg fault due to a bas tuple
+ # TODO: dir segfaults with a seg fault due to a bad tuple
# check in merge_class_dict in object.c. The assert macro
# seems to be doing the wrong think. Basically, if an object
# has bases, then bases is assumed to be a tuple.
More information about the Checkins
mailing list