[Checkins] [zopefoundation/RestrictedPython] 092328: Add built-in function 'set'

GitHub noreply at github.com
Fri May 5 16:41:10 CEST 2017


  Branch: refs/heads/isort
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 092328a7ac781145212efc32d6e759245e9b9814
      https://github.com/zopefoundation/RestrictedPython/commit/092328a7ac781145212efc32d6e759245e9b9814
  Author: Eric Feng <ehfeng at users.noreply.github.com>
  Date:   2016-12-12 (Mon, 12 Dec 2016)

  Changed paths:
    M src/RestrictedPython/Guards.py

  Log Message:
  -----------
  Add built-in function 'set'

Adding built-in function 'set' to `safe_builtins`. Sets can be created with the {x, y} notation, but there's no way to create an empty set.


  Commit: 9842dc81c8bfc95fdb5aef94ce17e3a1a5c0d547
      https://github.com/zopefoundation/RestrictedPython/commit/9842dc81c8bfc95fdb5aef94ce17e3a1a5c0d547
  Author: Eric Feng <erichfeng at gmail.com>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M src/RestrictedPython/tests/restricted_module.py
    M src/RestrictedPython/tests/testRestrictions.py

  Log Message:
  -----------
  adding tests for set


  Commit: 02882e1976fca61621c4c6a2c4b35336b360b0e6
      https://github.com/zopefoundation/RestrictedPython/commit/02882e1976fca61621c4c6a2c4b35336b360b0e6
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M src/RestrictedPython/Guards.py
    M src/RestrictedPython/tests/restricted_module.py
    M src/RestrictedPython/tests/testRestrictions.py

  Log Message:
  -----------
  Merge pull request #11 from ehfeng/master

Add built-in function 'set'


  Commit: 51f6fe49094bc17fa1131e0cb4ff25353ea0b782
      https://github.com/zopefoundation/RestrictedPython/commit/51f6fe49094bc17fa1131e0cb4ff25353ea0b782
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M CHANGES.txt

  Log Message:
  -----------
  Garden ReST.


  Commit: 35c50bfc8777458edd43f99e537f41dc61ad9026
      https://github.com/zopefoundation/RestrictedPython/commit/35c50bfc8777458edd43f99e537f41dc61ad9026
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M CHANGES.txt
    M setup.py

  Log Message:
  -----------
  Changelog for PR #11.

Bump to 3.7 for new ``set`` feature.


  Commit: 7433e741f731f47caf3931b34da6684a8cb29ac3
      https://github.com/zopefoundation/RestrictedPython/commit/7433e741f731f47caf3931b34da6684a8cb29ac3
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    A .gitignore

  Log Message:
  -----------
  Ignore derived files.


  Commit: b62759afa9ffedcb7ac8de9b3106912ee9a639fe
      https://github.com/zopefoundation/RestrictedPython/commit/b62759afa9ffedcb7ac8de9b3106912ee9a639fe
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M bootstrap.py

  Log Message:
  -----------
  Update to latest bootstrap.


  Commit: c24724f44dccc36137999418c0c086c8e3778e5e
      https://github.com/zopefoundation/RestrictedPython/commit/c24724f44dccc36137999418c0c086c8e3778e5e
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M src/RestrictedPython/Guards.py
    M src/RestrictedPython/tests/restricted_module.py
    M src/RestrictedPython/tests/testRestrictions.py

  Log Message:
  -----------
  Revert "Add built-in function 'set'"


  Commit: da3c2f1e35e6408943e82b39e3aa0f417c3a6a94
      https://github.com/zopefoundation/RestrictedPython/commit/da3c2f1e35e6408943e82b39e3aa0f417c3a6a94
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M src/RestrictedPython/Guards.py
    M src/RestrictedPython/tests/restricted_module.py
    M src/RestrictedPython/tests/testRestrictions.py

  Log Message:
  -----------
  Merge pull request #41 from zopefoundation/revert-11-master

