title: Avoid references in PyYAML
body: <p>I use YAML with PyYAML. Is there a way to avoid the *id002 references after dumping a nested structure? For readability I'd like to see the actual (tuple) values there.</p>
  
  <p>While trying to produce a mini example I noticed that it only happens when I use the same id object:</p>
  
  <pre><code>import yaml
  
  t = ("b", "c")
  x = {(1, t):1, (2, t):2, }
  print(yaml.dump(x))
  </code></pre>
  
  <p>So I thought <code>copy.copy()</code> would solve the problem, however for tuples it doesn't seem to work :( Can I create a new tuple with a different id?</p>