[Checkins] [zopefoundation/RestrictedPython] 78bac1: Cleanup and fixed for Python3 update
GitHub
noreply at github.com
Fri May 5 13:41:25 CEST 2017
Branch: refs/heads/master
Home: https://github.com/zopefoundation/RestrictedPython
Commit: 78bac19a8b66f7c0eaacd6cab7c34a34f2e6c897
https://github.com/zopefoundation/RestrictedPython/commit/78bac19a8b66f7c0eaacd6cab7c34a34f2e6c897
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-01-29 (Fri, 29 Jan 2016)
Changed paths:
A .gitignore
M .travis.yml
M buildout.cfg
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/README.txt
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/notes.txt
M src/RestrictedPython/tests/__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/before_and_after27.py
M src/RestrictedPython/tests/class.py
M src/RestrictedPython/tests/restricted_module.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/tests/security_in_syntax26.py
M src/RestrictedPython/tests/security_in_syntax27.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testREADME.py
M src/RestrictedPython/tests/testRestrictions.py
M src/RestrictedPython/tests/testUtiliities.py
M src/RestrictedPython/tests/unpack.py
M src/RestrictedPython/tests/verify.py
Log Message:
-----------
Cleanup and fixed for Python3 update
Commit: 45c50cb5be9f5ddee149e0b355e8b440597844dc
https://github.com/zopefoundation/RestrictedPython/commit/45c50cb5be9f5ddee149e0b355e8b440597844dc
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-01-29 (Fri, 29 Jan 2016)
Changed paths:
A docs/notes.rst
A docs/update_notes.rst
R src/RestrictedPython/notes.txt
Log Message:
-----------
first documentation of learned concepts and the path to upgrade to Python3
Commit: 7a9821d896d7794878563a99bb93778fa9811b68
https://github.com/zopefoundation/RestrictedPython/commit/7a9821d896d7794878563a99bb93778fa9811b68
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-01-30 (Sat, 30 Jan 2016)
Changed paths:
M docs/update_notes.rst
M src/RestrictedPython/README.txt
Log Message:
-----------
update documentation
Commit: 8ecee29626fdb89133cf8059934a75201b7efbf8
https://github.com/zopefoundation/RestrictedPython/commit/8ecee29626fdb89133cf8059934a75201b7efbf8
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-01-30 (Sat, 30 Jan 2016)
Changed paths:
M docs/update_notes.rst
Log Message:
-----------
some spell checks
Commit: 098e0c02afafe2fedff84cb882a81444a009318d
https://github.com/zopefoundation/RestrictedPython/commit/098e0c02afafe2fedff84cb882a81444a009318d
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-05-19 (Thu, 19 May 2016)
Changed paths:
M docs/update_notes.rst
Log Message:
-----------
more links
Commit: 31e5768952bbdc59ebee74e9f9281225685ed5bd
https://github.com/zopefoundation/RestrictedPython/commit/31e5768952bbdc59ebee74e9f9281225685ed5bd
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-05-23 (Mon, 23 May 2016)
Changed paths:
A docs/conf.py
A docs/index.rst
A docs_de/Makefile
A docs_de/conf.py
A docs_de/idee.rst
A docs_de/index.rst
A docs_de/make.bat
M setup.py
Log Message:
-----------
started new documentation
Commit: 0edcbb0f1115fad204ba320474c93bfbfc0b64c6
https://github.com/zopefoundation/RestrictedPython/commit/0edcbb0f1115fad204ba320474c93bfbfc0b64c6
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-07-07 (Thu, 07 Jul 2016)
Changed paths:
M .gitignore
A docs_de/RestrictedPython3/index.rst
A docs_de/RestrictedPython4/index.rst
A docs_de/grundlagen/index.rst
M docs_de/idee.rst
Log Message:
-----------
Update Documentation
Commit: 3a4b00a64d3f7d71e00d4eb46e9df5e19d70e5cf
https://github.com/zopefoundation/RestrictedPython/commit/3a4b00a64d3f7d71e00d4eb46e9df5e19d70e5cf
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M docs_de/grundlagen/index.rst
Log Message:
-----------
update docs
Commit: bf8938e5117ced1649f7fc1dc6cc2abb06be28ff
https://github.com/zopefoundation/RestrictedPython/commit/bf8938e5117ced1649f7fc1dc6cc2abb06be28ff
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M docs_de/RestrictedPython4/index.rst
A docs_de/api/index.rst
M docs_de/grundlagen/index.rst
M docs_de/index.rst
A docs_de/update/index.rst
A src/RestrictedPython/MutatingVisitor.py
M src/RestrictedPython/RCompile.py
A src/RestrictedPython/RestrictionTransformer.py
M src/RestrictedPython/SelectCompiler.py
Log Message:
-----------
Updates on docs and start reimplementing the Node Walker/Visitor part
Commit: 826152f513aeb69555421330fc92ee84b4396d57
https://github.com/zopefoundation/RestrictedPython/commit/826152f513aeb69555421330fc92ee84b4396d57
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M docs_de/idee.rst
Log Message:
-----------
Updates on docs
Commit: 265b960f54942988838e6bc6c89c3e4bef1839f1
https://github.com/zopefoundation/RestrictedPython/commit/265b960f54942988838e6bc6c89c3e4bef1839f1
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M docs/notes.rst
Log Message:
-----------
Fix path.
Commit: 7d4a894dd338ed4203847a2801c7f244508d64ed
https://github.com/zopefoundation/RestrictedPython/commit/7d4a894dd338ed4203847a2801c7f244508d64ed
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M docs_de/RestrictedPython4/index.rst
A docs_de/api/index.rst
M docs_de/grundlagen/index.rst
M docs_de/idee.rst
M docs_de/index.rst
A docs_de/update/index.rst
A src/RestrictedPython/MutatingVisitor.py
M src/RestrictedPython/RCompile.py
A src/RestrictedPython/RestrictionTransformer.py
M src/RestrictedPython/SelectCompiler.py
Log Message:
-----------
Merge branch 'Python3_update' of https://github.com/zopefoundation/RestrictedPython into Python3_update
Commit: 1fee547e93d85987c2215d31795dd5cb36c6bcc9
https://github.com/zopefoundation/RestrictedPython/commit/1fee547e93d85987c2215d31795dd5cb36c6bcc9
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M bootstrap.py
Log Message:
-----------
Update to a version compatible with zc.buildout 2.5.
Commit: d2c5b6343a1e29d36d0b0e757e7011e8c93c9e54
https://github.com/zopefoundation/RestrictedPython/commit/d2c5b6343a1e29d36d0b0e757e7011e8c93c9e54
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M src/RestrictedPython/RCompile.py
Log Message:
-----------
Change code so all tests run through.
Commit: 53583c5c2ab3895ff744b177a0809f8e3714226f
https://github.com/zopefoundation/RestrictedPython/commit/53583c5c2ab3895ff744b177a0809f8e3714226f
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M src/RestrictedPython/RCompile.py
A src/RestrictedPython/tests/security_yield.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
First step towards using the last module.
Commit: f85c9775e1d4898bd4c5dadb7b262f0e6e41973e
https://github.com/zopefoundation/RestrictedPython/commit/f85c9775e1d4898bd4c5dadb7b262f0e6e41973e
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
R src/RestrictedPython/MutatingVisitor.py
R src/RestrictedPython/RestrictionTransformer.py
Log Message:
-----------
remove RestrictionTransformer and MutatingVisitor as thoses are not what is needed
Commit: fa24098625dea56f7eda82ef45374b72c95744c0
https://github.com/zopefoundation/RestrictedPython/commit/fa24098625dea56f7eda82ef45374b72c95744c0
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-09 (Fri, 09 Sep 2016)
Changed paths:
M setup.py
M src/RestrictedPython/RCompile.py
A src/RestrictedPython/RestrictingNodeTransformer.py
M src/RestrictedPython/__init__.py
Log Message:
-----------
introduced zope.deprecation and moved RRestrictingNodeTransformer to own file
Commit: 8f745a83ead28c6e22df2d83c2b882fe9b13b1f4
https://github.com/zopefoundation/RestrictedPython/commit/8f745a83ead28c6e22df2d83c2b882fe9b13b1f4
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
A .coveragerc
M .gitignore
A pytest.ini
M src/RestrictedPython/RCompile.py
R src/RestrictedPython/RestrictingNodeTransformer.py
M src/RestrictedPython/__init__.py
A src/RestrictedPython/compiler.py
R src/RestrictedPython/tests/security_yield.py
A src/RestrictedPython/transformer.py
A tests/test_transformer.py
A tox.ini
Log Message:
-----------
Add tox as test-runner using py.test for the tests.
Commit: 7925823901fc72d36099738e1c6206c7a688bd16
https://github.com/zopefoundation/RestrictedPython/commit/7925823901fc72d36099738e1c6206c7a688bd16
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M docs/update_notes.rst
Log Message:
-----------
Typo.
Commit: 661fbf6be57b53afa564feff67ab8f1d235de340
https://github.com/zopefoundation/RestrictedPython/commit/661fbf6be57b53afa564feff67ab8f1d235de340
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M src/RestrictedPython/compiler.py
Log Message:
-----------
Allow a custom NodeTransformer.
Commit: 6c15e9cd621420630492f59b5a9134c21c4d9ee6
https://github.com/zopefoundation/RestrictedPython/commit/6c15e9cd621420630492f59b5a9134c21c4d9ee6
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
Log Message:
-----------
Remove ported test.
Commit: 0962038d87f8516bc23c36f02312cb1a2fdac746
https://github.com/zopefoundation/RestrictedPython/commit/0962038d87f8516bc23c36f02312cb1a2fdac746
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Disallow exec statements and exec functions.
+ Do not stop at the first error but collect them.
Commit: 1909b05012751d363dabcfa5ce15469be9f6b07c
https://github.com/zopefoundation/RestrictedPython/commit/1909b05012751d363dabcfa5ce15469be9f6b07c
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
Log Message:
-----------
Remove ported test.
Commit: df77985ef6214f2d484c519198777f99bc228846
https://github.com/zopefoundation/RestrictedPython/commit/df77985ef6214f2d484c519198777f99bc228846
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Disallow names stating with `__`.
Commit: 4a573e1af29eaa0d51bb6eaea560043fafde52ee
https://github.com/zopefoundation/RestrictedPython/commit/4a573e1af29eaa0d51bb6eaea560043fafde52ee
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Disallow attributes starting with `_`.
Commit: 81a75e267713d86afa3a74b9609919a98313f2a1
https://github.com/zopefoundation/RestrictedPython/commit/81a75e267713d86afa3a74b9609919a98313f2a1
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M buildout.cfg
M src/RestrictedPython/RCompile.py
M tox.ini
Log Message:
-----------
some cleanups and install code-analysis
Commit: f017890306eb580bab06c4efcf21548bd0be869e
https://github.com/zopefoundation/RestrictedPython/commit/f017890306eb580bab06c4efcf21548bd0be869e
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
starting to list all AST Elements
Commit: bd13f772398f35030f1fe1dcf81eeb86016f9e5e
https://github.com/zopefoundation/RestrictedPython/commit/bd13f772398f35030f1fe1dcf81eeb86016f9e5e
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M buildout.cfg
Log Message:
-----------
disabled flake8 checks on pre-commit, due to errors
Commit: 0fe35a1fd94d15e3aab7f984ab6bc94b144456c9
https://github.com/zopefoundation/RestrictedPython/commit/0fe35a1fd94d15e3aab7f984ab6bc94b144456c9
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
A src/RestrictedPython/compile.py
R src/RestrictedPython/compiler.py
M src/RestrictedPython/tests/security_in_syntax.py
Log Message:
-----------
revert deletion of tests
Commit: 4a651438fe340370b4318026cddc2753c3007371
https://github.com/zopefoundation/RestrictedPython/commit/4a651438fe340370b4318026cddc2753c3007371
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M setup.py
M src/RestrictedPython/__init__.py
M tests/test_transformer.py
Log Message:
-----------
moved import to test old code implementation first
Commit: 0b8181bb7aa1a7f3926730ea3ab169bd8262416a
https://github.com/zopefoundation/RestrictedPython/commit/0b8181bb7aa1a7f3926730ea3ab169bd8262416a
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
resolved conflict
Commit: 4a86f50c0f4f4d6c473b0b3d99de4e508dfb58d9
https://github.com/zopefoundation/RestrictedPython/commit/4a86f50c0f4f4d6c473b0b3d99de4e508dfb58d9
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
A tests/test_print.py
Log Message:
-----------
started defining print tests
Commit: 603122967953d0b19a128a886e5f4a3d1d77f7fc
https://github.com/zopefoundation/RestrictedPython/commit/603122967953d0b19a128a886e5f4a3d1d77f7fc
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-23 (Fri, 23 Sep 2016)
Changed paths:
A tests/test_niceParse.py
A tests/test_utilities.py
Log Message:
-----------
ported several test functions to pytest
Commit: 60118c5b0333b729efbb0690cb778b2ab2f97271
https://github.com/zopefoundation/RestrictedPython/commit/60118c5b0333b729efbb0690cb778b2ab2f97271
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-23 (Fri, 23 Sep 2016)
Changed paths:
M src/RestrictedPython/__init__.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testUtiliities.py
M src/RestrictedPython/transformer.py
M tests/test_print.py
M tests/test_transformer.py
Log Message:
-----------
moved tests around
Commit: 1a3af14f95f428fdb865009f94480ddce2847442
https://github.com/zopefoundation/RestrictedPython/commit/1a3af14f95f428fdb865009f94480ddce2847442
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-26 (Mon, 26 Sep 2016)
Changed paths:
M .gitignore
Log Message:
-----------
update gitignore
Commit: d25566a5db0c1e4230fd22462758da437b3af06b
https://github.com/zopefoundation/RestrictedPython/commit/d25566a5db0c1e4230fd22462758da437b3af06b
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
A docs_de/call.txt
A docs_de/dep.txt
Log Message:
-----------
analysis of usage added
Commit: f6b1dc9dd4b728deedaefa412804d3c666df9e91
https://github.com/zopefoundation/RestrictedPython/commit/f6b1dc9dd4b728deedaefa412804d3c666df9e91
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/compile.py
Log Message:
-----------
base implementation of public api for compile with a stub for none policy
Commit: a404a99afec0d0f1ff002a40ece9b995cd015b8d
https://github.com/zopefoundation/RestrictedPython/commit/a404a99afec0d0f1ff002a40ece9b995cd015b8d
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
first step for transformer whitelist and move stubs from tramsformer out
Commit: a06908c6d9ffdf6ac2fb560df4f55517b153627c
https://github.com/zopefoundation/RestrictedPython/commit/a06908c6d9ffdf6ac2fb560df4f55517b153627c
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
R tests/test_niceParse.py
Log Message:
-----------
remove niceParse test as it is a inner function that will be removed
Commit: 0cc2b3ad5b8ef1f31adeae86c6e5059c54ae423c
https://github.com/zopefoundation/RestrictedPython/commit/0cc2b3ad5b8ef1f31adeae86c6e5059c54ae423c
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/__init__.py
Log Message:
-----------
new style api
Commit: eab979e5d9f91bde8f0dce27895aef89e93d9c69
https://github.com/zopefoundation/RestrictedPython/commit/eab979e5d9f91bde8f0dce27895aef89e93d9c69
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/__init__.py
Log Message:
-----------
new style api
Commit: 1d04e21b3277a81c579259774cabdb7243830890
https://github.com/zopefoundation/RestrictedPython/commit/1d04e21b3277a81c579259774cabdb7243830890
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/__init__.py
M src/RestrictedPython/transformer.py
Log Message:
-----------
fix transformer
Commit: c132d7ee49acbf5dc86c0743f8f8d96a2fc04985
https://github.com/zopefoundation/RestrictedPython/commit/c132d7ee49acbf5dc86c0743f8f8d96a2fc04985
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
move try except
Commit: 4488718444564878509e8c572c29580beb481b15
https://github.com/zopefoundation/RestrictedPython/commit/4488718444564878509e8c572c29580beb481b15
Author: Thomas Lotze <tl at gocept.com>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
remove exception-handling from whitelist
Commit: 4ee530a52eb50123ee0de5c815599a1a09732d95
https://github.com/zopefoundation/RestrictedPython/commit/4ee530a52eb50123ee0de5c815599a1a09732d95
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
update transformer init function for errors, warnings and used_names
Commit: dec5c949ee6b48af6b389c2ac3269990f9f2f0ce
https://github.com/zopefoundation/RestrictedPython/commit/dec5c949ee6b48af6b389c2ac3269990f9f2f0ce
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Merge branch 'Python3_update' of https://github.com/zopefoundation/RestrictedPython into Python3_update
Commit: 391106c0349fd9bee9af75730557819dfb6a8f54
https://github.com/zopefoundation/RestrictedPython/commit/391106c0349fd9bee9af75730557819dfb6a8f54
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/Eval.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
renamed inner fuctions _niceParse _compileAndTuplize
Commit: 90e90f70c3e6b1eaa7a2bebe6fe0bdad0e925c66
https://github.com/zopefoundation/RestrictedPython/commit/90e90f70c3e6b1eaa7a2bebe6fe0bdad0e925c66
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M .gitignore
Log Message:
-----------
update git ignores list
Commit: e58ad7c4a563e64b3192a37306740680f1439a95
https://github.com/zopefoundation/RestrictedPython/commit/e58ad7c4a563e64b3192a37306740680f1439a95
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
Log Message:
-----------
fix compile module
Commit: 8fa94a2385717dfaf6b388472560aac90135c71e
https://github.com/zopefoundation/RestrictedPython/commit/8fa94a2385717dfaf6b388472560aac90135c71e
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/compile.py
Log Message:
-----------
Update compile
Commit: 188e9071699bfe5f1ff4ee8237ae7c247710f3cc
https://github.com/zopefoundation/RestrictedPython/commit/188e9071699bfe5f1ff4ee8237ae7c247710f3cc
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/RCompile.py
Log Message:
-----------
removed zope.deprication
Commit: 8782b3cfea288c28a43502f8a0dd595cc34f4a21
https://github.com/zopefoundation/RestrictedPython/commit/8782b3cfea288c28a43502f8a0dd595cc34f4a21
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M setup.py
Log Message:
-----------
removed zope.deprication
Commit: c94bae38b95323b955d6de1efecfe2411c4afa67
https://github.com/zopefoundation/RestrictedPython/commit/c94bae38b95323b955d6de1efecfe2411c4afa67
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M setup.py
Log Message:
-----------
removed ipython deps from setup.py
Commit: 7e6c276bdce15227a9c2f2e5cd03fe52d200a564
https://github.com/zopefoundation/RestrictedPython/commit/7e6c276bdce15227a9c2f2e5cd03fe52d200a564
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
A src/RestrictedPython/test_helper.py
Log Message:
-----------
move verify function
Commit: cb1c22af8879fdc36f26ee179d1116f0fe35c65d
https://github.com/zopefoundation/RestrictedPython/commit/cb1c22af8879fdc36f26ee179d1116f0fe35c65d
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/Eval.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
moved to new api and moved verify imports
Commit: b004c3eacfb3fd83b644c262f23536bf89c27f5e
https://github.com/zopefoundation/RestrictedPython/commit/b004c3eacfb3fd83b644c262f23536bf89c27f5e
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
fixes test against old version
Commit: 4bc926fac83f6d4deb0d2270ab7d96d11b7edfa7
https://github.com/zopefoundation/RestrictedPython/commit/4bc926fac83f6d4deb0d2270ab7d96d11b7edfa7
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Fixed tests for work with new api and pytest
Commit: d3704c8aafcd3ccce50fa5d440e1d0e42efe7cfa
https://github.com/zopefoundation/RestrictedPython/commit/d3704c8aafcd3ccce50fa5d440e1d0e42efe7cfa
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M pytest.ini
M tox.ini
Log Message:
-----------
make ipdb avaliable in tests
Commit: 9a587fbd8e4fc4b6b34e2273f2d932c23ab15814
https://github.com/zopefoundation/RestrictedPython/commit/9a587fbd8e4fc4b6b34e2273f2d932c23ab15814
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
make tests python 3 passing
Commit: 5664443b29a4e32e089a0e8b15e2c526c0efa0aa
https://github.com/zopefoundation/RestrictedPython/commit/5664443b29a4e32e089a0e8b15e2c526c0efa0aa
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M src/RestrictedPython/compile.py
Log Message:
-----------
redefined the invocation and grouped so that one implemntation fix it by keeping old API
Commit: 1966f41e0ec9177ee170652086b17bdc4da71fd7
https://github.com/zopefoundation/RestrictedPython/commit/1966f41e0ec9177ee170652086b17bdc4da71fd7
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
make one testcase more working on alle versions
Commit: 2650d3dca140ca3b97d0cb4588477cc9e2cfa196
https://github.com/zopefoundation/RestrictedPython/commit/2650d3dca140ca3b97d0cb4588477cc9e2cfa196
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M src/RestrictedPython/compile.py
Log Message:
-----------
fix missing comma
Commit: 285cc041eabed1c356faa809f514dc75e1d51edb
https://github.com/zopefoundation/RestrictedPython/commit/285cc041eabed1c356faa809f514dc75e1d51edb
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
Log Message:
-----------
fix missing comma
Commit: e7ccf5430944db0ff8918c5b22c155c8e3ba6124
https://github.com/zopefoundation/RestrictedPython/commit/e7ccf5430944db0ff8918c5b22c155c8e3ba6124
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M src/RestrictedPython/compile.py
Log Message:
-----------
fix missing comma, mode
Commit: 03e3bbef36ca64c315d2182d2ff17a53b6a72517
https://github.com/zopefoundation/RestrictedPython/commit/03e3bbef36ca64c315d2182d2ff17a53b6a72517
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
A docs_de/update/ast/python2_6.ast
A docs_de/update/ast/python2_7.ast
A docs_de/update/ast/python3_0.ast
A docs_de/update/ast/python3_1.ast
A docs_de/update/ast/python3_2.ast
A docs_de/update/ast/python3_3.ast
A docs_de/update/ast/python3_4.ast
A docs_de/update/ast/python3_5.ast
A docs_de/update/ast/python3_6.ast
M src/RestrictedPython/transformer.py
M tests/test_print.py
M tox.ini
Log Message:
-----------
added ast docs, need cleanup to compare, should be helper for AST whitelist
Commit: bb7ab5576a2181a63a77be1f03d88c4cb8d5445f
https://github.com/zopefoundation/RestrictedPython/commit/bb7ab5576a2181a63a77be1f03d88c4cb8d5445f
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M pytest.ini
M tox.ini
Log Message:
-----------
added more test helper for tox
Commit: 28794e16d342a6e5afafcf5510cb654c02e93c0f
https://github.com/zopefoundation/RestrictedPython/commit/28794e16d342a6e5afafcf5510cb654c02e93c0f
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
Changed paths:
M src/RestrictedPython/PrintCollector.py
M tests/test_print.py
M tests/test_transformer.py
Log Message:
-----------
added more elements for print
Commit: 09a52cda6062ee1e8d68308741f7903f86d05594
https://github.com/zopefoundation/RestrictedPython/commit/09a52cda6062ee1e8d68308741f7903f86d05594
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
A tests/test_base_example.py
M tox.ini
Log Message:
-----------
added a base test from doctests Readmy.txt; it is actually working in Python 3 but not in pytest
Commit: 82bc5f66c2c0b3ace2d4e99096fcd1205608599c
https://github.com/zopefoundation/RestrictedPython/commit/82bc5f66c2c0b3ace2d4e99096fcd1205608599c
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M tests/test_base_example.py
Log Message:
-----------
Adapt tests so they run on Python 3 and Flake8 does not complain about unused locals.
Commit: 3f186889ea56056cb9ef473bac552b084aad580e
https://github.com/zopefoundation/RestrictedPython/commit/3f186889ea56056cb9ef473bac552b084aad580e
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M tests/test_print.py
M tests/test_transformer.py
Log Message:
-----------
Make isort happy.
Commit: c7d20f41dad94e6c3e544f8bf8a48a2b7ad36574
https://github.com/zopefoundation/RestrictedPython/commit/c7d20f41dad94e6c3e544f8bf8a48a2b7ad36574
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M src/RestrictedPython/Guards.py
M tox.ini
Log Message:
-----------
Restore PyPy compatibility.
Commit: 2f677bea8ed4df775c267b79bb17e3dcd0f330f5
https://github.com/zopefoundation/RestrictedPython/commit/2f677bea8ed4df775c267b79bb17e3dcd0f330f5
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Remove tripelized no-op code.
Commit: 5ec2c7f5d0925c6bfb1d91a40bf50b26f052bfea
https://github.com/zopefoundation/RestrictedPython/commit/5ec2c7f5d0925c6bfb1d91a40bf50b26f052bfea
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Fix the tests + let them run against the old and the new implementation.
(The old implementation is only on Python 2.)
Commit: d3669a28de6b280ab2414fc5050296155249fd0b
https://github.com/zopefoundation/RestrictedPython/commit/d3669a28de6b280ab2414fc5050296155249fd0b
Author: Michael Howitz <mh at gocept.com>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Do not allow `eval()` in the new implementation.
Commit: d8cb8ec15e63bde11599febfb537bfd1c2ebd72b
https://github.com/zopefoundation/RestrictedPython/commit/d8cb8ec15e63bde11599febfb537bfd1c2ebd72b
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
A setup.cfg
M tests/test_print.py
M tests/test_transformer.py
Log Message:
-----------
include setup.cfg with Plone Styleguide settings for isort, make test isort rules following
Commit: 0baa1d626fd287ffb5faffe67c7aa8ed6a869d99
https://github.com/zopefoundation/RestrictedPython/commit/0baa1d626fd287ffb5faffe67c7aa8ed6a869d99
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
include some documentation in the file
Commit: 1c0a4ae531d2418973275be3f5884b77e5a0bbf4
https://github.com/zopefoundation/RestrictedPython/commit/1c0a4ae531d2418973275be3f5884b77e5a0bbf4
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M setup.py
Log Message:
-----------
added test extras to setup.py
Commit: ecbb435380b60d4d6d0af2b3ab2ab17c11f43bbe
https://github.com/zopefoundation/RestrictedPython/commit/ecbb435380b60d4d6d0af2b3ab2ab17c11f43bbe
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-10-01 (Sat, 01 Oct 2016)
Changed paths:
M buildout.cfg
M setup.py
Log Message:
-----------
extend setup and buildout for commit hooks
Commit: bcac5e8240d58e8dc1b24765efaebb40d9652c9a
https://github.com/zopefoundation/RestrictedPython/commit/bcac5e8240d58e8dc1b24765efaebb40d9652c9a
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-10-01 (Sat, 01 Oct 2016)
Changed paths:
M pytest.ini
Log Message:
-----------
add old test in pytest execution
Commit: 5409dd95e3bc217832f2d783c587edca288acae8
https://github.com/zopefoundation/RestrictedPython/commit/5409dd95e3bc217832f2d783c587edca288acae8
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-10-01 (Sat, 01 Oct 2016)
Changed paths:
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
rename check to test
Commit: bc0b3a82a923cae7c15fc5cde4d9fe648df7e149
https://github.com/zopefoundation/RestrictedPython/commit/bc0b3a82a923cae7c15fc5cde4d9fe648df7e149
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-10-01 (Sat, 01 Oct 2016)
Changed paths:
M src/RestrictedPython/Eval.py
Log Message:
-----------
change import of Eval to old style implementation
Commit: 4c665a231210023793d4146a20f22a57537a60da
https://github.com/zopefoundation/RestrictedPython/commit/4c665a231210023793d4146a20f22a57537a60da
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-04 (Tue, 04 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
M tox.ini
Log Message:
-----------
Transform 'a.b' into _getattr_(a, 'b')
Commit: 051bf35b518955254abd41ad681622241837ae0d
https://github.com/zopefoundation/RestrictedPython/commit/051bf35b518955254abd41ad681622241837ae0d
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-04 (Tue, 04 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Stay within 80 characters.
Commit: 860f1340649fd28242d1650e8f7e495cd3bd1c6b
https://github.com/zopefoundation/RestrictedPython/commit/860f1340649fd28242d1650e8f7e495cd3bd1c6b
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-04 (Tue, 04 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Do not allow attributes ending with __roles__
Commit: ff36758e5f15d04b7b1f988eb49ff0d261b0b5a4
https://github.com/zopefoundation/RestrictedPython/commit/ff36758e5f15d04b7b1f988eb49ff0d261b0b5a4
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-04 (Tue, 04 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Be compatible with old code and allow underscore only names.
Commit: 9e154d417d44e7862bcb49efd91cfdbb824bf66b
https://github.com/zopefoundation/RestrictedPython/commit/9e154d417d44e7862bcb49efd91cfdbb824bf66b
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-04 (Tue, 04 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Get rid of not needed 'else' branch.
Commit: e7627fb144683ab2f024bc2d24d4b726557d4c34
https://github.com/zopefoundation/RestrictedPython/commit/e7627fb144683ab2f024bc2d24d4b726557d4c34
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-04 (Tue, 04 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Wrap attribute writes with '_write_'
Commit: 8e0bfeebc36dda16b9d23b9fa1708170e0dbaff2
https://github.com/zopefoundation/RestrictedPython/commit/8e0bfeebc36dda16b9d23b9fa1708170e0dbaff2
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-05 (Wed, 05 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect iteration with _getiter_
Commit: 82ff6119245cc80029af33c460150663d6272dc8
https://github.com/zopefoundation/RestrictedPython/commit/82ff6119245cc80029af33c460150663d6272dc8
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-05 (Wed, 05 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Document the AST transformations in visit_Attribute.
Commit: 1f6aec8973e129d48ddaeed6e9659008ebfe9c6b
https://github.com/zopefoundation/RestrictedPython/commit/1f6aec8973e129d48ddaeed6e9659008ebfe9c6b
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-05 (Wed, 05 Oct 2016)
Changed paths:
M tox.ini
Log Message:
-----------
There is no official release of pytest-mock which supports python3.6
However master already supports it, so lets use master
until a official release is there.
Commit: 9acbc35aa3951f2c4f305298df6f543f1067aaa3
https://github.com/zopefoundation/RestrictedPython/commit/9acbc35aa3951f2c4f305298df6f543f1067aaa3
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-05 (Wed, 05 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect simple (single index) subscript via _getitem_.
Commit: f9138b7f1e67c0f2b34a6c9cae7250b099d8c00c
https://github.com/zopefoundation/RestrictedPython/commit/f9138b7f1e67c0f2b34a6c9cae7250b099d8c00c
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-05 (Wed, 05 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect slice subscript via _getitem_.
Commit: 03c6d184460509aca8150451194690f53e3c322d
https://github.com/zopefoundation/RestrictedPython/commit/03c6d184460509aca8150451194690f53e3c322d
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-06 (Thu, 06 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect extended slice subscript via _getitem_.
Commit: b38ed5101b040c0075f3042f7a642c22eba5ad78
https://github.com/zopefoundation/RestrictedPython/commit/b38ed5101b040c0075f3042f7a642c22eba5ad78
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-07 (Fri, 07 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect subscript assignment and deletion via _write_.
Commit: 1f26049af765c3e2e53b833f010bb755b34db3b8
https://github.com/zopefoundation/RestrictedPython/commit/1f26049af765c3e2e53b833f010bb755b34db3b8
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-10 (Mon, 10 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect augmented assignment of variables with _inplacevar_.
Forbid augmented assignment of
- attributes
- subscripts
Commit: 6258f8ca208cf044541ac280c50ddf2f83fec440
https://github.com/zopefoundation/RestrictedPython/commit/6258f8ca208cf044541ac280c50ddf2f83fec440
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
ast.Call has always a 'func'. ast.Name as always an 'id'.
According to python2_7.ast and python3_{4,5,6}.ast these attributes are always
present. => No need for the hasattr checks.
Commit: 180f5208c8055dd4550482e33dfaf9ea829f1cb8
https://github.com/zopefoundation/RestrictedPython/commit/180f5208c8055dd4550482e33dfaf9ea829f1cb8
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect *args and **kwargs (if used) with _apply_.
Commit: 726b0f001fdbc6d3703491c830f8b146fb582f2f
https://github.com/zopefoundation/RestrictedPython/commit/726b0f001fdbc6d3703491c830f8b146fb582f2f
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Minor PEP8 stuff.
Commit: 91e714ee322abbb1314340ea3a3031ba94ad618b
https://github.com/zopefoundation/RestrictedPython/commit/91e714ee322abbb1314340ea3a3031ba94ad618b
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Refactor check_name into a separate method.
Commit: 3df01a80c90e73c90acbd18cfe904ca2d80d1f09
https://github.com/zopefoundation/RestrictedPython/commit/3df01a80c90e73c90acbd18cfe904ca2d80d1f09
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Check the names of function parameters.
Commit: f3be5c52bf36afb2483268543c34e4d904fb29c9
https://github.com/zopefoundation/RestrictedPython/commit/f3be5c52bf36afb2483268543c34e4d904fb29c9
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-17 (Mon, 17 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Support nested checks on 'tuple parameter unpacking'.
Commit: b7b1ba8f25684b3e17c2caf0969736a41bbe7528
https://github.com/zopefoundation/RestrictedPython/commit/b7b1ba8f25684b3e17c2caf0969736a41bbe7528
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-17 (Mon, 17 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect 'tuple parameter unpacking' with _getiter_.
Commit: 4e8ee6ac5aed3c683560d631eb896e3f48578d95
https://github.com/zopefoundation/RestrictedPython/commit/4e8ee6ac5aed3c683560d631eb896e3f48578d95
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-18 (Tue, 18 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Make each temporary variable unique for the entire module.
Commit: d12194ae4c36867969a24b7274b10cba00302a53
https://github.com/zopefoundation/RestrictedPython/commit/d12194ae4c36867969a24b7274b10cba00302a53
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-10-18 (Tue, 18 Oct 2016)
Changed paths:
M src/RestrictedPython/Eval.py
M src/RestrictedPython/test_helper.py
Log Message:
-----------
fix some print functions
Commit: 22757eecc95b97e6cbe4068742de951caad09f22
https://github.com/zopefoundation/RestrictedPython/commit/22757eecc95b97e6cbe4068742de951caad09f22
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-10-18 (Tue, 18 Oct 2016)
Changed paths:
M CHANGES.txt
Log Message:
-----------
started to update changes.txt
Commit: ad7f126f97526ebba76b56315ee227b97e78c875
https://github.com/zopefoundation/RestrictedPython/commit/ad7f126f97526ebba76b56315ee227b97e78c875
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-10-18 (Tue, 18 Oct 2016)
Changed paths:
M CHANGES.txt
Log Message:
-----------
added name
Commit: c944d4095e0b93f4f592d96ba295e86c645f22a1
https://github.com/zopefoundation/RestrictedPython/commit/c944d4095e0b93f4f592d96ba295e86c645f22a1
Author: Oz N Tiram <oz.tiram at gmail.com>
Date: 2016-10-22 (Sat, 22 Oct 2016)
Changed paths:
M tests/test_print.py
Log Message:
-----------
fix syntax for future import
Commit: 4ed102e58f435e4a35f9f90bcf7567df8dc97f4a
https://github.com/zopefoundation/RestrictedPython/commit/4ed102e58f435e4a35f9f90bcf7567df8dc97f4a
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2016-10-22 (Sat, 22 Oct 2016)
Changed paths:
M pytest.ini
M setup.py
M src/RestrictedPython/README.txt
Log Message:
-----------
pytest settings
Commit: b1bb55edfc0851da65d0810817f7b9ecb4ec5d24
https://github.com/zopefoundation/RestrictedPython/commit/b1bb55edfc0851da65d0810817f7b9ecb4ec5d24
Author: Oz N Tiram <oz.tiram at gmail.com>
Date: 2016-10-22 (Sat, 22 Oct 2016)
Changed paths:
M pytest.ini
Log Message:
-----------
exclude tests/fixtures
Commit: 19b2f999fb7cdc2308e6139785c5500e488b276f
https://github.com/zopefoundation/RestrictedPython/commit/19b2f999fb7cdc2308e6139785c5500e488b276f
Author: Oz N Tiram <oz.tiram at gmail.com>
Date: 2016-10-22 (Sat, 22 Oct 2016)
Changed paths:
A tests/fixtures/class.py
A tests/fixtures/lambda.py
A tests/fixtures/restricted_module.py
A tests/fixtures/restricted_module_py3.py
A tests/fixtures/security_in_syntax.py
A tests/fixtures/unpack.py
A tests/fixtures/unpack_py3.py
A tests/test_restrictions.py
Log Message:
-----------
add tests for python 3
Commit: 74a78c9b2b73fb97a34b1ec28ce4815cd2aa9a35
https://github.com/zopefoundation/RestrictedPython/commit/74a78c9b2b73fb97a34b1ec28ce4815cd2aa9a35
Author: Oz N Tiram <oz.tiram at gmail.com>
Date: 2016-10-22 (Sat, 22 Oct 2016)
Changed paths:
M src/RestrictedPython/test_helper.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
Log Message:
-----------
WIP - updates for Python 3
Commit: 31bf2ae543d6323f51e8d622822c15bdc61b8389
https://github.com/zopefoundation/RestrictedPython/commit/31bf2ae543d6323f51e8d622822c15bdc61b8389
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-23 (Sun, 23 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Rewrite the mechanism of tuple parameter unpacking.
The previous way worked great if there was a body to append the unpack statements.
Unfortunately, tuple parameters are also allowed as parameters for lambda
functions. lambda functions don't have a body where statements are allowed :(
=> No way to use the existing code.
The new way wraps the tuple unpacking into a single expresion, by using nested
lambdas. This expression can now be used wrap tuple parameters of lambda
functions.
Commit: 4c2b2d401ffa8eab4c84cc852da6737c30d26239
https://github.com/zopefoundation/RestrictedPython/commit/4c2b2d401ffa8eab4c84cc852da6737c30d26239
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-23 (Sun, 23 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Check parameter names of lambda functions.
Commit: 652c7d975f89aec3dc19dc0b778f09059c995f78
https://github.com/zopefoundation/RestrictedPython/commit/652c7d975f89aec3dc19dc0b778f09059c995f78
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-23 (Sun, 23 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect 'tuple parameter unpacking' on lambda functions.
Commit: c30bd6ed591e8d877ce65c0c8f44df790fac9703
https://github.com/zopefoundation/RestrictedPython/commit/c30bd6ed591e8d877ce65c0c8f44df790fac9703
Author: Oz N Tiram <oz.tiram at gmail.com>
Date: 2016-10-23 (Sun, 23 Oct 2016)
Changed paths:
M tests/test_restrictions.py
Log Message:
-----------
Document more failures with Python3
Commit: 207ca3e874967fab107fe0319d780a91b83bdf45
https://github.com/zopefoundation/RestrictedPython/commit/207ca3e874967fab107fe0319d780a91b83bdf45
Author: Oz N Tiram <oz.tiram at gmail.com>
Date: 2016-10-23 (Sun, 23 Oct 2016)
Changed paths:
M pytest.ini
M setup.py
M src/RestrictedPython/README.txt
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Merge remote-tracking branch 'upstream/Python3_update' into Python3_update
Commit: dac38ad4915b2a9e557e1bee5e2d74c08e962bbb
https://github.com/zopefoundation/RestrictedPython/commit/dac38ad4915b2a9e557e1bee5e2d74c08e962bbb
Author: Oz N Tiram <oz.tiram at gmail.com>
Date: 2016-10-23 (Sun, 23 Oct 2016)
Changed paths:
M pytest.ini
M src/RestrictedPython/test_helper.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
A tests/fixtures/class.py
A tests/fixtures/lambda.py
A tests/fixtures/restricted_module.py
A tests/fixtures/restricted_module_py3.py
A tests/fixtures/security_in_syntax.py
A tests/fixtures/unpack.py
A tests/fixtures/unpack_py3.py
M tests/test_print.py
A tests/test_restrictions.py
Log Message:
-----------
Merge pull request #1 from oz123/Python3_update
Python3 update
Commit: 01598c52f8a5313bb6c041948b22afadf7fa0c93
https://github.com/zopefoundation/RestrictedPython/commit/01598c52f8a5313bb6c041948b22afadf7fa0c93
Author: Michael Howitz <mh at gocept.com>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M pytest.ini
M src/RestrictedPython/test_helper.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
R tests/fixtures/class.py
R tests/fixtures/lambda.py
R tests/fixtures/restricted_module.py
R tests/fixtures/restricted_module_py3.py
R tests/fixtures/security_in_syntax.py
R tests/fixtures/unpack.py
R tests/fixtures/unpack_py3.py
M tests/test_print.py
R tests/test_restrictions.py
Log Message:
-----------
Revert "Python3 update"
Commit: f52ab424e298a4cf9a48ff6aafc9a3185830c55b
https://github.com/zopefoundation/RestrictedPython/commit/f52ab424e298a4cf9a48ff6aafc9a3185830c55b
Author: Michael Howitz <mh at gocept.com>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M pytest.ini
M src/RestrictedPython/test_helper.py
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
R tests/fixtures/class.py
R tests/fixtures/lambda.py
R tests/fixtures/restricted_module.py
R tests/fixtures/restricted_module_py3.py
R tests/fixtures/security_in_syntax.py
R tests/fixtures/unpack.py
R tests/fixtures/unpack_py3.py
M tests/test_print.py
R tests/test_restrictions.py
Log Message:
-----------
Merge pull request #2 from zopefoundation/revert-1-Python3_update
Revert "Python3 update"
Commit: bab7e2736f38267946f07ba68f0e6dfe9e4b61c2
https://github.com/zopefoundation/RestrictedPython/commit/bab7e2736f38267946f07ba68f0e6dfe9e4b61c2
Author: Michael Howitz <mh at gocept.com>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
Use tox for the tests on Travis. (#3)
Use tox for the tests on Travis + update to test the supported versions.
Commit: 73cbf696c8c139558fea628e42d38c12fcdacf92
https://github.com/zopefoundation/RestrictedPython/commit/73cbf696c8c139558fea628e42d38c12fcdacf92
Author: Michael Howitz <mh at gocept.com>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
Try to use coveralls to get information about coverage evolvement.
Commit: e6ac70affd41098d95a4c3e80470f7465bb167f7
https://github.com/zopefoundation/RestrictedPython/commit/e6ac70affd41098d95a4c3e80470f7465bb167f7
Author: Michael Howitz <mh at gocept.com>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
Try to run coveralls again.
Commit: 746045b9a70bc345b3b77da0672ce48ede3af9e8
https://github.com/zopefoundation/RestrictedPython/commit/746045b9a70bc345b3b77da0672ce48ede3af9e8
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect tuple assignments with '_getiter_'.
Commit: 7ec26fa46aeca6e35361a4dcce9d7ea233d8e76d
https://github.com/zopefoundation/RestrictedPython/commit/7ec26fa46aeca6e35361a4dcce9d7ea233d8e76d
Author: Michael Howitz <mh at gocept.com>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
Debug why there ist no coverage data.
Commit: 33a3e2a205debf2fa228bd93e09a2cfeec5c7086
https://github.com/zopefoundation/RestrictedPython/commit/33a3e2a205debf2fa228bd93e09a2cfeec5c7086
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Allow try..except..finally in the new transformer.py
Not allowing it would be a big regression, since the old RCompile allowed it
also.
Commit: 1bfa3c0cee283e00ef2d8159f667582bdb629bce
https://github.com/zopefoundation/RestrictedPython/commit/1bfa3c0cee283e00ef2d8159f667582bdb629bce
Author: stephan-hof <sh at axiros.com>
Date: 2016-10-27 (Thu, 27 Oct 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect tuple unpacking on exception handlers.
Commit: 8ae35e794c6bb6e1ec0aac776cf22135302cdf41
https://github.com/zopefoundation/RestrictedPython/commit/8ae35e794c6bb6e1ec0aac776cf22135302cdf41
Author: Michael Howitz <mh at gocept.com>
Date: 2016-10-28 (Fri, 28 Oct 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
Try to specify the path to the file generated by coverage.
Commit: f2b3bdc5d04415ae2ecf269a307d46c6f4cf326d
https://github.com/zopefoundation/RestrictedPython/commit/f2b3bdc5d04415ae2ecf269a307d46c6f4cf326d
Author: Michael Howitz <mh at gocept.com>
Date: 2016-10-28 (Fri, 28 Oct 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
coveralls expects the coverage result file in .coverage
Commit: a21797ef0ffc9ab8289eaf334b6af11e773e2608
https://github.com/zopefoundation/RestrictedPython/commit/a21797ef0ffc9ab8289eaf334b6af11e773e2608
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2016-11-05 (Sat, 05 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Merge branch 'Python3_update' into try-out-coveralls
Commit: f2b1aa3bd53d69ac2ba0385c7eeeef7487761291
https://github.com/zopefoundation/RestrictedPython/commit/f2b1aa3bd53d69ac2ba0385c7eeeef7487761291
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2016-11-07 (Mon, 07 Nov 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
Merge pull request #4 from zopefoundation/try-out-coveralls
Try to use coveralls
Commit: 59350b27eda1a9bc85762373bfee24149998bf2e
https://github.com/zopefoundation/RestrictedPython/commit/59350b27eda1a9bc85762373bfee24149998bf2e
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Check for invalid import names.
Commit: 59e3258345f3a11172ebff35d89b0c5a6dff5eff
https://github.com/zopefoundation/RestrictedPython/commit/59e3258345f3a11172ebff35d89b0c5a6dff5eff
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
It is so tiersome writing 'compile_restricted_exec' all the time.
To test the transfromer this function is used all the time anyway.
Commit: f41bf710a2c1d58531cba21be93bc3455f9f4f41
https://github.com/zopefoundation/RestrictedPython/commit/f41bf710a2c1d58531cba21be93bc3455f9f4f41
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Check class names.
Commit: 6ea4f24ba7f47c982b0fbaed4f50c6b133532ddb
https://github.com/zopefoundation/RestrictedPython/commit/6ea4f24ba7f47c982b0fbaed4f50c6b133532ddb
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Rewrite the 'unpack sequence' protection.
Commit: 5281ecb08eb1355e09150a04f08a4b25af43b472
https://github.com/zopefoundation/RestrictedPython/commit/5281ecb08eb1355e09150a04f08a4b25af43b472
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Enhance the unittest.
Test also assignment to a single (not tuple) target.
Commit: 537cba14ccd1269401ecfd5e5d95ac840e09c5d4
https://github.com/zopefoundation/RestrictedPython/commit/537cba14ccd1269401ecfd5e5d95ac840e09c5d4
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Add a unittest for unpack sequence with starred elements.
Commit: 80c9f6e3c697a87305593b37529cf3a2486c391d
https://github.com/zopefoundation/RestrictedPython/commit/80c9f6e3c697a87305593b37529cf3a2486c391d
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect sequence unpacking on for loops (+ comprehensions).
Commit: 8e4c46808b723703f2076fa53d8f2ffa9e608743
https://github.com/zopefoundation/RestrictedPython/commit/8e4c46808b723703f2076fa53d8f2ffa9e608743
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Use correct order for imports.
Commit: eba32f69a730bf0a3948c9b91e9c6dcbb5f1d578
https://github.com/zopefoundation/RestrictedPython/commit/eba32f69a730bf0a3948c9b91e9c6dcbb5f1d578
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
PEP8 PEP257 compliance.
Commit: ff7dcda1d1b6e169fb547d7c071e00f292f670bf
https://github.com/zopefoundation/RestrictedPython/commit/ff7dcda1d1b6e169fb547d7c071e00f292f670bf
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Refactor out a method for the import checks.
Commit: 893261109d133d22b97f54292936f87d3b60bb20
https://github.com/zopefoundation/RestrictedPython/commit/893261109d133d22b97f54292936f87d3b60bb20
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Add more comments how protection of 'sequence unpacking' works.
Commit: deab0464985187caf2d4ded3fa61d32aa5e49e3e
https://github.com/zopefoundation/RestrictedPython/commit/deab0464985187caf2d4ded3fa61d32aa5e49e3e
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Do not allow access to '__traceback__'.
Commit: f9f2237d18105935f60b613aa894a02dff9e03c3
https://github.com/zopefoundation/RestrictedPython/commit/f9f2237d18105935f60b613aa894a02dff9e03c3
Author: Michael Howitz <mh at gocept.com>
Date: 2016-11-18 (Fri, 18 Nov 2016)
Changed paths:
M tox.ini
Log Message:
-----------
There is now a released version of pytest-mock which supports Python 3.6.
Commit: cdb2871ce7f597b995d87b0787b05405dc2c4f31
https://github.com/zopefoundation/RestrictedPython/commit/cdb2871ce7f597b995d87b0787b05405dc2c4f31
Author: Michael Howitz <mh at gocept.com>
Date: 2016-11-18 (Fri, 18 Nov 2016)
Changed paths:
M tox.ini
Log Message:
-----------
Merge pull request #7 from zopefoundation/use-released-pytest-mock
Use released pytest-mock
Commit: 13073cc197ce290bf72de4c7eefb4f8055062ecf
https://github.com/zopefoundation/RestrictedPython/commit/13073cc197ce290bf72de4c7eefb4f8055062ecf
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-22 (Tue, 22 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Protect print statement.
Commit: 63c6dcb0a001632f87ff32144c9be7c891ffcf85
https://github.com/zopefoundation/RestrictedPython/commit/63c6dcb0a001632f87ff32144c9be7c891ffcf85
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-22 (Tue, 22 Nov 2016)
Changed paths:
M src/RestrictedPython/PrintCollector.py
M src/RestrictedPython/transformer.py
Log Message:
-----------
Protect print function via 'PrintCollector._call_print'.
Commit: 775a5b3c70c0e28eae193149bb6f1be8dd5e9f8f
https://github.com/zopefoundation/RestrictedPython/commit/775a5b3c70c0e28eae193149bb6f1be8dd5e9f8f
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-22 (Tue, 22 Nov 2016)
Changed paths:
R tests/test_base_example.py
Log Message:
-----------
Get rid of not useful tests.
Commit: e54d9efaa245402118139d516803a9c4b2373905
https://github.com/zopefoundation/RestrictedPython/commit/e54d9efaa245402118139d516803a9c4b2373905
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-23 (Wed, 23 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
R tests/test_print.py
A tests/test_print_function.py
A tests/test_print_stmt.py
Log Message:
-----------
Add tests for print.
Commit: aa21c357c37c713440c3baa860408836f1a05ba1
https://github.com/zopefoundation/RestrictedPython/commit/aa21c357c37c713440c3baa860408836f1a05ba1
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-24 (Thu, 24 Nov 2016)
Changed paths:
M tests/test_print_function.py
M tests/test_print_stmt.py
Log Message:
-----------
Add a test for conditional print + print collector.
Commit: a383d8f9d04bf66ebefe6e504cbbb292c74456ef
https://github.com/zopefoundation/RestrictedPython/commit/a383d8f9d04bf66ebefe6e504cbbb292c74456ef
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/RestrictedPython/PrintCollector.py
Log Message:
-----------
Simplify the if construct.
Commit: a88fd0c26f0c5f9bf99991b4d9e08c0c63e0c123
https://github.com/zopefoundation/RestrictedPython/commit/a88fd0c26f0c5f9bf99991b4d9e08c0c63e0c123
Author: stephan-hof <stephan-hof at users.noreply.github.com>
Date: 2016-11-29 (Tue, 29 Nov 2016)
Changed paths:
M src/RestrictedPython/PrintCollector.py
M src/RestrictedPython/transformer.py
R tests/test_base_example.py
R tests/test_print.py
A tests/test_print_function.py
A tests/test_print_stmt.py
Log Message:
-----------
Merge pull request #9 from zopefoundation/python3_port_print
Python3 port print
Commit: 588c5f759a9bbccb3036311261a737fa07cb1823
https://github.com/zopefoundation/RestrictedPython/commit/588c5f759a9bbccb3036311261a737fa07cb1823
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-29 (Tue, 29 Nov 2016)
Changed paths:
R src/RestrictedPython/tests/before_and_after24.py
M tests/test_transformer.py
Log Message:
-----------
Migrate the nested generator test.
Commit: ee1d51442a5dcd2bc480032d2c9e9a39c413c207
https://github.com/zopefoundation/RestrictedPython/commit/ee1d51442a5dcd2bc480032d2c9e9a39c413c207
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-29 (Tue, 29 Nov 2016)
Changed paths:
R src/RestrictedPython/tests/before_and_after25.py
M tests/test_transformer.py
Log Message:
-----------
Migrate test for ternary operator.
Commit: 292601d6ac6695b406bca499cf50451764d3b3c4
https://github.com/zopefoundation/RestrictedPython/commit/292601d6ac6695b406bca499cf50451764d3b3c4
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-29 (Tue, 29 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Refactor out a method having common code for sequence unpacking.
Commit: 04457dc07378fe9d4fd685c9ddd10efbd2e62557
https://github.com/zopefoundation/RestrictedPython/commit/04457dc07378fe9d4fd685c9ddd10efbd2e62557
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-29 (Tue, 29 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect sequence unpacking on with statements.
Commit: 1a37c462db8b8fde1d884c8a9c8f5a59a0eb73cb
https://github.com/zopefoundation/RestrictedPython/commit/1a37c462db8b8fde1d884c8a9c8f5a59a0eb73cb
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-30 (Wed, 30 Nov 2016)
Changed paths:
R src/RestrictedPython/tests/before_and_after26.py
M tests/test_transformer.py
Log Message:
-----------
Migrate tests for the with statement.
Commit: b4da29b58a2b3e8386676a9cf1f5934485baed56
https://github.com/zopefoundation/RestrictedPython/commit/b4da29b58a2b3e8386676a9cf1f5934485baed56
Author: Michael Howitz <mh at gocept.com>
Date: 2016-12-03 (Sat, 03 Dec 2016)
Changed paths:
M .coveragerc
M .travis.yml
M src/RestrictedPython/Eval.py
M src/RestrictedPython/Guards.py
M src/RestrictedPython/MutatingWalker.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/test_helper.py
M src/RestrictedPython/tests/testREADME.py
M tox.ini
Log Message:
-----------
Separate code quality checks (#8)
* Extract isort to a separate tox environment.
There is no need to run its checks on each environment.
* Imports sorted by isort to make the test happy.
* Extract flake8 to a separate tox environment to run its tests only once.
It is not yet activated because there are way to many flake8 failures in this
package.
* Do not omit tests from coverage.
Commit: cddc72ebd6b75ab811349eb9e3b453ced0c26dde
https://github.com/zopefoundation/RestrictedPython/commit/cddc72ebd6b75ab811349eb9e3b453ced0c26dde
Author: Michael Howitz <mh at gocept.com>
Date: 2016-12-03 (Sat, 03 Dec 2016)
Changed paths:
M .coveragerc
M .travis.yml
M src/RestrictedPython/Eval.py
M src/RestrictedPython/Guards.py
M src/RestrictedPython/MutatingWalker.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/test_helper.py
M src/RestrictedPython/tests/testREADME.py
M tox.ini
Log Message:
-----------
Merge branch 'Python3_update' into python3_migrate_tests_part0
Commit: dac40605d7e43c22d969d0545957090a308b6d5d
https://github.com/zopefoundation/RestrictedPython/commit/dac40605d7e43c22d969d0545957090a308b6d5d
Author: stephan-hof <sh at axiros.com>
Date: 2016-12-05 (Mon, 05 Dec 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Get rid of wrong docstrings.
Commit: 4d01d7ede2be8aab625bfc0f837480e4826b7ec9
https://github.com/zopefoundation/RestrictedPython/commit/4d01d7ede2be8aab625bfc0f837480e4826b7ec9
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-19 (Thu, 19 Jan 2017)
Changed paths:
R src/RestrictedPython/tests/before_and_after27.py
M tests/test_transformer.py
Log Message:
-----------
Migrate 'before_and_after27'.
Commit: 171c4c7df0b2de8a6ab9d724d47ca2a6151f61a9
https://github.com/zopefoundation/RestrictedPython/commit/171c4c7df0b2de8a6ab9d724d47ca2a6151f61a9
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-19 (Thu, 19 Jan 2017)
Changed paths:
M src/RestrictedPython/tests/before_and_after.py
M tests/test_transformer.py
Log Message:
-----------
Migrate missing tests.
A lot of tests in 'before_and_after.py' are already present in
test_transformer. Just migrate the ones which were missing.
Commit: 986eca8dba208c5a415652132b0506085c427f7d
https://github.com/zopefoundation/RestrictedPython/commit/986eca8dba208c5a415652132b0506085c427f7d
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-19 (Thu, 19 Jan 2017)
Changed paths:
M src/RestrictedPython/tests/before_and_after.py
M tests/test_transformer.py
Log Message:
-----------
Migrate the tests for guarding functions calls with _apply_.
Commit: c3f5017f7ff23538a98771a66dca3ec44d597600
https://github.com/zopefoundation/RestrictedPython/commit/c3f5017f7ff23538a98771a66dca3ec44d597600
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-19 (Thu, 19 Jan 2017)
Changed paths:
M src/RestrictedPython/tests/before_and_after.py
M tests/test_transformer.py
Log Message:
-----------
Migrate tests for attribute access in function defaults.
Commit: deb434e2201f57326015939d43c692f169f0da6a
https://github.com/zopefoundation/RestrictedPython/commit/deb434e2201f57326015939d43c692f169f0da6a
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-19 (Thu, 19 Jan 2017)
Changed paths:
M src/RestrictedPython/tests/before_and_after.py
M tests/test_transformer.py
Log Message:
-----------
Use the 'augmented assignment' tests from the old suite.
Commit: 3f8a078bf96f33acda133b66f0242912819a607a
https://github.com/zopefoundation/RestrictedPython/commit/3f8a078bf96f33acda133b66f0242912819a607a
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-19 (Thu, 19 Jan 2017)
Changed paths:
R src/RestrictedPython/tests/before_and_after.py
Log Message:
-----------
Remove this file, since no more tests are there anymore.
Sequence unpacking is already checked in test_transformer.
Commit: 603f86464408f26068d47ae8b885842c2bf2fec3
https://github.com/zopefoundation/RestrictedPython/commit/603f86464408f26068d47ae8b885842c2bf2fec3
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
A .editorconfig
M .gitignore
M .travis.yml
M buildout.cfg
M docs/update_notes.rst
M docs_de/RestrictedPython4/index.rst
M setup.cfg
M setup.py
M src/RestrictedPython/transformer.py
M tox.ini
Log Message:
-----------
update docs to which versions should be supported with source (#13)
Commit: 4d98e21794413327118efe19a3170d028212aafe
https://github.com/zopefoundation/RestrictedPython/commit/4d98e21794413327118efe19a3170d028212aafe
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
A .editorconfig
M .gitignore
M .travis.yml
M buildout.cfg
M docs/update_notes.rst
M docs_de/RestrictedPython4/index.rst
M setup.cfg
M setup.py
M src/RestrictedPython/transformer.py
M tox.ini
Log Message:
-----------
Merge branch 'Python3_update' into python3_migrate_tests_part0
# Conflicts:
# src/RestrictedPython/transformer.py
Commit: 255047f3a6871ad95252cef401d48ea1aaba10ae
https://github.com/zopefoundation/RestrictedPython/commit/255047f3a6871ad95252cef401d48ea1aaba10ae
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
R src/RestrictedPython/tests/before_and_after.py
R src/RestrictedPython/tests/before_and_after24.py
R src/RestrictedPython/tests/before_and_after25.py
R src/RestrictedPython/tests/before_and_after26.py
R src/RestrictedPython/tests/before_and_after27.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Merge pull request #10 from zopefoundation/python3_migrate_tests_part0
Python3 migrate some of the old tests
Commit: 4f892716fcde7397907aff4638db69a68bd22c9f
https://github.com/zopefoundation/RestrictedPython/commit/4f892716fcde7397907aff4638db69a68bd22c9f
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M tox.ini
Log Message:
-----------
Clean up.
Commit: 94954031d0fc392f539ff9c7e173da10df945e09
https://github.com/zopefoundation/RestrictedPython/commit/94954031d0fc392f539ff9c7e173da10df945e09
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M tox.ini
Log Message:
-----------
Py.test 3.0 now works with all supported Python versions.
Commit: cf1485bbde3f4a4f759654b20e7aeda0c1016ac8
https://github.com/zopefoundation/RestrictedPython/commit/cf1485bbde3f4a4f759654b20e7aeda0c1016ac8
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M tox.ini
Log Message:
-----------
Merge pull request #14 from zopefoundation/clean-up-tox-ini
Clean up tox.ini
Commit: 6df2851983aa96030337ca3681e304da5b128dcc
https://github.com/zopefoundation/RestrictedPython/commit/6df2851983aa96030337ca3681e304da5b128dcc
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/Guards.py
A src/RestrictedPython/_compat.py
M src/RestrictedPython/transformer.py
M tests/test_print_stmt.py
M tests/test_transformer.py
Log Message:
-----------
Do the version checks in a central place.
Commit: 5addea8eeb1e0e3b19cae39a7b231c608bff54ea
https://github.com/zopefoundation/RestrictedPython/commit/5addea8eeb1e0e3b19cae39a7b231c608bff54ea
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M tox.ini
Log Message:
-----------
Add an isort environment to apply its rules.
Commit: 7dc6e5f04a1e2b8bb2605dc3aea2c56dd2d53df2
https://github.com/zopefoundation/RestrictedPython/commit/7dc6e5f04a1e2b8bb2605dc3aea2c56dd2d53df2
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/Guards.py
A src/RestrictedPython/_compat.py
M src/RestrictedPython/transformer.py
M tests/test_print_stmt.py
M tests/test_transformer.py
M tox.ini
Log Message:
-----------
Merge pull request #15 from zopefoundation/central-version-checks
Centralize the Python version checks
Commit: 5e7fdaa60534316af91c21bdfa24bf1276f9dec2
https://github.com/zopefoundation/RestrictedPython/commit/5e7fdaa60534316af91c21bdfa24bf1276f9dec2
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Get rid of the whitelist.
Reason: ast nodes which have a `visit_` function had also to be in the
whitelist. This was an unnecessary duplication.
The most important part of art the methods `generic_visit` and
`node_contents_visit`.
Additionally I forbid all ast nodes which are not yet covered by tests.
Commit: 36fd52063b1b7ad91804b43bb7290e445b86f77f
https://github.com/zopefoundation/RestrictedPython/commit/36fd52063b1b7ad91804b43bb7290e445b86f77f
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M tests/test_print_function.py
M tests/test_transformer.py
Log Message:
-----------
Improve tests.
Commit: f4ac2b5a1ac283cd6c49a881aa3446643289652d
https://github.com/zopefoundation/RestrictedPython/commit/f4ac2b5a1ac283cd6c49a881aa3446643289652d
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Incorporate change requests.
Commit: d4bd9d00b911e6bbe982252d5b6d5c63d6c8b4b1
https://github.com/zopefoundation/RestrictedPython/commit/d4bd9d00b911e6bbe982252d5b6d5c63d6c8b4b1
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_print_function.py
M tests/test_transformer.py
Log Message:
-----------
Merge pull request #16 from zopefoundation/remove-whitelist
Get rid of the whitelist.
Commit: da3956d4504ff88f9730d28046cc3751f977e262
https://github.com/zopefoundation/RestrictedPython/commit/da3956d4504ff88f9730d28046cc3751f977e262
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M tests/test_transformer.py
Log Message:
-----------
Completely cover `check_name`.
Commit: 4f4ce255fd237eb0d8ea3939a53eeb725da9968b
https://github.com/zopefoundation/RestrictedPython/commit/4f4ce255fd237eb0d8ea3939a53eeb725da9968b
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M tests/test_transformer.py
Log Message:
-----------
Merge pull request #19 from zopefoundation/visit_Name
Completely cover `check_name`.
Commit: 4244e83f072098f5213928de6f9ab5a059f69d0d
https://github.com/zopefoundation/RestrictedPython/commit/4244e83f072098f5213928de6f9ab5a059f69d0d
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M .gitignore
M buildout.cfg
A docs/Makefile
A docs/RestrictedPython3/index.rst
A docs/RestrictedPython4/index.rst
A docs/api/index.rst
A docs/basics/index.rst
A docs/call.txt
M docs/conf.py
A docs/dep.txt
A docs/idea.rst
M docs/index.rst
A docs/make.bat
A docs/update/ast/python2_6.ast
A docs/update/ast/python2_7.ast
A docs/update/ast/python3_0.ast
A docs/update/ast/python3_1.ast
A docs/update/ast/python3_2.ast
A docs/update/ast/python3_3.ast
A docs/update/ast/python3_4.ast
A docs/update/ast/python3_5.ast
A docs/update/ast/python3_6.ast
A docs/update/index.rst
M docs/update_notes.rst
R docs_de/Makefile
R docs_de/RestrictedPython3/index.rst
R docs_de/RestrictedPython4/index.rst
R docs_de/api/index.rst
R docs_de/call.txt
R docs_de/conf.py
R docs_de/dep.txt
R docs_de/grundlagen/index.rst
R docs_de/idee.rst
R docs_de/index.rst
R docs_de/make.bat
R docs_de/update/ast/python2_6.ast
R docs_de/update/ast/python2_7.ast
R docs_de/update/ast/python3_0.ast
R docs_de/update/ast/python3_1.ast
R docs_de/update/ast/python3_2.ast
R docs_de/update/ast/python3_3.ast
R docs_de/update/ast/python3_4.ast
R docs_de/update/ast/python3_5.ast
R docs_de/update/ast/python3_6.ast
R docs_de/update/index.rst
Log Message:
-----------
Python3 docs consolidation (#17)
consolidate documentation into one english documentation
Commit: 2371e056cfc8b85ec3978b6e250ed36db29ccace
https://github.com/zopefoundation/RestrictedPython/commit/2371e056cfc8b85ec3978b6e250ed36db29ccace
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
A tests/__init__.py
A tests/test_compile.py
M tests/test_transformer.py
Log Message:
-----------
Clean up the tests. (#20)
* Remove already ported tests.
* Rename tests to match the methods they test.
* Move tests around nearer to the code they test.
* Add a missing visitor.
Commit: 0e3afc51b6d9422055f12eb84d7c23b2d5cc92e7
https://github.com/zopefoundation/RestrictedPython/commit/0e3afc51b6d9422055f12eb84d7c23b2d5cc92e7
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M .travis.yml
M setup.py
M tests/__init__.py
M tests/test_compile.py
M tests/test_print_function.py
M tests/test_print_stmt.py
M tests/test_transformer.py
M tox.ini
Log Message:
-----------
Remove six (#18)
* remove six from tests, and apply isort on tests
Commit: f0c15c3ca168e725b2d4967b62e18a2d66998f26
https://github.com/zopefoundation/RestrictedPython/commit/f0c15c3ca168e725b2d4967b62e18a2d66998f26
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/__init__.py
M tests/test_transformer.py
Log Message:
-----------
Fix comments for try-except + refactor the tests into parts.
Commit: bd48de9fc48dd40e8d11b183e30dbbbb63cf8033
https://github.com/zopefoundation/RestrictedPython/commit/bd48de9fc48dd40e8d11b183e30dbbbb63cf8033
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
PEP-257
Commit: a237d6a53286c9038a156080524b883b10fff4f4
https://github.com/zopefoundation/RestrictedPython/commit/a237d6a53286c9038a156080524b883b10fff4f4
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/__init__.py
M tests/test_transformer.py
Log Message:
-----------
Merge pull request #21 from zopefoundation/fix-try-except2
Fix comments for try-except
Commit: f5013b27aaaee39eb823c8501ffef24e3ca6312b
https://github.com/zopefoundation/RestrictedPython/commit/f5013b27aaaee39eb823c8501ffef24e3ca6312b
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Transform lambda tests.
Remove an old test which was already covered by the lambda tests.
Commit: bef0f7f89d310d257110d37c129c1a1405da55c9
https://github.com/zopefoundation/RestrictedPython/commit/bef0f7f89d310d257110d37c129c1a1405da55c9
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M tests/test_transformer.py
Log Message:
-----------
Transform `def` tests.
Remove an old yes which was already tested using the new test code.
Commit: f124cf96b681afc390a08ddc57e7aac118a9e0cc
https://github.com/zopefoundation/RestrictedPython/commit/f124cf96b681afc390a08ddc57e7aac118a9e0cc
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M tests/test_transformer.py
Log Message:
-----------
Port weird lambda test.
Commit: 116230b39443393cf72bd4eda9ca869c5db59461
https://github.com/zopefoundation/RestrictedPython/commit/116230b39443393cf72bd4eda9ca869c5db59461
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Prevent using mutable objects as default params.
Commit: 4084ac771d128dbaebd491d9cd8e9562d2057af6
https://github.com/zopefoundation/RestrictedPython/commit/4084ac771d128dbaebd491d9cd8e9562d2057af6
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Merge pull request #22 from zopefoundation/fix-lambda
Transform tests.
Commit: d65b787def9c6ec14e32c25484f7c2cfcf36f3fd
https://github.com/zopefoundation/RestrictedPython/commit/d65b787def9c6ec14e32c25484f7c2cfcf36f3fd
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Merge branch 'Python3_update' into fix-init-args
Commit: 64546c78bf4b8ddd84564f65577d47956c25eff0
https://github.com/zopefoundation/RestrictedPython/commit/64546c78bf4b8ddd84564f65577d47956c25eff0
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Merge pull request #23 from zopefoundation/fix-init-args
Prevent using mutable objects as default params.
Commit: e52cf4644396847aed73e88864a04bba5e4d8c39
https://github.com/zopefoundation/RestrictedPython/commit/e52cf4644396847aed73e88864a04bba5e4d8c39
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-02 (Thu, 02 Feb 2017)
Changed paths:
M CHANGES.txt
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
M tests/test_compile.py
Log Message:
-----------
Compile now returns a named tuple to ease usage.
Commit: 725b3a80649dadae46a3d8e9af7ccef755bd0dbc
https://github.com/zopefoundation/RestrictedPython/commit/725b3a80649dadae46a3d8e9af7ccef755bd0dbc
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-02 (Thu, 02 Feb 2017)
Changed paths:
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/compile.py
M tests/test_compile.py
Log Message:
-----------
Bring test coverage of `_compile_restricted_mode` to 100 %.
Needs a bit refactoring of the code, too.
Commit: 7f2f1630dddac48698393cc0211696d173e67c11
https://github.com/zopefoundation/RestrictedPython/commit/7f2f1630dddac48698393cc0211696d173e67c11
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-02 (Thu, 02 Feb 2017)
Changed paths:
M tests/test_compile.py
M tests/test_transformer.py
Log Message:
-----------
Refactor tests to take advantage of `CompileResult`.
Commit: a9bcf5412b9e5d7215d53ab2b1a42c4d675a86d7
https://github.com/zopefoundation/RestrictedPython/commit/a9bcf5412b9e5d7215d53ab2b1a42c4d675a86d7
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-02 (Thu, 02 Feb 2017)
Changed paths:
M CHANGES.txt
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
M tests/test_compile.py
M tests/test_transformer.py
Log Message:
-----------
Merge pull request #25 from zopefoundation/compile-result
compile_restricted* now returns a namedtuple to ease usage.
Commit: 02eb02a14056bd9ffea6e1fa454239364a490cb4
https://github.com/zopefoundation/RestrictedPython/commit/02eb02a14056bd9ffea6e1fa454239364a490cb4
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-02 (Thu, 02 Feb 2017)
Changed paths:
M .travis.yml
M setup.cfg
M src/RestrictedPython/Eval.py
M src/RestrictedPython/Guards.py
M src/RestrictedPython/Limits.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tox.ini
Log Message:
-----------
Flake8 the code + enable it in the tests.
Commit: f8c6f2c245cf04b052f6f465aa157acbec6f6b31
https://github.com/zopefoundation/RestrictedPython/commit/f8c6f2c245cf04b052f6f465aa157acbec6f6b31
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .travis.yml
M setup.cfg
M src/RestrictedPython/Eval.py
M src/RestrictedPython/Guards.py
M src/RestrictedPython/Limits.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tox.ini
Log Message:
-----------
Merge pull request #26 from zopefoundation/flake8
Flake8 the code + ensure it for the future.
Commit: 6f1b522a3f2a5b37c0c996072d0858797a3d62d3
https://github.com/zopefoundation/RestrictedPython/commit/6f1b522a3f2a5b37c0c996072d0858797a3d62d3
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
A docs/upgrade_dependencies/index.rst
A docs/usage/index.rst
Log Message:
-----------
begin documenting usage and and upgarde of dependencies, also commenting source code in compile
Commit: 30b0c0c27b6dd89725d49852eb4dc394d2ff614d
https://github.com/zopefoundation/RestrictedPython/commit/30b0c0c27b6dd89725d49852eb4dc394d2ff614d
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
R docs/update/ast/python2_6.ast
R docs/update/ast/python2_7.ast
R docs/update/ast/python3_0.ast
R docs/update/ast/python3_1.ast
R docs/update/ast/python3_2.ast
R docs/update/ast/python3_3.ast
R docs/update/ast/python3_4.ast
R docs/update/ast/python3_5.ast
R docs/update/ast/python3_6.ast
R docs/update/index.rst
A docs/upgrade/ast/python2_6.ast
A docs/upgrade/ast/python2_7.ast
A docs/upgrade/ast/python3_0.ast
A docs/upgrade/ast/python3_1.ast
A docs/upgrade/ast/python3_2.ast
A docs/upgrade/ast/python3_3.ast
A docs/upgrade/ast/python3_4.ast
A docs/upgrade/ast/python3_5.ast
A docs/upgrade/ast/python3_6.ast
A docs/upgrade/index.rst
Log Message:
-----------
move update to upgrade
Commit: 8306639d85f35b164988db98ea9601caf18a3132
https://github.com/zopefoundation/RestrictedPython/commit/8306639d85f35b164988db98ea9601caf18a3132
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/index.rst
Log Message:
-----------
update path in base document
Commit: 3a881445d0943f6156c94c99408e7b1bbd3c651d
https://github.com/zopefoundation/RestrictedPython/commit/3a881445d0943f6156c94c99408e7b1bbd3c651d
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .gitignore
Log Message:
-----------
added virtualenv elements in gitignore
Commit: 49f6f134744c0b17c1cae10a72e4b4ccfa554ab4
https://github.com/zopefoundation/RestrictedPython/commit/49f6f134744c0b17c1cae10a72e4b4ccfa554ab4
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/api/index.rst
Log Message:
-----------
add more docs for api
Commit: b6f3088ccdc6ccbd19a2686a53fdcddf90e636d7
https://github.com/zopefoundation/RestrictedPython/commit/b6f3088ccdc6ccbd19a2686a53fdcddf90e636d7
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/compile.py
Log Message:
-----------
source code documentation with questions and todos
Commit: ee2449fdb3cf3f843f860826b592c001caf1f7bb
https://github.com/zopefoundation/RestrictedPython/commit/ee2449fdb3cf3f843f860826b592c001caf1f7bb
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/notes.rst
Log Message:
-----------
add note in notes that it should be transferred and this file should be removed
Commit: 15088541e8f900dc09c37526b3765bd0c42c449e
https://github.com/zopefoundation/RestrictedPython/commit/15088541e8f900dc09c37526b3765bd0c42c449e
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/RestrictedPython3/index.rst
M docs/RestrictedPython4/index.rst
M docs/idea.rst
M docs/update_notes.rst
M docs/upgrade/index.rst
M docs/upgrade_dependencies/index.rst
Log Message:
-----------
move parts of update_notes into specific documentation
Commit: 030c2196d449d16160f4f55cf9bb1d5745f47938
https://github.com/zopefoundation/RestrictedPython/commit/030c2196d449d16160f4f55cf9bb1d5745f47938
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/idea.rst
M docs/upgrade/index.rst
M docs/usage/index.rst
Log Message:
-----------
extend doc
Commit: 900554b9ec27cfac11d31808af82e34310329e42
https://github.com/zopefoundation/RestrictedPython/commit/900554b9ec27cfac11d31808af82e34310329e42
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/usage/index.rst
Log Message:
-----------
explain usage more in detail
Commit: b139fe641acfc6b343068745e545cf5879c726a2
https://github.com/zopefoundation/RestrictedPython/commit/b139fe641acfc6b343068745e545cf5879c726a2
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/__init__.py
Log Message:
-----------
document and fix api order
Commit: 13ac581f9bad7beed58ca869e679c08ea71e5cba
https://github.com/zopefoundation/RestrictedPython/commit/13ac581f9bad7beed58ca869e679c08ea71e5cba
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/RestrictedPython4/index.rst
M docs/upgrade_dependencies/index.rst
Log Message:
-----------
update docs
Commit: c9f66cd05bae79e0f1ea31d4762e1b7ecfc94be6
https://github.com/zopefoundation/RestrictedPython/commit/c9f66cd05bae79e0f1ea31d4762e1b7ecfc94be6
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/RestrictedPython4/index.rst
Log Message:
-----------
document internals
Commit: 02c367ad09a97f0127386607f9d0c3ae0fdde839
https://github.com/zopefoundation/RestrictedPython/commit/02c367ad09a97f0127386607f9d0c3ae0fdde839
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M docs/RestrictedPython4/index.rst
M docs/api/index.rst
M docs/conf.py
M docs/idea.rst
M docs/notes.rst
M docs/upgrade/index.rst
M docs/upgrade_dependencies/index.rst
M docs/usage/index.rst
Log Message:
-----------
Clean-up markup and some spellings.
Commit: a1f3a84141deb3c6a1399e00ea34f38ff58ca672
https://github.com/zopefoundation/RestrictedPython/commit/a1f3a84141deb3c6a1399e00ea34f38ff58ca672
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
A CHANGES.rst
R CHANGES.txt
M setup.py
Log Message:
-----------
change filetype to rst and update read
Commit: addd92423400b6583a94ae6ffe68371b174ff365
https://github.com/zopefoundation/RestrictedPython/commit/addd92423400b6583a94ae6ffe68371b174ff365
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M tox.ini
Log Message:
-----------
try to integrate docs build in tox pipe
Commit: 0778b6e29ec273b79ec56b01245db5d6870bb737
https://github.com/zopefoundation/RestrictedPython/commit/0778b6e29ec273b79ec56b01245db5d6870bb737
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
A src/RestrictedPython/README.rst
R src/RestrictedPython/README.txt
Log Message:
-----------
move txt to rst file
Commit: 4bc636c672a323075fe31069e8d7f574306aca00
https://github.com/zopefoundation/RestrictedPython/commit/4bc636c672a323075fe31069e8d7f574306aca00
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .travis.yml
Log Message:
-----------
Build documentation on travis, too.
Commit: d9b0f29b758702430aab01aea56fcf44f62d3542
https://github.com/zopefoundation/RestrictedPython/commit/d9b0f29b758702430aab01aea56fcf44f62d3542
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/compile.py
Log Message:
-----------
PEP-8
Commit: 5e11325b0b342ed3575b06f4c843b86b8591de68
https://github.com/zopefoundation/RestrictedPython/commit/5e11325b0b342ed3575b06f4c843b86b8591de68
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .gitignore
M .travis.yml
A CHANGES.rst
R CHANGES.txt
M docs/RestrictedPython3/index.rst
M docs/RestrictedPython4/index.rst
M docs/api/index.rst
M docs/conf.py
M docs/idea.rst
M docs/index.rst
M docs/notes.rst
R docs/update/ast/python2_6.ast
R docs/update/ast/python2_7.ast
R docs/update/ast/python3_0.ast
R docs/update/ast/python3_1.ast
R docs/update/ast/python3_2.ast
R docs/update/ast/python3_3.ast
R docs/update/ast/python3_4.ast
R docs/update/ast/python3_5.ast
R docs/update/ast/python3_6.ast
R docs/update/index.rst
M docs/update_notes.rst
A docs/upgrade/ast/python2_6.ast
A docs/upgrade/ast/python2_7.ast
A docs/upgrade/ast/python3_0.ast
A docs/upgrade/ast/python3_1.ast
A docs/upgrade/ast/python3_2.ast
A docs/upgrade/ast/python3_3.ast
A docs/upgrade/ast/python3_4.ast
A docs/upgrade/ast/python3_5.ast
A docs/upgrade/ast/python3_6.ast
A docs/upgrade/index.rst
A docs/upgrade_dependencies/index.rst
A docs/usage/index.rst
M setup.py
A src/RestrictedPython/README.rst
R src/RestrictedPython/README.txt
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
M tox.ini
Log Message:
-----------
Merge pull request #27 from zopefoundation/usage-doc
Python3 usage documentation
Commit: 5f1d5f95d0b3c629e918c9fd0480441f263c120b
https://github.com/zopefoundation/RestrictedPython/commit/5f1d5f95d0b3c629e918c9fd0480441f263c120b
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Make sure even Python 3 does not allow a bad name in except as.
`ExceptHandler.name` is a simple string in Python 3, it is no longer a an
`ast.Name`
Commit: 4402d00eb0d6fe381561a9782f81f344da377cff
https://github.com/zopefoundation/RestrictedPython/commit/4402d00eb0d6fe381561a9782f81f344da377cff
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M tests/test_transformer.py
M tests/test_utilities.py
M tox.ini
Log Message:
-----------
Flake8 the new tests, too.
Commit: 98a3a5a452d51c24903e107d8adc9853cfb62494
https://github.com/zopefoundation/RestrictedPython/commit/98a3a5a452d51c24903e107d8adc9853cfb62494
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M tox.ini
Log Message:
-----------
add a buildstep for docs in tox.ini
Commit: 6db1b3b687d980899fa8e834dcf0d13179b1e08a
https://github.com/zopefoundation/RestrictedPython/commit/6db1b3b687d980899fa8e834dcf0d13179b1e08a
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
M tests/test_utilities.py
M tox.ini
Log Message:
-----------
Merge pull request #30 from zopefoundation/flake8-tests
Flake8 the new tests, too.
Commit: 081f1af9e2d89f5f783a0babd70b1981bfc4a4dc
https://github.com/zopefoundation/RestrictedPython/commit/081f1af9e2d89f5f783a0babd70b1981bfc4a4dc
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax.py
Log Message:
-----------
Remove ported tests. (#29)
Commit: 65a27e6382574796308b4201796fd0d011030161
https://github.com/zopefoundation/RestrictedPython/commit/65a27e6382574796308b4201796fd0d011030161
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
R src/RestrictedPython/tests/security_in_syntax.py
M tests/__init__.py
M tests/test_transformer.py
Log Message:
-----------
Port AugAssign tests.
Commit: 753f726ec775c5b1d9adff438c2d2be241bde425
https://github.com/zopefoundation/RestrictedPython/commit/753f726ec775c5b1d9adff438c2d2be241bde425
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax26.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Port with name test + fix other name tests.
Commit: 65e7e199edec004c1ca7dd82ca9bbece6a46b783
https://github.com/zopefoundation/RestrictedPython/commit/65e7e199edec004c1ca7dd82ca9bbece6a46b783
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Split import test into single ones.
Commit: bd6135fa3afc6ab2969b4ca5e145739dacc80a21
https://github.com/zopefoundation/RestrictedPython/commit/bd6135fa3afc6ab2969b4ca5e145739dacc80a21
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax26.py
M tests/test_transformer.py
Log Message:
-----------
Test relative as-import.
Commit: 72dd2fc65c07d7f1db4c7c1cef76ab6ceec30e5f
https://github.com/zopefoundation/RestrictedPython/commit/72dd2fc65c07d7f1db4c7c1cef76ab6ceec30e5f
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
R src/RestrictedPython/tests/security_in_syntax26.py
Log Message:
-----------
Remove file completely ported.
Commit: 46f32440ab0f92d87da318695fb0c75deb08a60c
https://github.com/zopefoundation/RestrictedPython/commit/46f32440ab0f92d87da318695fb0c75deb08a60c
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
Remove tests needing modules which have been deleted because they where ported.
Commit: b708af4f2a33d2f6816d100fa98266451bfa5260
https://github.com/zopefoundation/RestrictedPython/commit/b708af4f2a33d2f6816d100fa98266451bfa5260
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/testREADME.py
Log Message:
-----------
Fix the extension to match with the file which contains the tests.
Commit: 94b0a08d2c25756bbb4b496a54361a7ad952dec5
https://github.com/zopefoundation/RestrictedPython/commit/94b0a08d2c25756bbb4b496a54361a7ad952dec5
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .travis.yml
M tox.ini
Log Message:
-----------
Also run the old test in tox and travis.
Commit: f33d11274cb29c04ac0e119d180cf3852b200bab
https://github.com/zopefoundation/RestrictedPython/commit/f33d11274cb29c04ac0e119d180cf3852b200bab
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
add Python2 only Expression visit
Commit: 137f47672e5da7a893b584b9f8d063b5472ecb84
https://github.com/zopefoundation/RestrictedPython/commit/137f47672e5da7a893b584b9f8d063b5472ecb84
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .travis.yml
R src/RestrictedPython/tests/security_in_syntax.py
R src/RestrictedPython/tests/security_in_syntax26.py
M src/RestrictedPython/tests/testREADME.py
M src/RestrictedPython/tests/testRestrictions.py
M src/RestrictedPython/transformer.py
M tests/__init__.py
M tests/test_transformer.py
M tox.ini
Log Message:
-----------
Merge pull request #32 from zopefoundation/port-tests
Port some tests and run old tests in travis.
Commit: 20797f6c5fd22da2a6bb3cb674424cc2f28ecfcd
https://github.com/zopefoundation/RestrictedPython/commit/20797f6c5fd22da2a6bb3cb674424cc2f28ecfcd
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M tox.ini
Log Message:
-----------
add a buildstep for docs in tox.ini
Commit: 50d7d212a4411b7399b78fe110d177f6207dd215
https://github.com/zopefoundation/RestrictedPython/commit/50d7d212a4411b7399b78fe110d177f6207dd215
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
add Python2 only Expression visit
Commit: 178facab378498432afbcdb6b9dcca64303fd0bc
https://github.com/zopefoundation/RestrictedPython/commit/178facab378498432afbcdb6b9dcca64303fd0bc
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Log Message:
-----------
fix merge problem
Commit: 5370e7841fd5d8b7e9a10c180fc189a32e6148cb
https://github.com/zopefoundation/RestrictedPython/commit/5370e7841fd5d8b7e9a10c180fc189a32e6148cb
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M tox.ini
Log Message:
-----------
add a buildstep for docs in tox.ini (#31)
Commit: 6023850ba5fc4c5118a6ce86e17117c7335c1d4c
https://github.com/zopefoundation/RestrictedPython/commit/6023850ba5fc4c5118a6ce86e17117c7335c1d4c
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
Log Message:
-----------
warnings
Commit: e5cae0a082a1a6ee52df322ca4d4849400991236
https://github.com/zopefoundation/RestrictedPython/commit/e5cae0a082a1a6ee52df322ca4d4849400991236
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M tox.ini
Log Message:
-----------
Add the old RestrictedPython 3 tests to coverage.
Commit: aaabe1c01a86c8ed734a459bc43a79a8422773f4
https://github.com/zopefoundation/RestrictedPython/commit/aaabe1c01a86c8ed734a459bc43a79a8422773f4
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Fix doc strings again.
Commit: 6f4ebc93aaac774cee1d3f395f763a3a7df8ad97
https://github.com/zopefoundation/RestrictedPython/commit/6f4ebc93aaac774cee1d3f395f763a3a7df8ad97
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/security_in_syntax27.py
M tests/test_transformer.py
Log Message:
-----------
Port bad name in dict and set comprehension.
Commit: ea7f250e6474118be406e536cdb65fb910a6db77
https://github.com/zopefoundation/RestrictedPython/commit/ea7f250e6474118be406e536cdb65fb910a6db77
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
R src/RestrictedPython/tests/security_in_syntax27.py
M src/RestrictedPython/tests/testRestrictions.py
M tests/test_transformer.py
Log Message:
-----------
Port compound with statement.
Commit: 0e845d29fb9b4df90ea265cce440e0c4b0472ff2
https://github.com/zopefoundation/RestrictedPython/commit/0e845d29fb9b4df90ea265cce440e0c4b0472ff2
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tests/test_compile.py
M tox.ini
Log Message:
-----------
fix invalid source code input and test it
Commit: 26fea5404459811a189e5f236c701443017de12f
https://github.com/zopefoundation/RestrictedPython/commit/26fea5404459811a189e5f236c701443017de12f
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Allow `assert` statements.
Commit: ad7c6871dd15c0aea7aaa99f52a509161a60f135
https://github.com/zopefoundation/RestrictedPython/commit/ad7c6871dd15c0aea7aaa99f52a509161a60f135
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Allow comparisons.
Commit: 9e1f1f404eaa42d6ce1143d75a0e6dccdc929a3b
https://github.com/zopefoundation/RestrictedPython/commit/9e1f1f404eaa42d6ce1143d75a0e6dccdc929a3b
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Allow control flow statements.
Commit: c370a973eda7480481353ace17b9ed2ca51c36bc
https://github.com/zopefoundation/RestrictedPython/commit/c370a973eda7480481353ace17b9ed2ca51c36bc
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
R src/RestrictedPython/tests/lambda.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
Remove ported test.
Commit: 4e46e19d41edec83745684c4bc1aeca663571fd0
https://github.com/zopefoundation/RestrictedPython/commit/4e46e19d41edec83745684c4bc1aeca663571fd0
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .coveragerc
Log Message:
-----------
Use higher precision to see if deleting tests might harm the coverage.
Commit: a0de603af8b75fe1334771e832dafeadfe94b953
https://github.com/zopefoundation/RestrictedPython/commit/a0de603af8b75fe1334771e832dafeadfe94b953
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/tests/testCompile.py
Log Message:
-----------
Fix comments: There is no ans will be no test_niceParse.py
Commit: ad85fb0038112a39d851ad369cd4bb5114989945
https://github.com/zopefoundation/RestrictedPython/commit/ad85fb0038112a39d851ad369cd4bb5114989945
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Log Message:
-----------
Merge branch 'Python3_update' into ast_doc_warnings
Commit: 5c90b8ca2eaf1a8625366a0bda9fd097ae9c27a5
https://github.com/zopefoundation/RestrictedPython/commit/5c90b8ca2eaf1a8625366a0bda9fd097ae9c27a5
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tests/test_compile.py
Log Message:
-----------
implement changes requested by icemac for pull #33
Commit: 1967210c17c59f0d20b765efefd10a8bd35a4014
https://github.com/zopefoundation/RestrictedPython/commit/1967210c17c59f0d20b765efefd10a8bd35a4014
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Log Message:
-----------
Merge branch 'ast_doc_warnings' of github.com:zopefoundation/RestrictedPython into ast_doc_warnings
Commit: b8a55a631bde0dd2e60a7668e32775a322bb17ab
https://github.com/zopefoundation/RestrictedPython/commit/b8a55a631bde0dd2e60a7668e32775a322bb17ab
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .coveragerc
R src/RestrictedPython/tests/lambda.py
R src/RestrictedPython/tests/security_in_syntax27.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testRestrictions.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
M tox.ini
Log Message:
-----------
Merge pull request #34 from zopefoundation/port-tests
Port tests + allow more ast node types.
Commit: 117c249fce6148f4589a2b4fc9866a03eacbeec8
https://github.com/zopefoundation/RestrictedPython/commit/117c249fce6148f4589a2b4fc9866a03eacbeec8
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M .coveragerc
R src/RestrictedPython/tests/lambda.py
R src/RestrictedPython/tests/security_in_syntax27.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testRestrictions.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
M tox.ini
Log Message:
-----------
Merge branch 'Python3_update' into ast_doc_warnings
Commit: 5637f48a6fe3a6b3add66160f7dbd9c402a18f7f
https://github.com/zopefoundation/RestrictedPython/commit/5637f48a6fe3a6b3add66160f7dbd9c402a18f7f
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tests/test_compile.py
M tox.ini
Log Message:
-----------
Merge pull request #33 from zopefoundation/ast_doc_warnings
Ast doc warnings + source code type check
Commit: d5c87872a8be37aeb3454f8e4db1c60da76ca0f8
https://github.com/zopefoundation/RestrictedPython/commit/d5c87872a8be37aeb3454f8e4db1c60da76ca0f8
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-03 (Fri, 03 Feb 2017)
Changed paths:
R CHANGES.rst
A README.rst
R README.txt
A docs/CHANGES.rst
A docs/contributing/index.rst
M docs/index.rst
A docs/install/index.rst
A docs/roadmap/index.rst
A docs/usage/api.rst
A docs/usage/basic_usage.rst
A docs/usage/framework_usage.rst
M docs/usage/index.rst
M setup.py
Log Message:
-----------
more docs
Commit: 7e5ca7a04afb791fc1cad092b10cbf060e762fd5
https://github.com/zopefoundation/RestrictedPython/commit/7e5ca7a04afb791fc1cad092b10cbf060e762fd5
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/__init__.py
M tests/test_compile.py
M tests/test_transformer.py
Log Message:
-----------
Allow more ast nodes. (#35)
* Test `generic_visit`.
* Allow all base datatypes.
* Deny Ellipsis - I see no reason to allow it, sorry.
* Testing Expression node and compile_restricted_eval.
Commit: 66d99539540d233b9f079edb4286f38b9f4c06c5
https://github.com/zopefoundation/RestrictedPython/commit/66d99539540d233b9f079edb4286f38b9f4c06c5
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M docs/upgrade/ast/python2_6.ast
M docs/upgrade/ast/python2_7.ast
M docs/upgrade/ast/python3_0.ast
M docs/upgrade/ast/python3_1.ast
M docs/upgrade/ast/python3_2.ast
M docs/upgrade/ast/python3_3.ast
M docs/upgrade/ast/python3_4.ast
M docs/upgrade/ast/python3_5.ast
M docs/upgrade/ast/python3_6.ast
Log Message:
-----------
well format ast for comparision
Commit: 99080ebcd1943883be5ff92a667e4001c798b0df
https://github.com/zopefoundation/RestrictedPython/commit/99080ebcd1943883be5ff92a667e4001c798b0df
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M docs/contributing/index.rst
M docs/roadmap/index.rst
Log Message:
-----------
roadmap and who to contribut started
Commit: 8e16a631f7913e42d2b7c8136a58b1e66dd0b58d
https://github.com/zopefoundation/RestrictedPython/commit/8e16a631f7913e42d2b7c8136a58b1e66dd0b58d
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M tests/__init__.py
M tests/test_compile.py
M tests/test_print_stmt.py
M tests/test_transformer.py
Log Message:
-----------
Use more sane mark names.
`compile` was a stupid one as there is a builtin with this name and it did not show that exec mode was used.
Commit: ffc4edcf36cbbe077e3c85386b027c9838741197
https://github.com/zopefoundation/RestrictedPython/commit/ffc4edcf36cbbe077e3c85386b027c9838741197
Author: Michael Howitz <mh at gocept.com>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Use the new pytest marks to save some lines of code.
Commit: a06f0dd405587e010f1e9c61de5f3f1db2a838fb
https://github.com/zopefoundation/RestrictedPython/commit/a06f0dd405587e010f1e9c61de5f3f1db2a838fb
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
R CHANGES.rst
A README.rst
R README.txt
A docs/CHANGES.rst
A docs/contributing/index.rst
M docs/index.rst
A docs/install/index.rst
A docs/roadmap/index.rst
A docs/usage/api.rst
A docs/usage/basic_usage.rst
A docs/usage/framework_usage.rst
M docs/usage/index.rst
M setup.py
Log Message:
-----------
more docs
Commit: 26e5ed0c2d5d46d939cffb64024f8e71992ce471
https://github.com/zopefoundation/RestrictedPython/commit/26e5ed0c2d5d46d939cffb64024f8e71992ce471
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M docs/upgrade/ast/python2_6.ast
M docs/upgrade/ast/python2_7.ast
M docs/upgrade/ast/python3_0.ast
M docs/upgrade/ast/python3_1.ast
M docs/upgrade/ast/python3_2.ast
M docs/upgrade/ast/python3_3.ast
M docs/upgrade/ast/python3_4.ast
M docs/upgrade/ast/python3_5.ast
M docs/upgrade/ast/python3_6.ast
Log Message:
-----------
well format ast for comparision
Commit: 4888ce92f45e6baa31cedcc53a548aeef637f7a1
https://github.com/zopefoundation/RestrictedPython/commit/4888ce92f45e6baa31cedcc53a548aeef637f7a1
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M docs/contributing/index.rst
M docs/roadmap/index.rst
Log Message:
-----------
roadmap and who to contribut started
Commit: 453962aaba954cea3addc04ae4a3603daeee0c09
https://github.com/zopefoundation/RestrictedPython/commit/453962aaba954cea3addc04ae4a3603daeee0c09
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Log Message:
-----------
Merge branch 'more_docs' of github.com:zopefoundation/RestrictedPython into more_docs
Commit: 0bfa2e2e4a8b6161bfa0f7551ea83fdb07069e61
https://github.com/zopefoundation/RestrictedPython/commit/0bfa2e2e4a8b6161bfa0f7551ea83fdb07069e61
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M tests/__init__.py
M tests/test_compile.py
M tests/test_print_stmt.py
M tests/test_transformer.py
Log Message:
-----------
Merge pull request #38 from zopefoundation/clean-up-marks2
Clean up pytest marks
Commit: 1e402f7ea2acff1a801dc109bcb0a433e2b17d95
https://github.com/zopefoundation/RestrictedPython/commit/1e402f7ea2acff1a801dc109bcb0a433e2b17d95
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
M tests/__init__.py
M tests/test_compile.py
M tests/test_print_stmt.py
M tests/test_transformer.py
Log Message:
-----------
Merge branch 'Python3_update' into more_docs
Commit: edd5682f5b299f16cd72285af8d7c0a5c8e74ab8
https://github.com/zopefoundation/RestrictedPython/commit/edd5682f5b299f16cd72285af8d7c0a5c8e74ab8
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-04 (Sat, 04 Feb 2017)
Changed paths:
R docs/update_notes.rst
M docs/usage/index.rst
A docs/usage/policy.rst
Log Message:
-----------
more docs consolidation
Commit: e2f7b0a928a56fcae72bf6c975a0c0ab5d889b84
https://github.com/zopefoundation/RestrictedPython/commit/e2f7b0a928a56fcae72bf6c975a0c0ab5d889b84
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
Changed paths:
M tests/test_compile.py
Log Message:
-----------
check more invalid inputs
Commit: 63ea00bf57e29aa595645245eb715984b25b3073
https://github.com/zopefoundation/RestrictedPython/commit/63ea00bf57e29aa595645245eb715984b25b3073
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
allow Not Statement in RestrictedPython, needed in AccesControll
Commit: ddda664042be032d36d0585f1736debcc3903974
https://github.com/zopefoundation/RestrictedPython/commit/ddda664042be032d36d0585f1736debcc3903974
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)
Changed paths:
A tests/test_limits.py
Log Message:
-----------
add tests for Limits
Commit: 980e603583ee1fa2e9a1c570b529d7a262a3990f
https://github.com/zopefoundation/RestrictedPython/commit/980e603583ee1fa2e9a1c570b529d7a262a3990f
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)
Changed paths:
R src/RestrictedPython/tests/testUtiliities.py
Log Message:
-----------
tests in testUtilities btest have already been moved to test_utilities
Commit: f93693c212dd47b88a4c228f03348ff8b7061f58
https://github.com/zopefoundation/RestrictedPython/commit/f93693c212dd47b88a4c228f03348ff8b7061f58
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-07 (Tue, 07 Feb 2017)
Changed paths:
A tests/builtins/test_limits.py
A tests/builtins/test_utilities.py
M tests/test_compile.py
R tests/test_limits.py
M tests/test_print_stmt.py
R tests/test_transformer.py
R tests/test_utilities.py
A tests/transformer/test_transformer.py
Log Message:
-----------
restructuring tests folder layout and imports for pytest
Commit: 7736ab128acd50734881b003c845f63b96f8b61a
https://github.com/zopefoundation/RestrictedPython/commit/7736ab128acd50734881b003c845f63b96f8b61a
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-07 (Tue, 07 Feb 2017)
Changed paths:
M src/RestrictedPython/compile.py
Log Message:
-----------
correct params for compile_restricted_function according to old API
Commit: 2877cc0571c50ef113e9c238a59afdd3ff5877cf
https://github.com/zopefoundation/RestrictedPython/commit/2877cc0571c50ef113e9c238a59afdd3ff5877cf
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-08 (Wed, 08 Feb 2017)
Changed paths:
M .coveragerc
R pytest.ini
M setup.cfg
M setup.py
M tox.ini
Log Message:
-----------
consolidate configs
Commit: e048d09db0b1236b91be442b55d7d81828a0394c
https://github.com/zopefoundation/RestrictedPython/commit/e048d09db0b1236b91be442b55d7d81828a0394c
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-08 (Wed, 08 Feb 2017)
Changed paths:
M .gitignore
Log Message:
-----------
add .eggs/ to git ignore list
Commit: e664e1d6794fc8f97833c99c2b94da65f906cf23
https://github.com/zopefoundation/RestrictedPython/commit/e664e1d6794fc8f97833c99c2b94da65f906cf23
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-09 (Thu, 09 Feb 2017)
Changed paths:
M docs/conf.py
Log Message:
-----------
correct Copyright sentance
Commit: 1aa3e308d3dfaff38d09620018c63d60cb61b992
https://github.com/zopefoundation/RestrictedPython/commit/1aa3e308d3dfaff38d09620018c63d60cb61b992
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-21 (Tue, 21 Feb 2017)
Changed paths:
M README.rst
M docs/conf.py
M docs/contributing/index.rst
M docs/roadmap/index.rst
M docs/usage/basic_usage.rst
M docs/usage/framework_usage.rst
M docs/usage/policy.rst
M setup.py
M tox.ini
Log Message:
-----------
apply requested changes on docs
Commit: 3f56aca0b6eb1aa9b823ab33451ce38e89d39abf
https://github.com/zopefoundation/RestrictedPython/commit/3f56aca0b6eb1aa9b823ab33451ce38e89d39abf
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-21 (Tue, 21 Feb 2017)
Changed paths:
M docs/usage/basic_usage.rst
M docs/usage/policy.rst
Log Message:
-----------
more doc und doctests fixtures
Commit: d1ef607a3e4c434b2d926b19b506751372109f52
https://github.com/zopefoundation/RestrictedPython/commit/d1ef607a3e4c434b2d926b19b506751372109f52
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-21 (Tue, 21 Feb 2017)
Changed paths:
M docs/conf.py
M docs/contributing/index.rst
M docs/usage/basic_usage.rst
M docs/usage/framework_usage.rst
Log Message:
-----------
rework doctests in documentation to use .. testcode:: instead of .. doctest::
Commit: f5910e7c84315ca3df7508ea0b750a57b0c19e76
https://github.com/zopefoundation/RestrictedPython/commit/f5910e7c84315ca3df7508ea0b750a57b0c19e76
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-21 (Tue, 21 Feb 2017)
Changed paths:
M docs/usage/basic_usage.rst
M docs/usage/framework_usage.rst
Log Message:
-----------
some cleanup for readabitlity of docs
Commit: 77882634f856f38eadfcc506120cbe2c5f71e950
https://github.com/zopefoundation/RestrictedPython/commit/77882634f856f38eadfcc506120cbe2c5f71e950
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-21 (Tue, 21 Feb 2017)
Changed paths:
M docs/usage/basic_usage.rst
M docs/usage/framework_usage.rst
Log Message:
-----------
better testcode grouping
Commit: c99a908b784954d7edaf09fbada5a9bb170e5972
https://github.com/zopefoundation/RestrictedPython/commit/c99a908b784954d7edaf09fbada5a9bb170e5972
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths:
M .gitignore
M tox.ini
Log Message:
-----------
pytest-html included
Commit: 0ba212f23c96553c1ce585648dcf31b534b1c723
https://github.com/zopefoundation/RestrictedPython/commit/0ba212f23c96553c1ce585648dcf31b534b1c723
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M setup.py
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
Log Message:
-----------
changed to match review and enhancement requests
Commit: 2c07317675eb7c696cd241e6fc448e1d15a7a61f
https://github.com/zopefoundation/RestrictedPython/commit/2c07317675eb7c696cd241e6fc448e1d15a7a61f
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-03-02 (Thu, 02 Mar 2017)
Changed paths:
M docs/usage/basic_usage.rst
M docs/usage/framework_usage.rst
M docs/usage/policy.rst
Log Message:
-----------
apply requested changes by @icemac
Commit: 93d634baf6f5bf5bfff0a024bf03315e77045974
https://github.com/zopefoundation/RestrictedPython/commit/93d634baf6f5bf5bfff0a024bf03315e77045974
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-03-02 (Thu, 02 Mar 2017)
Changed paths:
M docs/conf.py
M docs/roadmap/index.rst
Log Message:
-----------
more todos and inclding @stephan-hof comment on compile params flags and dont_inherit
Commit: d25914921a7f4c8992a026d59d324eef38e4df84
https://github.com/zopefoundation/RestrictedPython/commit/d25914921a7f4c8992a026d59d324eef38e4df84
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-03-02 (Thu, 02 Mar 2017)
Changed paths:
M docs/conf.py
M docs/roadmap/index.rst
Log Message:
-----------
add autodoc to roadmap
Commit: 69d7878f2b122bc7b72771c75b60a6a8146af326
https://github.com/zopefoundation/RestrictedPython/commit/69d7878f2b122bc7b72771c75b60a6a8146af326
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-03-03 (Fri, 03 Mar 2017)
Changed paths:
M docs/usage/api.rst
M docs/usage/index.rst
Log Message:
-----------
start using api doc styles
Commit: 70eca198819fd7ffa347202cf5e1e7709810827f
https://github.com/zopefoundation/RestrictedPython/commit/70eca198819fd7ffa347202cf5e1e7709810827f
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-03-03 (Fri, 03 Mar 2017)
Changed paths:
M .coveragerc
M .gitignore
M docs/conf.py
R pytest.ini
M setup.cfg
M setup.py
M src/RestrictedPython/compile.py
R src/RestrictedPython/tests/testUtiliities.py
M src/RestrictedPython/transformer.py
A tests/builtins/test_limits.py
A tests/builtins/test_utilities.py
M tests/test_compile.py
M tests/test_print_stmt.py
R tests/test_transformer.py
R tests/test_utilities.py
A tests/transformer/test_transformer.py
M tox.ini
Log Message:
-----------
Merge pull request #39 from zopefoundation/compile_tests
Compile tests of invalid options
Commit: 7afde5a70934ee245c70f058e3ec0f673a042210
https://github.com/zopefoundation/RestrictedPython/commit/7afde5a70934ee245c70f058e3ec0f673a042210
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-03-03 (Fri, 03 Mar 2017)
Changed paths:
M .coveragerc
M .gitignore
M docs/conf.py
R pytest.ini
M setup.cfg
M setup.py
M src/RestrictedPython/compile.py
R src/RestrictedPython/tests/testUtiliities.py
M src/RestrictedPython/transformer.py
A tests/builtins/test_limits.py
A tests/builtins/test_utilities.py
M tests/test_compile.py
M tests/test_print_stmt.py
R tests/test_transformer.py
R tests/test_utilities.py
A tests/transformer/test_transformer.py
M tox.ini
Log Message:
-----------
Merge branch 'Python3_update' into more_docs
Commit: 1cad49729423826e7e5cc625809a3b3a419afb8a
https://github.com/zopefoundation/RestrictedPython/commit/1cad49729423826e7e5cc625809a3b3a419afb8a
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-03-03 (Fri, 03 Mar 2017)
Changed paths:
R CHANGES.rst
A README.rst
R README.txt
A docs/CHANGES.rst
M docs/conf.py
A docs/contributing/index.rst
M docs/index.rst
A docs/install/index.rst
A docs/roadmap/index.rst
R docs/update_notes.rst
M docs/upgrade/ast/python2_6.ast
M docs/upgrade/ast/python2_7.ast
M docs/upgrade/ast/python3_0.ast
M docs/upgrade/ast/python3_1.ast
M docs/upgrade/ast/python3_2.ast
M docs/upgrade/ast/python3_3.ast
M docs/upgrade/ast/python3_4.ast
M docs/upgrade/ast/python3_5.ast
M docs/upgrade/ast/python3_6.ast
A docs/usage/api.rst
A docs/usage/basic_usage.rst
A docs/usage/framework_usage.rst
M docs/usage/index.rst
A docs/usage/policy.rst
M setup.py
M tox.ini
Log Message:
-----------
Merge pull request #37 from zopefoundation/more_docs
More docs
Commit: f5258984a4b849f4e05eb4e58d6bef1bc4d0c318
https://github.com/zopefoundation/RestrictedPython/commit/f5258984a4b849f4e05eb4e58d6bef1bc4d0c318
Author: stephan-hof <sh at axiros.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_compile.py
M tests/transformer/test_transformer.py
Log Message:
-----------
'RestrictingNodeTransformer' reports now the used names.
Commit: 9ab2d69f9411bca8de17730cdcd2240c9320699b
https://github.com/zopefoundation/RestrictedPython/commit/9ab2d69f9411bca8de17730cdcd2240c9320699b
Author: stephan-hof <sh at axiros.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/Eval.py
Log Message:
-----------
Use the ast module to get all the used names.
This gets rid of the dependency to know how the bytecode looks like.
Commit: 95fcf825a3c064bce619d1912c5895776c72e854
https://github.com/zopefoundation/RestrictedPython/commit/95fcf825a3c064bce619d1912c5895776c72e854
Author: stephan-hof <sh at axiros.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/Eval.py
Log Message:
-----------
Remove not needed code.
I guess this particular code was used at the early days of restricted
python. To see the speed penaltiy. However I cannot see how this can be
utilized by other libraries.
Commit: 1f20bcf21e7b23ac0f1f18b9366f4cc0aa933fe5
https://github.com/zopefoundation/RestrictedPython/commit/1f20bcf21e7b23ac0f1f18b9366f4cc0aa933fe5
Author: stephan-hof <sh at axiros.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/Eval.py
Log Message:
-----------
Port maketrans to python3 and remove other usages of the string module.
Commit: 2d0c4423d959bb3709cfb2460becb77f6e588bb4
https://github.com/zopefoundation/RestrictedPython/commit/2d0c4423d959bb3709cfb2460becb77f6e588bb4
Author: stephan-hof <sh at axiros.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/Eval.py
Log Message:
-----------
Refactor 'eval'.
* Using `keys` is not modern anymore.
* Using `has_key` is not modern anymore.
* Proper variable names
* Comments in the same line is not very pep8.
Commit: e5817ac147f93259f6f684cbeb1f5d298522e03d
https://github.com/zopefoundation/RestrictedPython/commit/e5817ac147f93259f6f684cbeb1f5d298522e03d
Author: stephan-hof <sh at axiros.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/Eval.py
Log Message:
-----------
Use 'compile_restricted_eval' from compile.py
Commit: 6fcc3999f913dc3cc0647413049b3946377946af
https://github.com/zopefoundation/RestrictedPython/commit/6fcc3999f913dc3cc0647413049b3946377946af
Author: stephan-hof <sh at axiros.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/tests/testRestrictions.py
A tests/test_eval.py
Log Message:
-----------
Move the tests for 'Eval.py' to the new tests.
Commit: 2f572d29971c29af07697348143531c80ce40875
https://github.com/zopefoundation/RestrictedPython/commit/2f572d29971c29af07697348143531c80ce40875
Author: stephan-hof <sh at axiros.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/Eval.py
M tests/test_eval.py
Log Message:
-----------
Make isort and flake8 happy.
Commit: 14ee5ed218b9a5cdf7b7b01a1b3b86ae99087cdd
https://github.com/zopefoundation/RestrictedPython/commit/14ee5ed218b9a5cdf7b7b01a1b3b86ae99087cdd
Author: stephan-hof <stephan-hof at users.noreply.github.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M src/RestrictedPython/Eval.py
M src/RestrictedPython/tests/testRestrictions.py
M src/RestrictedPython/transformer.py
M tests/test_compile.py
A tests/test_eval.py
M tests/transformer/test_transformer.py
Log Message:
-----------
Merge pull request #43 from zopefoundation/port-eval-py
Port eval py
Commit: 155ab980b5aafcc09cc240c8cf29486557f4f04b
https://github.com/zopefoundation/RestrictedPython/commit/155ab980b5aafcc09cc240c8cf29486557f4f04b
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-14 (Tue, 14 Mar 2017)
Changed paths:
M src/RestrictedPython/Limits.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/SelectCompiler.py
R src/RestrictedPython/test_helper.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
Undo the changes in the old code to make sure we have the original one from master.
I kept the PEP-8 and isort changes to keep tox happy.
Commit: 7a6a6572c44fa73e5ce90706eeb5ef74bb3cf82f
https://github.com/zopefoundation/RestrictedPython/commit/7a6a6572c44fa73e5ce90706eeb5ef74bb3cf82f
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-14 (Tue, 14 Mar 2017)
Changed paths:
M src/RestrictedPython/Guards.py
Log Message:
-----------
Fix the Python-3 variant which was not equivalent to the Python-2 one.
safetype(type(ob)) will raise a TypeError if `safetype` is the `keys` method
of the dict.
Commit: 32b867b264766b5e7376abe12a44f69fd44424af
https://github.com/zopefoundation/RestrictedPython/commit/32b867b264766b5e7376abe12a44f69fd44424af
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-14 (Tue, 14 Mar 2017)
Changed paths:
M src/RestrictedPython/Utilities.py
M tests/builtins/test_utilities.py
Log Message:
-----------
Allow `sets` again.
This is for backwards compatibility with existing code which might use sets.
Commit: 30237aa67c09ef7013108d1e056094fad571ae3a
https://github.com/zopefoundation/RestrictedPython/commit/30237aa67c09ef7013108d1e056094fad571ae3a
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-14 (Tue, 14 Mar 2017)
Changed paths:
M tests/builtins/test_limits.py
Log Message:
-----------
Fix import errors.
Commit: e0961a8a33ba5ff24f6063224e47f484ad8dbc00
https://github.com/zopefoundation/RestrictedPython/commit/e0961a8a33ba5ff24f6063224e47f484ad8dbc00
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-15 (Wed, 15 Mar 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
Clean up code:
* remove commented out parts
* remove no longer used method
Commit: 5ba1fed2b755026938ad0321d465516aa832cbf2
https://github.com/zopefoundation/RestrictedPython/commit/5ba1fed2b755026938ad0321d465516aa832cbf2
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-27 (Mon, 27 Mar 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
Merge branch 'Python3_update' into re-add-sets
Commit: d03645beec22218da1813ef62ab18866b35c13ad
https://github.com/zopefoundation/RestrictedPython/commit/d03645beec22218da1813ef62ab18866b35c13ad
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-27 (Mon, 27 Mar 2017)
Changed paths:
M src/RestrictedPython/Guards.py
Log Message:
-----------
Fix as suggested by @stephan-hof.
Commit: 310bd32c0682557bf33f2122c2455335f97910cd
https://github.com/zopefoundation/RestrictedPython/commit/310bd32c0682557bf33f2122c2455335f97910cd
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-27 (Mon, 27 Mar 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
Merge branch 'Python3_update' into fix-full-write-guard
Commit: d83e527e0424470c3480f779e10f1995eb40407b
https://github.com/zopefoundation/RestrictedPython/commit/d83e527e0424470c3480f779e10f1995eb40407b
Author: Michael Howitz <mh at gocept.com>
Date: 2017-03-27 (Mon, 27 Mar 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/tests/testRestrictions.py
Log Message:
-----------
Merge branch 'Python3_update' into undo-changes-in-PR3
Commit: d2958750f7820db411d306577eaad8744310817d
https://github.com/zopefoundation/RestrictedPython/commit/d2958750f7820db411d306577eaad8744310817d
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-03-27 (Mon, 27 Mar 2017)
Changed paths:
M src/RestrictedPython/Utilities.py
M tests/builtins/test_utilities.py
Log Message:
-----------
Merge pull request #48 from zopefoundation/re-add-sets
Allow `sets` again.
Commit: d6c641da7b1086ee9bc28ea9517e163ee66af728
https://github.com/zopefoundation/RestrictedPython/commit/d6c641da7b1086ee9bc28ea9517e163ee66af728
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-03-27 (Mon, 27 Mar 2017)
Changed paths:
M src/RestrictedPython/Utilities.py
M tests/builtins/test_utilities.py
Log Message:
-----------
Merge branch 'Python3_update' into undo-changes-in-PR3
Commit: a3e9051761efd30e8ea946bbff2dc6d084f3e0bd
https://github.com/zopefoundation/RestrictedPython/commit/a3e9051761efd30e8ea946bbff2dc6d084f3e0bd
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-03-27 (Mon, 27 Mar 2017)
Changed paths:
M src/RestrictedPython/Limits.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/SelectCompiler.py
R src/RestrictedPython/test_helper.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testRestrictions.py
M tests/builtins/test_limits.py
Log Message:
-----------
Merge pull request #45 from zopefoundation/undo-changes-in-PR3
Undo the changes in the old code
Commit: 1593aca028bf469f052ce0a1ca65bddae210f612
https://github.com/zopefoundation/RestrictedPython/commit/1593aca028bf469f052ce0a1ca65bddae210f612
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-03-27 (Mon, 27 Mar 2017)
Changed paths:
M src/RestrictedPython/Limits.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/Utilities.py
R src/RestrictedPython/test_helper.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testRestrictions.py
M tests/builtins/test_limits.py
M tests/builtins/test_utilities.py
Log Message:
-----------
Merge branch 'Python3_update' into fix-full-write-guard
Commit: b627d8c779328e742328c1f6ce3e7870e85debb9
https://github.com/zopefoundation/RestrictedPython/commit/b627d8c779328e742328c1f6ce3e7870e85debb9
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-03-28 (Tue, 28 Mar 2017)
Changed paths:
M src/RestrictedPython/Guards.py
Log Message:
-----------
Merge pull request #46 from zopefoundation/fix-full-write-guard
Fix the Python-3 variant which was not equivalent to the Python-2 one.
Commit: dfe3ea4e1233b1a130d24b424bf7fafe31ff410d
https://github.com/zopefoundation/RestrictedPython/commit/dfe3ea4e1233b1a130d24b424bf7fafe31ff410d
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-05-02 (Tue, 02 May 2017)
Changed paths:
M .travis.yml
M src/RestrictedPython/transformer.py
A tests/transformer/operators/test_arithmetic_operators.py
A tests/transformer/operators/test_bit_wise_operators.py
A tests/transformer/operators/test_bool_operators.py
A tests/transformer/operators/test_comparison_operators.py
A tests/transformer/operators/test_identity_operators.py
A tests/transformer/operators/test_logical_operators.py
A tests/transformer/operators/test_unary_operators.py
A tests/transformer/test_async.py
A tests/transformer/test_base_types.py
A tests/transformer/test_global_local.py
M tests/transformer/test_transformer.py
A tests/transformer/test_yield.py
M tox.ini
Log Message:
-----------
More unit tests for higher code coverage and understanding (#50)
Commit: 5e1dbaaf86ea8403af6d5706b2633c80c0de1fdb
https://github.com/zopefoundation/RestrictedPython/commit/5e1dbaaf86ea8403af6d5706b2633c80c0de1fdb
Author: Robert Buchholz <rbu at goodpoint.de>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/RestrictedPython/Guards.py
Log Message:
-----------
Do not attempt to import builtins on Python 2.7
There's a backport this package part of `future` which provides other
builtins (and breaks tests if it's installed).
Commit: ebd7d06c859e9e007c6d5f231877e1b922655fed
https://github.com/zopefoundation/RestrictedPython/commit/ebd7d06c859e9e007c6d5f231877e1b922655fed
Author: zlohhcuB treboR <robert.buchholz at goodpoint.de>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/RestrictedPython/Guards.py
Log Message:
-----------
Merge pull request #52 from zopefoundation/do-not-use-builtins-on-py2
Do not attempt to import builtins on Python 2.7
Commit: 4d1b2a2fbeba660d5f6cfc7dfd1412c214200469
https://github.com/zopefoundation/RestrictedPython/commit/4d1b2a2fbeba660d5f6cfc7dfd1412c214200469
Author: rekcäH nitraM <spamfaenger at gmx.de>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
A tests/transformer/test_slice.py
A tests/transformer/test_subscript.py
M tests/transformer/test_transformer.py
Log Message:
-----------
Slices (#51)
* base for slice tests
Commit: a1772d69c684c5477225fe3eddc9121d4e4e5fee
https://github.com/zopefoundation/RestrictedPython/commit/a1772d69c684c5477225fe3eddc9121d4e4e5fee
Author: Steffen Allner <sa at gocept.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M tests/builtins/test_utilities.py
A tests/test_Guards.py
M tests/transformer/test_async.py
Log Message:
-----------
Add `slice()` to safe_builtins.
RestrictedPython expects it to be present in RestrictedPython.transformer.RestrictingNodeTransformer.transform_slice().
Commit: 7eac3584ce1b14ee80423598cd708d2131432b15
https://github.com/zopefoundation/RestrictedPython/commit/7eac3584ce1b14ee80423598cd708d2131432b15
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/RestrictedPython/Guards.py
A tests/transformer/test_slice.py
A tests/transformer/test_subscript.py
M tests/transformer/test_transformer.py
Log Message:
-----------
Merge branch 'Python3_update' into slice_as_safe_builtin
Commit: 2037b76ec82a4d7787286f03569db59a824f863c
https://github.com/zopefoundation/RestrictedPython/commit/2037b76ec82a4d7787286f03569db59a824f863c
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M tests/builtins/test_utilities.py
A tests/test_Guards.py
M tests/transformer/test_async.py
Log Message:
-----------
Merge pull request #53 from zopefoundation/slice_as_safe_builtin
Add `slice()` to safe_builtins.
Commit: d9cc70a3eed6d4a7b5273ed1ded8adc5e4b72a8a
https://github.com/zopefoundation/RestrictedPython/commit/d9cc70a3eed6d4a7b5273ed1ded8adc5e4b72a8a
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M tests/transformer/test_slice.py
Log Message:
-----------
fix some spelling and conventions
Commit: e14f9041122f77207d5626fdf50928a96a1fb6b3
https://github.com/zopefoundation/RestrictedPython/commit/e14f9041122f77207d5626fdf50928a96a1fb6b3
Author: Michael Howitz <mh at gocept.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M tests/test_Guards.py
Log Message:
-----------
Allow to create new classes with `safe_builtins` activated.
Commit: 2cdce8dc0f536e681e710589fa14a20665df4391
https://github.com/zopefoundation/RestrictedPython/commit/2cdce8dc0f536e681e710589fa14a20665df4391
Author: Steffen Allner <sa at gocept.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M tests/transformer/test_transformer.py
Log Message:
-----------
Refactor to improve readability.
Commit: 5c8a31944b3d33ea6c593043706824e724469852
https://github.com/zopefoundation/RestrictedPython/commit/5c8a31944b3d33ea6c593043706824e724469852
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M tests/transformer/test_slice.py
Log Message:
-----------
Merge pull request #55 from zopefoundation/slice_fixes
fix some spelling and conventions
Commit: 9d602d89dab633198baa6b3f5aa2f10f4a10aa71
https://github.com/zopefoundation/RestrictedPython/commit/9d602d89dab633198baa6b3f5aa2f10f4a10aa71
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M tests/transformer/test_slice.py
Log Message:
-----------
Merge branch 'Python3_update' into py3-allow-class
Commit: 946e3795380a254a9ddcea563db792ddbb2a1245
https://github.com/zopefoundation/RestrictedPython/commit/946e3795380a254a9ddcea563db792ddbb2a1245
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M tests/test_Guards.py
Log Message:
-----------
Merge pull request #56 from zopefoundation/py3-allow-class
Allow to create new classes with `safe_builtins` activated.
Commit: c183fa3c83c2590b663056b4b77d46d81975f30d
https://github.com/zopefoundation/RestrictedPython/commit/c183fa3c83c2590b663056b4b77d46d81975f30d
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M src/RestrictedPython/MutatingWalker.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/tests/verify.py
Log Message:
-----------
add PendingDeprecationWarnings
Commit: ffc46aa0ff0ecab5f6188f7aa65f34b0696be165
https://github.com/zopefoundation/RestrictedPython/commit/ffc46aa0ff0ecab5f6188f7aa65f34b0696be165
Author: Steffen Allner <sa at gocept.com>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M src/RestrictedPython/Guards.py
M tests/test_Guards.py
M tests/transformer/test_slice.py
Log Message:
-----------
Merge remote-tracking branch 'origin/Python3_update' into class_definitions
Commit: 4942f24a32759c5bf5b762d64085018ce6b7fca9
https://github.com/zopefoundation/RestrictedPython/commit/4942f24a32759c5bf5b762d64085018ce6b7fca9
Author: Alexander Loechel <Alexander.Loechel at lmu.de>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M src/RestrictedPython/__init__.py
Log Message:
-----------
Public API --> RestrictionCapableEval added after resolved problem of circular imports
Commit: a3cc1ad3278d499a926ede23c7541131d42aa14c
https://github.com/zopefoundation/RestrictedPython/commit/a3cc1ad3278d499a926ede23c7541131d42aa14c
Author: Steffen Allner <sa at gocept.com>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M docs/usage/basic_usage.rst
Log Message:
-----------
Add documentation on necessary setup in case AccessControl is not used.
Commit: 4f606065304704ee9e89e3f5389e8e7df096d920
https://github.com/zopefoundation/RestrictedPython/commit/4f606065304704ee9e89e3f5389e8e7df096d920
Author: Steffen Allner <sa at gocept.com>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M docs/usage/basic_usage.rst
M src/RestrictedPython/transformer.py
M tests/__init__.py
M tests/test_Guards.py
M tests/test_print_function.py
M tests/transformer/test_transformer.py
Log Message:
-----------
Allow class definitions and support decorators, bases and global __metaclass__.
Commit: d4a939dd928138f47b0b6ceab91bf98485d8fcd1
https://github.com/zopefoundation/RestrictedPython/commit/d4a939dd928138f47b0b6ceab91bf98485d8fcd1
Author: rekcäH nitraM <spamfaenger at gmx.de>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M src/RestrictedPython/MutatingWalker.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/tests/verify.py
Log Message:
-----------
Merge pull request #58 from zopefoundation/DepricationWarnings
add PendingDeprecationWarnings to all old Implementation Modules
Commit: 6ce4c5ab7b80687fa1f4eada7c826870db4cf3bc
https://github.com/zopefoundation/RestrictedPython/commit/6ce4c5ab7b80687fa1f4eada7c826870db4cf3bc
Author: Steffen Allner <sa at gocept.com>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M src/RestrictedPython/MutatingWalker.py
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/tests/verify.py
Log Message:
-----------
Merge branch 'Python3_update' into class_definitions
Commit: f84396747441e0d58654f06e65393abb55ea7e4e
https://github.com/zopefoundation/RestrictedPython/commit/f84396747441e0d58654f06e65393abb55ea7e4e
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M docs/usage/basic_usage.rst
M src/RestrictedPython/transformer.py
M tests/__init__.py
M tests/test_Guards.py
M tests/test_print_function.py
M tests/transformer/test_transformer.py
Log Message:
-----------
Merge pull request #59 from zopefoundation/class_definitions
Enable default metaclass.
Commit: 7870aa21c8e022aa726cfb14cce2247140bc7309
https://github.com/zopefoundation/RestrictedPython/commit/7870aa21c8e022aa726cfb14cce2247140bc7309
Author: Michael Howitz <mh at gocept.com>
Date: 2017-05-05 (Fri, 05 May 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/transformer/test_transformer.py
Log Message:
-----------
Deleting an attribute has to be guarded, too.
Commit: e4754d5d5eb53af6042daa83ee13d0b880901a73
https://github.com/zopefoundation/RestrictedPython/commit/e4754d5d5eb53af6042daa83ee13d0b880901a73
Author: Michael Howitz <mh at gocept.com>
Date: 2017-05-05 (Fri, 05 May 2017)
Changed paths:
M docs/CHANGES.rst
Log Message:
-----------
Merge branch 'master' into Python3_update
# Conflicts:
# .gitignore
# .travis.yml
# docs/CHANGES.rst
# setup.py
Commit: 3390db505210d704db33f9dd8b58af277a39e04b
https://github.com/zopefoundation/RestrictedPython/commit/3390db505210d704db33f9dd8b58af277a39e04b
Author: Alexander Loechel <loechel at users.noreply.github.com>
Date: 2017-05-05 (Fri, 05 May 2017)
Changed paths:
M .coveragerc
M setup.cfg
M src/RestrictedPython/RCompile.py
M src/RestrictedPython/__init__.py
M src/RestrictedPython/compile.py
M src/RestrictedPython/transformer.py
M tests/__init__.py
M tests/test_compile.py
A tests/test_compile_restricted_function.py
M tests/test_print_stmt.py
M tox.ini
Log Message:
-----------
Implement compile_restricted_function (#57)
+ run doctest on source code
Commit: 314eb039b20042bf68396dd21524a53c572bd621
https://github.com/zopefoundation/RestrictedPython/commit/314eb039b20042bf68396dd21524a53c572bd621
Author: Michael Howitz <mh at gocept.com>
Date: 2017-05-05 (Fri, 05 May 2017)
Changed paths:
A .coveragerc
A .editorconfig
M .gitignore
M .travis.yml
R CHANGES.txt
A README.rst
R README.txt
M bootstrap.py
M buildout.cfg
A docs/CHANGES.rst
A docs/Makefile
A docs/RestrictedPython3/index.rst
A docs/RestrictedPython4/index.rst
A docs/api/index.rst
A docs/basics/index.rst
A docs/call.txt
A docs/conf.py
A docs/contributing/index.rst
A docs/dep.txt
A docs/idea.rst
A docs/index.rst
A docs/install/index.rst
A docs/make.bat
A docs/notes.rst
A docs/roadmap/index.rst
A docs/upgrade/ast/python2_6.ast
A docs/upgrade/ast/python2_7.ast
A docs/upgrade/ast/python3_0.ast
A docs/upgrade/ast/python3_1.ast
A docs/upgrade/ast/python3_2.ast
A docs/upgrade/ast/python3_3.ast
A docs/upgrade/ast/python3_4.ast
A docs/upgrade/ast/python3_5.ast
A docs/upgrade/ast/python3_6.ast
A docs/upgrade/index.rst
A docs/upgrade_dependencies/index.rst
A docs/usage/api.rst
A docs/usage/basic_usage.rst
A docs/usage/framework_usage.rst
A docs/usage/index.rst
A docs/usage/policy.rst
A setup.cfg
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
A src/RestrictedPython/README.rst
R src/RestrictedPython/README.txt
M src/RestrictedPython/RestrictionMutator.py
M src/RestrictedPython/SelectCompiler.py
M src/RestrictedPython/Utilities.py
M src/RestrictedPython/__init__.py
A src/RestrictedPython/_compat.py
A src/RestrictedPython/compile.py
R src/RestrictedPython/notes.txt
M src/RestrictedPython/tests/__init__.py
R src/RestrictedPython/tests/before_and_after.py
R src/RestrictedPython/tests/before_and_after24.py
R src/RestrictedPython/tests/before_and_after25.py
R src/RestrictedPython/tests/before_and_after26.py
R src/RestrictedPython/tests/before_and_after27.py
M src/RestrictedPython/tests/class.py
R src/RestrictedPython/tests/lambda.py
M src/RestrictedPython/tests/restricted_module.py
R src/RestrictedPython/tests/security_in_syntax.py
R src/RestrictedPython/tests/security_in_syntax26.py
R src/RestrictedPython/tests/security_in_syntax27.py
M src/RestrictedPython/tests/testCompile.py
M src/RestrictedPython/tests/testREADME.py
M src/RestrictedPython/tests/testRestrictions.py
R src/RestrictedPython/tests/testUtiliities.py
M src/RestrictedPython/tests/unpack.py
M src/RestrictedPython/tests/verify.py
A src/RestrictedPython/transformer.py
A tests/__init__.py
A tests/builtins/test_limits.py
A tests/builtins/test_utilities.py
A tests/test_Guards.py
A tests/test_compile.py
A tests/test_compile_restricted_function.py
A tests/test_eval.py
A tests/test_print_function.py
A tests/test_print_stmt.py
A tests/transformer/operators/test_arithmetic_operators.py
A tests/transformer/operators/test_bit_wise_operators.py
A tests/transformer/operators/test_bool_operators.py
A tests/transformer/operators/test_comparison_operators.py
A tests/transformer/operators/test_identity_operators.py
A tests/transformer/operators/test_logical_operators.py
A tests/transformer/operators/test_unary_operators.py
A tests/transformer/test_async.py
A tests/transformer/test_base_types.py
A tests/transformer/test_global_local.py
A tests/transformer/test_slice.py
A tests/transformer/test_subscript.py
A tests/transformer/test_transformer.py
A tests/transformer/test_yield.py
A tox.ini
Log Message:
-----------
Merge pull request #62 from zopefoundation/Python3_update
This is (nearly) a complete rewrite of the package using the Python ast module instead of using the old and un maintained compiler module.
The API was kept the same.
Compare: https://github.com/zopefoundation/RestrictedPython/compare/402009158278...314eb039b200
More information about the checkins
mailing list