[Checkins] [zopefoundation/DocumentTemplate] 542266: Re #25: Use compatibility layer to get the right `...

GitHub noreply at github.com
Wed Oct 3 13:32:05 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/DocumentTemplate
  Commit: 5422662f6f08662b202a46e696e6d8e8c6d324f7
      https://github.com/zopefoundation/DocumentTemplate/commit/5422662f6f08662b202a46e696e6d8e8c6d324f7
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M src/DocumentTemplate/DT_Try.py

  Log Message:
  -----------
  Re #25: Use compatibility layer to get the right `StringIO`.

Depending on the python version, the traceback handler in the standard library needs a different `StringIO`. `io.StringIO` does not work with Python 2.


  Commit: ae8dba3d1e9ba0f570e871fd305df03236a109f7
      https://github.com/zopefoundation/DocumentTemplate/commit/ae8dba3d1e9ba0f570e871fd305df03236a109f7
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M src/DocumentTemplate/DT_Try.py

  Log Message:
  -----------
  Remove support for string exceptions. 

They have been removed in Python 2.6. In case of a string raised, it will end up as a `InvalidErrorTypeExpression`.


  Commit: 799744e1ee0cabc4dd9774d30306ec907067553c
      https://github.com/zopefoundation/DocumentTemplate/commit/799744e1ee0cabc4dd9774d30306ec907067553c
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M src/DocumentTemplate/DT_String.py

  Log Message:
  -----------
  Fix handling of parsing ``ParseError``s in Python 3.

It is not possible anymore to index an exception to get to the args.


  Commit: e7036b7392b768e3dabd9f095940db1dc9d88417
      https://github.com/zopefoundation/DocumentTemplate/commit/e7036b7392b768e3dabd9f095940db1dc9d88417
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
    M CHANGES.rst
    A src/DocumentTemplate/tests/test_DT_Try.py
    M tox.ini

  Log Message:
  -----------
  Bring test coverage for `DT_Try` to 100%.


  Commit: 28af6dfb5d5ef5f58da88c3b633ed3187d2b3d1e
      https://github.com/zopefoundation/DocumentTemplate/commit/28af6dfb5d5ef5f58da88c3b633ed3187d2b3d1e
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M src/DocumentTemplate/tests/test_DT_Try.py

  Log Message:
  -----------
  Implemented reviewer comments. 

This includes documentation, changelog and codestyle.


Compare: https://github.com/zopefoundation/DocumentTemplate/compare/44015836dbbe...28af6dfb5d5e
      **NOTE:** This service has 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