[Checkins] [zopefoundation/Products.PythonScripts] 590125: Force recompilation of scripts.

GitHub noreply at github.com
Tue Oct 24 09:35:12 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Products.PythonScripts
  Commit: 590125ae7c20994055c12be9ba03ae0b43b102ec
      https://github.com/zopefoundation/Products.PythonScripts/commit/590125ae7c20994055c12be9ba03ae0b43b102ec
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/Products/PythonScripts/PythonScript.py

  Log Message:
  -----------
  Force recompilation of scripts.

The compiled code is now stored on `__code__` instead of `func_code`.
Without recompilation the scripts break because `__code__` is `None` which is not expected by ZPublisher/mapply.py

See also zopefoundation/Zope#172.


  Commit: eba254aafe8a5fa86ffa428be8b6343910846d83
      https://github.com/zopefoundation/Products.PythonScripts/commit/eba254aafe8a5fa86ffa428be8b6343910846d83
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M .travis.yml
    M buildout.cfg

  Log Message:
  -----------
  Hopefully fix Python 3.6 build on TravisCI + Use current versions.


Compare: https://github.com/zopefoundation/Products.PythonScripts/compare/54e0b554716c...eba254aafe8a


More information about the checkins mailing list