[Checkins] [zopefoundation/zope.formlib] 838f86: Explicitly use `utf-8` to encode bytes instead of ...

GitHub noreply at github.com
Tue Aug 15 11:20:11 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.formlib
  Commit: 838f8690b2a9d01c826cf5e9132d615ca3f3b7a7
      https://github.com/zopefoundation/zope.formlib/commit/838f8690b2a9d01c826cf5e9132d615ca3f3b7a7
  Author: Steffen Allner <sa at gocept.com>
  Date:   2017-08-11 (Fri, 11 Aug 2017)

  Changed paths:
    M src/zope/formlib/_compat.py

  Log Message:
  -----------
  Explicitly use `utf-8` to encode bytes instead of ascii.

The Python 3 code branch implicitly uses `utf-8` so should Python 2.


  Commit: 1083508b6cfd5e8c14419728fb386b91828dbf59
      https://github.com/zopefoundation/zope.formlib/commit/1083508b6cfd5e8c14419728fb386b91828dbf59
  Author: Steffen Allner <sa at gocept.com>
  Date:   2017-08-11 (Fri, 11 Aug 2017)

  Changed paths:
    M src/zope/formlib/tests/test_textwidget.py

  Log Message:
  -----------
  Add test to ensure bytes with utf-8 encoded unicode can be read.


  Commit: e95f61dec71b5e527aa4f1f308a9cd8553670cd8
      https://github.com/zopefoundation/zope.formlib/commit/e95f61dec71b5e527aa4f1f308a9cd8553670cd8
  Author: Steffen Allner <sa at gocept.com>
  Date:   2017-08-15 (Tue, 15 Aug 2017)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Add changelog entry.


  Commit: 22096ae359723436092769fb5e264b82559a8f70
      https://github.com/zopefoundation/zope.formlib/commit/22096ae359723436092769fb5e264b82559a8f70
  Author: Steffen Allner <sa at gocept.com>
  Date:   2017-08-15 (Tue, 15 Aug 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/formlib/_compat.py
    M src/zope/formlib/tests/test_textwidget.py

  Log Message:
  -----------
  Merge pull request #13 from zopefoundation/decode-compatibitlity

Improve the unicode compatibility between Python 2 and 3


Compare: https://github.com/zopefoundation/zope.formlib/compare/d88381db6241...22096ae35972


More information about the checkins mailing list