[Checkins] [zopefoundation/Zope] 2ef464: improve unsolicited translation avoidance (#879)

Jens Vagelpohl noreply at github.com
Thu Jul 23 11:35:17 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: 2ef464ca04d46105b976fdb8a949b18c3885a922
      https://github.com/zopefoundation/Zope/commit/2ef464ca04d46105b976fdb8a949b18c3885a922
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M src/Products/PageTemplates/engine.py

  Log Message:
  -----------
  improve unsolicited translation avoidance (#879)

* improve unsolicited translation avoidance

* keep `Token` in exceptions for better error reports

* handle PY2 as well (even though no problems have been observed yet)

* - fix lint issue by defining unicode

* explain why the `Token` casting is safe

Co-authored-by: Jens Vagelpohl <jens at netz.ooo>




More information about the checkins mailing list