On Wed, 2008-08-13 at 08:37 -0400, Daniel Jacobowitz wrote: > It took me a while to find it, but I knew there was an operator for > this. Take a look at __nonzero__: > > http://docs.python.org/ref/customization.html Thanks for the tip! I'll try it out. -- []'s Thiago Jung Bauermann IBM Linux Technology Center