As a Java & PHP developer, I find it kind of annoying that I have to explicitly convert non-string variables to strings when concatenating them, especially when python is quite capable of doing the conversion automatically.
i.e.: >>> myBool = True >>> print myBool True >>> print "myBool is " + myBool Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: cannot concatenate 'str' and 'bool' objects >>> print "myBool is " + str(myBool) myBool is True Can anyone explain why this is so? Are there any plans to change this in python 3000? Thanks, - Michael
-- http://mail.python.org/mailman/listinfo/python-list