[Checkins] [zopefoundation/zope.tal] 98cd8b: Fix possible UnicodeDecodeError in warning when ms...

GitHub noreply at github.com
Sat Sep 21 23:41:51 CEST 2013


  Branch: refs/heads/maurits-gettext
  Home:   https://github.com/zopefoundation/zope.tal
  Commit: 98cd8bbd446b209367f8353b9c7a90216e173a12
      https://github.com/zopefoundation/zope.tal/commit/98cd8bbd446b209367f8353b9c7a90216e173a12
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2013-09-21 (Sat, 21 Sep 2013)

  Changed paths:
    M CHANGES.rst
    M src/zope/tal/talgettext.py
    M src/zope/tal/tests/test_talgettext.py

  Log Message:
  -----------
  Fix possible UnicodeDecodeError in warning when msgid already exists.

This happens when comparing 'Read more…' with 'Read more…'.
That should not give a warning, because they are really the same, but that would need a fix somewhere else,
in the code that gets the value of an i18n:attribute in a different way than an i18n:translate.

Added test for the proper printing of the warning.


  Commit: be256b9f90a18bf18d72554ee7167d1093306505
      https://github.com/zopefoundation/zope.tal/commit/be256b9f90a18bf18d72554ee7167d1093306505
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2013-09-21 (Sat, 21 Sep 2013)

  Changed paths:
    M src/zope/tal/talgettext.py

  Log Message:
  -----------
  Fix warning of msgid with different default for Python 3.


Compare: https://github.com/zopefoundation/zope.tal/compare/98cd8bbd446b^...be256b9f90a1


More information about the checkins mailing list