<div class="gmail_quote">On Fri, Sep 30, 2011 at 2:52 PM, nicky van foreest <span dir="ltr">&lt;<a href="mailto:vanforeest@gmail.com">vanforeest@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div class="im"><br>
&gt; b3 = Batch( prevs=trellis.Set([]) )<br>
&gt;<br>
&gt; I think that&#39;s the correct way to approach what you&#39;re trying to do.  I<br>
&gt; trust PJE will set things straight if I&#39;m pushing you in the wrong<br>
&gt; direction.  My experience with Trellis is quite limited.<br>
&gt;<br>
<br>
</div>Thanks very much for your answer. I&#39;ll try this, and the idea of<br>
Philip in the other mail, and see whether these ideas work for my<br>
case.<br></blockquote><div><br></div><div>They will actually work together.  If you do what I said, then you can also pass in a specific set as Lloyd suggests...  there&#39;s just no need to unless you want to use a specific set instead of having a empty default set created.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5"><span class="Apple-style-span" style="color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">I simply misinterpreted the following documentation:</span><br>
<span class="Apple-style-span" style="color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">&quot;Trellis Set objects offer nearly all the comforts of the Python</span><br>
<span class="Apple-style-span" style="color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">standard library&#39;s sets.Set objects (minus .pop(), and support for</span><br>
<span class="Apple-style-span" style="color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">sets of mutable sets), but with observability:&quot;&quot;</span></div>
</div></blockquote><div><br></div><div>Yes, it just means you can&#39;t pop() items from a set, not that you can&#39;t, say, .remove() them.</div><div> </div></div>