class Count:
    def __init__(self, name):
        self.name = name

    def __getattr__(self, item):
        print("get attrb called here")
        return super(Count, self).__setattr__(item, 'orphan')

    def __getattribute__(self, item):
        print("Get attribute has been called here", item)
        return super(Count, self).__getattribute__(item)


c = Count("Me")
print(c.name)
print("Name", c.noname)
print(c.__dict__)


02ff13f2a27f16f360a26d0ae3e4e5268a7e07fe
class Count:

    def __init__(self, name):
        self.name = name

    def __getattr__(self, item):
        print('get attrb called here')
        return super(Count, self).__setattr__(item, 'orphan')
    <mask token>


<mask token>

class Count:

    def __init__(self, name):
        self.name = name

    def __getattr__(self, item):
        print('get attrb called here')
        return super(Count, self).__setattr__(item, 'orphan')

    def __getattribute__(self, item):
        print('Get attribute has been called here', item)
        return super(Count, self).__getattribute__(item)


<mask token>

class Count:

    def __init__(self, name):
        self.name = name

    def __getattr__(self, item):
        print('get attrb called here')
        return super(Count, self).__setattr__(item, 'orphan')

    def __getattribute__(self, item):
        print('Get attribute has been called here', item)
        return super(Count, self).__getattribute__(item)


<mask token>
print(c.name)
print('Name', c.noname)
print(c.__dict__)

class Count:

    def __init__(self, name):
        self.name = name

    def __getattr__(self, item):
        print('get attrb called here')
        return super(Count, self).__setattr__(item, 'orphan')

    def __getattribute__(self, item):
        print('Get attribute has been called here', item)
        return super(Count, self).__getattribute__(item)


c = Count('Me')
print(c.name)
print('Name', c.noname)
print(c.__dict__)

class Count:
    def __init__(self, name):
        self.name = name

    def __getattr__(self, item):
        print("get attrb called here")
        return super(Count, self).__setattr__(item, 'orphan')

    def __getattribute__(self, item):
        print("Get attribute has been called here", item)
        return super(Count, self).__getattribute__(item)


c = Count("Me")
print(c.name)
print("Name", c.noname)
print(c.__dict__)

