>>> import soy >>> b = soy.bodies._bodies.Body >>> s = soy.shapes.Shape >>> s.body >>> s.body = b Traceback (most recent call last): File "", line 1, in ? TypeError: can't set attributes of built-in/extension type 'soy.shapes.Shape'