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

GitHub noreply at github.com
Mon Oct 23 16:49:19 CEST 2017


  Branch: refs/heads/recompile-4.1
  Home:   https://github.com/zopefoundation/Products.PythonScripts
  Commit: 0b807f0f7c80731e2aeaa7dafb2716ba54d2c8aa
      https://github.com/zopefoundation/Products.PythonScripts/commit/0b807f0f7c80731e2aeaa7dafb2716ba54d2c8aa
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-10-23 (Mon, 23 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.




More information about the checkins mailing list