(Jan-22-2018, 06:29 AM)Gribouillis Wrote: Don't you know unique_everseen()
? Look in itertools documentation.
no ... i do not know of it. i do now. thanks! i suspected this might exist but had no ideal what name.
but...
itertools.unique_everseen()
is limited to hashable items. i don't know if i will need to support non-hashable or not. so i still might need to implement my own, in which case a deep compare would be handy (have not looked for one,yet)
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.