[Python-ideas] Changing str(someclass) to return only the class name

Carl M. Johnson cmjohnson.mailinglist at gmail.com
Tue Oct 25 08:50:42 CEST 2011


On Oct 24, 2011, at 4:27 PM, Guido van Rossum wrote:

> You may think this violates TOOWTDI, but as I've said before, that was
> a white lie (as well a cheeky response to Perl's slogan around 2000).
> Being able to express intent (to human readers) often requires
> choosing between multiple forms that do essentially the same thing,
> but look different to the reader.

So, you're saying TMTOWTDI and "different things should look different"? Someone send a letter of surrender to Larry Wall. ;-)


More information about the Python-ideas mailing list