class Cls(object):
def __new__(cls):
self = object.__new__(cls)
print('__new__ :', str(id(self)))
return self

def __init__(self):
print('__init__:', str(id(self)))
self.attr = 'Hello, world!'

obj = Cls()