[Checkins] [zopefoundation/RestrictedPython] a6ea25: Make sure even Python 3 does not allow a bad name ...

GitHub noreply at github.com
Fri Feb 3 11:43:07 CET 2017


  Branch: refs/heads/fix-except
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: a6ea2559bd0e18f69ff0b2f0a6ce55b48dbd1000
      https://github.com/zopefoundation/RestrictedPython/commit/a6ea2559bd0e18f69ff0b2f0a6ce55b48dbd1000
  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`




More information about the checkins mailing list