Re: trellis attrs
Lloyd Kvam <python-/[email protected]> Fri, 30 Sep 2011 15:30:44 -0400
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <1317411044.16636.155.camel@localhost> |
On Fri, 2011-09-30 at 20:52 +0200, nicky van foreest wrote: > Hi, > > > b3 = Batch( prevs=trellis.Set([]) ) > > > > I think that's the correct way to approach what you're trying to do. I > > trust PJE will set things straight if I'm pushing you in the wrong > > direction. My experience with Trellis is quite limited. > > > > Thanks very much for your answer. I'll try this, and the idea of > Philip in the other mail, and see whether these ideas work for my > case. Stick with Phillip's recommendation of using trellis.make. That's designed to produce a new Set each time you create an object. It's much less error prone than remembering to specify a new set each time you create an object. -- Lloyd Kvam Venix Corp DLSLUG/GNHLUG library http://dlslug.org/library.html http://www.librarything.com/catalog/dlslug http://www.librarything.com/catalog/dlslug&sort=stamp http://www.librarything.com/rss/recent/dlslug