title: performing set operations on custom classes in python
body: <p>I'd like to use Python's built-in set class with a custom class that I've created.  If I want
  to create sets containing instances of my custom class, what functions do I need to implement so that I can perform tests, like set_a - set_b?</p>