[Checkins] [zopefoundation/RestrictedPython] 1a4876: fixes #155, remove deprecation warning about print...

Daniel Havlik noreply at github.com
Wed May 8 14:01:28 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 1a4876b5fcf2fd1ee4a72bf7f5e7efeb6c3034e0
      https://github.com/zopefoundation/RestrictedPython/commit/1a4876b5fcf2fd1ee4a72bf7f5e7efeb6c3034e0
  Author: Daniel Havlik <dh at gocept.com>
  Date:   2019-05-08 (Wed, 08 May 2019)

  Changed paths:
    M src/RestrictedPython/transformer.py
    M tests/test_compile.py
    M tests/test_print_stmt.py

  Log Message:
  -----------
  fixes #155, remove deprecation warning about print statement. 

Its useless because a) its wrong, since its also displayed when you already use the print function and b) the actual error message when using py3 is far more precise and useful and finally c) we don't use deprecation warnings elsewhere (#161)




More information about the checkins mailing list