[Python-Dev] Proposal: make float.str identical to float__repr__ in Python 3.2 (original) (raw)

Terry Reedy tjreedy at udel.edu
Thu Jul 29 23:28:46 CEST 2010


On 7/29/2010 4:30 PM, Mark Dickinson wrote:

As you say, it's just one less surprise, and one less thing to explain: a small shrinkage of the mental footprint of the language.

With this change, I believe the only difference between str(ob) and repr(ob) will be the addition of quotes. If so, perhaps this could be noted in the repr entry.

Terry Jan Reedy



More information about the Python-Dev mailing list