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

GitHub noreply at github.com
Sat Feb 25 09:11:04 CET 2017


  Branch: refs/heads/plonezope4
  Home:   https://github.com/zopefoundation/Zope
  Commit: 7108309b645c4a2db7815d354447002dc71dff16
      https://github.com/zopefoundation/Zope/commit/7108309b645c4a2db7815d354447002dc71dff16
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-02-25 (Sat, 25 Feb 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: 7268fdf14f61e766be6ea0750b6c19c59b7230f5
      https://github.com/zopefoundation/Zope/commit/7268fdf14f61e766be6ea0750b6c19c59b7230f5
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-02-25 (Sat, 25 Feb 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: d7b7c0ecd5923963f0a75ae791db2fffe3eeb0f3
      https://github.com/zopefoundation/Zope/commit/d7b7c0ecd5923963f0a75ae791db2fffe3eeb0f3
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2017-02-25 (Sat, 25 Feb 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: 6e548f7da742a42e7a68489ca565b4f1430f3561
      https://github.com/zopefoundation/Zope/commit/6e548f7da742a42e7a68489ca565b4f1430f3561
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-02-25 (Sat, 25 Feb 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: 66cd5318b84239fa5fc83cf97b4745f429ba1779
      https://github.com/zopefoundation/Zope/commit/66cd5318b84239fa5fc83cf97b4745f429ba1779
  Author: MrTango <md at derico.de>
  Date:   2017-02-25 (Sat, 25 Feb 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: 320791433d1b809d9a20b4b82b337f6849eaf7f8
      https://github.com/zopefoundation/Zope/commit/320791433d1b809d9a20b4b82b337f6849eaf7f8
  Author: MrTango <md at derico.de>
  Date:   2017-02-25 (Sat, 25 Feb 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: f1d0016ab79db9d092c04849cdb87d5393fcbbb0
      https://github.com/zopefoundation/Zope/commit/f1d0016ab79db9d092c04849cdb87d5393fcbbb0
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-02-25 (Sat, 25 Feb 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

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


  Commit: 5aaeaa2d4fcc8f01dafb4395ef52306b5cc5a848
      https://github.com/zopefoundation/Zope/commit/5aaeaa2d4fcc8f01dafb4395ef52306b5cc5a848
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-02-25 (Sat, 25 Feb 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

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


  Commit: 21a2c9cf809393ef908f5651d8077180793df6df
      https://github.com/zopefoundation/Zope/commit/21a2c9cf809393ef908f5651d8077180793df6df
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-02-25 (Sat, 25 Feb 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: 86d680ce8daa33d357ed5517c2ed2719c7a8c12b
      https://github.com/zopefoundation/Zope/commit/86d680ce8daa33d357ed5517c2ed2719c7a8c12b
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-02-25 (Sat, 25 Feb 2017)

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

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


  Commit: baa3f68e8f71201117cdfc0864461c37946a0820
      https://github.com/zopefoundation/Zope/commit/baa3f68e8f71201117cdfc0864461c37946a0820
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-02-25 (Sat, 25 Feb 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/05676cd7d800...baa3f68e8f71


More information about the checkins mailing list