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/025829.html below:

[Python-Dev] *Simpler* string substitutions

[Python-Dev] *Simpler* string substitutions [Python-Dev] *Simpler* string substitutionsBarry A. Warsaw barry@zope.com
Sat, 22 Jun 2002 21:12:22 -0400
>>>>> "BS" == Barry Scott <barry.alan.scott@ntlworld.com> writes:

    BS> If I'm going to move from %(name)fmt to ${name} I need a place
    BS> for the fmt format.

One of the reasons why I added "simpler" to the PEP is because I
didn't want to support formatting characters in the specification.
While admittedly handy for some applications, I submit that most
string interpolation simply uses %s or %(name)s and there should be a
simpler, less error prone way of writing that.

-Barry




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