
July 30, 2010
12:34 a.m.
On Thu, Jul 29, 2010 at 6:30 PM, Raymond Hettinger <raymond.hettinger@gmail.com> wrote: ..
It also really calls into question whether there are good reasons for other types to have a __str__ that is different than their __repr__.
For strings, the distinction is very useful. In this and many other cases unifying str and repr would mean making a choice between readability and parseability.