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

[Python-Dev] PEP 292, Simpler String Substitutions

[Python-Dev] PEP 292, Simpler String Substitutions [Python-Dev] PEP 292, Simpler String SubstitutionsAahz aahz@pythoncraft.com
Thu, 20 Jun 2002 12:43:23 -0400
I'm about a pure 0 on this proposal in the aggregate

I'm -1 on .sub() as the name; I'd rather it be called .interp() (this
mainly due to confusing with the existing re.sub() and str.replace())

I'm +0 on putting this functionality in the text module instead of
adding a string method

I'm +0 on trying to find a solution that uses % instead of $ (There's
Only One Way)

I'm -1 on ${name}; there's no reason not to at least use $(name) for
consistency
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/




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