[Python-3000] Types and classes
Terry Reedy
tjreedy at udel.edu
Wed Apr 9 06:31:42 CEST 2008
"Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote in message
news:47FBF7F9.4020608 at canterbury.ac.nz...
| There's another reason it bothers me. If a string like
| "<type 'foo'>" turns up in otherwise normal output, it's
| a fairly clear indication that I've somehow ended up
| printing something that was never meant to be printed.
Which to me is precisely why str(<class>) should *not* look like an
accident when intentionally printed in normal output -- as in my example or
in Guido's.
More information about the Python-3000
mailing list