Revert "Add built-in function 'set'"


  Commit: 7af3dc68636e9d3bc55e2d2bde61747225b424f1
      https://github.com/zopefoundation/RestrictedPython/commit/7af3dc68636e9d3bc55e2d2bde61747225b424f1
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M CHANGES.txt

  Log Message:
  -----------
  Update CHANGES.txt after reverting #11.


  Commit: 402009158278744de34729c441048f00076cebc8
      https://github.com/zopefoundation/RestrictedPython/commit/402009158278744de34729c441048f00076cebc8
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Use buildout on Travis. (#40)


  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.


  Commit: c76709cb319b3264977bfe90fe5effb478fbbbec
      https://github.com/zopefoundation/RestrictedPython/commit/c76709cb319b3264977bfe90fe5effb478fbbbec
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M README.rst

  Log Message:
  -----------
  Update URL


  Commit: f9e29e22955aed5df4cec8d4cd4d5e28cff66a07
      https://github.com/zopefoundation/RestrictedPython/commit/f9e29e22955aed5df4cec8d4cd4d5e28cff66a07
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M README.rst

  Log Message:
  -----------
  Fix ReST


  Commit: 0e0aeea9a01df8b3446489ce216945751e2fb9e7
      https://github.com/zopefoundation/RestrictedPython/commit/0e0aeea9a01df8b3446489ce216945751e2fb9e7
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M setup.py

  Log Message:
  -----------
  Add some keywords to make pyroma happy.


  Commit: ce4d3fe6a03bf2b86c40e64ae472922aba77a82d
      https://github.com/zopefoundation/RestrictedPython/commit/ce4d3fe6a03bf2b86c40e64ae472922aba77a82d
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    A MANIFEST.in

  Log Message:
  -----------
  Add a MANIFEST.


  Commit: badda1829a75013b5f9237a378ae56d4ea850bc2
      https://github.com/zopefoundation/RestrictedPython/commit/badda1829a75013b5f9237a378ae56d4ea850bc2
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M docs/CHANGES.rst
    M setup.py

  Log Message:
  -----------
  Preparing release 4.0a1


  Commit: 6fc9b30f2994eeeedc763ebedd87de21fc808591
      https://github.com/zopefoundation/RestrictedPython/commit/6fc9b30f2994eeeedc763ebedd87de21fc808591
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M docs/CHANGES.rst
    M setup.py

  Log Message:
  -----------
  Back to development: 4.0a2


  Commit: bbf0d9dc49cc129ffcd89be53368eecbdcfc86f8
      https://github.com/zopefoundation/RestrictedPython/commit/bbf0d9dc49cc129ffcd89be53368eecbdcfc86f8
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M setup.cfg

  Log Message:
  -----------
  isort config


  Commit: b688894927e52786d1fb4790c78f78cf13bcded1
      https://github.com/zopefoundation/RestrictedPython/commit/b688894927e52786d1fb4790c78f78cf13bcded1
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M setup.cfg

  Log Message:
  -----------
  isort config


  Commit: 4f62609bbc8015a35e634cb722f3fd234a68fc41
      https://github.com/zopefoundation/RestrictedPython/commit/4f62609bbc8015a35e634cb722f3fd234a68fc41
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M setup.cfg

  Log Message:
  -----------
  new isort config


  Commit: 3383f0aa9e0d5848c8c4e8dfe75f14bb9caa886b
      https://github.com/zopefoundation/RestrictedPython/commit/3383f0aa9e0d5848c8c4e8dfe75f14bb9caa886b
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M setup.cfg
    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/_compat.py
    M src/RestrictedPython/compile.py
    M src/RestrictedPython/tests/restricted_module.py
    M src/RestrictedPython/tests/testCompile.py
    M src/RestrictedPython/tests/testREADME.py
    M src/RestrictedPython/tests/testRestrictions.py
    M src/RestrictedPython/tests/verify.py
    M src/RestrictedPython/transformer.py
    M tests/__init__.py
    M tests/builtins/test_limits.py
    M tests/builtins/test_utilities.py
    M tests/test_Guards.py
    M tests/test_compile.py
    M tests/test_compile_restricted_function.py
    M tests/test_eval.py
    M tests/test_print_function.py
    M tests/test_print_stmt.py
    M tests/transformer/operators/test_arithmetic_operators.py
    M tests/transformer/operators/test_bit_wise_operators.py
    M tests/transformer/operators/test_bool_operators.py
    M tests/transformer/operators/test_comparison_operators.py
    M tests/transformer/operators/test_identity_operators.py
    M tests/transformer/operators/test_logical_operators.py
    M tests/transformer/operators/test_unary_operators.py
    M tests/transformer/test_async.py
    M tests/transformer/test_base_types.py
    M tests/transformer/test_global_local.py
    M tests/transformer/test_slice.py
    M tests/transformer/test_subscript.py
    M tests/transformer/test_transformer.py
    M tests/transformer/test_yield.py

  Log Message:
  -----------
  new isort config


  Commit: f52c71ff6eb2c65d61f674e62ded7ea02ca425aa
      https://github.com/zopefoundation/RestrictedPython/commit/f52c71ff6eb2c65d61f674e62ded7ea02ca425aa
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Log Message:
  -----------
  fix merge conflict


Compare: https://github.com/zopefoundation/RestrictedPython/compare/848fdfaee5fc...f52c71ff6eb2


More information about the checkins mailing list