[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
- Previous message: [Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
- Next message: [Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
- Next message: [Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]