title: Malformed String ValueError ast.literal_eval() with String representation of Tuple
body: <p>I'm trying to read in a string representation of a Tuple from a file, and add the tuple to a list. Here's the relevant code.</p>
  
  <pre><code>raw_data = userfile.read().split('\n')
  for a in raw_data : 
      print a
      btc_history.append(ast.literal_eval(a))
  </code></pre>
  
  <p>Here is the output:</p>
  
  <pre><code>(Decimal('11.66985'), Decimal('0E-8'))
  Traceback (most recent call last):
  
  
  File "./goxnotify.py", line 74, in &lt;module&gt;
      main()
    File "./goxnotify.py", line 68, in main
      local.load_user_file(username,btc_history)
    File "/home/unix-dude/Code/GoxNotify/local_functions.py", line 53, in load_user_file
      btc_history.append(ast.literal_eval(a))
    File "/usr/lib/python2.7/ast.py", line 80, in literal_eval
      return _convert(node_or_string)
  
    `File "/usr/lib/python2.7/ast.py", line 58, in _convert
     return tuple(map(_convert, node.elts))
    File "/usr/lib/python2.7/ast.py", line 79, in _convert
     raise ValueError('malformed string')
     ValueError: malformed string
  </code></pre>