[Checkins] [zopefoundation/zope.error] 5ccfaf: Additional tests with bytes and other values.

GitHub noreply at github.com
Sat Jul 22 16:13:34 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.error
  Commit: 5ccfaf777e417d0bfe0d7cb386923925b0143efb
      https://github.com/zopefoundation/zope.error/commit/5ccfaf777e417d0bfe0d7cb386923925b0143efb
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M src/zope/error/tests.py

  Log Message:
  -----------
  Additional tests with bytes and other values.


  Commit: 770d3e649356da9da9895d299043d166aa76be5c
      https://github.com/zopefoundation/zope.error/commit/770d3e649356da9da9895d299043d166aa76be5c
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M CHANGES.rst
    R src/zope/error/_compat.py
    M src/zope/error/error.py
    M src/zope/error/interfaces.py
    M src/zope/error/tests.py

  Log Message:
  -----------
  Drop _compat in favor of imports from six.

Also stop using `unicode(obj)` in favor of explicitly decoding.

Partial fix #7.


  Commit: c8aaff9fc6de51f47b0a9b3cde8a51a60f6613fa
      https://github.com/zopefoundation/zope.error/commit/c8aaff9fc6de51f47b0a9b3cde8a51a60f6613fa
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M src/zope/error/error.py
    M src/zope/error/tests.py

  Log Message:
  -----------
  Add round-trip test for 'zope.error.printedreplace' (it doesn't). Also tighten some exception catches.


  Commit: 06d29b27ace56dde0a2b3e34cbef12b139d40021
      https://github.com/zopefoundation/zope.error/commit/06d29b27ace56dde0a2b3e34cbef12b139d40021
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Update changenote.


  Commit: 4e238b59d2613e7942259905e6cf9a726ddf6545
      https://github.com/zopefoundation/zope.error/commit/4e238b59d2613e7942259905e6cf9a726ddf6545
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-22 (Sat, 22 Jul 2017)

  Changed paths:
    M src/zope/error/error.py

  Log Message:
  -----------
  Drop the use of reraise in favor of logger.error(exc_info=).

This is cleaner and faster.
Thanks @mgedmin.


  Commit: d230f1a75e19955322c9501fde958ab166272959
      https://github.com/zopefoundation/zope.error/commit/d230f1a75e19955322c9501fde958ab166272959
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-07-22 (Sat, 22 Jul 2017)

  Changed paths:
    M CHANGES.rst
    R src/zope/error/_compat.py
    M src/zope/error/error.py
    M src/zope/error/interfaces.py
    M src/zope/error/tests.py

  Log Message:
  -----------
  Merge pull request #9 from zopefoundation/issue7

Remove _compat, improve encoding


Compare: https://github.com/zopefoundation/zope.error/compare/a3a01f1e7a2e...d230f1a75e19


More information about the checkins mailing list