On Fri, May 27, 2005 at 01:06:36AM -0400, Michele Simionato wrote: > 3. Exception("unimplemented") can be replaced with the built-in > NotImplemented ;) While we're nitpicking :-) NotImplemented is the singleton returned (not raised) by numeric methods (like __add__) and rich comparision methods (__eq__ and friends) to indicate they don't handle the combination of objects passed to them (see section 3.2 of the Language Reference). What you want here is NotImplementedError (which is a subclass of Exception). -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |cookedm@physics.mcmaster.ca