A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2010-March/098894.html below:

[Python-Dev] Issue 6081: format string using mapping rather than kwargs

[Python-Dev] Issue 6081: format string using mapping rather than kwargs [Python-Dev] Issue 6081: format string using mapping rather than kwargsEric Smith eric at trueblade.com
Thu Mar 25 15:53:42 CET 2010
Nick Coghlan wrote:
> Moving the decision of "how am I going to be called" to the time of
> writing the format string is a bit odd.
> 
> On the other hand, the specially crafted format string does have the
> virtue of travelling far more easily through any APIs that wrap the
> basic format() method (since it doesn't need special treatment to make
> its way through the wrapping code).

Completely agree on all points. Now we're just left with "is it worth 
expanding the str api for this?". I don't feel strongly either way.

--
Eric.
More information about the Python-Dev mailing list

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