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

GitHub noreply at github.com
Wed Oct 3 13:19:17 CEST 2018


  Branch: refs/heads/re-25-cleanup-DT_Try
  Home:   https://github.com/zopefoundation/DocumentTemplate
  Commit: 0314e658c2e7a5a9e70534631b89e01fb8185096
      https://github.com/zopefoundation/DocumentTemplate/commit/0314e658c2e7a5a9e70534631b89e01fb8185096
  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: 6e5b11f2b8a2310a189c36aab1e4bcaccc438480
      https://github.com/zopefoundation/DocumentTemplate/commit/6e5b11f2b8a2310a189c36aab1e4bcaccc438480
  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: 3f2fa0cc89e2cc4a457ef84c17741af2f86bc04c
      https://github.com/zopefoundation/DocumentTemplate/commit/3f2fa0cc89e2cc4a457ef84c17741af2f86bc04c
  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: 9229ad5ed9a09b850bab7b047785178eead67607
      https://github.com/zopefoundation/DocumentTemplate/commit/9229ad5ed9a09b850bab7b047785178eead67607
  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: c83a686ae817f8bf102bbfdcb73583c107a95edb
      https://github.com/zopefoundation/DocumentTemplate/commit/c83a686ae817f8bf102bbfdcb73583c107a95edb
  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/6e26e844bbb0...c83a686ae817
      **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