Re: [Tutor] Implementing sets of user-defined objects

2010-07-23 Thread Steven D'Aprano
On Fri, 23 Jul 2010 09:22:55 pm m...@doctors.net.uk wrote: > Dear Tutors, > > I am tring to deal with some repeated data, and hence repeated > objects (I construct objects from the data). > > I had hoped to use a set to uniquify the objects. However, I am > having problems with defining uniqueness.

[Tutor] Implementing sets of user-defined objects

2010-07-23 Thread mhw
Dear Tutors, I am tring to deal with some repeated data, and hence repeated objects (I construct objects from the data). I had hoped to use a set to uniquify the objects. However, I am having problems with defining uniqueness. I have googled/ looked at the Python docs/ read DITP and Alan's web