Jan-22-2018, 06:54 AM
(This post was last modified: Jan-22-2018, 06:54 AM by Gribouillis.)
(Jan-22-2018, 06:46 AM)Skaperen Wrote: i don't know if i will need to support non-hashable or not.If you don't know, don't implement it! More seriously, there is a
key
parameter in unique_everseen
. It should be able to handle many non hashable cases because a non hashable item can have a hashable key.