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

Alexander Loechel noreply at github.com
Fri Aug 30 10:41:36 CEST 2019


  Branch: refs/heads/revert_#150_Ellipsis
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 4746eed4ea1b9302491afde1482ed91aa41b1e09
      https://github.com/zopefoundation/RestrictedPython/commit/4746eed4ea1b9302491afde1482ed91aa41b1e09
  Author: Alexander Loechel <Alexander.Loechel at lmu.de>
  Date:   2019-08-30 (Fri, 30 Aug 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.

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