[Checkins] [zopefoundation/RestrictedPython] 4c665a: Transform 'a.b' into _getattr_(a, 'b')

GitHub noreply at github.com
Wed Oct 5 08:45:21 CEST 2016


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


Compare: https://github.com/zopefoundation/RestrictedPython/compare/bc0b3a82a923...82ff6119245c


More information about the checkins mailing list