[Checkins] [zopefoundation/Zope] a5cb4c: improve unsolicited translation avoidance (#879)
Dieter Maurer
noreply at github.com
Thu Jul 23 11:29:54 CEST 2020
Branch: refs/heads/4.x
Home: https://github.com/zopefoundation/Zope
Commit: a5cb4c75b9b07a408c22e6a2bc1fee05a3342be8
https://github.com/zopefoundation/Zope/commit/a5cb4c75b9b07a408c22e6a2bc1fee05a3342be8
Author: Dieter Maurer <d-maurer at users.noreply.github.com>
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