Alex Martelli wrote: > Problem is, __nonzero__ is currently > typechecked -- it has to return an integer. Yes, that's the problem. I should probably elaborate on that a bit in the PEP. -- Greg Ewing, Computer Science Dept, University of Canterbury, Christchurch, New Zealand http://www.cosc.canterbury.ac.nz/~greg