[Checkins] [zopefoundation/RestrictedPython] ac2fc0: Merged RestrictedPythonBranch!
GitHub
noreply at github.com
Thu Feb 28 14:42:42 UTC 2013
Branch: refs/heads/master
Home: https://github.com/zopefoundation/RestrictedPython
Commit: ac2fc0f61c6b176ac54e1afbd87a7ad03f60a3f8
https://github.com/zopefoundation/RestrictedPython/commit/ac2fc0f61c6b176ac54e1afbd87a7ad03f60a3f8
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-04-27 (Fri, 27 Apr 2001)
Changed paths:
A Compilers.py
A Eval.py
A Guards.py
A Limits.py
A MutatingWalker.py
A PrintCollector.py
A RestrictionMutator.py
A Utilities.py
A __init__.py
A compiler/__init__.py
A compiler/ast.py
A compiler/astgen.py
A compiler/consts.py
A compiler/future.py
A compiler/misc.py
A compiler/pyassem.py
A compiler/pycodegen.py
A compiler/symbols.py
A compiler/transformer.py
A compiler/visitor.py
A tests/restricted_module.py
A tests/security_in_syntax.py
A tests/testRestrictions.py
Log Message:
-----------
Merged RestrictedPythonBranch!
Commit: 0040ad565563ea73e181d412f03ad1ad455f2677
https://github.com/zopefoundation/RestrictedPython/commit/0040ad565563ea73e181d412f03ad1ad455f2677
Author: Evan Simpson <evan at 4-am.com>
Date: 2001-05-08 (Tue, 08 May 2001)
Changed paths:
A SafeMapping.py
Log Message:
-----------
Add SafeMapping class, for use when mappings (or MultiMappings) need to be exposed to restricted code.
Commit: 07c83c80d66977131466d46c686f5c8662366b0b
https://github.com/zopefoundation/RestrictedPython/commit/07c83c80d66977131466d46c686f5c8662366b0b
Author: Evan Simpson <evan at 4-am.com>
Date: 2001-05-14 (Mon, 14 May 2001)
Changed paths:
M Guards.py
M RestrictionMutator.py
M tests/restricted_module.py
M tests/testRestrictions.py
Log Message:
-----------
Handle augmented assignment correctly.
Commit: 65acbacda31a322510b39ec5da82e49dbf080c6e
https://github.com/zopefoundation/RestrictedPython/commit/65acbacda31a322510b39ec5da82e49dbf080c6e
Author: Evan Simpson <evan at 4-am.com>
Date: 2001-05-14 (Mon, 14 May 2001)
Changed paths:
M compiler/symbols.py
Log Message:
-----------
Prevent the subject of attribute and subscript assignment from being marked as a local variable.
Commit: 3ea9aed1176719a6d069c658dc8cbb7606749362
https://github.com/zopefoundation/RestrictedPython/commit/3ea9aed1176719a6d069c658dc8cbb7606749362
Author: Evan Simpson <evan at 4-am.com>
Date: 2001-05-14 (Mon, 14 May 2001)
Changed paths:
M Guards.py
Log Message:
-----------
__*attr__ magic methods don't work when you add them after the class is defined, so add them during class definition.
Commit: 109dac4ad81b22411085811eb37d2aedc8ae943e
https://github.com/zopefoundation/RestrictedPython/commit/109dac4ad81b22411085811eb37d2aedc8ae943e
Author: matt at zope.com <matt at svn.zope.org>
Date: 2001-05-16 (Wed, 16 May 2001)
Changed paths:
M Guards.py
Log Message:
-----------
Add unicode methods "unichr" and "unicode" as unrestricted methods. Note
that the issues remain to allowing unicode objects through Zope that are
not addressed herin, but are related to type('') not equalling type(u''); much
special case code exists that handles strings differently that needs
review to handle unicode as well.
Commit: a9a04daae696727ccb0f14dcb742cbb9c45d798c
https://github.com/zopefoundation/RestrictedPython/commit/a9a04daae696727ccb0f14dcb742cbb9c45d798c
Author: Evan Simpson <evan at 4-am.com>
Date: 2001-05-17 (Thu, 17 May 2001)
Changed paths:
M RestrictionMutator.py
M tests/restricted_module.py
M tests/testRestrictions.py
Log Message:
-----------
Fix "print >>None" and test it.
Commit: 14920dff6871d33b7214a44b084276d7e150b80a
https://github.com/zopefoundation/RestrictedPython/commit/14920dff6871d33b7214a44b084276d7e150b80a
Author: Andreas Jung <yet at gmx.de>
Date: 2001-05-23 (Wed, 23 May 2001)
Changed paths:
M Utilities.py
Log Message:
-----------
merged Extended DTML Sorting implementation
Commit: 4abcd22f5bd63c92030ac89d45c5a1b7046b1e28
https://github.com/zopefoundation/RestrictedPython/commit/4abcd22f5bd63c92030ac89d45c5a1b7046b1e28
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-05-23 (Wed, 23 May 2001)
Changed paths:
A tests/__init__.py
M tests/testRestrictions.py
Log Message:
-----------
Enabled tests to run both from the command line and by testrunner.
Commit: 08c27116e6bbffb86b422086eb9ce8e85c6ac4dc
https://github.com/zopefoundation/RestrictedPython/commit/08c27116e6bbffb86b422086eb9ce8e85c6ac4dc
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-06-08 (Fri, 08 Jun 2001)
Changed paths:
M compiler/pycodegen.py
M tests/restricted_module.py
M tests/testRestrictions.py
Log Message:
-----------
Corrected a formerly obscure bug in the compiler module; Python Scripts
revealed it. "print" with output to a stream and a trailing comma needs to
end with a POP_TOP instruction.
Commit: ad008fd70e73fb829d9713c679b6c07581bea3bd
https://github.com/zopefoundation/RestrictedPython/commit/ad008fd70e73fb829d9713c679b6c07581bea3bd
Author: Andreas Jung <yet at gmx.de>
Date: 2001-06-19 (Tue, 19 Jun 2001)
Changed paths:
M Utilities.py
Log Message:
-----------
*** empty log message ***
Commit: c1077481ce949ab5b9b73df9a0b8887559dd5697
https://github.com/zopefoundation/RestrictedPython/commit/c1077481ce949ab5b9b73df9a0b8887559dd5697
Author: Andreas Jung <yet at gmx.de>
Date: 2001-06-19 (Tue, 19 Jun 2001)
Changed paths:
M Utilities.py
Log Message:
-----------
reverted wrong update to trunk
Commit: bb4161bddf58fecc5cf9a05f7e4cd992969d40b2
https://github.com/zopefoundation/RestrictedPython/commit/bb4161bddf58fecc5cf9a05f7e4cd992969d40b2
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-06-21 (Thu, 21 Jun 2001)
Changed paths:
M Eval.py
M RestrictionMutator.py
M tests/restricted_module.py
M tests/security_in_syntax.py
M tests/testRestrictions.py
Log Message:
-----------
Based on some semi-formal performance tests, read guards turned out to be
slower than the old code. With this change, we're using simple function
calls again to perform security checks. But the calling sequence is
intended to be easier to comprehend than the old code. Now instead of
DT_String.String subclasses having a validate() method attached to them, they
subclass AccessControl.DTML.RestrictedDTML, which provides a guarded_getattr()
method and a guarded_getitem() method.
Note that the functionality of guarded_getattr() used to be implemented
both in C and Python (in cDocumentTemplate and DT_Util), but now it's in
one place, ZopeGuards.py. Thus it's not only reusable but easy to
optimize.
I ran all the tests and ran the new code through the profiler again. The
change sped up restricted code a little more than expected, which is
definitely a good thing, but that may indicate that nested scopes
have a hidden speed penalty.
Also, RestrictedPython is now restrictive about printing to targets and
two forms of augmented assignment had to be forbidden.
Commit: 53d0cde1ade4bafacda71179635cdc87597998a0
https://github.com/zopefoundation/RestrictedPython/commit/53d0cde1ade4bafacda71179635cdc87597998a0
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-06-22 (Fri, 22 Jun 2001)
Changed paths:
M compiler/pycodegen.py
Log Message:
-----------
Corrected the handling of POP_TOP in redirected print statements with
multiple clauses.
Commit: 16ac10e6e4be47702210beaf5a75d2fe4a80229a
https://github.com/zopefoundation/RestrictedPython/commit/16ac10e6e4be47702210beaf5a75d2fe4a80229a
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-06-22 (Fri, 22 Jun 2001)
Changed paths:
M tests/restricted_module.py
M tests/testRestrictions.py
Log Message:
-----------
Added a test that segfaulted with the incorrect stack handling in redirected
print statements, but now passes.
Commit: d890fcdcd3cb3858cd392da42da230093be22b88
https://github.com/zopefoundation/RestrictedPython/commit/d890fcdcd3cb3858cd392da42da230093be22b88
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-06-26 (Tue, 26 Jun 2001)
Changed paths:
M compiler/symbols.py
M tests/restricted_module.py
M tests/testRestrictions.py
Log Message:
-----------
Fixed a nested scopes bug reported by jellej at pacbell.net. Thanks!
Evan's description:
If you defined two nested functions in a row that refer to the same
non-global variable, the second one will be generated as though the
variable were global.
Commit: 42ba90d38985fe8ff539654670c24df4086ee87d
https://github.com/zopefoundation/RestrictedPython/commit/42ba90d38985fe8ff539654670c24df4086ee87d
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-07-13 (Fri, 13 Jul 2001)
Changed paths:
M compiler/pyassem.py
Log Message:
-----------
Sync with Jeremy's latest updates to the compiler package. See:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/python/dist/src/Tools/compiler/compiler/pyassem.py.diff?r1=1.19&r2=1.19.2.1
Commit: 4a79b4f0f0f101c62a9e7fb4aab18d1b203eff24
https://github.com/zopefoundation/RestrictedPython/commit/4a79b4f0f0f101c62a9e7fb4aab18d1b203eff24
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-08-27 (Mon, 27 Aug 2001)
Changed paths:
M RestrictionMutator.py
M compiler/ast.py
M compiler/astgen.py
M compiler/future.py
M compiler/transformer.py
Log Message:
-----------
Merged recent changes to the compiler package, adding "yield" support and
fixing bugs.
Commit: 20bef3e96aa7583cff598d98982251b8c195818c
https://github.com/zopefoundation/RestrictedPython/commit/20bef3e96aa7583cff598d98982251b8c195818c
Author: Ken Manheimer <ken.manheimer at gmail.com>
Date: 2001-10-16 (Tue, 16 Oct 2001)
Changed paths:
M Guards.py
Log Message:
-----------
Merging (apparent) nested-scopes problem workaround from
Zope-2_4-branch.
Commit: b29912c57d446ddbbd4edaeb9620c7866a1163f0
https://github.com/zopefoundation/RestrictedPython/commit/b29912c57d446ddbbd4edaeb9620c7866a1163f0
Author: Tres Seaver <tseaver at palladion.com>
Date: 2001-10-17 (Wed, 17 Oct 2001)
Changed paths:
M tests/testRestrictions.py
Log Message:
-----------
o Land unit test cleanup from branch.
o Known breakage as of 2001/10/17:
- TAL test suite is very broken (TAL is currently suppressed in
lib/python/.testinfo).
- AccessControl tests don't run if run first; lib/python/.testinfo
pushes them to the end of the queue, at which point they *do* run.
Global side effects suck!
- lib/python/BTrees/testBTreesUnicode.py: weird flakiness around
comparison of ASCII and Unicode strings; breaks in different
ways under Python 2.1 and 2.2.
- lib/python/Products/PageTemplates/tests: three tests break due
to security asserctions.
Commit: 29dca9b95d4ff8131ebb0991c64dd4d68e633a9a
https://github.com/zopefoundation/RestrictedPython/commit/29dca9b95d4ff8131ebb0991c64dd4d68e633a9a
Author: Evan Simpson <evan at 4-am.com>
Date: 2001-11-13 (Tue, 13 Nov 2001)
Changed paths:
M MutatingWalker.py
M RestrictionMutator.py
M tests/restricted_module.py
M tests/testRestrictions.py
Log Message:
-----------
Add test and fix for default argument processing in sub-functions.
Commit: f18db2539ba153fd281a6d5c2e3261b63ce671f2
https://github.com/zopefoundation/RestrictedPython/commit/f18db2539ba153fd281a6d5c2e3261b63ce671f2
Author: matt at zope.com <matt at svn.zope.org>
Date: 2001-11-28 (Wed, 28 Nov 2001)
Changed paths:
M Compilers.py
M Eval.py
M Guards.py
M Limits.py
M MutatingWalker.py
M PrintCollector.py
M RestrictionMutator.py
M SafeMapping.py
M Utilities.py
M __init__.py
Log Message:
-----------
License file update
Commit: ff22a17528570ea77a7832f497e0214ff24c7d85
https://github.com/zopefoundation/RestrictedPython/commit/ff22a17528570ea77a7832f497e0214ff24c7d85
Author: Evan Simpson <evan at 4-am.com>
Date: 2001-12-14 (Fri, 14 Dec 2001)
Changed paths:
M compiler/pyassem.py
Log Message:
-----------
Fix RestrictedPython.compiler stacksize computations, which could cause segmentation faults when incorrect. Incremented PythonScripts magic number to force recompilation of Scripts.
Commit: 568f2aeed7c49b23af5b0a6aecf475b9fb645e9a
https://github.com/zopefoundation/RestrictedPython/commit/568f2aeed7c49b23af5b0a6aecf475b9fb645e9a
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-12-17 (Mon, 17 Dec 2001)
Changed paths:
M tests/testRestrictions.py
Log Message:
-----------
Added a test that ensures Jeremy's compiler estimates the stack size of a
function at least as conservatively as the standard compiler does. Note
that this test currently fails for list comprehensions.
Commit: aba87ad96445f07fe9b8697e95fbf7b3c5ac3f16
https://github.com/zopefoundation/RestrictedPython/commit/aba87ad96445f07fe9b8697e95fbf7b3c5ac3f16
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-12-21 (Fri, 21 Dec 2001)
Changed paths:
M compiler/ast.py
A compiler/ast.txt
M compiler/astgen.py
M compiler/consts.py
M compiler/future.py
M compiler/misc.py
M compiler/pyassem.py
M compiler/pycodegen.py
M compiler/symbols.py
M compiler/transformer.py
Log Message:
-----------
Synced up with Python's release21-maint branch, with a bugfix for FOR_LOOP
stack size computation and relative rather than absolute imports.
Commit: ea03f519a01ab79b105df6cc055bcc0bfc7176f9
https://github.com/zopefoundation/RestrictedPython/commit/ea03f519a01ab79b105df6cc055bcc0bfc7176f9
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2001-12-21 (Fri, 21 Dec 2001)
Changed paths:
R Compilers.py
M MutatingWalker.py
A RCompile.py
A RCompile_2_1.py
M RestrictionMutator.py
A SelectCompiler.py
M __init__.py
R compiler/__init__.py
R compiler/ast.py
R compiler/ast.txt
R compiler/astgen.py
R compiler/consts.py
R compiler/future.py
R compiler/misc.py
R compiler/pyassem.py
R compiler/pycodegen.py
R compiler/symbols.py
R compiler/transformer.py
R compiler/visitor.py
A compiler_2_1/__init__.py
A compiler_2_1/ast.py
A compiler_2_1/ast.txt
A compiler_2_1/astgen.py
A compiler_2_1/consts.py
A compiler_2_1/future.py
A compiler_2_1/misc.py
A compiler_2_1/pyassem.py
A compiler_2_1/pycodegen.py
A compiler_2_1/symbols.py
A compiler_2_1/transformer.py
A compiler_2_1/visitor.py
Log Message:
-----------
Merged RestrictedPython-2_2-branch.
Commit: 90ca75b54e5e775ebf7f5c4a6e270fdb332fa15c
https://github.com/zopefoundation/RestrictedPython/commit/90ca75b54e5e775ebf7f5c4a6e270fdb332fa15c
Author: Brian Lloyd <brian.lloyd at revolution.com>
Date: 2001-12-22 (Sat, 22 Dec 2001)
Changed paths:
M SelectCompiler.py
Log Message:
-----------
Merge compiler selection fix from 2.5 branch.
Commit: 5a1de47c5697be920bca16e7962fea3b53bbb359
https://github.com/zopefoundation/RestrictedPython/commit/5a1de47c5697be920bca16e7962fea3b53bbb359
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2002-06-12 (Wed, 12 Jun 2002)
Changed paths:
M tests/testRestrictions.py
Log Message:
-----------
It's really not safe for unit test modules to change sys.path. Doing
so makes the full suite brittle. Cleaned out all the places where unit
tests change sys.path. (Use the PYTHONPATH environment variable instead.)
Also brought SearchIndex tests up to date, which I didn't really need to do
since SearchIndex is deprecated, but I did it as part of figuring out the
failed Interface tests, so I might as well check in my work. ;-) One of the
test modules in SearchIndex forgets to define a global named "Dummy",
actually, so all the tests were failing before this checkin anyway.
Commit: c896fc61c259ba0cff0e60aef275ccddb060c6e0
https://github.com/zopefoundation/RestrictedPython/commit/c896fc61c259ba0cff0e60aef275ccddb060c6e0
Author: Martijn Pieters <mj at zopatista.co>
Date: 2002-08-14 (Wed, 14 Aug 2002)
Changed paths:
M Eval.py
M Guards.py
M Limits.py
M MutatingWalker.py
M PrintCollector.py
M RCompile.py
M RCompile_2_1.py
M RestrictionMutator.py
M SafeMapping.py
M SelectCompiler.py
M Utilities.py
M __init__.py
M compiler_2_1/__init__.py
M compiler_2_1/ast.py
M compiler_2_1/future.py
M compiler_2_1/misc.py
M compiler_2_1/pyassem.py
M compiler_2_1/pycodegen.py
M compiler_2_1/symbols.py
M compiler_2_1/transformer.py
M compiler_2_1/visitor.py
M tests/restricted_module.py
M tests/security_in_syntax.py
M tests/testRestrictions.py
Log Message:
-----------
Clean up indentation and trailing whitespace.
Commit: a826d2eec4c35f4cfe91514d12946ddb1cf57a03
https://github.com/zopefoundation/RestrictedPython/commit/a826d2eec4c35f4cfe91514d12946ddb1cf57a03
Author: Andreas Jung <yet at gmx.de>
Date: 2003-06-11 (Wed, 11 Jun 2003)
Changed paths:
M Guards.py
Log Message:
-----------
added UnicodeError as safe name
Commit: dfed36b1b6219f64e67466057228e1b1869a57a0
https://github.com/zopefoundation/RestrictedPython/commit/dfed36b1b6219f64e67466057228e1b1869a57a0
Author: Evan Simpson <evan at 4-am.com>
Date: 2003-11-04 (Tue, 04 Nov 2003)
Changed paths:
M RCompile.py
M RCompile_2_1.py
Log Message:
-----------
Collector #445: Add internal global declaration for Script bindings.
Commit: f64a4bd3569c3e7e0f5854cb9577e4a78a741538
https://github.com/zopefoundation/RestrictedPython/commit/f64a4bd3569c3e7e0f5854cb9577e4a78a741538
Author: Fred Drake <fdrake at acm.org>
Date: 2003-11-05 (Wed, 05 Nov 2003)
Changed paths:
M RestrictionMutator.py
M tests/security_in_syntax.py
Log Message:
-----------
Do not allow import-as to rebind "under names".
Commit: a1e8c5485ff3cdc894fad89214edc11d32b43e16
https://github.com/zopefoundation/RestrictedPython/commit/a1e8c5485ff3cdc894fad89214edc11d32b43e16
Author: Casey Duncan <casey.duncan at gmail.com>
Date: 2003-11-05 (Wed, 05 Nov 2003)
Changed paths:
M Guards.py
Log Message:
-----------
Make True/False builtins available to untrusted code
Commit: 5315d80db7ac35b1d26a52459c557407a6ac965d
https://github.com/zopefoundation/RestrictedPython/commit/5315d80db7ac35b1d26a52459c557407a6ac965d
Author: Fred Drake <fdrake at acm.org>
Date: 2003-11-06 (Thu, 06 Nov 2003)
Changed paths:
M Guards.py
Log Message:
-----------
get the exceptions and warnings Python gives us instead of hard-coding
the list of names
Commit: e3260cace536415baa44abdadc9d0f6d265469f6
https://github.com/zopefoundation/RestrictedPython/commit/e3260cace536415baa44abdadc9d0f6d265469f6
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2003-11-06 (Thu, 06 Nov 2003)
Changed paths:
M Guards.py
M RCompile.py
M RestrictionMutator.py
M SelectCompiler.py
R compiler_2_1/__init__.py
R compiler_2_1/ast.py
R compiler_2_1/ast.txt
R compiler_2_1/astgen.py
R compiler_2_1/consts.py
R compiler_2_1/future.py
R compiler_2_1/misc.py
R compiler_2_1/pyassem.py
R compiler_2_1/pycodegen.py
R compiler_2_1/symbols.py
R compiler_2_1/transformer.py
R compiler_2_1/visitor.py
M tests/security_in_syntax.py
M tests/testRestrictions.py
Log Message:
-----------
Synced with Zope-2_7-branch.
Removed support for Python 2.1, fixed yield test, and added a test for
bad names set by exception handlers.
Commit: 1700af0d4f16edc5c0a51e47ac8a3ae70a99d4c5
https://github.com/zopefoundation/RestrictedPython/commit/1700af0d4f16edc5c0a51e47ac8a3ae70a99d4c5
Author: Evan Simpson <evan at 4-am.com>
Date: 2003-11-20 (Thu, 20 Nov 2003)
Changed paths:
M Guards.py
Log Message:
-----------
Exposed Python 2.3 builtins 'sum', 'dict', and 'enumerate' to guarded code.
Commit: 1914aa03065a4fa8abb54ce278f7048e8c6165b8
https://github.com/zopefoundation/RestrictedPython/commit/1914aa03065a4fa8abb54ce278f7048e8c6165b8
Author: Shane Hathaway <shane at hathawaymix.org>
Date: 2003-12-10 (Wed, 10 Dec 2003)
Changed paths:
R RCompile_2_1.py
Log Message:
-----------
Removed a now-defunct module.
This was the Python 2.1 support for RestrictedPython.
Commit: 86b5442a08990fe19eb51df386bd6fb5bd76d118
https://github.com/zopefoundation/RestrictedPython/commit/86b5442a08990fe19eb51df386bd6fb5bd76d118
Author: Fred Drake <fdrake at acm.org>
Date: 2004-01-06 (Tue, 06 Jan 2004)
Changed paths:
M tests/security_in_syntax.py
Log Message:
-----------
remove trailing blank line
Commit: 53ae850dc63a3d0950be7f043692e14bbe4a065e
https://github.com/zopefoundation/RestrictedPython/commit/53ae850dc63a3d0950be7f043692e14bbe4a065e
Author: Tres Seaver <tseaver at palladion.com>
Date: 2004-01-15 (Thu, 15 Jan 2004)
Changed paths:
M Eval.py
M Guards.py
M Limits.py
M RCompile.py
M RestrictionMutator.py
M SelectCompiler.py
A tests/before_and_after.py
A tests/class.py
A tests/lambda.py
M tests/restricted_module.py
M tests/security_in_syntax.py
M tests/testRestrictions.py
A tests/unpack.py
A tests/verify.py
Log Message:
-----------
- Merge a number of entangled issues from 2.6 / 2.7 audit:
Iteration over sequences could in some cases fail to check access
to an object obtained from the sequence. Subsequent checks (such
as for attributes access) of such an object would still be
performed, but it should not have been possible to obtain the
object in the first place.
List and dictionary instance methods such as the get method of
dictionary objects were not security aware and could return an
object without checking access to that object. Subsequent checks
(such as for attributes access) of such an object would still be
performed, but it should not have been possible to obtain the
object in the first place.
Use of "import as" in Python scripts could potentially rebind
names in ways that could be used to avoid appropriate security
checks.
A number of newer built-ins were either unavailable in untrusted
code or did not perform adequate security checking.
Unpacking via function calls, variable assignment, exception
variables and other contexts did not perform adequate security
checks, potentially allowing access to objects that should have
been protected.
Class security was not properly intialized for PythonScripts,
potentially allowing access to variables that should be protected.
It turned out that most of the security assertions were in fact
activated as a side effect of other code, but this fix is still
appropriate to ensure that all security declarations are properly
applied.
DTMLMethods with proxy rights could incorrectly transfer those
rights via acquisition when traversing to a parent object.
Commit: cfeb4971c0b4d3dad0f994bc23e69d3b7a0bb299
https://github.com/zopefoundation/RestrictedPython/commit/cfeb4971c0b4d3dad0f994bc23e69d3b7a0bb299
Author: root <root at svn.zope.org>
Date: 2004-05-11 (Tue, 11 May 2004)
Log Message:
-----------
Set mime-type or svn-eol property from cvs expansion data
Commit: 2424ab1fbbaef5c4eba8cd731d1be0cb9cdaaa00
https://github.com/zopefoundation/RestrictedPython/commit/2424ab1fbbaef5c4eba8cd731d1be0cb9cdaaa00
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2004-05-16 (Sun, 16 May 2004)
Changed paths:
M Eval.py
M SafeMapping.py
M SelectCompiler.py
M __init__.py
M tests/before_and_after.py
Log Message:
-----------
Tell subversion to expand the Id keyword:
- replaced old CVS expansion with a clean $Id$
- set the svn:keywords property to "Id"
When you check-in files in the future and want $Id$ to be expanded,
make sure it reads "$Id$" in that file; then set svn:keywords to "Id".
ZODB, ZEO, Persistence and similar packages were not modified since they
are really maintained elsewhere. Right now, we use a copy of them in our
Zope/Zope3 trees. We should go back to the module sharing (using
svn:externals).
Commit: 7c6e698ef2e65a6c7a8a74908b7ff7321b36177b
https://github.com/zopefoundation/RestrictedPython/commit/7c6e698ef2e65a6c7a8a74908b7ff7321b36177b
Author: Fred Drake <fdrake at acm.org>
Date: 2004-09-02 (Thu, 02 Sep 2004)
Changed paths:
M tests/testRestrictions.py
Log Message:
-----------
Fix obscure bug that caused the source not to be found when installed using
via distutils to a relative path.
(corresponds with ZopeX3-3.0 branch revision 27434)
Commit: 91b7f0bfd0713d4713ea4af17873397b4dba9955
https://github.com/zopefoundation/RestrictedPython/commit/91b7f0bfd0713d4713ea4af17873397b4dba9955
Author: Tres Seaver <tseaver at palladion.com>
Date: 2004-11-26 (Fri, 26 Nov 2004)
Changed paths:
M RCompile.py
M tests/testRestrictions.py
Log Message:
-----------
Merge fix for issue #945.
Commit: 63009a22332b93bce0cb478e3d5803b03d424ea5
https://github.com/zopefoundation/RestrictedPython/commit/63009a22332b93bce0cb478e3d5803b03d424ea5
Author: Tres Seaver <tseaver at palladion.com>
Date: 2005-04-05 (Tue, 05 Apr 2005)
Changed paths:
M RestrictionMutator.py
Log Message:
-----------
- Forward-port fix for vulnerability addressed in Hotfix_20050405 from 2.7 branch.
Commit: 3f1cd58004147c88052d85667ebe11ce0fc2b983
https://github.com/zopefoundation/RestrictedPython/commit/3f1cd58004147c88052d85667ebe11ce0fc2b983
Author: Andreas Jung <yet at gmx.de>
Date: 2005-10-30 (Sun, 30 Oct 2005)
Changed paths:
M Utilities.py
Log Message:
-----------
removed try.exception when import DateTime module (should be available
all the time)
Commit: a96874b403fbd16384733185808c41c298307054
https://github.com/zopefoundation/RestrictedPython/commit/a96874b403fbd16384733185808c41c298307054
Author: Andreas Jung <yet at gmx.de>
Date: 2005-10-30 (Sun, 30 Oct 2005)
Changed paths:
M Utilities.py
Log Message:
-----------
re-added DateTime import
Commit: eb686f559bd270a65b1a69193d4311de5af72c6f
https://github.com/zopefoundation/RestrictedPython/commit/eb686f559bd270a65b1a69193d4311de5af72c6f
Author: Jim Fulton <jim at zope.com>
Date: 2005-10-31 (Mon, 31 Oct 2005)
Changed paths:
M RestrictionMutator.py
A notes.txt
M tests/before_and_after.py
A tests/before_and_after24.py
M tests/restricted_module.py
M tests/security_in_syntax.py
M tests/testRestrictions.py
Log Message:
-----------
Merged from 2.8 branch:
r39647 | jim | 2005-10-26 13:12:39 -0400 (Wed, 26 Oct 2005) | 6 lines
Fixed a bug in getting source that prevented tests from being used if
there were pyc files around. Sigh.
Added tests for restrictions on augmented assignment and for handling
generator expressions.
------------------------------------------------------------------------
r39646 | jim | 2005-10-26 13:12:37 -0400 (Wed, 26 Oct 2005) | 2 lines
Added tests for handling generator expressions.
------------------------------------------------------------------------
r39645 | jim | 2005-10-26 13:12:35 -0400 (Wed, 26 Oct 2005) | 3 lines
Added protection against the (small) risk that someone could mitate an
object through an augmented assignment (aka inplace) operator.
------------------------------------------------------------------------
r39644 | jim | 2005-10-26 13:12:32 -0400 (Wed, 26 Oct 2005) | 5 lines
Added protection against the (small) risk that someone could mitate an
object through an augmented assignment (aka inplace) operator.
Also added handling for generator expressions.
------------------------------------------------------------------------
r39643 | jim | 2005-10-26 13:12:30 -0400 (Wed, 26 Oct 2005) | 4 lines
Added notes on how restricted python works. I hope I
never need these again, but that's what I said the last time I had to
rediscover how this worked. :)
Commit: 3544972b91d24ae9b9fdc62536542626b9828cb6
https://github.com/zopefoundation/RestrictedPython/commit/3544972b91d24ae9b9fdc62536542626b9828cb6
Author: Andreas Jung <yet at gmx.de>
Date: 2005-11-18 (Fri, 18 Nov 2005)
Changed paths:
M Eval.py
M Guards.py
M Limits.py
M MutatingWalker.py
M PrintCollector.py
M RCompile.py
M RestrictionMutator.py
M SafeMapping.py
M SelectCompiler.py
M Utilities.py
M __init__.py
M tests/before_and_after.py
M tests/before_and_after24.py
M tests/verify.py
Log Message:
-----------
updated to ZPL 2.1 to be in sync with Zope 3
Commit: b21e3851e4f9ab4a4131cf4608c9b6e8a4d7f5ff
https://github.com/zopefoundation/RestrictedPython/commit/b21e3851e4f9ab4a4131cf4608c9b6e8a4d7f5ff
Author: Tres Seaver <tseaver at palladion.com>
Date: 2005-11-22 (Tue, 22 Nov 2005)
Changed paths:
M Utilities.py
Log Message:
-----------
Collector #1621, 1894: Removed support for use of long-deprecated 'whrandom' module.
Commit: 82b7c04f30f9df7bde0cf8a756c46055beeb21ff
https://github.com/zopefoundation/RestrictedPython/commit/82b7c04f30f9df7bde0cf8a756c46055beeb21ff
Author: Tres Seaver <tseaver at palladion.com>
Date: 2006-04-05 (Wed, 05 Apr 2006)
Changed paths:
A CHANGES.txt
A INSTALL.txt
A README.txt
A develop.py
A setup.cfg.in
A setup.py
A src/zope/__init__.py
A test.py
A workspace/__init__.py
A workspace/develop.py
Log Message:
-----------
Eggify
Commit: ebc10c4b6c520c1614a75fd5c6ad5dc3e4f050d4
https://github.com/zopefoundation/RestrictedPython/commit/ebc10c4b6c520c1614a75fd5c6ad5dc3e4f050d4
Author: Tres Seaver <tseaver at palladion.com>
Date: 2006-04-05 (Wed, 05 Apr 2006)
Changed paths:
M CHANGES.txt
M INSTALL.txt
M README.txt
M setup.cfg.in
M setup.py
R src/zope/__init__.py
M test.py
Log Message:
-----------
Release engineering.
Commit: 4a92f3bdf4ae9d705ddfb0afcbce0ae591f0e96d
https://github.com/zopefoundation/RestrictedPython/commit/4a92f3bdf4ae9d705ddfb0afcbce0ae591f0e96d
Author: Chris Withers <chris at simplistix.co.uk>
Date: 2006-05-01 (Mon, 01 May 2006)
Changed paths:
M RCompile.py
M tests/testRestrictions.py
Log Message:
-----------
- Collector #2061: Fix problems where windows line endings are passed to restricted code compilers.
Commit: bf4c71f725d5cac88457396714f94fc03d7d2173
https://github.com/zopefoundation/RestrictedPython/commit/bf4c71f725d5cac88457396714f94fc03d7d2173
Author: Andreas Jung <yet at gmx.de>
Date: 2007-01-13 (Sat, 13 Jan 2007)
Changed paths:
M Utilities.py
Log Message:
-----------
collector #1918: added Set to RestrictedPython
Commit: 607418634eea18d1fe5d9b54880791ea25b3fa3a
https://github.com/zopefoundation/RestrictedPython/commit/607418634eea18d1fe5d9b54880791ea25b3fa3a
Author: Andreas Jung <yet at gmx.de>
Date: 2007-01-13 (Sat, 13 Jan 2007)
Changed paths:
M Utilities.py
Log Message:
-----------
fixed code to allow Python's 'set' module
Commit: f1c57a86d5b7cc6fa29f40b788499f3def51efa2
https://github.com/zopefoundation/RestrictedPython/commit/f1c57a86d5b7cc6fa29f40b788499f3def51efa2
Author: Baiju Muthukadan <baiju.m.mail at gmail.com>
Date: 2007-03-16 (Fri, 16 Mar 2007)
Changed paths:
R CHANGES.txt
M README.txt
A bootstrap.py
A buildout.cfg
R develop.py
R setup.cfg.in
M setup.py
R test.py
R workspace/__init__.py
R workspace/develop.py
Log Message:
-----------
- Use buildout
- Removed obsolete files
- Incremented version to 3.4dev
Commit: 069f8541492e1aaca9aba503be5e9d2aba7e2fbc
https://github.com/zopefoundation/RestrictedPython/commit/069f8541492e1aaca9aba503be5e9d2aba7e2fbc
Author: Baiju Muthukadan <baiju.m.mail at gmail.com>
Date: 2007-03-16 (Fri, 16 Mar 2007)
Changed paths:
M setup.py
Log Message:
-----------
Use setuptools.find_packages to find packages.
Commit: 311bc761e6073b6b197ff350f172447269c3b4be
https://github.com/zopefoundation/RestrictedPython/commit/311bc761e6073b6b197ff350f172447269c3b4be
Author: Christian Theune <ct at gocept.com>
Date: 2007-06-03 (Sun, 03 Jun 2007)
Changed paths:
A src/RestrictedPython/Eval.py
A src/RestrictedPython/Guards.py
A src/RestrictedPython/Limits.py
A src/RestrictedPython/MutatingWalker.py
A src/RestrictedPython/PrintCollector.py
A src/RestrictedPython/RCompile.py
A src/RestrictedPython/RestrictionMutator.py
A src/RestrictedPython/SelectCompiler.py
A src/RestrictedPython/Utilities.py
A src/RestrictedPython/__init__.py
A src/RestrictedPython/tests/__init__.py
A src/RestrictedPython/tests/before_and_after.py
A src/RestrictedPython/tests/class.py
A src/RestrictedPython/tests/lambda.py
A src/RestrictedPython/tests/restricted_module.py
A src/RestrictedPython/tests/security_in_syntax.py
A src/RestrictedPython/tests/testCompile.py
A src/RestrictedPython/tests/testRestrictions.py
A src/RestrictedPython/tests/unpack.py
A src/RestrictedPython/tests/verify.py
Log Message:
-----------
moving to satellite
Commit: b834b6c1fb57a57ec6236b3433f249eab0c4b281
https://github.com/zopefoundation/RestrictedPython/commit/b834b6c1fb57a57ec6236b3433f249eab0c4b281
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-06-04 (Mon, 04 Jun 2007)
Changed paths:
M README.txt
M src/RestrictedPython/Eval.py
M src/RestrictedPython/Guards.py
M src/RestrictedPython/Limits.py
M src/RestrictedPython/MutatingWalker.py
M src/RestrictedPython/PrintCollector.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/__init__.py
A src/RestrictedPython/notes.txt
M src/RestrictedPython/tests/before_and_after.py
A src/RestrictedPython/tests/before_and_after24.py
M src/RestrictedPython/tests/restricted_module.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/tests/testRestrictions.py
M src/RestrictedPython/tests/verify.py
Log Message:
-----------
Synchronize Zope3's RestrictedPython (which has been set free as an egg) with
the actually more evolved RestrictedPython from the Zope 2 tree.
Commit: 812ef6fb435963f94f13523d779579ea49f45899
https://github.com/zopefoundation/RestrictedPython/commit/812ef6fb435963f94f13523d779579ea49f45899
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-06-04 (Mon, 04 Jun 2007)
Changed paths:
M setup.py
Log Message:
-----------
release RestrictedPython 3.4.0
Commit: 8366da056d52650be985dc32a246a29cfd4562f4
https://github.com/zopefoundation/RestrictedPython/commit/8366da056d52650be985dc32a246a29cfd4562f4
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-06-04 (Mon, 04 Jun 2007)
Changed paths:
M setup.py
Log Message:
-----------
bump version number after release
Commit: 85f92e723ed25bdb539e5b51cf45f20c5d9c1c00
https://github.com/zopefoundation/RestrictedPython/commit/85f92e723ed25bdb539e5b51cf45f20c5d9c1c00
Author: Benji York <benji at benjiyork.com>
Date: 2007-06-04 (Mon, 04 Jun 2007)
Changed paths:
M setup.py
Log Message:
-----------
fix typo
Commit: d845bf407733bd498ad97c7032efb5eac2b076f9
https://github.com/zopefoundation/RestrictedPython/commit/d845bf407733bd498ad97c7032efb5eac2b076f9
Author: Andreas Jung <yet at gmx.de>
Date: 2007-06-23 (Sat, 23 Jun 2007)
Changed paths:
M src/RestrictedPython/RCompile.py
Log Message:
-----------
- Collector #2295: Comments in PythonScripts could lead to syntax
errors
Commit: 72cf607401fe347c47d8fdb102e229a04054f18d
https://github.com/zopefoundation/RestrictedPython/commit/72cf607401fe347c47d8fdb102e229a04054f18d
Author: Andreas Jung <yet at gmx.de>
Date: 2007-06-23 (Sat, 23 Jun 2007)
Changed paths:
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
- Collector #2295: Comments in PythonScripts could lead to syntax
errors
Commit: 305d2e56554b7f2bae62c2096036098d3ac9d6dd
https://github.com/zopefoundation/RestrictedPython/commit/305d2e56554b7f2bae62c2096036098d3ac9d6dd
Author: Andreas Jung <yet at gmx.de>
Date: 2007-06-23 (Sat, 23 Jun 2007)
Changed paths:
M README.txt
Log Message:
-----------
3.4.1
Commit: a5864cb5a6fc5ee77b38abf9ea6fd2b31864a27a
https://github.com/zopefoundation/RestrictedPython/commit/a5864cb5a6fc5ee77b38abf9ea6fd2b31864a27a
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-06-24 (Sun, 24 Jun 2007)
Changed paths:
M setup.py
Log Message:
-----------
Bump version number on the trunk after Andreas tagged RestrictedPython 3.4.1.
Commit: d53f381fad2cf96eb6bd0626beee95f3dd82680a
https://github.com/zopefoundation/RestrictedPython/commit/d53f381fad2cf96eb6bd0626beee95f3dd82680a
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-07-14 (Sat, 14 Jul 2007)
Changed paths:
M README.txt
M setup.py
Log Message:
-----------
Cosmetics, fix english
Commit: 4991c768fa9f2e82d874542af5d3c5283376025d
https://github.com/zopefoundation/RestrictedPython/commit/4991c768fa9f2e82d874542af5d3c5283376025d
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-07-27 (Fri, 27 Jul 2007)
Changed paths:
M setup.py
Log Message:
-----------
Change homepage to CheeseShop
Commit: c08f191cda802c63f38d029ec87ef6b6bbbccfa7
https://github.com/zopefoundation/RestrictedPython/commit/c08f191cda802c63f38d029ec87ef6b6bbbccfa7
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-07-28 (Sat, 28 Jul 2007)
Changed paths:
M buildout.cfg
Log Message:
-----------
Give us an egg-enbaled interpreter at bin/python to play with the package.
Commit: e7e9c461d312a974a194ed126ec371c3b64bf131
https://github.com/zopefoundation/RestrictedPython/commit/e7e9c461d312a974a194ed126ec371c3b64bf131
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-07-28 (Sat, 28 Jul 2007)
Changed paths:
M README.txt
M setup.py
Log Message:
-----------
Greatly improved README.txt. Large parts were borrowed from a very helpful
email by Evan Simpson 4 (!) years ago:
http://mail.python.org/pipermail/python-list/2003-October/228231.html
Commit: 5c30f192f7159c310979497d4dc48fa401a099fc
https://github.com/zopefoundation/RestrictedPython/commit/5c30f192f7159c310979497d4dc48fa401a099fc
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-07-28 (Sat, 28 Jul 2007)
Changed paths:
R README.txt
M setup.py
A src/RestrictedPython/README.txt
A src/RestrictedPython/tests/testREADME.py
Log Message:
-----------
Move README.txt into package and enable it as a doctest.
Commit: f4b28eef793854ea885e990a5d8f6642fb501dca
https://github.com/zopefoundation/RestrictedPython/commit/f4b28eef793854ea885e990a5d8f6642fb501dca
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-07-28 (Sat, 28 Jul 2007)
Changed paths:
M setup.py
Log Message:
-----------
Bump version number on trunk after release
Commit: 9731fc6f5e40bb87cafeab7ae88d555eb59684ec
https://github.com/zopefoundation/RestrictedPython/commit/9731fc6f5e40bb87cafeab7ae88d555eb59684ec
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2007-07-28 (Sat, 28 Jul 2007)
Changed paths:
M setup.py
Log Message:
-----------
Gah wrong url
Commit: be661ad3ca90ea654a7e0e5be77f746719adff54
https://github.com/zopefoundation/RestrictedPython/commit/be661ad3ca90ea654a7e0e5be77f746719adff54
Author: Sidnei da Silva <sidnei.da.silva at gmail.com>
Date: 2008-10-07 (Tue, 07 Oct 2008)
Changed paths:
M src/RestrictedPython/README.txt
M src/RestrictedPython/Utilities.py
Log Message:
-----------
- Fixed deprecation warning: 'with' is now a reserved keyword on
Python 2.6. That means RestrictedPython should run on Python 2.6
now. Thanks to Ranjith Kannikara, GSoC Student for the patch.
Commit: b11ecfedd7f0f2d56ebfdb1479d61941e40e7298
https://github.com/zopefoundation/RestrictedPython/commit/b11ecfedd7f0f2d56ebfdb1479d61941e40e7298
Author: Sidnei da Silva <sidnei.da.silva at gmail.com>
Date: 2008-10-07 (Tue, 07 Oct 2008)
Changed paths:
M src/RestrictedPython/notes.txt
Log Message:
-----------
- Fix two typos
Commit: 674c2ba12054c09c52e72534a4e08119873242f1
https://github.com/zopefoundation/RestrictedPython/commit/674c2ba12054c09c52e72534a4e08119873242f1
Author: Sidnei da Silva <sidnei.da.silva at gmail.com>
Date: 2008-10-13 (Mon, 13 Oct 2008)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/RestrictionMutator.py
A src/RestrictedPython/tests/before_and_after25.py
A src/RestrictedPython/tests/before_and_after26.py
A src/RestrictedPython/tests/security_in_syntax26.py
M src/RestrictedPython/tests/testRestrictions.py
M src/RestrictedPython/tests/verify.py
Log Message:
-----------
- Add some tests for features new in 2.5 and 2.6
Commit: 5c31027de6091b13cc816dc713f21523c4d87ddc
https://github.com/zopefoundation/RestrictedPython/commit/5c31027de6091b13cc816dc713f21523c4d87ddc
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2008-10-15 (Wed, 15 Oct 2008)
Changed paths:
A CHANGES.txt
A README.txt
M setup.py
M src/RestrictedPython/README.txt
Log Message:
-----------
Split changelog from README.txt.
Reformatted changelog slightly to conform with
http://svn.zope.org/*checkout*/Sandbox/philikon/foundation/maintaining-software.txt
Added link to collector issue (makes it easier to find).
Added top-level README.txt that points to the real README.txt in the package.
Commit: 678d83ed00ba4fa840d50fdb74145b7e3e8dbc57
https://github.com/zopefoundation/RestrictedPython/commit/678d83ed00ba4fa840d50fdb74145b7e3e8dbc57
Author: Philipp von Weitershausen <philipp at weitershausen.de>
Date: 2008-10-15 (Wed, 15 Oct 2008)
Changed paths:
M CHANGES.txt
Log Message:
-----------
reSTisms
Commit: 21e67b7d6e5744f0ad649664f1a51bd61bf653eb
https://github.com/zopefoundation/RestrictedPython/commit/21e67b7d6e5744f0ad649664f1a51bd61bf653eb
Author: Sidnei da Silva <sidnei.da.silva at gmail.com>
Date: 2008-10-25 (Sat, 25 Oct 2008)
Changed paths:
M CHANGES.txt
Log Message:
-----------
- Record release date and addition of new tests
Commit: 4d4477f236ea7bf1cdbf41acb7c7a96402d669f7
https://github.com/zopefoundation/RestrictedPython/commit/4d4477f236ea7bf1cdbf41acb7c7a96402d669f7
Author: Stefan H. Holek <stefan at epy.co.at>
Date: 2009-01-31 (Sat, 31 Jan 2009)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
Bump version as 3.4.3 has already been released.
Commit: 17545f57d9616133ca39010228b7c189a9bd238e
https://github.com/zopefoundation/RestrictedPython/commit/17545f57d9616133ca39010228b7c189a9bd238e
Author: Tres Seaver <tseaver at palladion.com>
Date: 2009-02-09 (Mon, 09 Feb 2009)
Changed paths:
M CHANGES.txt
M src/RestrictedPython/tests/restricted_module.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
Dropped legacy support for Python 2.1 / 2.2 (``__future__`` imports of
``nested_scopes`` / ``generators``.).
Commit: 05599a5704264c1eb7c2a2a3ffd8bbac89f154e9
https://github.com/zopefoundation/RestrictedPython/commit/05599a5704264c1eb7c2a2a3ffd8bbac89f154e9
Author: Tres Seaver <tseaver at palladion.com>
Date: 2009-02-09 (Mon, 09 Feb 2009)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
Prep 3.5.0 release.
Commit: d706aa9348b3036c349b1f570c72fac265cea7d9
https://github.com/zopefoundation/RestrictedPython/commit/d706aa9348b3036c349b1f570c72fac265cea7d9
Author: Dan Korostelev <nadako at gmail.com>
Date: 2009-02-09 (Mon, 09 Feb 2009)
Changed paths:
M CHANGES.txt
Log Message:
-----------
Fix year
Commit: 279faa43a57978d68e90be996e36cdf11459c8ea
https://github.com/zopefoundation/RestrictedPython/commit/279faa43a57978d68e90be996e36cdf11459c8ea
Author: Tres Seaver <tseaver at palladion.com>
Date: 2009-03-17 (Tue, 17 Mar 2009)
Changed paths:
M CHANGES.txt
M setup.py
M src/RestrictedPython/Utilities.py
A src/RestrictedPython/tests/testUtiliities.py
Log Message:
-----------
Filtered DeprecationWarnings when importing Python's ``sets`` module.
Added tests for ``Utilities`` module.
Commit: e82b2ca9d11e439777adbba285f82c01c02df422
https://github.com/zopefoundation/RestrictedPython/commit/e82b2ca9d11e439777adbba285f82c01c02df422
Author: Tres Seaver <tseaver at palladion.com>
Date: 2009-03-17 (Tue, 17 Mar 2009)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
Prep 3.5.1 release.
Commit: 29ead80e1d5d91fc9bd3deeb7e410d1de9c5b19e
https://github.com/zopefoundation/RestrictedPython/commit/29ead80e1d5d91fc9bd3deeb7e410d1de9c5b19e
Author: Tres Seaver <tseaver at palladion.com>
Date: 2010-04-07 (Wed, 07 Apr 2010)
Changed paths:
M bootstrap.py
M setup.py
M src/RestrictedPython/Eval.py
M src/RestrictedPython/Guards.py
M src/RestrictedPython/Limits.py
M src/RestrictedPython/MutatingWalker.py
M src/RestrictedPython/PrintCollector.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/tests/before_and_after.py
M src/RestrictedPython/tests/before_and_after24.py
M src/RestrictedPython/tests/before_and_after25.py
M src/RestrictedPython/tests/before_and_after26.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testREADME.py
M src/RestrictedPython/tests/testUtiliities.py
M src/RestrictedPython/tests/verify.py
Log Message:
-----------
Conform to repository policy.
Commit: 6a6e233aadf03d7f633b73c104727c13411ab824
https://github.com/zopefoundation/RestrictedPython/commit/6a6e233aadf03d7f633b73c104727c13411ab824
Author: Tres Seaver <tseaver at palladion.com>
Date: 2010-04-08 (Thu, 08 Apr 2010)
Changed paths:
A COPYRIGHT.txt
A LICENSE.txt
Log Message:
-----------
Overlooked files.
Commit: a67f0f9c3f65400a867420c15c05934ec16c3177
https://github.com/zopefoundation/RestrictedPython/commit/a67f0f9c3f65400a867420c15c05934ec16c3177
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2010-04-30 (Fri, 30 Apr 2010)
Changed paths:
M bootstrap.py
Log Message:
-----------
Update bootstrap
Commit: a0c52f8184d97593c6e4295440cfc81366788764
https://github.com/zopefoundation/RestrictedPython/commit/a0c52f8184d97593c6e4295440cfc81366788764
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2010-04-30 (Fri, 30 Apr 2010)
Changed paths:
M CHANGES.txt
R INSTALL.txt
M setup.py
M src/RestrictedPython/tests/testREADME.py
Log Message:
-----------
Removed a testing dependency on zope.testing. Also remove completely outdated install instructions.
Commit: 1cef7265e7b745a775d400fe6d268c95caffa979
https://github.com/zopefoundation/RestrictedPython/commit/1cef7265e7b745a775d400fe6d268c95caffa979
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2010-04-30 (Fri, 30 Apr 2010)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
Prepare RestrictedPython 3.5.2.
Commit: 3a91dde57a6d2e1b993d1b809ad90fa250835c05
https://github.com/zopefoundation/RestrictedPython/commit/3a91dde57a6d2e1b993d1b809ad90fa250835c05
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2010-04-30 (Fri, 30 Apr 2010)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
Bump version
Commit: d13615f0e173192763f258b648475ce4614293c1
https://github.com/zopefoundation/RestrictedPython/commit/d13615f0e173192763f258b648475ce4614293c1
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2010-06-05 (Sat, 05 Jun 2010)
Changed paths:
M CHANGES.txt
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/tests/testUtiliities.py
Log Message:
-----------
Removed support for DocumentTemplate.sequence - this is handled in the DocumentTemplate package itself.
Commit: 5f7d3c8ef25d3cbf302fe3162fc720c7834541b0
https://github.com/zopefoundation/RestrictedPython/commit/5f7d3c8ef25d3cbf302fe3162fc720c7834541b0
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2010-06-05 (Sat, 05 Jun 2010)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
Prepare RestrictedPython 3.6.0a1.
Commit: b023ad452d3d7812678fbaee0e28f1a177ca1f6c
https://github.com/zopefoundation/RestrictedPython/commit/b023ad452d3d7812678fbaee0e28f1a177ca1f6c
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2010-06-05 (Sat, 05 Jun 2010)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
Bump version
Commit: e0a21c6f263895e8ae13a73c31f8a1f672b68c13
https://github.com/zopefoundation/RestrictedPython/commit/e0a21c6f263895e8ae13a73c31f8a1f672b68c13
Author: David Glick <dglick at gmail.com>
Date: 2010-07-07 (Wed, 07 Jul 2010)
Changed paths:
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
actually run the security_in_syntax26.py test
Commit: aa41d7b44850490d719ee8d9f3ea78b563adf6b8
https://github.com/zopefoundation/RestrictedPython/commit/aa41d7b44850490d719ee8d9f3ea78b563adf6b8
Author: David Glick <dglick at gmail.com>
Date: 2010-07-07 (Wed, 07 Jul 2010)
Log Message:
-----------
branch for Python 2.7 audit
Commit: c6c0f2475ceb214d03bcadf69ceac1119d7359f8
https://github.com/zopefoundation/RestrictedPython/commit/c6c0f2475ceb214d03bcadf69ceac1119d7359f8
Author: David Glick <dglick at gmail.com>
Date: 2010-07-07 (Wed, 07 Jul 2010)
Changed paths:
M CHANGES.txt
A src/RestrictedPython/tests/before_and_after27.py
A src/RestrictedPython/tests/security_in_syntax27.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
add tests for protected iteration for dict and set comprehensions (already works since they use the same ListCompFor AST node as list comps)
Commit: ec50f7a9cd3835fb6a472872a549010728c4ddb0
https://github.com/zopefoundation/RestrictedPython/commit/ec50f7a9cd3835fb6a472872a549010728c4ddb0
Author: David Glick <dglick at gmail.com>
Date: 2010-07-07 (Wed, 07 Jul 2010)
Changed paths:
M CHANGES.txt
M src/RestrictedPython/tests/security_in_syntax27.py
Log Message:
-----------
confirm that multi-context with statements still check for valid names
Commit: f56d9c46bcf5bf19c1fe992be01bb1a630cccaec
https://github.com/zopefoundation/RestrictedPython/commit/f56d9c46bcf5bf19c1fe992be01bb1a630cccaec
Author: David Glick <dglick at gmail.com>
Date: 2010-07-08 (Thu, 08 Jul 2010)
Changed paths:
M src/RestrictedPython/Guards.py
Log Message:
-----------
note some new builtins which are disabled for now. (bytes is a synonym for str and could probably be enabled)
Commit: 95802b5016eb397f82bc903e2597e84947ac7f94
https://github.com/zopefoundation/RestrictedPython/commit/95802b5016eb397f82bc903e2597e84947ac7f94
Author: David Glick <dglick at gmail.com>
Date: 2010-07-08 (Thu, 08 Jul 2010)
Changed paths:
M CHANGES.txt
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/tests/security_in_syntax26.py
Log Message:
-----------
do a name check for names assigned during 'from' imports
Commit: 99d08ba3b3867d640c5e444344812c08118f25ce
https://github.com/zopefoundation/RestrictedPython/commit/99d08ba3b3867d640c5e444344812c08118f25ce
Author: David Glick <dglick at gmail.com>
Date: 2010-07-08 (Thu, 08 Jul 2010)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax26.py
Log Message:
-----------
confirm that a name check is done for 'except x as y'
Commit: 4b1411dbb390256279d49a2df4aaba6ebdb3b40d
https://github.com/zopefoundation/RestrictedPython/commit/4b1411dbb390256279d49a2df4aaba6ebdb3b40d
Author: David Glick <dglick at gmail.com>
Date: 2010-07-09 (Fri, 09 Jul 2010)
Changed paths:
M CHANGES.txt
M src/RestrictedPython/Guards.py
M src/RestrictedPython/README.txt
M src/RestrictedPython/RestrictionMutator.py
A src/RestrictedPython/tests/before_and_after27.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/tests/security_in_syntax26.py
A src/RestrictedPython/tests/security_in_syntax27.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
merge the davisagli-python27 branch
Commit: bd580c28f6df00b018391729e27c3b04acaa272c
https://github.com/zopefoundation/RestrictedPython/commit/bd580c28f6df00b018391729e27c3b04acaa272c
Author: David Glick <dglick at gmail.com>
Date: 2010-07-09 (Fri, 09 Jul 2010)
Changed paths:
M bootstrap.py
M setup.py
M src/RestrictedPython/Eval.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/tests/before_and_after.py
M src/RestrictedPython/tests/before_and_after24.py
M src/RestrictedPython/tests/before_and_after25.py
M src/RestrictedPython/tests/before_and_after26.py
Log Message:
-----------
remove CVS fossils
Commit: e0ecd7e6d87b6e411db61ab7d9c034535177adf8
https://github.com/zopefoundation/RestrictedPython/commit/e0ecd7e6d87b6e411db61ab7d9c034535177adf8
Author: David Glick <dglick at gmail.com>
Date: 2010-07-09 (Fri, 09 Jul 2010)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
prep for release
Commit: be00e28f8f2071e3dc3d4695c678590e13330545
https://github.com/zopefoundation/RestrictedPython/commit/be00e28f8f2071e3dc3d4695c678590e13330545
Author: David Glick <dglick at gmail.com>
Date: 2010-07-09 (Fri, 09 Jul 2010)
Changed paths:
M CHANGES.txt
M setup.py
Log Message:
-----------
version bump
Commit: c324be110cec60adaeff525503a365d5483835e4
https://github.com/zopefoundation/RestrictedPython/commit/c324be110cec60adaeff525503a365d5483835e4
Author: Tres Seaver <tseaver at palladion.com>
Date: 2012-06-11 (Mon, 11 Jun 2012)
Changed paths:
M src/RestrictedPython/tests/testCompile.py
Log Message:
-----------
Update to ZPL 2.1.
Compare: https://github.com/zopefoundation/RestrictedPython/compare/ac2fc0f61c6b^...c324be110cec
More information about the checkins
mailing list