On Sat, 22 Oct 2011 18:32:25 +1100 Steven D'Aprano email@example.com wrote:
Remember also that print(spam) will use str(spam). If you do this:
what would you expect spam is?
It might be the integer 1 or the string "1". You need repr() to tell the difference.