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

GitHub noreply at github.com
Fri May 5 15:26:26 CEST 2017


  Branch: refs/heads/plonezope4
  Home:   https://github.com/zopefoundation/Zope
  Commit: 71e2b07bcc57b2353e12186fd5c5603293934ef0
      https://github.com/zopefoundation/Zope/commit/71e2b07bcc57b2353e12186fd5c5603293934ef0
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-05 (Fri, 05 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: 74fd2575115f78042f1a0193faeac0821826b7bc
      https://github.com/zopefoundation/Zope/commit/74fd2575115f78042f1a0193faeac0821826b7bc
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-05 (Fri, 05 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: 52cdeb459fdbd85f143208a6e939af779d12c9cc
      https://github.com/zopefoundation/Zope/commit/52cdeb459fdbd85f143208a6e939af779d12c9cc
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2017-05-05 (Fri, 05 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: 727612db36456ea389a7b612acc1046bb975664b
      https://github.com/zopefoundation/Zope/commit/727612db36456ea389a7b612acc1046bb975664b
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-05 (Fri, 05 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: 0d929d4454c571e6646aaf74f37a2e3247df0874
      https://github.com/zopefoundation/Zope/commit/0d929d4454c571e6646aaf74f37a2e3247df0874
  Author: MrTango <md at derico.de>
  Date:   2017-05-05 (Fri, 05 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: 9d6afa050875132cc84f6d87de5bb8eec07ac6cb
      https://github.com/zopefoundation/Zope/commit/9d6afa050875132cc84f6d87de5bb8eec07ac6cb
  Author: MrTango <md at derico.de>
  Date:   2017-05-05 (Fri, 05 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: 4c86ab169cea54f8814e5d1cc574c9463d5c5840
      https://github.com/zopefoundation/Zope/commit/4c86ab169cea54f8814e5d1cc574c9463d5c5840
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

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


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

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

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


  Commit: ab0c28979f575ffba00487a6b51630ecee6c2eca
      https://github.com/zopefoundation/Zope/commit/ab0c28979f575ffba00487a6b51630ecee6c2eca
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-05 (Fri, 05 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: c8ef6dc3aefc325df7f562c529f10ddc093a54c9
      https://github.com/zopefoundation/Zope/commit/c8ef6dc3aefc325df7f562c529f10ddc093a54c9
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

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

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


  Commit: 291224025144b354c826b05617c79c34bcf7de89
      https://github.com/zopefoundation/Zope/commit/291224025144b354c826b05617c79c34bcf7de89
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-05 (Fri, 05 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: fc309ddf0be1277da1cdf989744f93e8c105bde6
      https://github.com/zopefoundation/Zope/commit/fc309ddf0be1277da1cdf989744f93e8c105bde6
  Author: Johannes Raggam <thetetet at gmail.com>
  Date:   2017-05-05 (Fri, 05 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: 6ac98425926d9cf40f3c946fec476e56e971ce7a
      https://github.com/zopefoundation/Zope/commit/6ac98425926d9cf40f3c946fec476e56e971ce7a
  Author: Johannes Raggam <thetetet at gmail.com>
  Date:   2017-05-05 (Fri, 05 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/96fd81f2dc3f...6ac98425926d


More information about the checkins mailing list