A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025605.html below:

[Python-Dev] PEP 292, Simpler String Substitutions

[Python-Dev] PEP 292, Simpler String Substitutions [Python-Dev] PEP 292, Simpler String SubstitutionsGustavo Niemeyer niemeyer@conectiva.com
Wed, 19 Jun 2002 11:40:36 -0300
[...]
> but in that case, I completely fail to see why he couldn't
> just as well do the substitution inside the "_" function:
> 
>     return _('${name} was born in ${country}')
[...]

That would parse every translated string, which doesn't seem
reasonable. My vote is for sub()-like, inside an extension module.

-- 
Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4