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

GitHub noreply at github.com
Thu May 4 17:43:51 CEST 2017


  Branch: refs/heads/plonezope4
  Home:   https://github.com/zopefoundation/Zope
  Commit: cbecaf914587e8b1fb06c02b27ea03c76be7c910
      https://github.com/zopefoundation/Zope/commit/cbecaf914587e8b1fb06c02b27ea03c76be7c910
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-04 (Thu, 04 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: b136743fd2dc6fea2c19045a873bd6389e9f75fd
      https://github.com/zopefoundation/Zope/commit/b136743fd2dc6fea2c19045a873bd6389e9f75fd
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-04 (Thu, 04 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: e111febc98853dcdbb82804f2dadc74af3fdefb3
      https://github.com/zopefoundation/Zope/commit/e111febc98853dcdbb82804f2dadc74af3fdefb3
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2017-05-04 (Thu, 04 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: 9301775749cf9de8ba137787a438d97556185c7c
      https://github.com/zopefoundation/Zope/commit/9301775749cf9de8ba137787a438d97556185c7c
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-04 (Thu, 04 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: 8a131ccbc910a8801c05507d2a42b95e827122f3
      https://github.com/zopefoundation/Zope/commit/8a131ccbc910a8801c05507d2a42b95e827122f3
  Author: MrTango <md at derico.de>
  Date:   2017-05-04 (Thu, 04 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: 4b5ff1bd3655460490bb3769901d5fb961e5e855
      https://github.com/zopefoundation/Zope/commit/4b5ff1bd3655460490bb3769901d5fb961e5e855
  Author: MrTango <md at derico.de>
  Date:   2017-05-04 (Thu, 04 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: c2f7436cb03a4e4db601a2357ca11f2799cd516e
      https://github.com/zopefoundation/Zope/commit/c2f7436cb03a4e4db601a2357ca11f2799cd516e
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

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


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

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

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


  Commit: ec184962282989c8eac45cf9a5fc7f92e85e3038
      https://github.com/zopefoundation/Zope/commit/ec184962282989c8eac45cf9a5fc7f92e85e3038
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-04 (Thu, 04 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: 1abd93af41c4ca562b4b56b4c25045728fcaf02c
      https://github.com/zopefoundation/Zope/commit/1abd93af41c4ca562b4b56b4c25045728fcaf02c
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-04 (Thu, 04 May 2017)

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

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


  Commit: 090cad528b0acd4e639c12fa5a5eeda6c488d59c
      https://github.com/zopefoundation/Zope/commit/090cad528b0acd4e639c12fa5a5eeda6c488d59c
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-05-04 (Thu, 04 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: 9d714eb3ca4259bf6fd557ce60790d6fc613b7eb
      https://github.com/zopefoundation/Zope/commit/9d714eb3ca4259bf6fd557ce60790d6fc613b7eb
  Author: Johannes Raggam <thetetet at gmail.com>
  Date:   2017-05-04 (Thu, 04 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: 96fd81f2dc3f6b0bc165b4a7653974e7c56ca9e3
      https://github.com/zopefoundation/Zope/commit/96fd81f2dc3f6b0bc165b4a7653974e7c56ca9e3
  Author: Johannes Raggam <thetetet at gmail.com>
  Date:   2017-05-04 (Thu, 04 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/0d203c5ba781...96fd81f2dc3f


More information about the checkins mailing list