Torsten Mohr wrote:
I just found an article that describes it better, this example works:class C2(object): def __new__(cls, a): obj = object.__new__(cls) print "new called" obj.a = 8 return obj __new__ = staticmethod(__new__)
Staticmethod isnt' required here. Christian -- http://mail.python.org/mailman/listinfo/python-list