title: python: cannot concatenate 'str' and 'tuple' objects (it should works!)
body: <p><strong>I have a code:</strong></p>
  
  <pre><code>print "bug " + data[str.find(data,'%')+2:-1]
  temp = data[str.find(data,'%')+2:-1]
  time.sleep(1)
  print "bug tuple " + tuple(temp.split(', '))
  </code></pre>
  
  <p>And after this my application displays:</p>
  
  <blockquote>
    <p><strong>bug 1, 2, 3</strong> 
    Traceback (most recent
    call last):   File
    "C:\Python26\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
    line 312, in RunScript
        exec codeObject in <strong>main</strong>.<strong>dict</strong>   File "C:\Documents and
    Settings\k.pawlowski\Desktop\atsserver.py",
    line 165, in 
        print "bug tuple " + tuple(temp.split(', ')) TypeError:
    <strong>cannot concatenate 'str' and 'tuple'
    objects</strong></p>
  </blockquote>
  
  <p>I don't know what I make wrong. <em>print tuple('1, 2, 3'.split(', '))</em> works properly. </p>