title: Is there a way to define list(obj) method on a user defined class in python?
body: <p>One can can implement the method <code>__str__(self)</code> to return a string. Is there an <code>__list__(self)</code> counterpart? (<code>__list__</code> doesn't work!)
  Is .toList() the way to go?</p>