Russell Blau wrote: > Try __new__(). http://docs.python.org/ref/customization.html This isn't > the usual application of __new__, but since it returns an object it should > be ideal for your purposes.
Or simply create a factory function to return your instances -- which is in effect what __new__ does -- but without the baggage. -Peter -- http://mail.python.org/mailman/listinfo/python-list