Python intersection with custom equality
<p>I want to build the intersection of two python sets, but i need to have a custom equality to do this.
Is there a way to specify "equaliy" directly when doing the intersection? For example due to a lambda-expressions?</p>

<p>I know there is way by overriding <strong>eq</strong>, but i have to do several intersections on the same classes with different "equalities".</p>

<p>Thanks!</p>