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/2004-August/048244.html below:

[Python-Dev] Re: PEP 292 - Simpler String Substitutions

[Python-Dev] Re: PEP 292 - Simpler String Substitutions [Python-Dev] Re: PEP 292 - Simpler String SubstitutionsTim Peters tim.peters at gmail.com
Mon Aug 23 18:32:39 CEST 2004
[Clark C. Evans]
> +1 to automatic str() -- this is a common newbie mistake and I can't
> think of a case where you wouldn't want this to happen

Apologies to Barry, but I'm +1 on auto-str() too.  It's a string
interpolation -- the user is explicitly asking for a string.  If they
made a mistake, it was in asking for a string to begin with, not in
feeding it a non-string.

The same applies to string.join(iterable), for that matter.
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