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/2008-April/078694.html below:

[Python-Dev] string representation of range in 3.0

[Python-Dev] string representation of range in 3.0 [Python-Dev] string representation of range in 3.0Terry Reedy tjreedy at udel.edu
Thu Apr 17 04:49:02 CEST 2008
"Guido van Rossum" <guido at python.org> wrote in message 
news:ca471dc20804161420o5e51978csdf99d2427f328c5b at mail.gmail.com...
| Why only str()? Note that the interactive prompt uses repr() to display 
values.

I was under the impression that for range, you still wanted to maintain the 
distinction between an evalable and a friendly representation.  If not, 
then ok, but I would then almost wonder whether to have both functions --  
until I remember the reason for two versions of string representation and 
your proposal (which I approve of) for both a full and abbreviated rep for 
classes.
| 



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