[Checkins] [zopefoundation/Zope] e95f96: Use func_code if __code__ is None.

GitHub noreply at github.com
Tue May 2 09:52:05 CEST 2017


  Branch: refs/heads/plonezope4
  Home:   https://github.com/zopefoundation/Zope
  Commit: e95f96d4b7ff55604669f82782a2dca942462a65
      https://github.com/zopefoundation/Zope/commit/e95f96d4b7ff55604669f82782a2dca942462a65
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/ZPublisher/mapply.py

  Log Message:
  -----------
  Use func_code if __code__ is None.

See also https://github.com/zopefoundation/zope.publisher/pull/10


  Commit: 07f798cfca58f15ccb5912f8e016b3f23bdab8fb
      https://github.com/zopefoundation/Zope/commit/07f798cfca58f15ccb5912f8e016b3f23bdab8fb
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/tests/test_pubevents.py

  Log Message:
  -----------
  Return to not raising an exception when response.redirect() is called


  Commit: be2c9d9a5e6f104ab8b1fa81abf7db2959f5ef9d
      https://github.com/zopefoundation/Zope/commit/be2c9d9a5e6f104ab8b1fa81abf7db2959f5ef9d
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/ZPublisher/HTTPResponse.py

  Log Message:
  -----------
  Move _html to base class, to allow (title, body) responses under WSGI.


  Commit: 2ea84d092c7a9bce52bb251a308ef88159fd88a7
      https://github.com/zopefoundation/Zope/commit/2ea84d092c7a9bce52bb251a308ef88159fd88a7
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/ZPublisher/HTTPResponse.py

  Log Message:
  -----------
  Avoid error when calling setBody with lock on a wsgi response.

This happens with 'bin/test -s Products.Archetypes -t traversal.txt'
on the Plone coredev 5.1 zope4 config,
although the failing test may have meanwhile been removed.


  Commit: 2f4207ed37041e80761e3a69a58bdd9ef2e9552c
      https://github.com/zopefoundation/Zope/commit/2f4207ed37041e80761e3a69a58bdd9ef2e9552c
  Author: MrTango <md at derico.de>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    A src/OFS/dtml/properties.dtml
    A src/OFS/dtml/propertyType.dtml
    A src/OFS/dtml/propertysheets.dtml
    R src/ofs/dtml/properties.dtml
    R src/ofs/dtml/propertyType.dtml
    R src/ofs/dtml/propertysheets.dtml

  Log Message:
  -----------
  Add back property management templatesin the correct path.


  Commit: 617d86d75c9b26f139cb0207628ed4fd6ef79d76
      https://github.com/zopefoundation/Zope/commit/617d86d75c9b26f139cb0207628ed4fd6ef79d76
  Author: MrTango <md at derico.de>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/App/dtml/manage_page_style.css.dtml
    M src/OFS/dtml/main.dtml

  Log Message:
  -----------
  Removed meta type column from manage_main, because of also removed icons


  Commit: e63b9cea0e81a1fb22375a53fea4115eaab88065
      https://github.com/zopefoundation/Zope/commit/e63b9cea0e81a1fb22375a53fea4115eaab88065
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

  Log Message:
  -----------
  Render exception views within the pubevents context manager


  Commit: 2a30981fadf989bc24688087e3af2c4fef70e714
      https://github.com/zopefoundation/Zope/commit/2a30981fadf989bc24688087e3af2c4fef70e714
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

  Log Message:
  -----------
  make sure txn is aborted even when exception view rendered


  Commit: de6ba3e5fc26fc925733eee94c14c6b385b135fc
      https://github.com/zopefoundation/Zope/commit/de6ba3e5fc26fc925733eee94c14c6b385b135fc
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/Shared/DC/Scripts/Signature.py

  Log Message:
  -----------
  Fix unpickling FuncCode instances

This used to be an old-style class, and the pickle calls the OBJ opcode
(which for old-style classes creates an instance without calling __init__)
and later the BUILD opcode which calls __setstate__. Now that the class
is new-style, the OBJ opcode calls __init__, which breaks because the
pickle doesn't include args for __init__. So the workaround here is to
make __init__ accept no args (the object dict will still get set by the
subsequent BUILD op). Once the new-style object gets re-pickled it will
use the NEWOBJ opcode instead of OBJ, so unpickling will only call __new__
and not __init__.


  Commit: b1805dfddff0516ed48df06046207dec9cb61895
      https://github.com/zopefoundation/Zope/commit/b1805dfddff0516ed48df06046207dec9cb61895
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M src/Testing/ZopeTestCase/zopedoctest/functional.py

  Log Message:
  -----------
  fix regression in doctest functional helper: sort headers


  Commit: 6ddab9c621c10867d6812ebee49a3e32b2b2aaf6
      https://github.com/zopefoundation/Zope/commit/6ddab9c621c10867d6812ebee49a3e32b2b2aaf6
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/ZPublisher/BaseRequest.py

  Log Message:
  -----------
  fix regression in traversal of plone.app.folder.base.ReplaceableWrapper


  Commit: bfe1b66ad6ff20cd807cb63577f2fa87e4f55f28
      https://github.com/zopefoundation/Zope/commit/bfe1b66ad6ff20cd807cb63577f2fa87e4f55f28
  Author: Johannes Raggam <thetetet at gmail.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M versions.cfg

  Log Message:
  -----------
  use coverage 3.7.1, as coverage > 4 doesnt work with z3c.coverage. Refs: https://github.com/zopefoundation/z3c.coverage/pull/5


  Commit: 0d203c5ba781f18c0094ea41f63b0ba26d581a38
      https://github.com/zopefoundation/Zope/commit/0d203c5ba781f18c0094ea41f63b0ba26d581a38
  Author: Johannes Raggam <thetetet at gmail.com>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M versions.cfg

  Log Message:
  -----------
  Revert "use coverage 3.7.1, as coverage > 4 doesnt work with z3c.coverage. Refs: https://github.com/zopefoundation/z3c.coverage/pull/5"

This reverts commit 0282ec8be90ff14a7f217e6bb6f9b568e684d5e9.


Compare: https://github.com/zopefoundation/Zope/compare/da99e8b2a71b...0d203c5ba781


More information about the checkins mailing list