On Thu, Oct 15, 2009 at 4:06 PM, Anthony Tolle <anthony.to...@gmail.com> wrote: > Why not use a dict? The key would be the object name. Pretty much > the same behavior as a set (via the key), and you can still easily > iterate over the objects.
To reiterate, dict only gets me part of what I want. Whereas a set with uniqueness defined over 'obj.name' would guarantee no name collisions, dict only sorta helps me keep things straight; it doesn't actually enforce that my values have unique names. Austin -- http://mail.python.org/mailman/listinfo/python-list