[Checkins] [zopefoundation/RestrictedPython] 61d26b: Partial Revert of Merge/Pull-Request #150 - Disall...

Alexander Loechel noreply at github.com
Tue Sep 3 08:11:54 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 61d26b3b33027391c8781ff40131bac3fe8ed4c0
      https://github.com/zopefoundation/RestrictedPython/commit/61d26b3b33027391c8781ff40131bac3fe8ed4c0
  Author: Alexander Loechel <loechel at users.noreply.github.com>
  Date:   2019-09-03 (Tue, 03 Sep 2019)

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

  Log Message:
  -----------
  Partial Revert of Merge/Pull-Request #150 - Disallow Ellipsis again. (#171)

Ellipsis is not necessary to allow for the changes in Python 3.8, where Constant replaces Num, Str, Bytes, NameConstant and Ellipsis.
https://docs.python.org/dev/whatsnew/3.8.html#deprecated

https://bugs.python.org/issue36917#msg342583 shows a better sollution to check for Ellipsis, so we could go back to old and more secure behaviour.




More information about the checkins mailing list