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

GitHub noreply at github.com
Mon Apr 3 10:49:08 CEST 2017


  Branch: refs/heads/plonezope4
  Home:   https://github.com/zopefoundation/Zope
  Commit: 513677e2bab5bd127ff0f66e5f0f56d3bce66f00
      https://github.com/zopefoundation/Zope/commit/513677e2bab5bd127ff0f66e5f0f56d3bce66f00
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-04-03 (Mon, 03 Apr 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: df967742cbdd389b9280feb523b011ebae98d235
      https://github.com/zopefoundation/Zope/commit/df967742cbdd389b9280feb523b011ebae98d235
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-04-03 (Mon, 03 Apr 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: 69fa0360c852132bf5cb0ce1e7d4bcffc309619a
      https://github.com/zopefoundation/Zope/commit/69fa0360c852132bf5cb0ce1e7d4bcffc309619a
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2017-04-03 (Mon, 03 Apr 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: 1363f4c093d2a83736383b8097c253369fb3d8cd
      https://github.com/zopefoundation/Zope/commit/1363f4c093d2a83736383b8097c253369fb3d8cd
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-04-03 (Mon, 03 Apr 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: 4e67f82d2a10d359bef4a5a0c46b024453348496
      https://github.com/zopefoundation/Zope/commit/4e67f82d2a10d359bef4a5a0c46b024453348496
  Author: MrTango <md at derico.de>
  Date:   2017-04-03 (Mon, 03 Apr 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: 32a7d33480d643f89007370af1efd374c7e7ebf0
      https://github.com/zopefoundation/Zope/commit/32a7d33480d643f89007370af1efd374c7e7ebf0
  Author: MrTango <md at derico.de>
  Date:   2017-04-03 (Mon, 03 Apr 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: 69d186b5377ce787927ee81add07b25531bc5a28
      https://github.com/zopefoundation/Zope/commit/69d186b5377ce787927ee81add07b25531bc5a28
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

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


  Commit: 69a7c2c5e3e11d597804bc162662200a9778f77b
      https://github.com/zopefoundation/Zope/commit/69a7c2c5e3e11d597804bc162662200a9778f77b
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

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


  Commit: 161e7b2150e47fbd8accec8f3646fc6c6b072bdb
      https://github.com/zopefoundation/Zope/commit/161e7b2150e47fbd8accec8f3646fc6c6b072bdb
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-04-03 (Mon, 03 Apr 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: 842baa52c36c30d53d9bbc5e5a0db44337691b2d
      https://github.com/zopefoundation/Zope/commit/842baa52c36c30d53d9bbc5e5a0db44337691b2d
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

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

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


  Commit: 8dd7c58add26f4d4608e42975e70ec8fe8ee7b93
      https://github.com/zopefoundation/Zope/commit/8dd7c58add26f4d4608e42975e70ec8fe8ee7b93
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

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

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


Compare: https://github.com/zopefoundation/Zope/compare/baa3f68e8f71...8dd7c58add26


More information about the checkins mailing list