[Checkins] [zopefoundation/DocumentTemplate] 73677e: Flake8.

GitHub noreply at github.com
Tue Oct 2 18:56:53 CEST 2018


  Branch: refs/heads/re-25-cleanup-DT_Try
  Home:   https://github.com/zopefoundation/DocumentTemplate
  Commit: 73677ed60008d6b4ce7b80a216163c8c92bca247
      https://github.com/zopefoundation/DocumentTemplate/commit/73677ed60008d6b4ce7b80a216163c8c92bca247
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-02 (Tue, 02 Oct 2018)

  Changed paths:
    M src/TreeDisplay/TreeTag.py

  Log Message:
  -----------
  Flake8.


  Commit: ca0ab5cdd20e7575f228728d56e72e107dd84812
      https://github.com/zopefoundation/DocumentTemplate/commit/ca0ab5cdd20e7575f228728d56e72e107dd84812
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-02 (Tue, 02 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: cc99cf3a59e575f456605865d5b11fa8c6eedc1e
      https://github.com/zopefoundation/DocumentTemplate/commit/cc99cf3a59e575f456605865d5b11fa8c6eedc1e
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-02 (Tue, 02 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: 23d8af8fc59adbf3ed70d1533a4c028fc1d2cb3d
      https://github.com/zopefoundation/DocumentTemplate/commit/23d8af8fc59adbf3ed70d1533a4c028fc1d2cb3d
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-02 (Tue, 02 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: b83a6493f3cf542744a6919e640f165a8b8a62f2
      https://github.com/zopefoundation/DocumentTemplate/commit/b83a6493f3cf542744a6919e640f165a8b8a62f2
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-02 (Tue, 02 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%.


Compare: https://github.com/zopefoundation/DocumentTemplate/compare/73677ed60008^...b83a6493f3cf
      **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