[Checkins] [zopefoundation/RestrictedPython] 814fd8: disallow imports from modules starting with '_'

GitHub noreply at github.com
Thu May 17 17:08:09 CEST 2018


  Branch: refs/heads/import_underscore_modul
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 814fd8e25bd922f6eda0c3aacc0661f2ae3fb174
      https://github.com/zopefoundation/RestrictedPython/commit/814fd8e25bd922f6eda0c3aacc0661f2ae3fb174
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M docs/CHANGES.rst
    M src/RestrictedPython/transformer.py
    M tests/transformer/test_import.py

  Log Message:
  -----------
  disallow imports from modules starting with '_'


  Commit: 9f2a697d97f3efe961d1158d7c5de4f65e0d7bf8
      https://github.com/zopefoundation/RestrictedPython/commit/9f2a697d97f3efe961d1158d7c5de4f65e0d7bf8
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/RestrictedPython/transformer.py
    M tests/transformer/test_import.py

  Log Message:
  -----------
  more tests and flake8


  Commit: 7bc9d1f24e950f4cd6ca8bfa6437b01e9a65a536
      https://github.com/zopefoundation/RestrictedPython/commit/7bc9d1f24e950f4cd6ca8bfa6437b01e9a65a536
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M docs/CHANGES.rst
    A docs/old_README.rst
    M setup.cfg
    R src/RestrictedPython/README.rst
    M src/RestrictedPython/transformer.py
    M tests/test_Guards.py
    M tests/transformer/test_call.py
    M tests/transformer/test_classdef.py
    M tests/transformer/test_functiondef.py
    M tests/transformer/test_lambda.py
    M tox.ini

  Log Message:
  -----------
  merge conflict resolved


  Commit: d932b856238d8581cf8422b507cbfc32e37b7254
      https://github.com/zopefoundation/RestrictedPython/commit/d932b856238d8581cf8422b507cbfc32e37b7254
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M tests/transformer/test_import.py

  Log Message:
  -----------
  combine some tests on _module names and better docstrings


Compare: https://github.com/zopefoundation/RestrictedPython/compare/780eeed3b95d...d932b856238d
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list