[Python-Dev] PEP-498: Literal String Formatting
Barry Warsaw
barry at python.org
Mon Aug 10 21:38:21 CEST 2015
On Aug 10, 2015, at 02:49 PM, Eric V. Smith wrote:
>It's possible. But my point is that Barry doesn't even want
>attribute/item getters for an i18n solution, and I'm not willing to
>restrict it that much.
Actually, attribute chasing is generally fine, and flufl.i18n supports that.
Translators can handle $foo.bar although you still do have to be careful about
information leaks ("choose your foo's carefully"). Item getters have been
more YAGNI than anything else.
Cheers,
-Barry
More information about the Python-Dev
mailing list