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

GitHub noreply at github.com
Fri Feb 3 11:48:36 CET 2017


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