What does Armature.EditBone.matrix really does?

After struggling to find out how to clear the scale/rotation of a bone I set the matrix for using Python in edit mode for a while (apparently you can’t, you can only change head and tail position), I found that what I really had to do was remove keys from animation and clear the matrix in pose mode.

But I am left with a bad taste, if you don’t really set scale and rotation on an EditBone by setting its matrix… what is it that you do? is it only the translation used? how about rotation? does anyone has any idea how the matrix variable in EditBones work? :spin:

Thanks in advance.