¿Por qué no puedes agregar atributos al objeto en Python? [duplicar

Esta pregunta ya tiene una respuesta aquí:

No se pueden establecer atributos de la clase de objeto 6 respuestas

(Escrito en Python shell)

>>> o = object()
>>> o.test = 1

Traceback (most recent call last):
  File "<pyshell#45>", line 1, in <module>
    o.test = 1
AttributeError: 'object' object has no attribute 'test'
>>> class test1:
    pass

>>> t = test1()
>>> t.test

Traceback (most recent call last):
  File "<pyshell#50>", line 1, in <module>
    t.test
AttributeError: test1 instance has no attribute 'test'
>>> t.test = 1
>>> t.test
1
>>> class test2(object):
    pass

>>> t = test2()
>>> t.test = 1
>>> t.test
1
>>> 

¿Por qué el objeto no le permite agregarle atributos?

Respuestas a la pregunta(2)

Su respuesta a la pregunta