[Checkins] [zopefoundation/RestrictedPython] e52cf4: Compile now returns a named tuple to ease usage.

GitHub noreply at github.com
Thu Feb 2 20:01:47 CET 2017


  Branch: refs/heads/Python3_update
  Home:   https://github.com/zopefoundation/RestrictedPython
  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.


Compare: https://github.com/zopefoundation/RestrictedPython/compare/64546c78bf4b...a9bcf5412b9e


More information about the checkins mailing list