[Checkins] [zopefoundation/Zope] c5433f: make FSImage.__str__ available in Python 3 (#282)

GitHub noreply at github.com
Fri May 18 16:24:15 CEST 2018


  Branch: refs/heads/zodbupdate
  Home:   https://github.com/zopefoundation/Zope
  Commit: c5433f26af145179d6a17edb70876ca836ee4cf0
      https://github.com/zopefoundation/Zope/commit/c5433f26af145179d6a17edb70876ca836ee4cf0
  Author: Thomas Lotze <thomas at thomas-lotze.net>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/OFS/Image.py
    M src/OFS/tests/testFileAndImage.py

  Log Message:
  -----------
  make FSImage.__str__ available in Python 3 (#282)

* make FSImage.__str__ available in Python 3

In both Python 2 and 3, the tag() method returns the respective str type, so
the result can always be used for __str__. Without having this method
available in Python 3, the image tag cannot be included, for example, in
Chamaeleon page templates by simply accessing the image object, as that uses
i18n which in turn casts the object to the respective text (unicode) type. Not
implementing __str__ in Python 3 results in the object representation instead
of the tag in that case.


  Commit: 027186121013b2b4790c997e8ff2e8187fda4034
      https://github.com/zopefoundation/Zope/commit/027186121013b2b4790c997e8ff2e8187fda4034
  Author: Thomas Schorr <t_schorr at gmx.de>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/Testing/tests/test_testbrowser.py
    M src/ZPublisher/httpexceptions.py

  Log Message:
  -----------
  Raise generic errors (catch all InternalError) when using WSGI (#280)

* raise InternalError (WSGI)

* remove catch_all_response entirely because HTTPExceptionHandler is only used for WSGI


  Commit: 5ea6e29992b1258eeead4c5e7e0ff7b22dbcd504
      https://github.com/zopefoundation/Zope/commit/5ea6e29992b1258eeead4c5e7e0ff7b22dbcd504
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M CHANGES.rst
    M versions-prod.cfg
    M versions.cfg

  Log Message:
  -----------
  Update dependencies to newest versions.


  Commit: 1984f832c891f1de4890f8c16aeec6c3cd8c9296
      https://github.com/zopefoundation/Zope/commit/1984f832c891f1de4890f8c16aeec6c3cd8c9296
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M CHANGES.rst
    M setup.py

  Log Message:
  -----------
  Preparing release 4.0b5

[skip ci]


  Commit: 49962442e60fc78c907f509399bd8927bddc8ae7
      https://github.com/zopefoundation/Zope/commit/49962442e60fc78c907f509399bd8927bddc8ae7
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M requirements-full.txt
    M versions-prod.cfg

  Log Message:
  -----------
  Pin Zope release.


  Commit: 1edf74c4671b5c5b513e71db0a049563583a126b
      https://github.com/zopefoundation/Zope/commit/1edf74c4671b5c5b513e71db0a049563583a126b
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M CHANGES.rst
    M setup.py

  Log Message:
  -----------
  Back to development: 4.0b6

[skip ci]


  Commit: 772a15775c4ee7f4d60006e3393cc0ff0b4655a0
      https://github.com/zopefoundation/Zope/commit/772a15775c4ee7f4d60006e3393cc0ff0b4655a0
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M requirements-full.txt
    M versions-prod.cfg

  Log Message:
  -----------
  Back to development.


  Commit: 1df5736a8a418e5e750eb9e925bb9dc0f9512370
      https://github.com/zopefoundation/Zope/commit/1df5736a8a418e5e750eb9e925bb9dc0f9512370
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M CHANGES.rst
    M requirements-full.txt
    M setup.py
    M src/OFS/Image.py
    M src/OFS/tests/testFileAndImage.py
    M src/Testing/tests/test_testbrowser.py
    M src/ZPublisher/httpexceptions.py
    M versions-prod.cfg
    M versions.cfg

  Log Message:
  -----------
  Merge branch 'master' into zodbupdate


Compare: https://github.com/zopefoundation/Zope/compare/409c6d763424...1df5736a8a41
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list