How to have a set of sets in Python? : <p>In Python there's no full support for heterogeneous data structures. For example this fails:</p>

<pre><code>set(set(1,2),set(2,3))
</code></pre>

<p>What's the best way to treat sets of sets?</p>
