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

GitHub noreply at github.com
Mon Jan 13 19:02:23 CET 2014


  Branch: refs/heads/master
  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.


  Commit: 43455ed1d81dd8ec6733cc2fb106702b7960e310
      https://github.com/zopefoundation/zope.tal/commit/43455ed1d81dd8ec6733cc2fb106702b7960e310
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2014-01-10 (Fri, 10 Jan 2014)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Merge branch 'master' into maurits-gettext


  Commit: 5efa988a516569468673d9ac4697af65bb28266b
      https://github.com/zopefoundation/zope.tal/commit/5efa988a516569468673d9ac4697af65bb28266b
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2014-01-13 (Mon, 13 Jan 2014)

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

  Log Message:
  -----------
  Minor pep8 for long lines.


  Commit: 3c0c3230d35843a8b0c8e5ffcf6a5eee1bd04b5c
      https://github.com/zopefoundation/zope.tal/commit/3c0c3230d35843a8b0c8e5ffcf6a5eee1bd04b5c
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2014-01-13 (Mon, 13 Jan 2014)

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

  Log Message:
  -----------
  Catch warnings in test_translate_existing.

Otherwise a warning is printed each time you run the tests.


  Commit: 0d4a2bc84b0985a7e1249a7999145f40fa4516c3
      https://github.com/zopefoundation/zope.tal/commit/0d4a2bc84b0985a7e1249a7999145f40fa4516c3
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2014-01-13 (Mon, 13 Jan 2014)

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

  Log Message:
  -----------
  Rewrite the print testing so it works in Python 3.3.


Compare: https://github.com/zopefoundation/zope.tal/compare/772df8ea9155...0d4a2bc84b09


More information about the checkins mailing list